/* ===================================================
   FRQ Atlas Landing Page - Stripe + Brilliant Style
   =================================================== */

/* Font Face */
@font-face {
    font-family: 'Google Sans Flex';
    src: url('font/GoogleSansFlex-VariableFont_GRAD,ROND,opsz,slnt,wdth,wght.woff2') format('woff2');
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
}

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

:root {
    /* Dark theme (hero) */
    --dark-bg: #0a0a0f;
    --dark-bg-elevated: #12121a;
    --dark-text: #f4f4f5;
    --dark-text-muted: #a1a1aa;
    --dark-border: rgba(255, 255, 255, 0.08);

    /* Light theme (content) */
    --light-bg: #fafafa;
    --light-bg-elevated: #ffffff;
    --light-text: #18181b;
    --light-text-muted: #71717a;
    --light-border: rgba(0, 0, 0, 0.06);

    /* Brand colors */
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #a855f7;
    --accent-gradient: linear-gradient(135deg in oklab, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);

    /* Typography */
    --font-sans: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Google Sans Flex', var(--font-sans);

    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-width: 1140px;
    --container-narrow: 720px;
}

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

html[data-theme="dark"] {
    background: #000000;
}

html[data-theme="light"] {
    background: #fafafa;
}

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

/* ===================================================
   Typography
   =================================================== */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================================
   Layout
   =================================================== */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--narrow {
    max-width: var(--container-narrow);
}

/* ===================================================
   Navigation
   =================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    /* iOS 26 Safari bug: uses fixed element background-color for tab tint
       Setting actual theme colors here since theme-color meta is broken */
    background-color: #000000;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background 0.3s ease;
}

.nav--scrolled {
    background-color: #fafafa;
    background: linear-gradient(rgba(250, 250, 250, 0.5), rgba(250, 250, 250, 0.5));
}

.nav--scrolled .nav__logo,
.nav--scrolled .nav__link {
    color: var(--light-text);
}

.nav--scrolled .nav__by {
    color: var(--light-text-muted);
}

.nav--scrolled .nav__link:hover {
    color: var(--light-text);
}

.nav__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text);
    text-decoration: none;
}

.nav__by {
    font-size: 0.9rem;
    color: var(--dark-text-muted);
}

.nav__link.nav__link--brand {
    padding: 0;
    background: none;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav__link--brand:hover {
    background: none;
    text-decoration: underline;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-text-muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover {
    color: var(--dark-text);
    background: rgba(255, 255, 255, 0.05);
}

/* ===================================================
   Buttons
   =================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn--primary {
    color: #fff;
    background: var(--accent-gradient);
    box-shadow:
        0px 2px 3px -1px rgba(99, 102, 241, 0.2),
        0px 1px 0px 0px rgba(99, 102, 241, 0.1),
        0px 0px 0px 1px rgba(99, 102, 241, 0.15);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0px 4px 8px -2px rgba(99, 102, 241, 0.25),
        0px 2px 0px 0px rgba(99, 102, 241, 0.1),
        0px 0px 0px 1px rgba(99, 102, 241, 0.2);
}

.btn--secondary {
    color: var(--dark-text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn--light {
    color: var(--light-text);
    background: var(--light-bg-elevated);
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-sm);
}

.btn--light:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn--small .btn__icon {
    width: 14px;
    height: 14px;
}

/* Nav CTA button - gradient text with shimmer */
.nav__cta {
    background: transparent;
    box-shadow: none;
    position: relative;
    margin-right: -100px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, margin-right 0.3s ease;
}

.nav__cta.visible {
    opacity: 1;
    margin-right: 0;
    pointer-events: auto;
}

.nav__cta .nav__cta-text {
    background-image: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: shimmer-text 3s ease-in-out infinite;
}

.nav__cta .btn__icon {
    stroke: var(--accent-primary);
}

@keyframes shimmer-text {
    0%, 100% { background-position: 100% 0; }
    50% { background-position: 0 0; }
}

.nav__cta:hover {
    box-shadow: none;
}

.btn__icon {
    width: 18px;
    height: 18px;
}

/* ===================================================
   Hero Section (Dark)
   =================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    /* Extend into safe area (notch, status bar, home indicator) */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
    overflow: hidden;
    padding: 30px 0; 
}

@supports (-webkit-touch-callout: none) {
    /* iOS Safari - use larger viewport to cover address bar area */
    .hero {
        min-height: -webkit-fill-available;
    }
}

.hero__canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__canvas canvas {
    width: 100% !important;
    height: 100% !important;
}

.hero__overlay {
    display: none;
}

/* Frosted glass card for hero content */
.hero__card {
    background: transparent;
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    max-width: 950px;
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: calc(100% - 20px);
    max-width: 950px;
    margin: 5rem 10px 1.5rem;
    padding: 2rem 1.5rem;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(0.3rem, 1vw, 0.4rem) clamp(0.6rem, 2vw, 0.9rem);
    margin-bottom: 1rem;
    font-size: clamp(0.75rem, 2.5vw, 1rem);
    font-weight: 500;
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
}

.hero__title {
    font-size: clamp(2.25rem, 7vw, 4rem);
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--dark-text-muted);
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero__tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: var(--dark-text-muted);
    margin-bottom: 1.75rem;
    font-style: italic;
    opacity: 0.9;
}

