/* ========================================
   JobTrack — Premium Dark Editorial
   Typography: Sora + DM Sans
   Aesthetic: Linear / Raycast inspired
   ======================================== */

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

:root {
    --primary: #4f7bff;
    --primary-glow: rgba(79, 123, 255, 0.35);
    --primary-subtle: rgba(79, 123, 255, 0.08);
    --accent: #a78bfa;
    --accent-glow: rgba(167, 139, 250, 0.3);
    --success: #34d399;
    --success-glow: rgba(52, 211, 153, 0.25);
    --warning: #fbbf24;
    --error: #f87171;

    --bg-deep: #08090d;
    --bg: #0c0d12;
    --bg-raised: #12131a;
    --bg-card: #16171f;
    --bg-card-hover: #1c1d27;
    --bg-glass: rgba(22, 23, 31, 0.65);

    --text: #e8e9ed;
    --text-secondary: #8b8d9a;
    --text-muted: #55566a;
    --text-bright: #ffffff;

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(79, 123, 255, 0.25);

    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--primary-glow);

    --max-width: 1180px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --font-display: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg-deep);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Noise grain overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    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: 256px 256px;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

ul,
ol {
    list-style: none;
}

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

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

/* ---------- Layout ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 14px;
    letter-spacing: -0.035em;
    color: var(--text-bright);
}

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

/* Decorative gradient orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(8, 9, 13, 0.6);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(8, 9, 13, 0.92);
    border-bottom-color: var(--border);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4), 0 0 60px rgba(79, 123, 255, 0.04);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: -0.02em;
}

.logo img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--primary-glow);
}

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

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color var(--transition);
    letter-spacing: 0.01em;
}

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

.nav-cta {
    background: var(--primary) !important;
    color: var(--text-bright) !important;
    padding: 9px 22px;
    border-radius: 99px;
    font-weight: 600 !important;
    font-size: 0.825rem !important;
    transition: all var(--transition) !important;
    box-shadow: 0 0 20px var(--primary-glow);
}

.nav-cta:hover {
    background: #6b93ff !important;
    transform: translateY(-1px);
    box-shadow: 0 0 32px var(--primary-glow);
}

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--text);
}

/* ---------- Section Dividers ---------- */
.section-divider {
    height: 1px;
    border: none;
    background: linear-gradient(90deg, transparent, var(--border-hover) 20%, var(--primary-glow) 50%, var(--border-hover) 80%, transparent);
    margin: 0;
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
}

/* ---------- Floating Decorative Shapes ---------- */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
}

.hero-shape--1 {
    width: 6px;
    height: 6px;
    background: var(--primary);
    top: 22%;
    left: 12%;
    animation: float-drift 8s ease-in-out infinite;
}

.hero-shape--2 {
    width: 10px;
    height: 10px;
    border: 1.5px solid var(--accent);
    background: transparent;
    top: 35%;
    right: 10%;
    animation: float-drift 11s ease-in-out infinite reverse;
    opacity: 0.1;
}

.hero-shape--3 {
    width: 4px;
    height: 4px;
    background: var(--success);
    bottom: 32%;
    left: 8%;
    animation: float-drift 9s ease-in-out 1s infinite;
}

.hero-shape--4 {
    width: 14px;
    height: 14px;
    border: 1px solid var(--primary);
    background: transparent;
    border-radius: 3px;
    top: 18%;
    right: 18%;
    animation: float-drift 13s ease-in-out 2s infinite;
    opacity: 0.06;
    transform: rotate(45deg);
}

.hero-shape--5 {
    width: 3px;
    height: 3px;
    background: var(--warning);
    bottom: 25%;
    right: 15%;
    animation: float-drift 7s ease-in-out 0.5s infinite;
}

.hero-shape--6 {
    width: 40px;
    height: 40px;
    border: 1px dashed rgba(255, 255, 255, 0.04);
    background: transparent;
    top: 60%;
    left: 5%;
    animation: float-drift 15s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes float-drift {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-18px) translateX(8px);
    }

    50% {
        transform: translateY(-8px) translateX(-6px);
    }

    75% {
        transform: translateY(-22px) translateX(4px);
    }
}

/* ---------- Hero ---------- */
.hero {
    padding: 160px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero background glow orbs (real elements for parallax) */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.hero-orb--primary {
    width: 700px;
    height: 700px;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.hero-orb--accent {
    width: 500px;
    height: 500px;
    top: 100px;
    right: -200px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

.hero>.container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-subtle);
    border: 1px solid var(--border-accent);
    padding: 7px 18px;
    border-radius: 99px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 4.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--text-bright);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 99px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
}

a.btn-primary,
.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 24px var(--primary-glow);
}

a.btn-primary:hover,
.btn-primary:hover {
    background: #6b93ff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--primary-glow), var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--border-accent);
    color: var(--primary);
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

/* ---------- Cursor Glow ---------- */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 123, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cursor-glow.active {
    opacity: 1;
}

/* ---------- Screenshot Gallery ---------- */
.screenshot-strip {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 24px 0 48px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
    margin-top: 56px;
}

.screenshot-strip::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    width: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.screenshot-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-accent);
}

