@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand palette — gold-on-black */
    --primary: #D4AF37;
    --primary-accent: #FFC857;
    --primary-highlight: #FFD773;
    --secondary: #F3B347;
    --primary-glow: rgba(212, 175, 55, 0.18);
    --primary-glow-soft: rgba(212, 175, 55, 0.08);
    --primary-dim: rgba(212, 175, 55, 0.65);
    --primary-tint: rgba(212, 175, 55, 0.12);

    /* Semantic */
    --success: #4ADE80;
    --danger: #F87171;

    /* Surfaces */
    --surface: #0B0B0D;
    --surface-raised: #141416;
    --surface-card: #141416;
    --surface-subtle: #18181B;
    --surface-overlay: rgba(254, 245, 242, 0.04);
    --border: #2A2A2E;
    --border-soft: rgba(254, 245, 242, 0.06);
    --border-light: rgba(254, 245, 242, 0.1);

    /* Text */
    --text-primary: #FEF5F2;
    --text-secondary: #BAB6AE;
    --text-tertiary: rgba(254, 245, 242, 0.4);
    --text-muted: rgba(254, 245, 242, 0.55);
    --text-on-primary: #1E1B17;

    /* Type stack */
    --font-display: 'Instrument Serif', 'New York', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, system-ui, sans-serif;
    --font-rounded: -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--surface);
    overflow-x: hidden;
}

/* ── Grain overlay ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px;
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children in grids */
.feature-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.feature-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.feature-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.feature-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.feature-grid .reveal:nth-child(6) { transition-delay: 0.40s; }

.access-list .reveal:nth-child(2) { transition-delay: 0.06s; }
.access-list .reveal:nth-child(3) { transition-delay: 0.12s; }

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.75; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Shared ── */
.section-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-dim);
    margin-bottom: 1.25rem;
}

/* Branded eyebrow — italic serif with inline logo-as-G */
.section-label--branded {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.05em;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.005em;
    text-transform: none;
    color: var(--primary-dim);
    opacity: 0.95;
}

.section-label--branded .title-glyph {
    width: 1.05em;
    height: 1.05em;
    vertical-align: -0.22em;
    margin-right: -0.04em;
    margin-left: 0.04em;
    filter:
        drop-shadow(0 1px 3px rgba(212, 175, 55, 0.4))
        drop-shadow(0 0 8px rgba(212, 175, 55, 0.2));
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Navbar ── */
nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 960px;
    z-index: 100;
    padding: 0;
    animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nav-container {
    background: rgba(11, 11, 13, 0.72);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--border-soft);
    border-radius: 50px;
    padding: 0.55rem 0.6rem 0.55rem 1.2rem;
    display: flex;
    gap: 0.6rem;
    align-items: center;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    width: fit-content;
    margin: 0 auto;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
    line-height: 1;
}

.logo-mark {
    width: 28px;
    height: 28px;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 4px rgba(212, 175, 55, 0.3));
}

.nav-links {
    display: flex;
    gap: 0.15rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.85rem;
    padding: 0.45rem 0.85rem;
    border-radius: 25px;
    transition: color 0.3s, background 0.3s;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

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

.download-btn {
    background: linear-gradient(180deg, var(--primary-accent) 0%, var(--primary) 100%);
    color: var(--text-on-primary) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, filter 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.01em;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 0 0 1px rgba(212, 175, 55, 0.4);
}

.download-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 0 0 1px rgba(212, 175, 55, 0.5),
        0 8px 28px var(--primary-glow);
    filter: brightness(1.06);
}

.download-btn svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

/* ── Hero Section ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    max-width: 700px;
    max-height: 700px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 6s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(243, 179, 71, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 8s ease-in-out 2s infinite;
    pointer-events: none;
}

.hero-container {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-emblem {
    width: 96px;
    height: 96px;
    margin: 0 auto 2rem;
    display: block;
    filter:
        drop-shadow(0 8px 32px rgba(212, 175, 55, 0.35))
        drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-dim);
    margin-bottom: 2.5rem;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-label::before,
.hero-label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--primary-dim);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--text-primary);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero h1 em,
h2 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--primary-highlight) 0%, var(--primary) 60%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.app-store-link {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s;
}

.app-store-link:hover {
    transform: translateY(-3px) scale(1.03);
    filter: drop-shadow(0 8px 24px var(--primary-glow));
}

.app-store-badge {
    height: 56px;
    width: auto;
    display: block;
}

.hero-note {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    letter-spacing: 0.02em;
}

/* ── Screens / Inside Glancely ── */
.screens {
    padding: 5rem 5% 5.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.screens-container {
    max-width: 1280px;
    margin: 0 auto;
}

.screens .section-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-dim);
    margin-bottom: 1rem;
}

