/* ================================================================== */
/* DESIGN TOKENS                                                       */
/* ================================================================== */
:root {
    /* Color Palette */
    --white: #FFFFFF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --bg-card: #FFFFFF;

    /* Typography */
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-tertiary: #6B7280;
    --text-muted: #9CA3AF;

    /* Accent / Brand */
    --indigo-50: #EEF2FF;
    --indigo-100: #E0E7FF;
    --indigo-200: #C7D2FE;
    --indigo-400: #818CF8;
    --indigo-500: #6366F1;
    --indigo-600: #4F46E5;
    --indigo-700: #4338CA;

    --blue-500: #3B82F6;
    --blue-600: #2563EB;

    --emerald-50: #ECFDF5;
    --emerald-400: #34D399;
    --emerald-500: #10B981;
    --emerald-600: #059669;

    --red-400: #F87171;
    --red-500: #EF4444;
    --amber-400: #FBBF24;
    --amber-500: #F59E0B;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #4F46E5 50%, #4338CA 100%);
    --gradient-text: linear-gradient(135deg, #6366F1 0%, #3B82F6 50%, #06B6D4 100%);
    --gradient-hero-glow: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    --gradient-card-border: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    --shadow-card-hover: 0 20px 40px -12px rgba(99, 102, 241, 0.15);

    /* Borders */
    --border-light: #E5E7EB;
    --border-lighter: #F3F4F6;

    /* Sizing */
    --nav-height: 72px;
    --container-max: 1200px;
    --container-narrow: 800px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ================================================================== */
/* RESET & BASE                                                        */
/* ================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.875em;
    background: var(--bg-tertiary);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--indigo-600);
}

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

/* ================================================================== */
/* UTILITY CLASSES                                                     */
/* ================================================================== */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ================================================================== */
/* SCROLL ANIMATION                                                    */
/* ================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger child animations */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* ================================================================== */
/* NAVIGATION                                                          */
/* ================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.92);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    letter-spacing: -0.02em;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-tertiary);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width var(--transition-base);
}

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

.nav-link:hover::after {
    width: 100%;
}

.btn-github {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.btn-github:hover {
    background: var(--bg-tertiary);
    border-color: var(--indigo-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.github-icon {
    width: 18px;
    height: 18px;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ================================================================== */
/* HERO SECTION                                                        */
/* ================================================================== */
.hero-section {
    position: relative;
    padding: 160px 24px 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(99, 102, 241, 0.08);
    top: -100px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.06);
    bottom: -100px;
    left: -100px;
    animation: float-slow 25s ease-in-out infinite reverse;
}

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

.hero-container {
    max-width: var(--container-max);
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: var(--indigo-50);
    color: var(--indigo-600);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 32px;
    border: 1px solid var(--indigo-100);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--emerald-500);
    border-radius: 50%;
    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-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-tertiary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-subheadline strong {
    color: var(--indigo-600);
    font-weight: 700;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--gradient-primary);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--white);
    border: 1.5px solid var(--border-light);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--indigo-200);
    color: var(--indigo-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-arrow,
.btn-external {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

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

.btn-secondary:hover .btn-external {
    transform: translate(2px, -2px);
}

/* Terminal */
.hero-terminal {
    max-width: 820px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0F172A;
    box-shadow: var(--shadow-2xl), 0 0 80px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #1E293B;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
    display: flex;
    gap: 7px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.terminal-title {
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255, 255, 255, 0.4);
    margin-left: auto;
}

.terminal-body {
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    line-height: 1.8;
}

.terminal-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    opacity: 0;
    animation: typeIn 0.5s ease forwards;
    flex-wrap: wrap;
}

.terminal-line:nth-child(1) { animation-delay: 0.3s; }
.terminal-line:nth-child(2) { animation-delay: 0.8s; }
.terminal-line:nth-child(3) { animation-delay: 1.3s; }
.terminal-line:nth-child(4) { animation-delay: 1.8s; }
.terminal-line:nth-child(5) { animation-delay: 2.3s; }
.terminal-line:nth-child(6) { animation-delay: 3.0s; }

@keyframes typeIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.t-timestamp {
    color: rgba(255, 255, 255, 0.25);
    white-space: nowrap;
}

.t-level {
    font-weight: 600;
    white-space: nowrap;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
}

.t-info { color: #60A5FA; background: rgba(96, 165, 250, 0.1); }
.t-error { color: #F87171; background: rgba(248, 113, 113, 0.1); }
.t-warn { color: #FBBF24; background: rgba(251, 191, 36, 0.1); }
.t-debug { color: #A78BFA; background: rgba(167, 139, 250, 0.1); }

.t-msg {
    color: rgba(255, 255, 255, 0.7);
    word-break: break-all;
}

.t-redacted {
    color: #F87171;
    background: rgba(248, 113, 113, 0.12);
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 600;
    animation: redactGlow 2s ease-in-out infinite alternate;
}

@keyframes redactGlow {
    0% { box-shadow: none; }
    100% { box-shadow: 0 0 8px rgba(248, 113, 113, 0.3); }
}

.terminal-result {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-result .t-msg {
    color: var(--emerald-400);
}

/* ================================================================== */
/* SECTION COMMON                                                      */
/* ================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: var(--indigo-50);
    color: var(--indigo-600);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid var(--indigo-100);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

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

.section-subtitle strong {
    color: var(--text-secondary);
    font-weight: 600;
}

/* ================================================================== */
/* BENCHMARKS                                                          */
/* ================================================================== */
.benchmarks-section {
    padding: 120px 24px;
    background: var(--bg-secondary);
    position: relative;
}

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

.benchmark-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.benchmark-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.benchmark-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--indigo-200);
}

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

.benchmark-hero-card {
    grid-column: span 1;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border-color: var(--indigo-200);
}

.benchmark-hero-card::before {
    opacity: 1;
}

.benchmark-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.benchmark-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 8px;
}

.benchmark-hero-card .benchmark-value {
    font-size: 2.8rem;
    color: var(--indigo-700);
}

.counter-suffix {
    font-size: 0.45em;
    font-weight: 600;
    color: var(--text-tertiary);
    letter-spacing: 0;
}

.benchmark-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.benchmark-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Architecture Comparison */
.comparison-block {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.comparison-subtitle {
    font-size: 1rem;
    color: var(--text-tertiary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: start;
}

.comparison-column {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.comparison-column:hover {
    box-shadow: var(--shadow-lg);
}

.comparison-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comparison-header-win {
    background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
    border-bottom: 1px solid #A7F3D0;
}

.comparison-header-lose {
    background: linear-gradient(135deg, #FEF2F2, #FEE2E2);
    border-bottom: 1px solid #FECACA;
}

.comparison-badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.comparison-verdict {
    font-size: 0.8rem;
    font-weight: 600;
}

.comparison-list {
    list-style: none;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--emerald-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.cross-icon {
    width: 18px;
    height: 18px;
    color: var(--red-400);
    flex-shrink: 0;
    margin-top: 2px;
}

.comparison-vs {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-muted);
    padding: 20px 0;
    text-align: center;
    align-self: center;
    letter-spacing: 0.1em;
}

/* ================================================================== */
/* FEATURES                                                            */
/* ================================================================== */
.features-section {
    padding: 120px 24px;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition-base);
    position: relative;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: var(--gradient-card-border);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

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

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--indigo-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon-wrap {
    background: var(--indigo-100);
    transform: scale(1.05);
}

.feature-icon {
    font-size: 1.6rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 0.92rem;
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tag {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    color: var(--text-tertiary);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border-lighter);
}

/* Detectors Showcase */
.detectors-showcase {
    text-align: center;
}

.detectors-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.detector-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.detector-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.detector-pill:hover {
    border-color: var(--indigo-200);
    background: var(--indigo-50);
    color: var(--indigo-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pill-icon {
    font-size: 1rem;
}

/* ================================================================== */
/* SETUP SECTION                                                       */
/* ================================================================== */
.setup-section {
    padding: 120px 24px;
    background: var(--bg-secondary);
}

.setup-content {
    max-width: 820px;
    margin: 0 auto;
}

/* Code block */
.code-block {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0F172A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-2xl);
    margin-bottom: 48px;
}

.code-header {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: #1E293B;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-header-dots {
    display: flex;
    gap: 7px;
}

.code-lang {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255, 255, 255, 0.3);
    margin-left: 16px;
}

.copy-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: 'Inter', sans-serif;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.copy-btn.copied {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-400);
    border-color: rgba(16, 185, 129, 0.2);
}

.copy-icon {
    width: 14px;
    height: 14px;
}

.code-body {
    padding: 24px;
}

.code-body pre {
    margin: 0;
    overflow-x: auto;
}

.code-body code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #E2E8F0;
    background: none;
    padding: 0;
    border-radius: 0;
    line-height: 1.6;
}

/* Setup steps */
.setup-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.setup-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.setup-step:hover {
    border-color: var(--indigo-200);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

.step-content code {
    font-size: 0.8rem;
}

/* ================================================================== */
/* FOOTER                                                              */
/* ================================================================== */
.footer-section {
    padding: 120px 24px 48px;
    background: var(--bg-primary);
}

.footer-cta {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, #F5F3FF, #EEF2FF, #E0E7FF);
    border-radius: var(--radius-xl);
    margin-bottom: 64px;
    border: 1px solid var(--indigo-100);
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.footer-headline {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.footer-subheadline {
    font-size: 1.05rem;
    color: var(--text-tertiary);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-brand-text {
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

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

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-tertiary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ================================================================== */
/* RESPONSIVE                                                          */
/* ================================================================== */
@media (max-width: 1024px) {
    .benchmark-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-table {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .comparison-vs {
        padding: 8px 0;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-light);
        padding: 16px 24px;
        box-shadow: var(--shadow-lg);
    }

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

    .nav-link {
        padding: 12px 0;
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .btn-github {
        margin-top: 8px;
        justify-content: center;
    }

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

    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-section {
        padding: 120px 20px 80px;
        min-height: auto;
    }

    .hero-ctas {
        flex-direction: column;
    }

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

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

    .benchmark-hero-card {
        grid-column: span 2;
    }

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

    .footer-cta {
        padding: 48px 24px;
    }

    .footer-headline {
        font-size: 1.6rem;
    }

    .terminal-body {
        font-size: 0.68rem;
    }

    .t-timestamp {
        display: none;
    }
}

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

    .benchmark-hero-card {
        grid-column: span 1;
    }

    .benchmark-value {
        font-size: 2rem;
    }

    .benchmark-hero-card .benchmark-value {
        font-size: 2.2rem;
    }

    .detector-pills {
        gap: 8px;
    }

    .detector-pill {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* ================================================================== */
/* ACCESSIBILITY                                                       */
/* ================================================================== */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .terminal-line {
        animation: none;
        opacity: 1;
    }

    .hero-glow {
        animation: none;
    }

    .badge-dot {
        animation: none;
    }

    .t-redacted {
        animation: none;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--indigo-500);
    outline-offset: 2px;
    border-radius: 4px;
}

/* High contrast mode */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid ButtonText;
    }

    .gradient-text {
        -webkit-text-fill-color: unset;
        background: none;
        color: LinkText;
    }
}