.screenshot-item img {
    width: 100%;
    display: block;
}

/* Device frame wrapper */
.device-frame {
    perspective: 1200px;
}

.device-frame .screenshot-grid {
    transform: rotateX(2deg);
    transform-origin: center bottom;
}

.device-frame .screenshot-item {
    border-radius: calc(var(--radius) + 4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.device-frame .screenshot-item::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 2;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.screenshot-grid .screenshot-item {
    width: 100%;
}

/* Screenshot placeholder */
.screenshot-placeholder {
    width: 100%;
    aspect-ratio: 9/19.5;
    background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-raised) 50%, rgba(79, 123, 255, 0.04) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-align: center;
    padding: 20px;
    letter-spacing: 0.02em;
}

.screenshot-placeholder svg {
    width: 28px;
    height: 28px;
    opacity: 0.25;
    stroke: var(--primary);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

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

/* Bento grid variant */
.features-grid.bento {
    grid-template-columns: repeat(6, 1fr);
}

.features-grid.bento .feature-card {
    grid-column: span 2;
}

.features-grid.bento .feature-card.feature-card--hero {
    grid-column: span 3;
}

.features-grid.bento .feature-card.feature-card--hero .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
}

.features-grid.bento .feature-card.feature-card--hero h3 {
    font-size: 1.2rem;
}

.features-grid.bento .feature-card.feature-card--hero p {
    font-size: 0.95rem;
    max-width: 380px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

/* Spotlight glow (positioned via JS) */
.feature-card .card-spotlight {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.feature-card:hover .card-spotlight {
    opacity: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-subtle);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-bright);
    letter-spacing: -0.01em;
}

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

/* ---------- Pipeline ---------- */
.pipeline-wrapper {
    position: relative;
    padding: 32px 0;
}

/* Progress line behind pipeline — sits below stages */
.pipeline-wrapper::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.pipeline-wrapper .pipeline-progress {
    position: absolute;
    bottom: 10px;
    left: 5%;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--success));
    z-index: 0;
    transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pipeline-wrapper.in-view .pipeline-progress {
    width: 90%;
}

.pipeline {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 20px 4px;
    scrollbar-width: none;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.pipeline::-webkit-scrollbar {
    display: none;
}

.pipeline-stage {
    flex: 0 0 auto;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    transition: all var(--transition), opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    opacity: 0;
    transform: translateX(-20px) scale(0.92);
}

.pipeline-wrapper.in-view .pipeline-stage {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.pipeline-wrapper.in-view .pipeline-stage:hover {
    transform: translateY(-3px) scale(1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.pipeline-connector {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pipeline-wrapper.in-view .pipeline-connector {
    opacity: 0.4;
}

/* ---------- Premium ---------- */
.premium-section {
    position: relative;
    overflow: hidden;
}

.premium-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.premium-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--success), var(--primary));
    background-size: 200% 100%;
    animation: premium-shimmer 4s linear infinite;
}

.premium-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(180deg, rgba(79, 123, 255, 0.06) 0%, transparent 100%);
    pointer-events: none;
}

@keyframes premium-shimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.premium-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.premium-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card);
}

.premium-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 99px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.premium-item h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--text-bright);
}

.premium-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ---------- Today Showcase ---------- */
.today-showcase {
    max-width: 640px;
    margin: 0 auto;
}

.today-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.today-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

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

.today-feature-icon {
    font-size: 0.65rem;
    margin-top: 6px;
    flex-shrink: 0;
}

.today-feature strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 4px;
}

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

/* ---------- Trust Signals ---------- */
.trust-signals {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ---------- CTA Section ---------- */
.cta-section {
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 65%);
    pointer-events: none;
}

.cta-section>.container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-bright);
    letter-spacing: -0.03em;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 36px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bg-deep);
    color: var(--text-muted);
    padding: 56px 0 28px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 44px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.65;
    margin-top: 14px;
    max-width: 300px;
    color: var(--text-muted);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 8px;
}

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

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

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

.footer-bottom a:hover {
    color: var(--text-secondary);
}

/* ---------- Legal Pages ---------- */
.legal-page {
    padding: 140px 0 80px;
    background: var(--bg-deep);
}

.legal-page .container {
    max-width: 740px;
}

.legal-page h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-bright);
    letter-spacing: -0.03em;
}

.legal-page .legal-updated {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 48px;
}

.legal-page h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 44px 0 12px;
    color: var(--text-bright);
    letter-spacing: -0.01em;
}

.legal-page h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 28px 0 8px;
    color: var(--text);
}

.legal-page p,
.legal-page li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 14px;
}

.legal-page ul {
    padding-left: 22px;
}

.legal-page ul li {
    list-style: disc;
    margin-bottom: 6px;
}

.legal-page a {
    color: var(--primary);
}

.legal-page a:hover {
    color: var(--accent);
}

/* ---------- Support Page ---------- */
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
    transition: all var(--transition);
}

