/* ================================
   MINDR Landing Page Styles
   Refined Zen-Tech Aesthetic
   ================================ */

/* --------------------------------
   CSS Custom Properties
   -------------------------------- */
:root {
    /* Colors - Dark Theme (Default) */
    --bg-primary: #0A0A0B;
    --bg-secondary: #111113;
    --bg-tertiary: #1A1A1D;
    --bg-card: rgba(26, 26, 29, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-border: rgba(255, 255, 255, 0.08);

    --text-primary: #FAFAFA;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;

    --green: #4CD964;
    --green-glow: rgba(76, 217, 100, 0.4);
    --yellow: #FFD60A;
    --yellow-glow: rgba(255, 214, 10, 0.4);
    --red: #FF6B6B;
    --red-glow: rgba(255, 107, 107, 0.4);
    --gold: #FFD700;
    --gold-glow: rgba(255, 215, 0, 0.3);

    /* Typography */
    --font-display: 'Sora', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px var(--green-glow);
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #FAFAFA;
    --bg-secondary: #F4F4F5;
    --bg-tertiary: #E4E4E7;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-glass: rgba(0, 0, 0, 0.02);
    --bg-glass-border: rgba(0, 0, 0, 0.06);

    --text-primary: #18181B;
    --text-secondary: #52525B;
    --text-muted: #A1A1AA;

    --green: #22C55E;
    --yellow: #EAB308;
    --red: #EF4444;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
}

/* --------------------------------
   Reset & Base Styles
   -------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input {
    font-family: inherit;
}

/* --------------------------------
   Ambient Background
   -------------------------------- */
.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--green-glow), transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(76, 217, 100, 0.2), transparent 70%);
    bottom: 20%;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 214, 10, 0.15), transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: -14s;
}

[data-theme="light"] .gradient-orb {
    opacity: 0.3;
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* --------------------------------
   Container
   -------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* --------------------------------
   Navigation
   -------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: background var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bg-glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-ring {
    transform-origin: center;
    animation: logoSpin 8s linear infinite;
}

@keyframes logoSpin {
    from { transform: rotate(-90deg); }
    to { transform: rotate(270deg); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.sun-icon { display: none; }
.moon-icon { display: block; }

[data-theme="light"] .sun-icon { display: block; }
[data-theme="light"] .moon-icon { display: none; }

.nav-cta {
    padding: var(--space-sm) var(--space-lg);
    background: var(--green);
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--green-glow);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* --------------------------------
   Buttons
   -------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--green);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--green-glow);
}

.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-muted);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #FFA500);
    color: #000;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--gold-glow);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
}

/* Store Badges */
.store-badges {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: #fff;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
}

.store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.store-badge svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-badge-text .small {
    font-size: 0.6rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.store-badge-text .large {
    font-size: 1.1rem;
    font-weight: 600;
}

[data-theme="light"] .store-badge {
    background: #000;
    color: #fff;
}

/* Nav store badges */
.nav-store-badges {
    display: flex;
    gap: var(--space-sm);
}

.nav-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: #fff;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
    font-size: 0.75rem;
}

.nav-store-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-store-badge svg {
    width: 16px;
    height: 16px;
}

[data-theme="light"] .nav-store-badge {
    background: #000;
    color: #fff;
}

@media (max-width: 768px) {
    .store-badges {
        justify-content: center;
    }

    .nav-store-badges {
        display: none;
    }
}

/* --------------------------------
   Hero Section
   -------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
}

.hero-container {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--yellow);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
}

.title-accent {
    color: var(--green);
    background: linear-gradient(135deg, var(--green), #22D3EE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cta-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone-mockup {
    position: relative;
    transform-style: preserve-3d;
}

.phone-image {
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 45px;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 30px 60px -30px rgba(0, 0, 0, 0.6);
}


/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding-bottom: var(--space-2xl);
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* Hero Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }

    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        transform: scale(0.85);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding-top: 80px;
    }

    .hero-container {
        padding: var(--space-xl) var(--space-md);
    }

    .hero-visual {
        order: 0;
        width: 100%;
    }

    .hero-content {
        order: -1;
        padding: var(--space-md) 0;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-sm);
    }

    .phone-mockup {
        transform: none;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .phone-image {
        width: 85%;
        max-width: 320px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }
}

/* --------------------------------
   Section Styles
   -------------------------------- */
section {
    padding: var(--space-4xl) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.text-muted {
    color: var(--text-muted);
}

/* --------------------------------
   Problem Section
   -------------------------------- */
.problem-section {
    background: var(--bg-secondary);
}

.problem-content {
    max-width: 900px;
    margin: 0 auto;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin: var(--space-3xl) 0;
}

.problem-card {
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    backdrop-filter: blur(10px);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.solution-intro {
    margin-top: var(--space-3xl);
}

.divider {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bg-glass-border), transparent);
}

