/* ============================================
   ORBIT HOMEPAGE — cosmic scene stylesheet
   Matches design tokens from layouts/public.blade.php
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
    --bg: #06060c;
    --ink: #f5f1e8;
    --ink-dim: #a8a39a;
    --ink-faint: #6a6560;
    --accent: #ff6b35;
    --gold: #e8c547;
    --purple: #6b4ef5;
    --cyan: #4ee8e0;
    --surface: rgba(255,255,255,0.04);
    --surface-2: rgba(255,255,255,0.07);
    --border: rgba(255,255,255,0.1);
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter Tight', system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.font-serif { font-family: 'Fraunces', Georgia, serif; }
.font-mono  { font-family: 'JetBrains Mono', monospace; }

/* ============================================
   COSMIC SCENE CONTAINER
   ============================================ */

.cosmic-scene {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(107, 78, 245, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 45%, rgba(255, 107, 53, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 95%, rgba(78, 232, 224, 0.06) 0%, transparent 55%),
        var(--bg);
}

/* --- Starfield layers --- */
.stars {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.stars-1 {
    background-image:
        radial-gradient(1px 1px at 40px 60px, #f5f1e8, transparent),
        radial-gradient(1px 1px at 200px 40px, #e8c547, transparent),
        radial-gradient(2px 2px at 350px 90px, #f5f1e8, transparent),
        radial-gradient(1px 1px at 500px 60px, #4ee8e0, transparent),
        radial-gradient(1px 1px at 100px 250px, #e8c547, transparent),
        radial-gradient(1px 1px at 750px 180px, #f5f1e8, transparent),
        radial-gradient(2px 2px at 900px 320px, #f5f1e8, transparent);
    background-size: 1000px 500px;
    opacity: 0.5;
    animation: drift-slow 200s linear infinite;
}

.stars-2 {
    background-image:
        radial-gradient(1px 1px at 120px 130px, #f5f1e8, transparent),
        radial-gradient(1px 1px at 420px 300px, #6b4ef5, transparent),
        radial-gradient(1px 1px at 620px 90px, #f5f1e8, transparent),
        radial-gradient(2px 2px at 830px 420px, #e8c547, transparent),
        radial-gradient(1px 1px at 260px 460px, #4ee8e0, transparent);
    background-size: 900px 600px;
    opacity: 0.35;
    animation: drift-slow 320s linear infinite reverse;
}

.stars-3 {
    background-image:
        radial-gradient(1px 1px at 60px 400px, #f5f1e8, transparent),
        radial-gradient(1px 1px at 480px 180px, #f5f1e8, transparent),
        radial-gradient(1px 1px at 700px 520px, #e8c547, transparent),
        radial-gradient(1px 1px at 950px 120px, #4ee8e0, transparent);
    background-size: 1100px 700px;
    opacity: 0.25;
    animation: twinkle 6s ease-in-out infinite alternate;
}

@keyframes drift-slow {
    from { background-position: 0 0; }
    to   { background-position: 1000px 500px; }
}

@keyframes twinkle {
    from { opacity: 0.15; }
    to   { opacity: 0.4; }
}

/* --- Moon --- */
.moon {
    position: absolute;
    top: 120px;
    right: 8%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #fdf6e3 0%, #e8dcc0 45%, #b8ab90 75%, #8a7f6a 100%);
    box-shadow:
        0 0 60px rgba(232, 220, 192, 0.25),
        0 0 120px rgba(232, 220, 192, 0.12),
        inset -18px -12px 40px rgba(0,0,0,0.35);
    z-index: 1;
    pointer-events: none;
    animation: moon-float 18s ease-in-out infinite;
}

.moon::before,
.moon::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(0,0,0,0.08);
    box-shadow: inset 2px 2px 6px rgba(0,0,0,0.15);
}
.moon::before { width: 34px; height: 34px; top: 34%; left: 24%; }
.moon::after  { width: 20px; height: 20px; top: 60%; left: 55%; }

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

/* --- Astronaut --- */
.astronaut {
    position: absolute;
    top: 340px;
    left: 6%;
    width: 90px;
    height: 120px;
    z-index: 2;
    pointer-events: none;
    animation: astro-float 14s ease-in-out infinite;
}

.astronaut-body {
    position: relative;
    width: 100%;
    height: 100%;
}

.astronaut-helmet {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff 0%, #d8d4cc 60%, #a9a49b 100%);
    box-shadow: 0 0 18px rgba(255,255,255,0.25);
}

.astronaut-visor {
    position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    width: 32px; height: 26px;
    border-radius: 50% 50% 45% 45%;
    background: linear-gradient(160deg, #2a3f6b 0%, #0f1729 55%, #1b2f52 100%);
    box-shadow: inset 0 2px 5px rgba(120,180,255,0.4);
}

.astronaut-suit {
    position: absolute;
    top: 44px; left: 50%;
    transform: translateX(-50%);
    width: 52px; height: 58px;
    border-radius: 18px 18px 14px 14px;
    background: linear-gradient(145deg, #f2efe8 0%, #cfcac1 65%, #a29d94 100%);
}

.astronaut-arm-left,
.astronaut-arm-right {
    position: absolute;
    top: 52px;
    width: 16px; height: 40px;
    border-radius: 8px;
    background: linear-gradient(145deg, #eae6df, #b3aea5);
}
.astronaut-arm-left  { left: 6px;  transform: rotate(18deg);  transform-origin: top center; }
.astronaut-arm-right { right: 6px; transform: rotate(-24deg); transform-origin: top center; }

.astronaut-backpack {
    position: absolute;
    top: 50px; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, #8f8a80, #605c55);
    z-index: -1;
}

.astronaut-tether {
    position: absolute;
    top: 96px; left: 50%;
    width: 2px; height: 260px;
    background: linear-gradient(to bottom, rgba(245,241,232,0.5), rgba(245,241,232,0));
    transform-origin: top center;
    transform: rotate(14deg);
}

@keyframes astro-float {
    0%, 100% { transform: translate(0, 0) rotate(-4deg); }
    25%      { transform: translate(16px, -22px) rotate(3deg); }
    50%      { transform: translate(6px, -38px) rotate(-2deg); }
    75%      { transform: translate(-10px, -18px) rotate(5deg); }
}

/* --- Rocket --- */
.rocket {
    position: absolute;
    top: 62%;
    right: 14%;
    width: 40px;
    height: 90px;
    z-index: 2;
    pointer-events: none;
    animation: rocket-fly 22s ease-in-out infinite;
}

.rocket-body {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 30px; height: 62px;
    border-radius: 50% 50% 30% 30%;
    background: linear-gradient(150deg, #f5f1e8 0%, #d7d2c8 50%, #ff6b35 100%);
    box-shadow: 0 0 22px rgba(255,107,53,0.35);
}

.rocket-flame {
    position: absolute;
    bottom: 6px; left: 50%;
    transform: translateX(-50%);
    width: 16px; height: 30px;
    border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
    background: linear-gradient(to bottom, #ffd166, #ff6b35 55%, rgba(255,107,53,0));
    filter: blur(1px);
    animation: flame-flicker 0.28s ease-in-out infinite alternate;
}

.rocket-trail {
    position: absolute;
    bottom: -120px; left: 50%;
    transform: translateX(-50%);
    width: 3px; height: 130px;
    background: linear-gradient(to bottom, rgba(255,107,53,0.4), rgba(255,107,53,0));
}

@keyframes flame-flicker {
    from { transform: translateX(-50%) scaleY(0.85); opacity: 0.85; }
    to   { transform: translateX(-50%) scaleY(1.15); opacity: 1; }
}

@keyframes rocket-fly {
    0%   { transform: translate(0, 0) rotate(12deg); opacity: 0; }
    10%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translate(-180px, -680px) rotate(12deg); opacity: 0; }
}

/* --- Shooting stars --- */
.shooting-star {
    position: absolute;
    top: 18%;
    left: 60%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #f5f1e8;
    box-shadow: 0 0 8px 2px rgba(245,241,232,0.7);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    animation: shoot 9s ease-in infinite;
}

.shooting-star::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 2px;
    width: 90px;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(to left, rgba(245,241,232,0.8), transparent);
}

.shooting-star-2 {
    top: 42%;
    left: 28%;
    animation-delay: 4.5s;
    animation-duration: 11s;
}

@keyframes shoot {
    0%       { transform: translate(0,0); opacity: 0; }
    3%       { opacity: 1; }
    14%      { transform: translate(-380px, 220px); opacity: 0; }
    100%     { transform: translate(-380px, 220px); opacity: 0; }
}

/* ============================================
   NAV
   ============================================ */

.orbit-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(6,6,12,0.72);
}

.orbit-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand-orb {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ff8c5a, #ff6b35 60%, #8b3a1c 90%);
    box-shadow: 0 0 16px rgba(255,107,53,0.5);
    flex-shrink: 0;
}
.brand-orb.small { width: 24px; height: 24px; }

.brand-name {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 22px;
    line-height: 1.1;
    color: var(--ink);
}

.brand-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    color: var(--ink-dim);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-login {
    color: var(--ink) !important;
    font-weight: 500;
}

.nav-cta {
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 4px 18px rgba(255,107,53,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255,107,53,0.5);
}

/* ============================================
   SHARED SECTION SCAFFOLD
   ============================================ */

section { position: relative; z-index: 5; }

.section-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    text-align: center;
}

.section-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(30px, 4.4vw, 46px);
    line-height: 1.15;
    font-weight: 600;
    text-align: center;
    margin: 0 0 20px;
    color: var(--ink);
}

.section-lead {
    max-width: 720px;
    margin: 0 auto 52px;
    text-align: center;
    color: var(--ink-dim);
    font-size: 16px;
    line-height: 1.75;
}

.accent-gold   { color: var(--gold); }
.accent-cyan   { color: var(--cyan); }
.accent-orange { color: var(--accent); }

/* ============================================
   HERO
   ============================================ */

.hero {
    padding: 100px 24px 110px;
    text-align: center;
}

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(232,197,71,0.35);
    background: rgba(232,197,71,0.07);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 2.6px;
    color: var(--gold);
    margin-bottom: 30px;
}

.eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
    animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.45; transform: scale(0.8); }
}

.hero-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.05;
    font-weight: 600;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    background: linear-gradient(105deg, var(--accent) 0%, var(--gold) 55%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    max-width: 640px;
    margin: 0 auto 38px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink-dim);
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

.btn-primary-cosmic {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #ff8c5a);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(255,107,53,0.38);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary-cosmic:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255,107,53,0.55);
}
.btn-primary-cosmic.large {
    padding: 18px 44px;
    font-size: 17px;
}

.btn-arrow { transition: transform 0.2s; }
.btn-primary-cosmic:hover .btn-arrow { transform: translateX(4px); }

.btn-secondary-cosmic {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
}
.btn-secondary-cosmic:hover {
    background: var(--surface-2);
    border-color: rgba(255,255,255,0.22);
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 13px;
    color: var(--ink-faint);
}

/* ============================================
   PROBLEM SECTION
   ============================================ */

.problem-section { padding: 90px 0; }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
    margin-top: 50px;
}

.problem-card {
    padding: 30px 26px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(10px);
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.problem-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,107,53,0.35);
    background: var(--surface-2);
}

.problem-icon {
    font-size: 30px;
    margin-bottom: 16px;
    line-height: 1;
}

.problem-card h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--ink);
}

.problem-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-dim);
}

/* ============================================
   FEATURES
   ============================================ */

.features-section { padding: 90px 0; }

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 90px;
    margin-top: 30px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.feature-row.reverse .feature-content { order: 2; }
.feature-row.reverse .feature-visual  { order: 1; }

.feature-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 46px;
    font-weight: 500;
    line-height: 1;
    color: rgba(255,107,53,0.28);
    margin-bottom: 14px;
}

.feature-content h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--ink);
}

.feature-content p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink-dim);
    margin: 0 0 20px;
}

.feature-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-bullets li {
    font-size: 14px;
    color: var(--ink-dim);
    padding: 7px 0;
}

/* --- Mock windows --- */
.feature-visual {
    display: flex;
    justify-content: center;
}

.mock-window {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(12,12,22,0.85);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.mock-header {
    display: flex;
    gap: 7px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
}

.mock-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
}
.mock-dot:nth-child(1) { background: rgba(255,107,53,0.7); }
.mock-dot:nth-child(2) { background: rgba(232,197,71,0.7); }
.mock-dot:nth-child(3) { background: rgba(78,232,224,0.55); }

.mock-content { padding: 20px; }

.mock-list-item {
    padding: 12px 14px;
    margin-bottom: 8px;
    border-radius: 9px;
    font-size: 14px;
    color: var(--ink-dim);
    background: rgba(255,255,255,0.03);
    border: 1px solid transparent;
}
.mock-list-item.active {
    color: var(--ink);
    background: rgba(255,107,53,0.12);
    border-color: rgba(255,107,53,0.35);
}

.mock-ai-input {
    padding: 12px 14px;
    border-radius: 9px;
    background: rgba(107,78,245,0.14);
    border: 1px solid rgba(107,78,245,0.3);
    font-size: 13px;
    color: var(--ink);
    margin-bottom: 14px;
}

.mock-ai-output {
    padding: 14px;
    border-radius: 9px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
}

.mock-ai-hook {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 15px;
    color: var(--gold);
    margin-bottom: 8px;
}

.mock-ai-caption {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-dim);
}

.mock-calendar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.mock-cal-day {
    padding: 10px 6px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    min-height: 76px;
}

.mock-cal-num {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 8px;
}

/* NOTE: source markup has both spaced and unspaced variants of these
   class names (e.g. "mock-cal-postscheduled"), so both are defined. */
.mock-cal-post,
.mock-cal-postscheduled,
.mock-cal-postapproved,
.mock-cal-postdraft {
    height: 9px;
    border-radius: 3px;
    margin-bottom: 5px;
    background: rgba(255,255,255,0.15);
}

.mock-cal-post.scheduled,
.mock-cal-postscheduled { background: rgba(78,232,224,0.55); }

.mock-cal-post.approved,
.mock-cal-postapproved  { background: rgba(255,107,53,0.6); }

.mock-cal-post.draft,
.mock-cal-postdraft     { background: rgba(255,255,255,0.2); }

.mock-dfy-header {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.mock-dfy-item {
    padding: 10px 12px;
    margin-bottom: 7px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--ink-dim);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
}

/* ============================================
   COMPARISON
   ============================================ */

.comparison-section { padding: 90px 0; }

.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.compare-column {
    padding: 28px 26px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.compare-column.highlighted {
    border-color: rgba(255,107,53,0.45);
    background: linear-gradient(160deg, rgba(255,107,53,0.09), rgba(232,197,71,0.05));
    box-shadow: 0 0 40px rgba(255,107,53,0.14);
}

.compare-header {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
}

.compare-item {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-faint);
    padding: 11px 0;
}

.compare-item.good { color: var(--ink-dim); }

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-section { padding: 90px 0; }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    margin-top: 50px;
}

.testimonial-card {
    padding: 28px 26px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-quote {
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    margin: 0 0 22px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--accent));
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.testimonial-role {
    font-size: 12px;
    color: var(--ink-faint);
}

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

.faq-section { padding: 90px 0; }

.faq-list {
    max-width: 780px;
    margin: 50px auto 0;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(255,107,53,0.35); }

.faq-item summary {
    padding: 19px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    list-style: none;
    position: relative;
    padding-right: 52px;
    transition: color 0.2s;
}
.faq-item summary:hover { color: var(--gold); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--accent);
    transition: transform 0.2s;
}
.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin: 0;
    padding: 0 24px 22px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--ink-dim);
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
    padding: 100px 0;
}

