:root {
    /* Dark Theme (Default) */
    --bg: #070b12;
    --bg2: #0c1220;
    --bg3: #111827;
    --surface: #161e2e;
    --surface2: #1d2843;
    --border: rgba(99, 130, 185, 0.15);
    --border-bright: rgba(99, 175, 255, 0.3);
    --text: #e8edf8;
    --text-muted: #7a8aaa;
    --text-dim: #4a5570;
    --blue: #4f9cf9;
    --blue-bright: #7bb8ff;
    --cyan: #38d9d9;
    --accent: #5b6ef5;
    --accent2: #8b5cf6;
    --green: #34d399;
    --red: #f87171;
    --gold: #fbbf24;
}

[data-theme="light"] {
    --bg: #f8faff;
    --bg2: #f0f4ff;
    --bg3: #e8edff;
    --surface: #ffffff;
    --surface2: #f1f3f9;
    --border: rgba(91, 110, 245, 0.12);
    --border-bright: rgba(91, 110, 245, 0.25);
    --text: #1a1f2e;
    --text-muted: #5a6b8e;
    --text-dim: #8492b1;
    --blue: #3b82f6;
    --blue-bright: #2563eb;
    --accent: #5b6ef5;
    --accent2: #7c3aed;
    --green: #10b981;
    --red: #ef4444;
    --gold: #d97706;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1,
h2,
h3,
h4 {
    font-family: 'Syne', sans-serif;
    line-height: 1.1;
}

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

[data-theme="light"] body::before {
    opacity: 0.15;
}

[data-theme="light"] .orb {
    opacity: 0.4;
    filter: blur(120px);
}

[data-theme="light"] .video-overlay {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
}

/* ─── UTILITIES ─── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.mono {
    font-family: 'DM Mono', monospace;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(79, 156, 249, 0.08);
    border: 1px solid rgba(79, 156, 249, 0.2);
    color: var(--blue-bright);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'DM Mono', monospace;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent) 0%, #7c5cf5 50%, var(--blue) 100%);
    color: white;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 40px rgba(91, 110, 245, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 60px rgba(91, 110, 245, 0.5);
}

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

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--border-bright);
}

/* ─── ANIMATED GRADIENT BORDER ─── */
.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent), var(--cyan), var(--blue), var(--accent2));
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    z-index: -1;
}

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

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

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

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg);
    opacity: 0.95;
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

[data-theme="light"] nav {
    background: rgba(248, 250, 255, 0.85);
}

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

.nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 20px;
    background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
    cursor: pointer;
}

/* ─── FLOATING ACTION BUTTON ─── */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--blue-bright);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(91, 110, 245, 0.4);
    z-index: 99;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
    visibility: visible;
}

.fab:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--accent);
    box-shadow: 0 12px 32px rgba(91, 110, 245, 0.6);
}

.fab svg {
    animation: bounceDown 2s infinite;
}

.fab.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(4px); }
    60% { transform: translateY(2px); }
}

[data-theme="light"] .fab {
    box-shadow: 0 8px 24px rgba(91, 110, 245, 0.25);
}

/* ─── COOKIE BANNER ─── */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 400px;
    background: rgba(13, 22, 38, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 1000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.6s cubic-bezier(0.18, 0.89, 0.32, 1.28) both;
}

[data-theme="light"] .cookie-banner {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 40px rgba(91, 110, 245, 0.15);
}

.cookie-banner.hidden {
    display: none !important;
}

.cookie-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-btn {
    background: var(--blue-bright);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 184, 255, 0.4);
}

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

.nav-links a {
    padding: 7px 14px;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

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

.theme-switch {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.theme-switch:hover {
    color: var(--text);
    border-color: var(--border-bright);
    background: var(--border);
}

[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block !important; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 28px 80px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Ambient orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 110, 245, 0.18) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: floatOrb 12s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 217, 217, 0.12) 0%, transparent 70%);
    bottom: 0;
    right: -100px;
    animation: floatOrb 15s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    top: 40%;
    left: 40%;
    animation: floatOrb 10s ease-in-out infinite 3s;
}