/* Hero Video Preview */
.hero__video-preview {
    position: relative;
    width: 650px;
    max-width: 90%;
    max-height: 325px;
    margin: 0 auto 1.5rem;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.hero__video-preview:hover {
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 0 80px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.hero__video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__video-tint {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 30, 0.45);
    pointer-events: none;
}

.hero__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(99, 102, 241, 0.3),
        inset 0 0 20px rgba(139, 92, 246, 0.1);
}

.hero__play-btn svg {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.5));
}

.hero__play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(10, 10, 20, 0.8);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(139, 92, 246, 0.4),
        inset 0 0 30px rgba(139, 92, 246, 0.15);
}

.hero__video-preview:hover .hero__play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.video-modal__content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal__content {
    transform: scale(1);
}

.video-modal__video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000;
}

.video-modal__close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.video-modal__close svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.video-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-text-muted);
    font-size: 0.8rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===================================================
   Light Sections
   =================================================== */

.section {
    padding: var(--section-padding) 0;
    background: var(--light-bg);
}

.section--alt {
    background: var(--light-bg-elevated);
}

/* Features section with subtle grid background */
#features {
    position: relative;
}

#features::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(#f5f5f5 1px, transparent 1px),
        linear-gradient(90deg, #f5f5f5 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 50%, transparent 75%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 50%, transparent 75%);
    pointer-events: none;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--light-text);
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--light-text-muted);
    max-width: 540px;
    margin: 0 auto;
}

/* ===================================================
   Bento Grid (Apple-style asymmetric)
   =================================================== */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 2rem;
}

/* Card base styles */
.bento-card {
    background: var(--light-bg-elevated);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    box-shadow:
        0px 2px 3px -1px rgba(0,0,0,0.1),
        0px 1px 0px 0px rgba(25,28,33,0.02),
        0px 0px 0px 1px rgba(25,28,33,0.08);
}

.bento-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0px 4px 8px -2px rgba(0,0,0,0.12),
        0px 2px 0px 0px rgba(25,28,33,0.02),
        0px 0px 0px 1px rgba(25,28,33,0.1);
}

/* Grid placement classes */
.bento-card--a { grid-column: span 7; grid-row: span 2; }
.bento-card--b { grid-column: span 5; grid-row: span 1; }
.bento-card--c { grid-column: span 5; grid-row: span 1; }
.bento-card--d { grid-column: span 4; grid-row: span 1; }
.bento-card--e { grid-column: span 8; grid-row: span 1; }
.bento-card--f { grid-column: span 6; grid-row: span 2; }
.bento-card--g { grid-column: span 6; grid-row: span 1; }

/* Image cards */
.bento-card--image {
    display: flex;
    flex-direction: column;
}

.bento-card__image {
    width: 100%;
    flex: 1;
    object-fit: cover;
    object-position: top left;
    display: block;
}

.bento-card__content {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(to top, var(--light-bg-elevated) 0%, var(--light-bg-elevated) 80%, transparent 100%);
    margin-top: auto;
}

.bento-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0;
}