.final-cta-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
    border-radius: 26px;
    border: 1px solid rgba(255,107,53,0.3);
    background: linear-gradient(140deg, rgba(255,107,53,0.11), rgba(232,197,71,0.07));
    box-shadow: 0 0 70px rgba(255,107,53,0.14);
}

.final-cta-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.final-cta-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(28px, 4.4vw, 44px);
    line-height: 1.15;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--ink);
}

.final-cta-sub {
    font-size: 16px;
    color: var(--ink-dim);
    margin: 0 0 32px;
}

/* ============================================
   FOOTER
   ============================================ */

.orbit-footer {
    position: relative;
    z-index: 5;
    padding: 50px 24px 40px;
    border-top: 1px solid var(--border);
    background: rgba(6,6,12,0.6);
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--ink-dim);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--ink); }

.footer-legal {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--ink-faint);
    text-decoration: none;
    font-size: 13px;
}
.footer-legal a:hover { color: var(--ink-dim); }

.footer-copyright {
    font-size: 12px;
    color: var(--ink-faint);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .feature-row.reverse .feature-content { order: 1; }
    .feature-row.reverse .feature-visual  { order: 2; }

    .moon { width: 120px; height: 120px; right: 5%; top: 90px; }
    .astronaut { transform: scale(0.75); left: 2%; }
    .rocket { right: 8%; }
}

@media (max-width: 640px) {
    .orbit-nav { padding: 14px 16px; }
    .nav-links { gap: 14px; }
    .nav-links a:not(.nav-cta):not(.nav-login) { display: none; }

    .hero { padding: 60px 18px 70px; }
    .hero-cta-group { flex-direction: column; align-items: stretch; }
    .btn-primary-cosmic, .btn-secondary-cosmic { justify-content: center; }

    .problem-section,
    .features-section,
    .comparison-section,
    .testimonials-section,
    .faq-section { padding: 60px 0; }

    .final-cta { padding: 60px 0; }
    .final-cta-content { padding: 40px 24px; }

    .footer-inner { flex-direction: column; align-items: flex-start; }

    .astronaut, .rocket { display: none; }
    .moon { width: 90px; height: 90px; opacity: 0.7; }

    .mock-calendar { gap: 5px; }
    .mock-cal-day { padding: 8px 4px; min-height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
    .stars-1, .stars-2, .stars-3,
    .moon, .astronaut, .rocket,
    .shooting-star, .rocket-flame, .eyebrow-dot {
        animation: none !important;
    }
}