.screens-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 2.75rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.screens-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
        "fa1 fa1 tryon tryon"
        "fa2 cm cw lib";
    gap: 4.5rem 1.5rem;
    margin-bottom: 3rem;
    align-items: start;
}

.screen-card--fa1 { grid-area: fa1; }
.screen-card--tryon { grid-area: tryon; }
.screen-card--fa2 { grid-area: fa2; }
.screen-card--cm { grid-area: cm; }
.screen-card--cw { grid-area: cw; }
.screen-card--lib { grid-area: lib; }

.screens-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.screens-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.screens-grid .reveal:nth-child(4) { transition-delay: 0.20s; }
.screens-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.screens-grid .reveal:nth-child(6) { transition-delay: 0.28s; }

.screen-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.screen-frame {
    position: relative;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}

.screen-card--hero .screen-frame {
    max-width: 280px;
}

.screen-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.55));
    position: relative;
    z-index: 1;
}

.screen-overlay {
    position: absolute;
    width: 32%;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55));
    animation: overlay-float 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    will-change: transform;
}

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

/* Recommendation overlays floating around facial-analysis-1 */
.screen-overlay--p1 { top: 4%;  left: -28%; animation-delay: 0s; }
.screen-overlay--p2 { top: 26%; right: -32%; animation-delay: 1.5s; }
.screen-overlay--p3 { top: 52%; left: -32%; animation-delay: 3s; }
.screen-overlay--p4 { top: 72%; right: -28%; animation-delay: 4.5s; }

/* Try-on output overlays floating around try-on-screen */
.screen-overlay--t1 { top: 10%; left: -30%; animation-delay: 0s; }
.screen-overlay--t2 { top: 38%; right: -32%; animation-delay: 2s; }
.screen-overlay--t3 { top: 68%; left: -28%; animation-delay: 4s; }

.screen-card figcaption {
    margin-top: 1.75rem;
    color: var(--text-primary);
    font-size: 0.98rem;
    line-height: 1.5;
    max-width: 320px;
    font-weight: 400;
}

.screen-card--hero figcaption {
    max-width: 380px;
}

.screens-proof {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding-top: 2rem;
    border-top: 1px solid var(--border-soft);
    margin: 0 auto;
    max-width: 760px;
}

@media (max-width: 1024px) {
    .screens-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "fa1 tryon"
            "fa2 cm"
            "cw lib";
        gap: 4rem 2rem;
    }
}

@media (max-width: 720px) {
    .screens-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "fa1"
            "tryon"
            "fa2"
            "cm"
            "cw"
            "lib";
        gap: 3.5rem;
    }
    .screen-frame,
    .screen-card--hero .screen-frame {
        max-width: 240px;
    }
    .screen-overlay {
        width: 28%;
    }
    .screen-overlay--p3,
    .screen-overlay--p4,
    .screen-overlay--t3 {
        display: none;
    }
    .screen-overlay--p1,
    .screen-overlay--t1 { left: -12%; }
    .screen-overlay--p2,
    .screen-overlay--t2 { right: -12%; }
}

/* ── Features Section ── */
.features {
    padding: 7rem 5%;
    background: var(--surface);
    text-align: center;
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
}

.features h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 400;
}