.bento-card__expand {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--light-bg);
    border: 1px solid var(--light-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.bento-card__expand svg {
    color: var(--light-text-muted);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.bento-card__expand:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.bento-card__expand:hover svg {
    color: #fff;
}

.bento-card[data-expanded] .bento-card__expand svg {
    transform: rotate(45deg);
}

.bento-card__description {
    font-size: 0.9rem;
    color: var(--light-text-muted);
    line-height: 1.6;
    padding: 0 1.5rem;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card[data-expanded] .bento-card__description {
    max-height: 200px;
    opacity: 1;
    padding-bottom: 1.5rem;
}

/* Icon cards */
.bento-card--icon {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.bento-card--icon .bento-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg in oklab, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    border-radius: 16px;
    color: var(--accent-primary);
}

.bento-card--icon .bento-card__title {
    font-size: 1.15rem;
    margin: 0;
}

.bento-card--icon .bento-card__description {
    max-height: none;
    opacity: 1;
    padding: 0;
    font-size: 0.95rem;
    overflow: visible;
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .bento-card--a { grid-column: span 6; grid-row: span 1; }
    .bento-card--b { grid-column: span 3; grid-row: span 1; }
    .bento-card--c { grid-column: span 3; grid-row: span 1; }
    .bento-card--d { grid-column: span 6; grid-row: span 1; }
    .bento-card--e { grid-column: span 6; grid-row: span 1; }
    .bento-card--f { grid-column: span 3; grid-row: span 1; }
    .bento-card--g { grid-column: span 3; grid-row: span 1; }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-card--a,
    .bento-card--b,
    .bento-card--c,
    .bento-card--d,
    .bento-card--e,
    .bento-card--f,
    .bento-card--g {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ===================================================
   How It Works
   =================================================== */

.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    counter-reset: step;
}

.steps .step {
    flex: 1 1 340px;
}

.step {
    position: relative;
    padding: 2rem;
    background: var(--light-bg-elevated);
    border-radius: 16px;
    counter-increment: step;
    box-shadow:
        0px 0px 0px 1px rgb(0 0 0 / 0.06),
        0px 1px 1px -0.5px rgb(0 0 0 / 0.06),
        0px 3px 3px -1.5px rgb(0 0 0 / 0.06),
        0px 6px 6px -3px rgb(0 0 0 / 0.06),
        0px 12px 12px -6px rgb(0 0 0 / 0.06),
        0px 24px 24px -12px rgb(0 0 0 / 0.06);
}

.step::before {
    content: counter(step);
    position: absolute;
    top: -12px;
    left: 24px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: var(--accent-gradient);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.step__video {
    width: 100%;
    aspect-ratio: 2 / 1;
    background: var(--light-bg);
    border: 1px solid var(--light-border);
    border-radius: 10px;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.step__video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step__image {
    width: 100%;
    height: 180px;
    background: var(--light-bg);
    border: 1px solid var(--light-border);
    border-radius: 10px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step__image--placeholder {
    color: var(--light-text-muted);
    font-size: 0.9rem;
}

.step__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.step__description {
    font-size: 0.95rem;
    color: var(--light-text-muted);
    line-height: 1.6;
}

/* ===================================================
   CTA Section
   =================================================== */

.cta {
    padding: var(--section-padding) 0;
    background: var(--dark-bg);
    text-align: center;
}

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

.cta__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.cta__subtitle {
    font-size: 1.1rem;
    color: var(--dark-text-muted);
    margin-bottom: 2rem;
}

/* ===================================================
   Footer
   =================================================== */

.footer {
    padding: 2rem 0;
    background: var(--dark-bg);
    border-top: 1px solid var(--dark-border);
    text-align: center;
}

.footer__text {
    font-size: 0.9rem;
    color: var(--dark-text-muted);
}

.footer__link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.footer__link:hover {
    text-decoration: underline;
}

.footer__disclaimer {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
    opacity: 0.6;
    margin-top: 0.75rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================================
   FAQ Section
   =================================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--light-bg-elevated);
    border-radius: 12px;
    box-shadow:
        0px 2px 3px -1px rgba(0,0,0,0.1),
        0px 1px 0px 0px rgba(25,28,33,0.02),
        0px 0px 0px 1px rgba(25,28,33,0.08);
}

.faq-item__question {
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--light-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent-primary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-item__question::after {
    transform: rotate(45deg);
}

.faq-item__question {
    border-radius: 12px;
}

.faq-item__question:hover {
    background: var(--light-bg);
}

.faq-item[open] .faq-item__question {
    border-radius: 12px 12px 0 0;
}

.faq-item__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-item__answer {
    grid-template-rows: 1fr;
}

.faq-item.closing .faq-item__answer {
    grid-template-rows: 0fr;
}

.faq-item.closing .faq-item__question::after {
    transform: rotate(0deg);
}

.faq-item__answer-inner {
    overflow: hidden;
}

.faq-item__answer-inner p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
    color: var(--light-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ===================================================
   Animations
   =================================================== */

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0.0s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ===================================================
   Responsive
   =================================================== */

@media (max-width: 768px) {
    .hero__scroll {
        display: none;
    }

    .nav__links {
        gap: 0;
    }

    .nav__links .nav__link:not(.nav__cta) {
        display: none;
    }

    .nav__cta.visible {
        margin-right: 0;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .nav__cta.btn {
        width: auto;
        max-width: none;
    }

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

    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero__content {
        padding: 2rem 1rem;
        margin-top: 4rem;
        margin-bottom: 2rem;
    }

    .feature-card,
    .step {
        padding: 1.5rem;
    }
}