/*
Theme Name: BillTrix
Theme URI: https://billtrix.com
Author: BillTrix Team
Author URI: https://billtrix.com
Description: A clean, professional marketing theme for the BillTrix billing & invoicing app.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: billtrix
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-900: #0a1628;
    --navy-800: #0f2240;
    --navy-700: #142d52;
    --navy-600: #1a3a68;
    --blue-500: #2563eb;
    --blue-400: #3b82f6;
    --blue-300: #60a5fa;
    --blue-200: #93c5fd;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --red-500: #ef4444;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--gray-900);
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }

.section {
    padding: 96px 0;
}

.section-sm {
    padding: 64px 0;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.badge-blue {
    background: var(--blue-100);
    color: var(--blue-500);
}

.badge-navy {
    background: rgba(255,255,255,0.15);
    color: var(--blue-200);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue-500);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--blue-400);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy-800);
    border-color: var(--gray-200);
}
.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--blue-500);
    padding: 12px 16px;
}
.btn-ghost:hover {
    background: var(--blue-50);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.0625rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    line-height: 1;
}

.logo img,
.logo-img {
    height: 44px;
    width: auto;
    max-width: 220px;
    display: block;
    flex-shrink: 0;
}

.logo-footer .logo-img {
    height: 48px;
}

.logo .custom-logo-link img,
.logo .custom-logo {
    height: 44px;
    width: auto;
    max-width: 220px;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-800);
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-footer .logo-text {
    color: var(--white);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .logo-img { height: 38px; }
    .logo-text { font-size: 1.25rem; }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--navy-800);
    background: var(--gray-50);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--gray-700);
}

.mobile-toggle svg {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 24px;
    z-index: 999;
}

.mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu a {
    display: block;
    padding: 14px 16px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-md);
}

.mobile-menu a:hover {
    background: var(--gray-50);
    color: var(--navy-800);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 160px 0 96px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--blue-500) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(37,99,235,0.15) 0%, transparent 70%),
                radial-gradient(ellipse at 70% 30%, rgba(59,130,246,0.1) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--blue-300), var(--blue-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--blue-200);
    margin-bottom: 40px;
    line-height: 1.7;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.hero-stat .label {
    display: block;
    font-size: 0.875rem;
    color: var(--blue-300);
    margin-top: 4px;
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 36px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    background: var(--white);
}

.feature-card:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-icon.blue { background: var(--blue-100); color: var(--blue-500); }
.feature-icon.navy { background: var(--navy-800); color: var(--blue-300); }
.feature-icon.green { background: #dcfce7; color: var(--green-600); }

.feature-card h3 {
    font-size: 1.1875rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* Feature Detail (Features page) */
.feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--gray-100);
}

.feature-detail:last-child {
    border-bottom: none;
}

.feature-detail.reverse {
    direction: rtl;
}

.feature-detail.reverse > * {
    direction: ltr;
}

.feature-detail-content h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.feature-detail-content p {
    font-size: 1.0625rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-detail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-detail-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.feature-detail-list li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--green-500);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-visual {
    background: linear-gradient(135deg, var(--blue-50), var(--gray-50));
    border-radius: var(--radius-xl);
    padding: 24px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.feature-mockup {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.feature-visual-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-50), var(--gray-100));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.5;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.pricing-toggle span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-500);
}

.pricing-toggle span.active {
    color: var(--navy-800);
    font-weight: 600;
}

.toggle-switch {
    width: 52px;
    height: 28px;
    background: var(--gray-200);
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
    padding: 0;
}

.toggle-switch.active {
    background: var(--blue-500);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--white);
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.toggle-switch.active::after {
    transform: translateX(24px);
}

.save-badge {
    background: var(--green-500);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pricing-grid-4 .pricing-card {
    padding: 32px 28px;
}

.pricing-card {
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    background: var(--white);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--blue-500);
    box-shadow: var(--shadow-xl);
    transform: scale(1.03);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue-500);
    color: var(--white);
    padding: 4px 20px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.pricing-card-header {
    margin-bottom: 32px;
}

.pricing-card-header h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.pricing-card-header p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.pricing-amount {
    margin-bottom: 32px;
}

.pricing-amount .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy-800);
    letter-spacing: -0.03em;
}

.pricing-amount .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-400);
    vertical-align: super;
}

.pricing-amount .period {
    font-size: 1rem;
    color: var(--gray-400);
    font-weight: 400;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.pricing-features li .check {
    color: var(--green-500);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-features li .cross {
    color: var(--gray-300);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* ============================================
   ABOUT / TEAM
   ============================================ */
.about-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.25rem;
    color: var(--blue-200);
    max-width: 600px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 40px 32px;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.1875rem;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.65;
}

.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.story-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.story-content p {
    font-size: 1.0625rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.story-image {
    background: linear-gradient(135deg, var(--blue-100), var(--navy-800));
    border-radius: var(--radius-xl);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    background: var(--navy-900);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    display: block;
}

.stat-item .label {
    font-size: 0.875rem;
    color: var(--blue-300);
    display: block;
    margin-top: 4px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-form {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px var(--blue-100);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
}

.contact-info-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.65;
}

.contact-info-card a {
    color: var(--blue-500);
    font-weight: 500;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

/* ============================================
   DOWNLOAD / CTA
   ============================================ */
.download-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--navy-900), var(--blue-500));
    text-align: center;
}

.download-hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.download-hero p {
    font-size: 1.25rem;
    color: var(--blue-200);
    max-width: 560px;
    margin: 0 auto 40px;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.download-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.download-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.download-card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.download-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.cta-section {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    padding: 96px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1875rem;
    color: var(--blue-200);
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 36px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    background: var(--white);
}

.testimonial-card .stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-400), var(--navy-700));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
}

.testimonial-author-info .name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-800);
}

.testimonial-author-info .role {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-100);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-800);
    font-family: var(--font-sans);
    text-align: left;
}

.faq-question:hover {
    color: var(--blue-500);
}

.faq-question .icon {
    font-size: 1.25rem;
    color: var(--gray-400);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   PAGE HEADER (internal pages)
   ============================================ */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--blue-200);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--navy-900);
    color: var(--gray-400);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.8125rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features-grid,
    .pricing-grid,
    .pricing-grid-4,
    .testimonials-grid,
    .download-options,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-detail.reverse {
        direction: ltr;
    }

    .story-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav,
    .header-actions .btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.0625rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .features-grid,
    .pricing-grid,
    .testimonials-grid,
    .download-options,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .page-header,
    .about-hero,
    .download-hero {
        padding: 120px 0 60px;
    }

    .page-header h1,
    .about-hero h1,
    .download-hero h1 {
        font-size: 2.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