.features h2.features-heading {
    font-size: clamp(2.6rem, 5.5vw, 3.8rem);
    font-style: italic;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.features h2.features-heading .title-glyph {
    width: 1em;
    height: 1em;
    vertical-align: -0.18em;
    margin-right: -0.02em;
    margin-left: 0.02em;
    filter:
        drop-shadow(0 2px 8px rgba(212, 175, 55, 0.45))
        drop-shadow(0 0 18px rgba(212, 175, 55, 0.25));
}

.features h2.features-heading .brand-text {
    background: linear-gradient(135deg, var(--primary-highlight) 0%, var(--primary) 55%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.features-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.7vw, 1.4rem);
    font-style: italic;
    color: var(--text-secondary);
    margin: 0 auto;
    line-height: 1.4;
    max-width: 580px;
    letter-spacing: 0.005em;
}

.features-subtitle em {
    font-style: italic;
    background: linear-gradient(135deg, var(--primary-highlight) 0%, var(--primary) 60%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Vertical timeline layout */
.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 860px;
    margin: 4rem auto 0;
    padding-left: 92px;
    position: relative;
}

/* Vertical gold rail down the left of the timeline */
.feature-grid::before {
    content: "";
    position: absolute;
    top: 36px;
    bottom: 36px;
    left: 32px;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(212, 175, 55, 0.7) 5%,
        rgba(212, 175, 55, 0.45) 50%,
        rgba(212, 175, 55, 0.7) 95%,
        transparent 100%
    );
    pointer-events: none;
}

/* Subtle gold ambient glow beside the rail */
.feature-grid::after {
    content: "";
    position: absolute;
    top: 36px;
    bottom: 36px;
    left: 24px;
    width: 17px;
    background: radial-gradient(
        ellipse at center,
        rgba(212, 175, 55, 0.07) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.feature-card {
    padding: 2.5rem 2rem;
    background: var(--surface-card);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.4s;
    text-align: left;
    position: relative;
    overflow: visible;
}

/* Numbered circular badge anchored on the rail */
.feature-step {
    position: absolute;
    top: 1.8rem;
    left: -82px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-highlight) 0%, var(--primary) 60%, var(--secondary) 100%);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    color: var(--text-on-primary);
    -webkit-text-fill-color: var(--text-on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    opacity: 1;
    box-shadow:
        0 0 0 6px var(--surface),
        0 0 0 7px rgba(212, 175, 55, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.3) inset,
        0 6px 24px rgba(212, 175, 55, 0.4);
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
    z-index: 2;
}

/* Hide the divider/total inside the badge — only show the active step number */
.feature-step .feature-step-divider,
.feature-step .feature-step-total {
    display: none;
}

.feature-card:hover .feature-step {
    transform: scale(1.06);
    box-shadow:
        0 0 0 6px var(--surface),
        0 0 0 7px rgba(212, 175, 55, 0.55),
        0 1px 2px rgba(0, 0, 0, 0.3) inset,
        0 8px 32px rgba(212, 175, 55, 0.55);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.18), transparent);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.18);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(212, 175, 55, 0.08);
}

.feature-card--highlight {
    border-color: rgba(212, 175, 55, 0.14);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.04) 0%, var(--surface-card) 50%);
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    color: var(--primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.15;
}

.title-glyph {
    display: inline-block;
    width: 1.18em;
    height: 1.18em;
    vertical-align: -0.32em;
    margin-right: -0.04em;
    filter:
        drop-shadow(0 1px 4px rgba(212, 175, 55, 0.5))
        drop-shadow(0 0 12px rgba(212, 175, 55, 0.25));
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
}