.divider span {
    color: var(--green);
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --------------------------------
   How It Works Section
   -------------------------------- */
.how-it-works {
    overflow: visible;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-4xl);
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.step-reverse {
    direction: rtl;
}

.step-reverse > * {
    direction: ltr;
}

.step-visual {
    display: flex;
    justify-content: center;
}

.step-phone {
    display: flex;
    justify-content: center;
}

.step-phone-image {
    width: 320px;
    height: auto;
    border-radius: 36px;
    box-shadow: var(--shadow-lg);
}

/* Step Content */
.step-content {
    padding: var(--space-xl) 0;
}

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: var(--green);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .step {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .step-reverse {
        direction: ltr;
    }

    .step-phone {
        transform: scale(0.9);
    }

    .step-number {
        font-size: 3rem;
    }
}

/* --------------------------------
   Features Section
   -------------------------------- */
.features {
    background: var(--bg-secondary);
    overflow: visible;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 100%;
}

.features-grid > * {
    min-width: 0;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    overflow: hidden;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-large {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    padding: var(--space-2xl);
}

.feature-content {
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

.feature-visual {
    min-width: 0;
    overflow: hidden;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--green), #22D3EE);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: #000;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.feature-badge {
    display: inline-block;
    margin-top: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(76, 217, 100, 0.15);
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

/* Rings Demo */
.rings-demo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-xl);
}

.progress-ring-container {
    position: relative;
    width: 140px;
    height: 140px;
}

.progress-ring {
    width: 100%;
    height: 100%;
    /* Transform set by JavaScript based on animation phase */
    transform: rotate(-90deg);
}

.progress-ring-track {
    stroke: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .progress-ring-track {
    stroke: rgba(0, 0, 0, 0.08);
}

.progress-ring-progress {
    stroke: var(--green);
    /* Values set by JavaScript for animation */
}

.progress-ring-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    line-height: 1;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .feature-visual {
        order: -1;
    }

    .rings-demo {
        transform: scale(0.8);
        margin: -20px 0;
    }
}

@media (max-width: 480px) {
    .features-grid {
        padding: 0;
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .feature-large {
        padding: var(--space-lg);
    }

    .feature-large .feature-content {
        width: 100%;
    }

    .feature-large .feature-content p {
        font-size: 0.9rem;
    }

    .rings-demo {
        transform: scale(0.65);
        margin: -30px 0;
        gap: var(--space-sm);
    }
}

/* --------------------------------
   Testimonials Section
   -------------------------------- */

/* Laurels Badge */
.laurels-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin: var(--space-xl) auto var(--space-lg);
}

.laurel {
    width: 24px;
    height: 58px;
    color: var(--text-primary);
    opacity: 0.6;
}

.laurels-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.laurels-stars {
    display: flex;
    gap: 4px;
}

.laurels-stars svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
}

.laurels-rating {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .laurel {
        width: 18px;
        height: 44px;
    }

    .laurels-stars svg {
        width: 14px;
        height: 14px;
    }

    .laurels-rating {
        font-size: 1.25rem;
    }

    .laurels-badge {
        gap: var(--space-sm);
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.testimonial-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(76, 217, 100, 0.1), rgba(34, 211, 238, 0.05));
    border-color: rgba(76, 217, 100, 0.2);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-md);
}

.testimonial-rating svg {
    width: 18px;
    height: 18px;
    color: var(--yellow);
}

blockquote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.testimonial-featured blockquote {
    font-size: 1.15rem;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--green), #22D3EE);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-featured {
        grid-column: span 1;
    }
}

/* --------------------------------
   Final CTA Section
   -------------------------------- */
.final-cta {
    position: relative;
    text-align: center;
    overflow: visible;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto var(--space-2xl);
}

.cta-platforms {
    margin-top: var(--space-lg);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --------------------------------
   Footer
   -------------------------------- */
.footer {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0 var(--space-xl);
    border-top: 1px solid var(--bg-glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.footer-column a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--bg-glass-border);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

/* --------------------------------
   Animations & Reveal
   -------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 0.4s; }

.reveal-stagger.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------
   Utility Classes
   -------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------
   Legal Pages
   -------------------------------- */
.legal-page {
    padding-top: 120px;
    padding-bottom: var(--space-4xl);
    min-height: 100vh;
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.legal-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-3xl);
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.legal-content ul {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.legal-content li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
    position: relative;
}

.legal-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
}

.legal-content a {
    color: var(--green);
    transition: opacity var(--transition-fast);
}

.legal-content a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .legal-page {
        padding-top: 100px;
    }

    .legal-content {
        padding: 0 var(--space-md);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