@keyframes floatOrb {

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

    33% {
        transform: translate(30px, -40px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-eyebrow {
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease both;
}

.hero-title {
    font-size: clamp(36px, 8vw, 88px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px;
    animation: fadeUp 0.6s ease 0.1s both;
}

.hero-title .line1 {
    display: block;
    color: var(--text);
}

.hero-title .line2 {
    display: block;
    background: linear-gradient(90deg, var(--blue-bright) 0%, var(--cyan) 40%, var(--accent2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    max-width: 580px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 400;
    animation: fadeUp 0.6s ease 0.2s both;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeUp 0.6s ease 0.3s both;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeUp 0.6s ease 0.4s both;
    margin-bottom: 72px;
}

.avatars {
    display: flex;
}

.avatars div, .testi-avatar {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface2);
}

.avatars div img, .testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatars div {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    margin-left: -8px;
    position: relative;
}

.avatars div:first-child {
    margin-left: 0;
}

.avatars div:nth-child(1) {
    background: linear-gradient(135deg, #4f9cf9, #5b6ef5);
}

.avatars div:nth-child(2) {
    background: linear-gradient(135deg, #38d9d9, #4f9cf9);
}

.avatars div:nth-child(3) {
    background: linear-gradient(135deg, #8b5cf6, #38d9d9);
}

.avatars div:nth-child(4) {
    background: linear-gradient(135deg, #fbbf24, #8b5cf6);
}

.hero-proof-text {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-proof-text strong {
    color: var(--text);
}

/* Product mockup */
.mockup-wrap {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeUp 0.8s ease 0.5s both;
}

.mockup {
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(79, 156, 249, 0.1);
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
}

.dots {
    display: flex;
    gap: 6px;
}

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

.dot-r {
    background: #ff5f56;
}

.dot-y {
    background: #febc2e;
}

.dot-g {
    background: #26c840;
}

.url-bar {
    flex: 1;
    text-align: center;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    padding: 5px 16px;
    border-radius: 6px;
    border: 1px solid var(--border);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mockup-body {
    display: flex;
    height: 420px;
}

.feed-area {
    flex: 1;
    padding: 28px;
    overflow: hidden;
}

.feed-post {
    background: var(--bg3);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.post-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--blue));
    flex-shrink: 0;
}

.post-meta-name {
    height: 10px;
    width: 120px;
    background: var(--surface2);
    border-radius: 4px;
    margin-bottom: 6px;
}

.post-meta-role {
    height: 8px;
    width: 80px;
    background: var(--surface);
    border-radius: 4px;
}

.post-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-line {
    height: 9px;
    background: var(--surface2);
    border-radius: 4px;
}

.post-line:last-child {
    width: 65%;
}

.post-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.post-action {
    height: 30px;
    width: 80px;
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid var(--border);
}

.side-panel {
    width: 280px;
    flex-shrink: 0;
    border-left: 1px solid var(--border);
    background: rgba(7, 11, 18, 0.95);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.panel-brand {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--blue-bright), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.panel-icon {
    font-size: 14px;
    color: var(--text-dim);
}

.analysis-box {
    background: var(--surface);
    border-radius: 10px;
    padding: 14px;
    border: 1px solid var(--border);
}

.analysis-label {
    font-size: 9px;
    color: var(--text-dim);
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.analysis-bar {
    height: 3px;
    background: var(--surface2);
    border-radius: 2px;
    overflow: hidden;
}

.analysis-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    border-radius: 2px;
    animation: fillBar 2.5s ease 1s forwards;
}

@keyframes fillBar {
    to {
        width: 78%;
    }
}

.reply-card {
    background: var(--bg2);
    border-radius: 10px;
    padding: 14px;
    border: 1px solid rgba(79, 156, 249, 0.2);
    position: relative;
    overflow: hidden;
}

.reply-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
}

.reply-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-family: 'DM Mono', monospace;
    color: var(--blue-bright);
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.reply-badge::before {
    content: '⚡';
}

.reply-text {
    font-size: 12px;
    color: var(--text);
    line-height: 1.6;
}

.reply-text em {
    color: var(--cyan);
    font-style: normal;
    font-weight: 600;
}

.tones {
    display: flex;
    gap: 6px;
}

.tone-pill {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 9px;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.05em;
    border: 1px solid var(--border);
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.2s;
}

.tone-pill.active {
    background: rgba(91, 110, 245, 0.15);
    border-color: var(--accent);
    color: var(--blue-bright);
}

.insert-btn {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--blue));
    color: white;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: opacity 0.2s;
}

.insert-btn:hover {
    opacity: 0.85;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── STATS BAR ─── */
.stats-bar {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 28px;
}

.stats-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 0;
}

.stat {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 24px 32px;
    position: relative;
}

.stat+.stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--border);
}

@media (max-width: 900px) {
    .stat::before {
        display: none !important;
    }
    
    .stat {
        border-bottom: 1px solid var(--border);
    }
    
    .stat:last-child {
        border-bottom: none;
    }
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(135deg, var(--text) 0%, var(--blue-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

/* ─── SECTION SHARED ─── */
section {
    padding: 120px 28px;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 16px 0 18px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ─── HOW IT WORKS ─── */
.how-bg {
    background: var(--bg2);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2px;
}

.step {
    background: var(--surface);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}

.step:hover {
    background: var(--surface2);
}

.step:first-child {
    border-radius: 20px 0 0 20px;
}

.step:last-child {
    border-radius: 0 20px 20px 0;
}

.step-num {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.step-arrow {
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-dim);
    z-index: 2;
}

/* ─── ANTIDOTE / COMPARISON ─── */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.compare-card {
    border-radius: 20px;
    padding: 36px;
    border: 1px solid var(--border);
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.compare-card.bad {
    opacity: 0.6;
}

.compare-card.good {
    background: linear-gradient(135deg, rgba(79, 156, 249, 0.06) 0%, rgba(91, 110, 245, 0.06) 100%);
    border-color: rgba(79, 156, 249, 0.25);
}

.compare-card.good::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-bright), var(--cyan));
}

.compare-tag {
    font-size: 10px;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.compare-tag.bad-tag {
    color: var(--red);
}

.compare-tag.good-tag {
    color: var(--cyan);
}

.compare-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
    color: var(--text-muted);
}

.compare-text.good-text {
    font-style: normal;
    color: var(--text);
    font-size: 19px;
}

.compare-text em {
    color: var(--cyan);
    font-style: normal;
}

.compare-result {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.compare-result.bad-res {
    color: var(--red);
}

.compare-result.good-res {
    color: var(--green);
}

/* ─── FEATURES BENTO ─── */
.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.bento-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: var(--border-bright);
    background: var(--surface2);
}

.bento-card.wide {
    grid-column: span 7;
}

.bento-card.narrow {
    grid-column: span 5;
}

.bento-card.half {
    grid-column: span 6;
}

.bento-card.third {
    grid-column: span 4;
}

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.bento-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.bento-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 380px;
}

.feature-demo {
    margin-top: 24px;
    background: var(--bg2);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border);
}

/* thread viz */
.thread-viz {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.thread-node {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.thread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.thread-line {
    width: 1px;
    height: 24px;
    margin-left: 3.5px;
    background: var(--border);
}

.thread-content {
    background: var(--bg3);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11px;
    color: var(--text-muted);
    flex: 1;
    border: 1px solid var(--border);
}

.thread-content.highlighted {
    border-color: rgba(56, 217, 217, 0.3);
    background: rgba(56, 217, 217, 0.05);
    color: var(--text);
}

/* ─── TESTIMONIALS ─── */
.testimonials-bg {
    background: var(--bg2);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.testi-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    position: relative;
}

.testi-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-4px);
}

.testi-card.featured {
    background: linear-gradient(135deg, rgba(91, 110, 245, 0.1) 0%, rgba(79, 156, 249, 0.06) 100%);
    border-color: rgba(91, 110, 245, 0.3);
}

.testi-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.star {
    color: var(--gold);
    font-size: 14px;
}

.testi-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.testi-text strong {
    color: var(--blue-bright);
    font-weight: 600;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid var(--border-bright);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testi-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.testi-role {
    font-size: 12px;
    color: var(--text-muted);
}

.testi-quote {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 64px;
    color: var(--surface2);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

/* ─── PRICING ─── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

/* ─── DEMO VIDEO ─── */
.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg3);
    aspect-ratio: 16 / 9;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-container:hover .video-placeholder {
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 11, 18, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: rgba(91, 110, 245, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 0 rgba(91, 110, 245, 0.4);
}

.video-container:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent);
    box-shadow: 0 0 0 20px rgba(91, 110, 245, 0);
    animation: pulsePlay 2s infinite;
}

@keyframes pulsePlay {
    0% { box-shadow: 0 0 0 0 rgba(91, 110, 245, 0.4); }
    70% { box-shadow: 0 0 0 30px rgba(91, 110, 245, 0); }
    100% { box-shadow: 0 0 0 0 rgba(91, 110, 245, 0); }
}

.video-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

@media (max-width: 480px) {
    .video-stats {
        gap: 24px;
    }
}

.v-stat {
    text-align: center;
}

.v-num {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.v-label {
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── TECHNOLOGY STACK ─── */
.tech-section {
    background: var(--bg);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.tech-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s;
}

.tech-card:hover {
    border-color: var(--border-bright);
}

.tech-logo {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.tech-label {
    font-size: 11px;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

/* ─── FAQ ─── */
.faq-bg {
    background: var(--bg2);
}

.faq-list {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.faq-item {
    background: var(--surface);
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.2s;
}

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

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    letter-spacing: -0.01em;
}

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

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

.faq-a {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding-bottom: 20px;
}

/* ─── CTA FINAL ─── */
.cta-section {
    background: var(--bg);
    padding: 100px 28px;
}

.cta-box {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface);
    border-radius: 28px;
    padding: 80px 48px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(91, 110, 245, 0.12) 0%, transparent 60%);
}

.cta-box h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 44px;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.cta-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 36px;
    position: relative;
    z-index: 1;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}

/* ─── FOOTER ─── */
footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 60px 28px 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 56px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 12px;
    max-width: 200px;
}

.footer-col h4 {
    font-size: 12px;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-dim);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hero-title {
        font-size: 40px;
    }

    .mockup-body {
        flex-direction: column;
        height: auto;
    }

    .side-panel {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border);
    }

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

    .bento-card.wide,
    .bento-card.narrow,
    .bento-card.half,
    .bento-card.third {
        grid-column: span 1;
    }

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

    .tech-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .footer-brand p {
        max-width: none;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .step:first-child,
    .step:last-child {
        border-radius: 0;
    }

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

    .step {
        border-radius: 16px !important;
    }

    .plan.popular {
        transform: none;
    }

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

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

    .hero {
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-sub {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .btn-primary, .btn-ghost {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .stat-num {
        font-size: 36px;
    }

    .bento-card {
        padding: 24px;
    }

    .testi-card {
        padding: 20px;
    }

    .cta-box {
        padding: 40px 20px;
    }
    
    .cta-box h2 {
        font-size: 28px;
    }

    .tech-card {
        padding: 20px 16px;
    }

    .tech-logo {
        font-size: 18px;
    }

    .tech-label {
        font-size: 10px;
    }
}

/* ─── LEGAL & DOCS ─── */
.legal-hero {
    padding: 180px 28px 80px;
    background: radial-gradient(circle at 50% 0%, rgba(91, 110, 245, 0.1) 0%, transparent 50%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 28px 120px;
}

.rich-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
}

.rich-text h2 {
    color: var(--text);
    margin: 48px 0 24px;
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    letter-spacing: -0.02em;
}

.rich-text h3 {
    color: var(--text);
    margin: 32px 0 16px;
    font-family: 'Syne', sans-serif;
    font-size: 20px;
}

.rich-text p {
    margin-bottom: 24px;
}

.rich-text ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.rich-text li {
    margin-bottom: 12px;
}

.last-updated {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: block;
}

/* ─── BETA FORM ─── */
.beta-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
}

.beta-form {
    display: grid;
    gap: 20px;
    text-align: left;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-family: 'DM Mono', monospace;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 18px;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg3);
}

#beta-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.success-box {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.2);
    padding: 32px;
    border-radius: 20px;
    color: var(--text);
    line-height: 1.8;
}

.success-box strong {
    color: var(--green);
    display: block;
    margin-bottom: 12px;
    font-family: 'Syne', sans-serif;
    font-size: 20px;
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}