.feature-tags li {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: var(--primary-tint);
    border: 1px solid rgba(212, 175, 55, 0.14);
    color: var(--primary-dim);
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.feature-card:hover .feature-tags li {
    border-color: rgba(212, 175, 55, 0.28);
    color: var(--primary-highlight);
    background: rgba(212, 175, 55, 0.16);
}

/* ── Access / Free to try ── */
.access {
    padding: 5rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.access-container {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.access-eyebrow {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-dim);
    margin-bottom: 1rem;
}

.access-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 2.75rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.access-heading em {
    font-style: italic;
    background: linear-gradient(135deg, var(--primary-highlight) 0%, var(--primary) 60%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.access-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 620px;
    margin: 0 auto;
    text-align: left;
}

.access-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background: var(--surface-card);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.5;
    transition: border-color 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-item:hover {
    border-color: rgba(212, 175, 55, 0.18);
    transform: translateY(-2px);
}

.access-item strong {
    color: var(--text-primary);
    font-weight: 500;
}

.access-check {
    flex: 0 0 auto;
    margin-top: 0.15rem;
    color: var(--primary-highlight);
}

.access-disclaimer {
    margin: 2rem auto 0;
    max-width: 620px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
    text-align: left;
}

/* ── Use Cases ── */
.use-cases {
    padding: 5rem 5%;
    background: var(--surface-raised);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.use-cases-container {
    max-width: 1080px;
    margin: 0 auto;
}

.use-cases .section-label,
.use-cases-heading {
    text-align: center;
}

.use-cases-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 2.75rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.use-case-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.4rem;
    background: var(--surface-card);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    text-decoration: none;
    transition: border-color 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

.use-case-card:hover {
    border-color: rgba(212, 175, 55, 0.22);
    transform: translateY(-2px);
    background: var(--surface-subtle);
}

.use-case-kicker {
    color: var(--primary-dim);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.use-case-card h3 {
    color: var(--text-primary);
    font-size: 1.02rem;
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.use-case-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* ── FAQ ── */
.faq {
    padding: 5rem 5%;
    background: var(--surface-raised);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.faq-container {
    max-width: 1040px;
    margin: 0 auto;
}

.faq .section-label,
.faq-heading {
    text-align: center;
}

.faq-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 2.75rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 2.75rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.faq-item {
    padding: 1.5rem;
    background: var(--surface-card);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    transition: border-color 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.18);
    transform: translateY(-2px);
}

.faq-item h3 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.7rem;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ── Final CTA ── */
.final-cta {
    padding: 8rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.09) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.final-cta-container {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0 auto;
}

.final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.final-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* ── Feature Landing Pages ── */
.feature-page {
    padding-top: 7.5rem;
}

.feature-hero {
    padding: 4rem 5% 5rem;
    text-align: center;
}

.feature-hero-container {
    max-width: 860px;
    margin: 0 auto;
}

.feature-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    padding: 0.42rem 0.85rem;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 999px;
    color: var(--primary-highlight);
    background: var(--primary-tint);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.feature-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: -0.01em;
    margin-bottom: 1.3rem;
}

.feature-hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--primary-highlight) 0%, var(--primary) 60%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.feature-hero p {
    max-width: 720px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: 1.12rem;
    line-height: 1.75;
}

.feature-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-secondary-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.3s;
}

.feature-secondary-link:hover {
    color: var(--primary-highlight);
}

.feature-section {
    padding: 4.5rem 5%;
}

.feature-section--raised {
    background: var(--surface-raised);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.feature-section-container {
    max-width: 1080px;
    margin: 0 auto;
}

.feature-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
    gap: 3rem;
    align-items: start;
}

.feature-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 3rem);
    font-weight: 400;
    line-height: 1.08;
    margin-bottom: 1rem;
}

.feature-section h2 em {
    font-style: italic;
    color: var(--primary-highlight);
}

.feature-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.feature-panel {
    background: var(--surface-card);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1.5rem;
}

.feature-panel h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.feature-list li {
    color: var(--text-secondary);
    display: flex;
    gap: 0.7rem;
    line-height: 1.55;
}

.feature-list li::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--primary-highlight);
    flex: 0 0 auto;
    margin-top: 0.55rem;
}

.feature-card-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature-mini-card {
    padding: 1.25rem;
    background: var(--surface-card);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
}

.feature-mini-card h3 {
    font-size: 1rem;
    margin-bottom: 0.55rem;
}

.feature-mini-card p {
    font-size: 0.92rem;
    margin-bottom: 0;
}

.feature-steps {
    counter-reset: feature-step;
    display: grid;
    gap: 0.9rem;
}

.feature-steps li {
    counter-increment: feature-step;
    list-style: none;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    color: var(--text-secondary);
}

.feature-steps li::before {
    content: counter(feature-step, decimal-leading-zero);
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: var(--text-on-primary);
    background: linear-gradient(180deg, var(--primary-accent) 0%, var(--primary) 100%);
    font-size: 0.78rem;
    font-weight: 700;
}

.feature-faq {
    padding: 4.5rem 5%;
}

.feature-faq .faq-container {
    max-width: 980px;
}

.feature-faq .faq-grid {
    grid-template-columns: 1fr;
}

/* ── Footer ── */
footer {
    background: var(--surface-raised);
    color: var(--text-primary);
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--border-soft);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand-head {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.footer-brand-head img {
    width: 32px;
    height: 32px;
    display: block;
    filter: drop-shadow(0 1px 4px rgba(212, 175, 55, 0.3));
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-style: italic;
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1;
}

.footer-brand p {
    color: var(--text-tertiary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.92rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-soft);
    color: var(--text-tertiary);
    font-size: 0.82rem;
}

/* ── Content Pages (Privacy, Terms) ── */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 7rem 5% 4rem;
}