.support-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.support-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 18px 0 8px;
    color: var(--text-bright);
}

.support-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.support-icon {
    font-size: 1.8rem;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-subtle);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

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

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item.open {
    border-color: var(--border-accent);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--text);
    transition: color var(--transition);
    letter-spacing: -0.01em;
}

.faq-question:hover {
    color: var(--text-bright);
}

.faq-chevron {
    transition: transform var(--transition);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

/* ---------- Stats ---------- */
.stats-row {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 48px 0;
    margin-top: 56px;
}

.stat-item {
    text-align: center;
    min-width: 140px;
    position: relative;
}

.stat-item+.stat-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--border-hover);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 6px;
}

/* ---------- Social Proof / Testimonials ---------- */
.testimonials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.social-proof {
    text-align: center;
    padding: 32px 0;
}

.social-proof blockquote {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.75;
    margin: 0 0 20px;
    position: relative;
    padding: 0 32px;
}

.social-proof blockquote::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 4rem;
    position: absolute;
    top: -24px;
    left: -4px;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}

.social-proof cite {
    font-style: normal;
    font-size: 0.88rem;
    color: var(--text-muted);
    display: block;
}

.social-proof cite strong {
    color: var(--text-secondary);
    font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero {
        padding: 140px 0 56px;
    }

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

    .section-title {
        font-size: 2.1rem;
    }

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

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

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

    .features-grid.bento .feature-card,
    .features-grid.bento .feature-card.feature-card--hero {
        grid-column: span 1;
    }

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

    .premium-features {
        grid-template-columns: 1fr;
    }

    .premium-card {
        padding: 40px 28px;
    }

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

    .device-frame .screenshot-grid {
        transform: none;
    }

    .testimonials-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stat-item+.stat-item::before {
        display: none;
    }

    .screenshot-strip {
        justify-content: flex-start;
        padding-left: 28px;
        padding-right: 28px;
    }

    .screenshot-strip .screenshot-item {
        width: 200px;
    }

    .stats-row {
        gap: 24px 32px;
    }

    .stat-item {
        min-width: 120px;
    }

    .legal-page h1 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

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

    .hero {
        padding: 110px 0 40px;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 14px;
        margin-bottom: 20px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 36px;
    }

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

    .features-grid.bento {
        grid-template-columns: 1fr;
    }

    .features-grid.bento .feature-card,
    .features-grid.bento .feature-card.feature-card--hero {
        grid-column: span 1;
    }

    .feature-card {
        padding: 28px 22px;
    }

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

    .social-proof blockquote {
        font-size: 1rem;
        padding: 0 12px;
    }

    .social-proof blockquote::before {
        font-size: 3rem;
    }

    .stats-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 36px 0;
        margin-top: 40px;
    }

    .stat-item {
        min-width: unset;
    }

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

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

    .pipeline {
        justify-content: flex-start;
        padding: 16px 20px;
        gap: 4px;
    }

    .pipeline-stage {
        padding: 10px 14px;
        font-size: 0.75rem;
    }

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

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

    .cta-section p {
        font-size: 0.95rem;
    }

    .trust-signals {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .screenshot-strip {
        gap: 16px;
        margin-top: 36px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .screenshot-strip .screenshot-item {
        width: 170px;
    }

    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(8, 9, 13, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 28px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

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

    .nav-toggle {
        display: block;
    }

    .nav-toggle svg {
        stroke: var(--text);
    }

    .premium-card {
        padding: 32px 20px;
    }

    .today-feature {
        gap: 12px;
        padding: 16px 0;
    }

    .today-feature strong {
        font-size: 0.92rem;
    }

    .today-feature p {
        font-size: 0.85rem;
    }

    .legal-page {
        padding: 110px 0 56px;
    }

    .legal-page h1 {
        font-size: 1.7rem;
    }

    .legal-page h2 {
        font-size: 1.05rem;
        margin: 32px 0 10px;
    }

    .legal-page p,
    .legal-page li {
        font-size: 0.85rem;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.85rem;
    }

    .faq-answer-inner {
        padding: 0 18px 16px;
        font-size: 0.85rem;
    }

    .footer-inner {
        gap: 28px;
    }

    .site-footer {
        padding: 40px 0 20px;
    }
}

/* Extra small devices (iPhone SE, small Androids) */
@media (max-width: 400px) {
    .container {
        padding: 0 16px;
    }

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

    .hero-desc {
        font-size: 0.88rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.88rem;
    }

    .screenshot-strip .screenshot-item {
        width: 150px;
    }

    .screenshot-strip {
        gap: 12px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .screenshot-grid {
        gap: 8px;
    }

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

    .stat-label {
        font-size: 0.78rem;
    }

    .pipeline-stage {
        padding: 8px 12px;
        font-size: 0.7rem;
    }

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

    .feature-card {
        padding: 24px 18px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        margin-bottom: 14px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.88rem;
    }

    .legal-page h1 {
        font-size: 1.5rem;
    }

    .nav-links {
        padding: 16px 20px;
    }
}