.content h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 400;
}

.last-updated {
    color: var(--text-tertiary);
    margin-bottom: 3rem;
    font-size: 0.9rem;
}

.content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 400;
}

.content h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.content h4 {
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, color 0.3s;
}

.content a:hover {
    color: var(--primary-highlight);
    border-bottom-color: var(--primary-highlight);
}

.content ul {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
    color: var(--text-secondary);
}

.content li {
    margin-bottom: 0.5rem;
}

.content li::marker {
    color: var(--primary-dim);
}

.content ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.content strong {
    color: var(--text-primary);
}

/* ── Back link ── */
.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 25px;
    transition: background 0.3s, color 0.3s;
}

.back-link:hover {
    background: var(--surface-overlay);
    color: var(--text-primary);
}

/* ── Mobile Menu ── */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    margin-left: auto;
    padding: 0.25rem;
    line-height: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .feature-grid {
        padding-left: 72px;
    }

    .feature-grid::before {
        left: 24px;
    }

    .feature-grid::after {
        left: 18px;
        width: 13px;
    }

    .feature-step {
        left: -64px;
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
        top: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand-head {
        justify-content: center;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 0 0 40%;
    }
}

@media (max-width: 768px) {
    nav {
        top: 1rem;
        width: calc(100% - 2rem);
    }

    .nav-container {
        padding: 0.5rem 0.55rem 0.5rem 0.95rem;
        width: 100%;
    }

    .logo {
        font-size: 1.3rem;
        gap: 0.45rem;
    }

    .logo-mark {
        width: 24px;
        height: 24px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        background: rgba(11, 11, 13, 0.94);
        backdrop-filter: blur(24px) saturate(1.4);
        -webkit-backdrop-filter: blur(24px) saturate(1.4);
        flex-direction: column;
        padding: 1rem;
        border-radius: 20px;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
        border: 1px solid var(--border-soft);
        gap: 0.25rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .download-btn svg {
        width: 12px;
        height: 12px;
    }

    .hero {
        min-height: auto;
        padding: 9rem 5% 5rem;
    }

    .hero-emblem {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }

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

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .app-store-badge {
        height: 50px;
    }

    .features,
    .use-cases,
    .faq,
    .final-cta {
        padding: 5rem 5%;
    }

    .access {
        padding: 4.5rem 5%;
    }

    .feature-page {
        padding-top: 6.5rem;
    }

    .feature-hero {
        padding: 3.5rem 5% 4rem;
    }

    .feature-two-col,
    .use-cases-grid,
    .feature-card-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid {
        padding-left: 60px;
    }

    .feature-grid::before {
        left: 20px;
    }

    .feature-grid::after {
        left: 14px;
        width: 13px;
    }

    .feature-step {
        left: -52px;
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        top: 1.4rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    nav {
        top: 0.75rem;
        width: calc(100% - 1.5rem);
    }

    .nav-container {
        padding: 0.45rem 0.5rem 0.45rem 0.85rem;
        width: 100%;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero {
        padding: 8rem 5% 4rem;
    }

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

    .hero-emblem {
        width: 68px;
        height: 68px;
    }

    .app-store-badge {
        height: 45px;
    }

    .hero-label {
        font-size: 0.7rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-suffix {
        font-size: 1.6rem;
    }

    .stat-item {
        flex: 0 0 45%;
    }

    .features,
    .use-cases,
    .faq,
    .final-cta {
        padding: 4rem 5%;
    }

    .use-cases-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .access {
        padding: 3.5rem 5%;
    }

    .feature-section,
    .feature-faq {
        padding: 3.5rem 5%;
    }

    .feature-hero-actions {
        flex-direction: column;
    }

    .feature-grid {
        padding-left: 50px;
    }

    .feature-grid::before {
        left: 16px;
    }

    .feature-grid::after {
        left: 11px;
        width: 11px;
    }

    .feature-step {
        left: -44px;
        width: 28px;
        height: 28px;
        font-size: 0.78rem;
        top: 1.2rem;
    }

    .feature-card {
        padding: 1.75rem 1.25rem;
    }
}
