/* ═══════════════════════════════════════════════
   scrb by vøiddo — LANDING PAGE STYLES
   Aesthetic: Dark cinematic, terminal-inspired
   ═══════════════════════════════════════════════ */

:root {
    --bg: #06060a;
    --bg-2: #0c0c12;
    --surface: #111118;
    --surface-2: #16161f;
    --border: #1e1e2a;
    --border-2: #2a2a3a;
    --text: #e4e4ec;
    --text-2: #9393a8;
    --text-3: #5e5e72;
    --accent: #7c5cfc;
    --accent-2: #9d7fff;
    --accent-glow: rgba(124, 92, 252, 0.3);
    --accent-glow-2: rgba(124, 92, 252, 0.08);
    --success: #00d68f;
    --error: #ff4757;
    --font-mono: 'JetBrains Mono', monospace;
    --font-display: 'Outfit', sans-serif;
    --radius: 6px;
    --radius-lg: 12px;
    --max-w: 1200px;
    --header-h: 64px;
}

/* ═══ RESET ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-mono);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}
a { color: var(--accent-2); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text); }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select { font-family: inherit; }

/* ═══ NOISE OVERLAY ═══ */
.noise {
    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;
}

/* ═══ CURSOR GLOW ═══ */
.cursor-glow {
    position: fixed; width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow-2) 0%, transparent 70%);
    pointer-events: none; z-index: -1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}
body:hover .cursor-glow { opacity: 1; }

/* ═══ CONTAINER ═══ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══ BUTTONS ═══ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 12px 24px;
    font-family: var(--font-mono); font-size: 14px; font-weight: 500;
    border-radius: var(--radius); transition: all 0.25s ease;
    text-decoration: none; white-space: nowrap;
}
.btn-primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 0 20px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
    background: var(--accent-2); color: #fff;
    box-shadow: 0 0 40px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent; color: var(--text-2);
    border: 1px solid var(--border-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-outline {
    background: transparent; color: var(--text);
    border: 1px solid var(--border-2);
}
.btn-outline:hover { border-color: var(--accent); background: var(--accent-glow-2); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-full { width: 100%; }
/* When a button has a sub-line ("Start Free" / "no credit card"), stack the
   two lines vertically inside the flex row. Without this, the inner span
   ends up beside the primary label because `.btn` is inline-flex row. */
.btn:has(.btn-sub) { flex-direction: column; gap: 2px; padding-top: 10px; padding-bottom: 10px; }
.btn-sub { display: block; font-size: 11px; opacity: 0.65; margin-top: 0; letter-spacing: 0.02em; }

/* ═══ HEADER ═══ */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--header-h);
    background: rgba(6, 6, 10, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}
.header.scrolled { border-bottom-color: var(--border); background: rgba(6, 6, 10, 0.95); }
.header-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 100%;
}
.logo { display: flex; align-items: baseline; gap: 0; font-size: 18px; font-weight: 700; }
.logo-scrb { color: var(--text); }
.logo-sep { color: var(--text-3); margin: 0 6px; font-weight: 300; }
.logo-voiddo { color: var(--text-3); font-size: 13px; font-weight: 400; }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--text-2); font-size: 13px; font-weight: 400; }
.nav a:hover { color: var(--text); }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.mobile-menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--text-2); transition: 0.3s; }
.mobile-menu { display: none; }

/* ═══ HERO ═══ */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 0 80px; overflow: hidden;
}
/* `isolation: isolate` bottles up the z-index of orbs/grid/canvas/::after
   so they can't outrank .hero-content's z-index in the parent stacking context. */
.hero-bg { position: absolute; inset: 0; z-index: 0; isolation: isolate; }
.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(100px); opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}
.hero-orb-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; left: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: #2d1b69; bottom: -100px; right: -50px; animation-delay: -7s; }
.hero-orb-3 { width: 300px; height: 300px; background: #1a0a3e; top: 50%; left: 60%; animation-delay: -14s; }
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.15;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 100%);
}
.hero-content { position: relative; z-index: 10; text-align: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; margin-bottom: 32px;
    font-size: 12px; color: var(--accent-2);
    border: 1px solid var(--border-2); border-radius: 100px;
    background: var(--accent-glow-2);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -0.02em; margin-bottom: 24px;
}
.hero-line { display: block; }
.hero-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, #c4b5fd 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub { font-size: 16px; color: var(--text-2); max-width: 560px; margin: 0 auto 40px; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 0; justify-content: center; align-items: center; }
.stat { text-align: center; padding: 0 28px; }
.stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--text); }
.stat-plus { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--accent-2); }
.stat-label { display: block; font-size: 12px; color: var(--text-3); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-sep { width: 1px; height: 40px; background: var(--border-2); }
.hero-scroll-indicator { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); }
.scroll-line {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; height: 40px; } 50% { opacity: 1; height: 60px; } }

/* ═══ PLATFORMS — PREMIUM GRID (40 tiles) ═══ */
.platforms {
    padding: 100px 0 80px;
    position: relative;
    background:
        radial-gradient(900px 500px at 50% 0%, rgba(124,92,252,.10), transparent 60%),
        radial-gradient(700px 400px at 90% 90%, rgba(255,120,240,.06), transparent 60%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.platforms-label {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    text-align: center; font-size: 11px; color: var(--text-3);
    text-transform: uppercase; letter-spacing: 0.18em;
    margin-bottom: 16px; font-family: var(--font-mono);
}
.pl-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success, #4ade80); box-shadow: 0 0 10px var(--success, #4ade80); }
.pl-count { color: var(--accent-2); font-weight: 700; }
.platforms-title {
    text-align: center; font-family: var(--font-display);
    font-size: clamp(28px, 4.2vw, 46px); font-weight: 800;
    letter-spacing: -0.03em; margin-bottom: 56px;
    background: linear-gradient(135deg, #e4e4ec 20%, #9d7fff 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.platforms-footnote {
    margin-top: 40px; text-align: center; font-size: 13px; color: var(--text-3);
}
.platforms-footnote a { color: var(--accent-2); text-decoration: none; border-bottom: 1px solid currentColor; }
.platforms-footnote a:hover { color: var(--text); }

/* ═══ LANGUAGES — flag showcase ═══ */
.languages {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(124,92,252,.03) 50%, transparent 100%);
}
.languages::before {
    content: ''; position: absolute; inset: 0; opacity: .04;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,.15) 1px, transparent 1px);
    background-size: 64px 64px; pointer-events: none; mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
}
.languages .container { position: relative; z-index: 1; }
.languages-label {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    text-align: center; font-size: 11px; color: var(--text-3);
    text-transform: uppercase; letter-spacing: 0.18em;
    margin-bottom: 16px; font-family: var(--font-mono);
}
.languages-title {
    text-align: center; font-family: var(--font-display);
    font-size: clamp(28px, 4.2vw, 46px); font-weight: 800;
    letter-spacing: -0.03em; margin-bottom: 14px;
    background: linear-gradient(135deg, #e4e4ec, #ff7cf0 80%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.languages-sub {
    text-align: center; font-size: 15px; color: var(--text-3);
    max-width: 620px; margin: 0 auto 48px;
}
.flags-grid {
    display: grid; gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    max-width: 1180px; margin: 0 auto;
}
.flag-tile {
    position: relative; display: flex; flex-direction: column;
    align-items: center; gap: 10px;
    padding: 16px 10px 14px; border-radius: 12px;
    background: linear-gradient(180deg, #13131a, #0e0e14);
    border: 1px solid var(--border);
    text-decoration: none; color: var(--text-2);
    transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s, color .3s;
    cursor: default; overflow: hidden;
}
.flag-tile::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 80%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
    opacity: 0; transition: opacity .35s;
}
.flag-tile::after {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: radial-gradient(80% 60% at 50% 110%, rgba(124,92,252,.25), transparent 70%);
    opacity: 0; transition: opacity .35s;
}
.flag-tile:hover {
    transform: translateY(-5px);
    color: var(--text); border-color: rgba(124,92,252,.4);
    box-shadow: 0 20px 50px -15px rgba(124,92,252,.4);
}
.flag-tile:hover::before { opacity: 1; }
.flag-tile:hover::after { opacity: 1; }
.flag-img {
    width: 56px; height: 40px; border-radius: 8px;
    overflow: hidden; flex-shrink: 0;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.08),
        0 8px 20px -6px rgba(0,0,0,.6);
    background: #222;
    position: relative;
    transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.flag-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.flag-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.22) 0%, transparent 40%, transparent 60%, rgba(0,0,0,.2) 100%);
    pointer-events: none;
}
.flag-tile:hover .flag-img {
    transform: rotate(-3deg) scale(1.08);
    box-shadow:
        0 0 0 1px rgba(124,92,252,.3),
        0 12px 30px -8px rgba(124,92,252,.5);
}
.flag-tile:hover .flag-img img { transform: scale(1.1); }
.flag-name {
    font-size: 12px; font-weight: 600; letter-spacing: -0.01em;
    font-family: var(--font-display);
}
.flag-native {
    font-size: 10px; color: var(--text-3); letter-spacing: 0.02em;
    font-family: var(--font-mono);
    margin-top: -4px;
}
.flag-tile[data-tier="1"]::before { opacity: .35; background: linear-gradient(90deg, transparent, #ffd54a, transparent); }
.flag-tile[data-tier="1"] .flag-img { box-shadow: 0 0 0 1px rgba(255,213,74,.25), 0 8px 20px -6px rgba(0,0,0,.6); }
.languages-foot {
    margin-top: 40px; text-align: center; font-size: 13px; color: var(--text-3);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══ SECTION COMMON ═══ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block; font-size: 12px; color: var(--accent-2);
    font-family: var(--font-mono); margin-bottom: 16px;
}
.section-header h2 {
    font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px);
    font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px;
}
.section-header p { font-size: 15px; color: var(--text-2); max-width: 500px; margin: 0 auto; }

/* ═══ DEMO ═══ */
.demo { padding: 100px 0; }
.demo-box {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3), 0 0 80px var(--accent-glow-2);
}
.demo-input-row { display: flex; gap: 12px; margin-bottom: 0; }
.demo-input {
    flex: 1; padding: 14px 16px; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text); font-size: 14px; outline: none;
    transition: border-color 0.2s;
}
.demo-input:focus { border-color: var(--accent); }
.demo-input::placeholder { color: var(--text-3); }
.demo-select {
    padding: 14px 12px; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text-2); font-size: 13px;
    outline: none; cursor: pointer;
}
.demo-tabs {
    display: flex; gap: 0; margin-top: 24px; border-bottom: 1px solid var(--border);
}
.demo-tab {
    padding: 10px 20px; font-size: 13px; color: var(--text-3);
    border-bottom: 2px solid transparent; transition: all 0.2s;
}
.demo-tab:hover { color: var(--text-2); }
.demo-tab.active { color: var(--accent-2); border-bottom-color: var(--accent); }
.demo-output { margin-top: 20px; position: relative; }
.demo-panel { display: none; }
.demo-panel.active { display: block; }
.demo-text {
    font-size: 14px; line-height: 1.8; color: var(--text);
    padding: 16px; background: var(--bg); border-radius: var(--radius);
    border: 1px solid var(--border); min-height: 120px;
    white-space: pre-wrap;
}
.copy-btn {
    position: absolute; top: 0; right: 0;
    padding: 8px 16px; font-size: 12px; color: var(--text-3);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: all 0.2s;
}
.copy-btn:hover { color: var(--accent-2); border-color: var(--accent); }
.demo-error { margin-top: 16px; padding: 12px 16px; background: rgba(255,71,87,0.1); border: 1px solid var(--error); border-radius: var(--radius); color: var(--error); font-size: 13px; }
.loader {
    width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff; border-radius: 50%;
    animation: spin 0.6s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══ HOW IT WORKS ═══ */
.how { padding: 100px 0; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px 28px;
    transition: all 0.3s; position: relative; overflow: hidden;
}
.how-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--accent-glow-2) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.3s;
}
.how-card:hover::before { opacity: 1; }
.how-card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.how-num { font-family: var(--font-display); font-size: 48px; font-weight: 800; color: var(--accent-glow); position: relative; margin-bottom: 8px; }
.how-icon { color: var(--accent-2); margin-bottom: 16px; position: relative; }
.how-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 10px; position: relative; }
.how-card p { font-size: 14px; color: var(--text-2); position: relative; line-height: 1.7; }

/* ═══ FEATURES ═══ */
.features { padding: 100px 0; background: var(--bg-2); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px;
    transition: all 0.3s;
}
.feature-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.feature-icon { font-size: 28px; margin-bottom: 16px; }
.feature-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-2); line-height: 1.7; }

/* ═══ PRICING ═══ */
.pricing { padding: 100px 0; }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 40px; }
.toggle-label { font-size: 14px; color: var(--text-3); cursor: pointer; transition: color 0.2s; }
.toggle-label.active { color: var(--text); }
.save-badge { font-size: 11px; color: var(--success); background: rgba(0,214,143,0.1); padding: 2px 8px; border-radius: 100px; }
.toggle-switch {
    width: 44px; height: 24px; background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 12px; position: relative; transition: background 0.2s;
}
.toggle-knob {
    position: absolute; top: 3px; left: 3px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--accent); transition: transform 0.2s;
}
.toggle-switch.annual .toggle-knob { transform: translateX(20px); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px 24px;
    display: flex; flex-direction: column; position: relative;
    transition: all 0.3s;
}
.price-card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.price-card-popular {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow-2), 0 8px 32px rgba(0,0,0,0.3);
}
.popular-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #fff; font-size: 11px; font-weight: 600;
    padding: 4px 16px; border-radius: 100px;
}
.price-header { margin-bottom: 24px; }
.price-header h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.price-amount { display: flex; align-items: baseline; }
.price-dollar { font-size: 20px; color: var(--text-2); font-weight: 300; }
.price-num { font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -0.02em; }
.price-period { font-size: 13px; color: var(--text-3); }
.price-features { list-style: none; flex: 1; margin-bottom: 24px; }
.price-features li {
    font-size: 13px; color: var(--text-2); padding: 6px 0;
    border-bottom: 1px solid var(--border); line-height: 1.5;
}
.price-features li:last-child { border: none; }
.price-features strong { color: var(--text); font-weight: 500; }
.pricing-note { text-align: center; font-size: 13px; color: var(--text-3); margin-top: 32px; }
.pricing-note a { color: var(--text-2); }

/* ═══ LANGUAGES ═══ */
.languages { padding: 80px 0; background: var(--bg-2); }
.lang-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
    max-width: 800px; margin: 0 auto;
}
.lang-flag {
    padding: 8px 16px; font-size: 14px;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--surface); transition: all 0.2s;
}
.lang-flag:hover { border-color: var(--accent); transform: scale(1.05); }

/* ═══ FAQ ═══ */
.faq { padding: 100px 0; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    width: 100%; text-align: left; padding: 20px 0;
    font-size: 15px; font-weight: 500; color: var(--text);
    display: flex; justify-content: space-between; align-items: center;
    transition: color 0.2s;
}
.faq-q::after {
    content: '+'; font-size: 20px; color: var(--text-3);
    font-weight: 300; transition: transform 0.3s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--accent); }
.faq-q:hover { color: var(--accent-2); }
.faq-a {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 0 20px; }
.faq-a p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ═══ FINAL CTA ═══ */
.cta-final { padding: 100px 0; }
.cta-box {
    text-align: center; padding: 64px 40px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); position: relative; overflow: hidden;
}
.cta-box::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, var(--accent-glow-2) 0%, transparent 60%);
}
.cta-box h2 { font-family: var(--font-display); font-size: clamp(24px, 3.5vw, 36px); font-weight: 700; margin-bottom: 16px; position: relative; }
.cta-box p { font-size: 15px; color: var(--text-2); margin-bottom: 32px; position: relative; }
.cta-box .btn { position: relative; }

/* ═══ FOOTER ═══ */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-scrb { font-size: 22px; }
.footer-tagline { font-size: 12px; color: var(--text-3); margin-top: 8px; font-style: italic; }
.footer-col h4 { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-2); padding: 4px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px; border-top: 1px solid var(--border);
    font-size: 12px; color: var(--text-3);
}

/* ═══ ANIMATIONS ═══ */
/* Progressive enhancement:
   Hero content is ALWAYS visible (text stays legible even if GSAP CDN fails).
   The subtle translateY is the only initial offset — GSAP animates it to 0.
   If GSAP never runs, a CSS-only fallback fires 1.5s after page load. */
[data-animate] { transform: translateY(8px); will-change: transform, opacity; }
[data-animate].visible { transform: translateY(0); transition: transform 0.7s ease, opacity 0.7s ease; }
/* After 1.0s, everything settles even if GSAP stalled (CDN slow, prefers-reduced-motion, no-JS) */
@keyframes scrbFallbackReveal { to { transform: translateY(0); opacity: 1; } }
[data-animate] { animation: scrbFallbackReveal 0.01s 1.0s forwards; }
/* GSAP overrides animation as soon as it takes over the element */
[data-animate].visible { animation: none; }
@media (prefers-reduced-motion: reduce) {
    [data-animate] { animation: none; transform: none !important; opacity: 1 !important; }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .header .btn { display: none; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu.open {
        display: flex; flex-direction: column; gap: 16px;
        position: fixed; top: var(--header-h); left: 0; right: 0;
        background: var(--bg); border-bottom: 1px solid var(--border);
        padding: 24px; z-index: 999;
    }
    .mobile-menu a { font-size: 16px; color: var(--text-2); padding: 8px 0; }
    .how-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .stat-sep { display: none; }
    .demo-input-row { flex-direction: column; }
    .hero-sub br { display: none; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ═══════════════════════════════════════════════
   ENHANCED VISUAL LAYER (added in landing v2)
   ═══════════════════════════════════════════════ */

/* WebGL canvas behind hero — sits between orbs and grid */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-bg .hero-canvas { z-index: 1; }
.hero-bg .hero-orb,
.hero-bg .hero-grid { z-index: 2; position: absolute; }

/* Top-of-hero "powered by AI" badge */
.hero-meta-badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-meta-badges img { height: 28px; opacity: .9; }

/* Hero mockup container (SVG laptop inline) */
.hero-mockup-wrap {
    position: relative;
    max-width: 720px; margin: 56px auto 0;
    perspective: 1200px;
}
.hero-mockup {
    width: 100%;
    transform: rotateX(8deg) rotateY(-2deg);
    transform-origin: center top;
    filter: drop-shadow(0 30px 60px rgba(124,92,252,.35));
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.hero-mockup-wrap:hover .hero-mockup { transform: rotateX(2deg) rotateY(0deg) scale(1.02); }

/* Magnetic button wrapper (vanilla JS reads transform) */
.btn-magnetic { transition: transform .18s cubic-bezier(.2,.8,.2,1); will-change: transform; }

/* Animated gradient shimmer for accent text — adds shine sweep */
.hero-accent {
    background: linear-gradient(115deg, #7c5cfc 0%, #9d7fff 30%, #c4b5fd 50%, #9d7fff 70%, #7c5cfc 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 5s ease-in-out infinite;
}
@keyframes shimmerText { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Spotlight cursor on cards (the card reads --x/--y CSS vars set by JS) */
.card-spotlight { position: relative; overflow: hidden; isolation: isolate; }
.card-spotlight::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%),
        rgba(124,92,252,.18) 0%, transparent 40%);
    opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.card-spotlight:hover::after { opacity: 1; }

/* 3D tilt on cards (rotation set inline by JS) */
.tilt { transition: transform .35s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; will-change: transform; }
.tilt:hover { transition: transform .15s ease-out; }

/* Equalizer wave under platforms strip */
.eq-wave { max-width: 920px; margin: 24px auto 0; opacity: .55; mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent); }

/* ═══ LIVE TICKER SECTION ═══ */
.ticker-section { padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.ticker-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.ticker-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px 24px; text-align: center;
    position: relative; overflow: hidden;
}
.ticker-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: .6;
}
.ticker-num {
    font-family: var(--font-display); font-size: 42px; font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.ticker-label { font-size: 12px; color: var(--text-3); margin-top: 8px; text-transform: uppercase; letter-spacing: .08em; }
.ticker-pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); margin-right: 8px; vertical-align: middle; animation: pulse 2s infinite; }

/* ═══ SHOWCASE / OUTPUT EXAMPLES ═══ */
.showcase { padding: 100px 0; background: var(--bg-2); position: relative; overflow: hidden; }
.showcase-bg-orb { position: absolute; right: -200px; top: 50%; width: 600px; height: 600px; opacity: .35; pointer-events: none; transform: translateY(-50%); }
.showcase-tabs { display: flex; gap: 4px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.showcase-tab {
    padding: 10px 20px; font-size: 13px; color: var(--text-3);
    border: 1px solid var(--border); border-radius: 100px;
    background: var(--surface); transition: all .2s;
}
.showcase-tab:hover { color: var(--text); border-color: var(--border-2); }
.showcase-tab.active { color: var(--text); border-color: var(--accent); background: var(--accent-glow-2); }
.showcase-panel {
    display: none; max-width: 880px; margin: 0 auto;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 100px var(--accent-glow-2);
    position: relative; z-index: 1;
}
.showcase-panel.active { display: block; animation: fadeInUp .5s ease both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.showcase-titlebar {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px; background: var(--bg);
    border-bottom: 1px solid var(--border); font-family: var(--font-mono);
    font-size: 12px; color: var(--text-3);
}
.showcase-dots { display: flex; gap: 6px; }
.showcase-dots span { width: 10px; height: 10px; border-radius: 50%; }
.showcase-dots span:nth-child(1) { background: #ff5f56; }
.showcase-dots span:nth-child(2) { background: #ffbd2e; }
.showcase-dots span:nth-child(3) { background: #27c93f; }
.showcase-content { padding: 32px 36px; }
.showcase-row { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.showcase-row:last-child { border: 0; }
.showcase-key { font-family: var(--font-mono); font-size: 11px; color: var(--accent-2); text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.showcase-val { font-size: 14px; color: var(--text); line-height: 1.7; white-space: pre-wrap; }
.showcase-val .accent-tag { color: var(--accent-2); font-weight: 600; }
.showcase-val ul { list-style: none; }
.showcase-val li { padding: 3px 0; padding-left: 16px; position: relative; }
.showcase-val li::before { content: '•'; color: var(--accent); position: absolute; left: 0; }

/* ═══ FEATURE CARD with SVG illustration on top ═══ */
.feature-card { position: relative; overflow: hidden; isolation: isolate; }
.feature-card .feat-illustration {
    margin: -28px -28px 16px;
    background: var(--bg-2);
    padding: 0;
    border-bottom: 1px solid var(--border);
}
.feature-card .feat-illustration img { width: 100%; height: auto; display: block; }

/* Powered-by-AI chip in hero */
.ai-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 4px 12px; border-radius: 100px;
    background: rgba(12,12,18,.7); border: 1px solid var(--border-2);
    font-size: 11px; color: var(--text-2);
    backdrop-filter: blur(6px);
}
.ai-chip-dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #4285f4, #7c5cfc, #ea4335); }

/* ═══ PAGE LOAD INTRO (subtle entrance for whole page) ═══ */
@keyframes pageIntro { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
body { animation: pageIntro .6s ease both; }

/* Scroll-snap subtle improvements */
html { scroll-padding-top: 80px; }

/* RESPONSIVE for new bits */
@media (max-width: 768px) {
    .ticker-grid { grid-template-columns: 1fr; }
    .hero-mockup { transform: none; }
    .showcase-row { grid-template-columns: 1fr; gap: 4px; }
    .showcase-key { padding-top: 0; }
}

/* ═══════════════════════════════════════════════
   BRAND GRAPHICS — logo, hero background, feat-icons
   (added in v3 graphics refresh)
   ═══════════════════════════════════════════════ */

/* Logo mark in header — subtle breathing glow so the brand feels alive */
.logo { gap: 10px; }
.logo .logo-mark {
    height: 32px;
    width: auto;
    display: inline-block;
    filter: drop-shadow(0 0 14px rgba(124, 92, 252, 0.5));
    transition: filter 0.3s ease, transform 0.3s ease;
    animation: brandBreathe 4.2s ease-in-out infinite;
}
@keyframes brandBreathe {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(124, 92, 252, 0.42)); }
    50%      { filter: drop-shadow(0 0 18px rgba(157, 127, 255, 0.72)); }
}
.logo:hover .logo-mark {
    filter: drop-shadow(0 0 22px rgba(157, 127, 255, 0.85));
    transform: scale(1.08);
    animation-play-state: paused;
}
.footer-brand .logo-mark { height: 32px; margin-right: 2px; vertical-align: middle; }

@media (prefers-reduced-motion: reduce) {
    .logo .logo-mark { animation: none; }
}

/* Hero background — photographic particle wave, dialed down + centered mask.
   Key idea: let orbs drive the color; use the particle field only as texture
   around the edges. Radial mask keeps the hero copy on a cleaner ground. */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/hero-bg-960.webp');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
    /* Fade out under the hero copy — radial mask centered slightly above middle */
    -webkit-mask-image: radial-gradient(ellipse 55% 45% at 50% 40%, transparent 0%, rgba(0,0,0,0.4) 55%, #000 100%);
    mask-image: radial-gradient(ellipse 55% 45% at 50% 40%, transparent 0%, rgba(0,0,0,0.4) 55%, #000 100%);
}
@media (min-width: 961px) {
    .hero-bg::after { background-image: url('/assets/hero-bg.webp'); }
}
/* Dial orbs & grid down a notch so the particle texture shows through cleanly */
.hero-orb-1 { opacity: 0.35; }
.hero-orb-2 { opacity: 0.32; }
.hero-orb-3 { opacity: 0.28; }
.hero-grid { opacity: 0.10 !important; }

/* Keep ai chips legible above the textured background */
.ai-chip {
    background: rgba(12, 12, 18, 0.82);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
}

/* Feature card icons (Lucide-style, animated glow on hover) */
.feature-card { position: relative; overflow: hidden; isolation: isolate; }
.feat-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124,92,252,0.08) 0%, rgba(124,92,252,0.02) 100%);
    border: 1px solid var(--border);
    color: var(--accent);
    position: relative;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Baseline glow so icons feel premium even without hover (critical on mobile) */
    filter: drop-shadow(0 0 10px rgba(124, 92, 252, 0.22));
}
.feat-icon svg {
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.feat-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent), transparent 70%);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.feature-card:hover .feat-icon {
    color: var(--accent-2);
    background: linear-gradient(135deg, rgba(124,92,252,0.18) 0%, rgba(124,92,252,0.05) 100%);
    border-color: var(--accent);
    filter: drop-shadow(0 0 16px rgba(124, 92, 252, 0.45));
}
.feature-card:hover .feat-icon svg { transform: scale(1.08) rotate(-2deg); }
.feature-card:hover .feat-icon::before { opacity: 1; }

/* Animated glow ring — pulses on hover */
@keyframes featIconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 92, 252, 0.5); }
    50%      { box-shadow: 0 0 0 12px rgba(124, 92, 252, 0); }
}
.feature-card:hover .feat-icon {
    animation: featIconPulse 1.8s ease-in-out infinite;
}

/* FAQ, pricing: faint brand wash on hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at top right, var(--accent-glow-2), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}
.feature-card:hover::after { opacity: 1; }
.footer-brand-row { display: flex; align-items: center; gap: 8px; }

/* Social links in footer — animated icons with brand-aware glow */
.footer-col .social-link {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--text-2);
    padding: 6px 10px; margin: 2px -10px;
    border-radius: 8px;
    position: relative;
    transition: color .25s, background .25s;
}
.footer-col .social-link::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: radial-gradient(80% 80% at 0% 50%, var(--scrb-brand, #7c5cfc), transparent 60%);
    opacity: 0; transition: opacity .3s;
    pointer-events: none;
}
.footer-col .social-link svg {
    flex-shrink: 0; opacity: 0.75;
    transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .25s, filter .25s, color .25s;
}
.footer-col .social-link:hover { color: var(--text); background: rgba(255,255,255,.03); }
.footer-col .social-link:hover::before { opacity: .18; }
.footer-col .social-link:hover svg {
    opacity: 1;
    color: var(--scrb-brand, var(--accent-2));
    filter: drop-shadow(0 0 10px var(--scrb-brand, rgba(124,92,252,.7)));
    transform: translateY(-2px) rotate(-6deg) scale(1.15);
    animation: sl-wiggle .6s cubic-bezier(.2,.8,.2,1);
}
@keyframes sl-wiggle {
    0%   { transform: translateY(0) rotate(0) scale(1); }
    30%  { transform: translateY(-4px) rotate(-10deg) scale(1.2); }
    55%  { transform: translateY(-1px) rotate(8deg) scale(1.1); }
    100% { transform: translateY(-2px) rotate(-6deg) scale(1.15); }
}
/* Per-brand accent — set via inline data-brand on <a>, picked up in JS */
.footer-col .social-link[data-brand="x"]        { --scrb-brand: #ffffff; }
.footer-col .social-link[data-brand="instagram"]{ --scrb-brand: #e1306c; }
.footer-col .social-link[data-brand="reddit"]   { --scrb-brand: #ff4500; }
.footer-col .social-link[data-brand="bluesky"]  { --scrb-brand: #1185fe; }

/* ═══ EASTER EGGS ═══ */
/* Turbo mode — unlocked by Konami code */
body.turbo .pf-tile { animation: rainbow-tilt 6s ease-in-out infinite; }
body.turbo .flag-img { animation: flag-wave 3s ease-in-out infinite; }
body.turbo .hero-line.hero-accent { animation: gradient-shift 4s ease infinite; background-size: 200% 200%; }
@keyframes rainbow-tilt {
    0%, 100% { transform: translateY(0) rotate(0); filter: hue-rotate(0deg); }
    25% { transform: translateY(-2px) rotate(.5deg); filter: hue-rotate(60deg); }
    50% { transform: translateY(0) rotate(0); filter: hue-rotate(180deg); }
    75% { transform: translateY(-2px) rotate(-.5deg); filter: hue-rotate(300deg); }
}
@keyframes flag-wave {
    0%, 100% { transform: rotate(0deg); }
    33% { transform: rotate(1.5deg); }
    66% { transform: rotate(-1.5deg); }
}
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
/* Turbo toast */
.turbo-toast {
    position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #ff7cf0, #7c5cfc);
    color: #fff; padding: 14px 22px; border-radius: 12px;
    font-family: var(--font-mono); font-weight: 700; font-size: 14px;
    letter-spacing: 0.04em; z-index: 9999;
    box-shadow: 0 12px 40px -10px rgba(124,92,252,.7);
    opacity: 0; pointer-events: none;
    transition: opacity .4s, transform .4s;
}
.turbo-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.turbo-toast.show + .turbo-toast-glow { opacity: 1; }

/* Founder wink message (after 7 logo clicks) */
.founder-wink {
    position: fixed; bottom: 32px; right: 32px;
    background: #0c0c12; border: 1px solid rgba(124,92,252,.4);
    padding: 18px 22px; border-radius: 14px;
    max-width: 320px;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,.8), 0 0 0 1px rgba(124,92,252,.2);
    color: var(--text); font-size: 13px; line-height: 1.55;
    z-index: 9999; opacity: 0; transform: translateY(20px);
    transition: opacity .5s, transform .5s;
}
.founder-wink.show { opacity: 1; transform: translateY(0); }
.founder-wink .fw-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--accent-2); text-transform: uppercase; margin-bottom: 8px; }
.founder-wink .fw-close { position: absolute; top: 10px; right: 12px; color: var(--text-3); cursor: pointer; font-size: 16px; line-height: 1; background: none; border: 0; }
.founder-wink .fw-close:hover { color: var(--text); }

/* ═══════════════════════════════════════════════
   LANDING v3 — major overhaul additions
   ═══════════════════════════════════════════════ */

/* Hero trust badges (below stats) */
.hero-trust {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 10px; margin-top: 28px;
    font-size: 11px; letter-spacing: .05em;
}
.hero-trust .ht-label {
    color: var(--text-3); text-transform: uppercase; letter-spacing: .18em;
    font-family: var(--font-mono); margin-right: 4px;
}
.hero-trust .ht-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: var(--text-2);
    transition: transform .25s, color .25s, border-color .25s, background .25s;
}
.hero-trust .ht-badge:hover {
    transform: translateY(-2px);
    color: var(--text);
    border-color: rgba(124,92,252,.4);
    background: rgba(124,92,252,.08);
}
.hero-trust .ht-badge svg { flex-shrink: 0; }

/* Hero screenshot slider (replaces the old SVG mockup) */
.hero-slider {
    position: relative; max-width: 1100px; margin: 0 auto;
    border-radius: 18px; overflow: hidden;
    background: #0a0a10;
    box-shadow:
        0 40px 120px -30px rgba(124,92,252,.35),
        0 20px 60px -20px rgba(0,0,0,.7),
        0 0 0 1px rgba(255,255,255,.05);
}
.hero-slider .hs-viewport {
    position: relative; aspect-ratio: 1280/800; overflow: hidden;
}
.hero-slider .hs-slide {
    position: absolute; inset: 0; margin: 0;
    opacity: 0; transform: scale(1.02);
    transition: opacity .6s ease, transform .8s ease;
}
.hero-slider .hs-slide img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-slider .hs-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-slider .hs-dots {
    display: flex; justify-content: center; align-items: center; gap: 8px;
    padding: 14px 16px; background: rgba(10,10,16,.6); backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,.06);
}
.hero-slider .hs-dot {
    position: relative; background: transparent; border: 1px solid rgba(255,255,255,.12);
    color: var(--text-3); font-size: 11px; letter-spacing: .04em;
    padding: 6px 12px; border-radius: 999px; cursor: pointer;
    transition: all .25s; font-family: var(--font-mono);
}
.hero-slider .hs-dot:hover { color: var(--text-2); border-color: rgba(255,255,255,.2); }
.hero-slider .hs-dot.is-active {
    color: var(--text); background: var(--accent); border-color: var(--accent);
    box-shadow: 0 0 16px rgba(124,92,252,.55);
}

/* Bigger stats with counter */
.hero-stats .stat-num { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; }

/* ═══ PLATFORMS BENTO ═══ */
.platforms-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
    max-width: 1180px; margin: 0 auto;
}
.pf-card {
    --brand: #7c5cfc;
    grid-column: span 3;
    position: relative; display: flex; align-items: center; gap: 12px;
    padding: 16px 18px; min-height: 76px;
    background: linear-gradient(180deg, #13131a 0%, #0e0e14 100%);
    border: 1px solid var(--border); border-radius: 12px;
    color: var(--text-2); text-decoration: none; cursor: pointer;
    overflow: hidden; isolation: isolate;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s, color .3s;
}
.pf-card.pf-wide { grid-column: span 4; }
.pf-card.pf-compact { grid-column: span 2; }
.pf-card.pf-micro { grid-column: span 1; justify-content: center; padding: 16px 10px; min-height: 60px; }
@media (max-width: 1024px) {
    .pf-card { grid-column: span 4; }
    .pf-card.pf-wide { grid-column: span 6; }
    .pf-card.pf-compact { grid-column: span 3; }
    .pf-card.pf-micro { grid-column: span 2; }
}
@media (max-width: 640px) {
    .pf-card, .pf-card.pf-wide { grid-column: span 6; }
    .pf-card.pf-compact, .pf-card.pf-micro { grid-column: span 3; }
}
.pf-card .pf-svg {
    width: 28px; height: 28px; flex-shrink: 0;
    /* B&W default via grayscale */
    filter: grayscale(1) brightness(.85);
    opacity: .75;
    transition: filter .35s, opacity .35s, transform .4s cubic-bezier(.2,.8,.2,1);
}
.pf-card.pf-micro .pf-svg { width: 22px; height: 22px; }
.pf-card .pf-label {
    display: flex; flex-direction: column; gap: 2px; overflow: hidden;
}
.pf-card.pf-micro .pf-label { display: none; }
.pf-card .pf-label b {
    font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-2);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color .3s;
}
.pf-card .pf-label small {
    font-size: 10px; color: var(--text-3); letter-spacing: .02em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-family: var(--font-mono);
}
/* gradient border glow on hover */
.pf-card::after {
    content: ''; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
    padding: 1px;
    background: linear-gradient(135deg, var(--brand) 0%, transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .3s;
}
.pf-card:hover {
    transform: translateY(-4px);
    color: var(--text); border-color: transparent;
    box-shadow:
        0 16px 50px -12px color-mix(in srgb, var(--brand) 55%, transparent),
        0 0 0 1px color-mix(in srgb, var(--brand) 22%, transparent);
}
.pf-card:hover::after { opacity: 1; }
.pf-card:hover .pf-svg {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    color: var(--brand);
    transform: scale(1.1) rotate(-4deg);
}
.pf-card:hover .pf-label b { color: var(--text); }

/* ═══ LANGUAGES — horizontal marquees (full-bleed) ═══ */
.languages { padding: 80px 0 90px; }
.lang-marquees {
    position: relative; margin-top: 48px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.lm-row {
    display: flex; overflow: hidden; padding: 8px 0;
}
.lm-track {
    display: flex; gap: 14px; width: max-content;
    animation: lm-marquee-l 60s linear infinite;
}
.lm-row.lm-left .lm-track { animation-name: lm-marquee-l; }
.lm-row.lm-right .lm-track { animation-name: lm-marquee-r; animation-duration: 70s; }
.lm-row.lm-slow .lm-track { animation-duration: 90s; }
.lm-row:hover .lm-track { animation-play-state: paused; }
@keyframes lm-marquee-l { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes lm-marquee-r { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.lm-chip {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 18px 10px 12px;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    border: 1px solid var(--border);
    border-radius: 999px;
    min-width: 180px;
    transition: transform .3s, border-color .3s, box-shadow .3s, background .3s;
}
.lm-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(124,92,252,.4);
    background: linear-gradient(180deg, rgba(124,92,252,.08), rgba(124,92,252,.03));
    box-shadow: 0 12px 30px -10px rgba(124,92,252,.4);
}
.lm-chip img {
    width: 40px; height: 28px; border-radius: 5px; object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 4px 10px -2px rgba(0,0,0,.5);
    flex-shrink: 0;
}
.lm-chip div { display: flex; flex-direction: column; line-height: 1.15; }
.lm-chip b {
    font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: -.01em;
    font-family: var(--font-display);
}
.lm-chip span {
    font-size: 12px; color: var(--text-3); letter-spacing: .01em;
    font-family: var(--font-mono);
}
.lm-chip[data-tier="1"] {
    border-color: rgba(255,213,74,.18);
    background: linear-gradient(180deg, rgba(255,213,74,.04), transparent);
}
.lm-chip[data-tier="1"] img {
    box-shadow: 0 0 0 1px rgba(255,213,74,.3), 0 4px 12px -2px rgba(0,0,0,.6);
}
.lm-chip[data-tier="1"] b::after {
    content: ' ★'; color: #ffd54a; font-size: 10px; font-weight: 400;
}

/* Remove the giant gap before showcase (we removed the duplicate section) */
.showcase { padding-top: 90px !important; }
.showcase .showcase-bg-orb { display: none !important; }

/* ═══ TESTIMONIALS ═══ */
.testimonials {
    padding: 80px 0;
    background:
        radial-gradient(600px 300px at 30% 0%, rgba(124,92,252,.08), transparent 70%),
        radial-gradient(500px 250px at 80% 100%, rgba(255,124,240,.05), transparent 70%);
    position: relative;
}
.tm-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 1100px; margin: 0 auto;
}
@media (max-width: 900px) { .tm-grid { grid-template-columns: 1fr; } }
.tm-card {
    position: relative;
    padding: 26px 24px 22px;
    background: linear-gradient(180deg, #131320, #0e0e14);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex; flex-direction: column; gap: 14px;
    margin: 0;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}
.tm-card.tm-featured {
    background: linear-gradient(180deg, rgba(124,92,252,.08), #0e0e14 60%);
    border-color: rgba(124,92,252,.25);
    box-shadow: 0 20px 60px -20px rgba(124,92,252,.3);
    transform: translateY(-8px);
}
.tm-card:hover { transform: translateY(-10px); border-color: rgba(124,92,252,.35); }
.tm-card.tm-featured:hover { transform: translateY(-14px); }
.tm-card .tm-stars { color: #ffd54a; letter-spacing: 2px; font-size: 13px; }
.tm-card blockquote {
    margin: 0; font-size: 14px; line-height: 1.65;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 500;
}
.tm-card figcaption {
    display: flex; align-items: center; gap: 12px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    margin-top: auto;
}
.tm-avatar {
    --seed: 1;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: #fff; letter-spacing: -.01em;
    font-family: var(--font-mono);
    background: linear-gradient(135deg, hsl(calc(var(--seed) * 117), 70%, 55%), hsl(calc(var(--seed) * 117 + 60), 70%, 45%));
    flex-shrink: 0;
    box-shadow: 0 4px 12px -2px rgba(0,0,0,.5);
}
.tm-card figcaption b { display: block; font-size: 13px; color: var(--text); letter-spacing: -.01em; }
.tm-card figcaption span { display: block; font-size: 11px; color: var(--text-3); font-family: var(--font-mono); margin-top: 2px; }

/* ═══ PRICING — fix Most Popular badge clipping + premium feel ═══ */
.pricing-grid {
    padding-top: 20px; /* room for badge */
    overflow: visible; /* allow badge to peek */
}
.price-card {
    position: relative; /* ensure badge positions correctly */
    overflow: visible !important;
}
.price-card-popular {
    transform: scale(1.03);
    z-index: 2;
    border-color: rgba(124,92,252,.45) !important;
    background: linear-gradient(180deg, rgba(124,92,252,.08), var(--color-surface, #13131a) 45%) !important;
    box-shadow:
        0 30px 80px -20px rgba(124,92,252,.4),
        0 0 0 1px rgba(124,92,252,.25);
}
.price-card-popular:hover { transform: scale(1.035) translateY(-4px); }
.popular-badge {
    position: absolute;
    top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #ffd54a, #ff7cf0, #7c5cfc);
    background-size: 200% 100%;
    color: #0a0a10;
    font-family: var(--font-mono);
    font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    padding: 6px 14px; border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 8px 20px -6px rgba(124,92,252,.5);
    animation: popular-shimmer 4s linear infinite;
    z-index: 10;
}
@keyframes popular-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ═══ FOOTER — new social block ═══ */
.footer-social h4 { margin-bottom: 14px; }
.sl-row {
    display: grid; grid-template-columns: 1fr; gap: 8px;
}
.sl-btn {
    --scrb-brand: #7c5cfc;
    display: grid; grid-template-columns: 18px 1fr auto; align-items: center; column-gap: 12px;
    padding: 9px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,.02);
    border: 1px solid var(--border);
    color: var(--text-2); text-decoration: none;
    transition: transform .25s, color .25s, border-color .25s, background .25s;
    position: relative; overflow: hidden;
}
.sl-btn[data-brand="x"]        { --scrb-brand: #ffffff; }
.sl-btn[data-brand="instagram"]{ --scrb-brand: #e1306c; }
.sl-btn[data-brand="reddit"]   { --scrb-brand: #ff4500; }
.sl-btn[data-brand="bluesky"]  { --scrb-brand: #1185fe; }
.sl-btn svg {
    width: 16px; height: 16px; flex-shrink: 0;
    color: var(--text-3);
    transition: color .25s, transform .4s cubic-bezier(.2,.8,.2,1), filter .25s;
}
.sl-btn .sl-name { font-size: 12px; font-weight: 500; color: var(--text-2); }
.sl-btn .sl-handle {
    font-size: 10px; color: var(--text-3); font-family: var(--font-mono);
    letter-spacing: .02em;
}
.sl-btn:hover {
    transform: translateX(3px);
    color: var(--text); border-color: color-mix(in srgb, var(--scrb-brand) 35%, transparent);
    background: color-mix(in srgb, var(--scrb-brand) 8%, transparent);
}
.sl-btn:hover svg {
    color: var(--scrb-brand);
    filter: drop-shadow(0 0 8px var(--scrb-brand));
    transform: rotate(-8deg) scale(1.15);
}
.sl-btn:hover .sl-name { color: var(--text); }

.ee-hint {
    margin-top: 14px; font-size: 10px; color: var(--text-3);
    letter-spacing: .02em; font-family: var(--font-mono);
    opacity: .6; transition: opacity .3s;
}
.ee-hint:hover { opacity: 1; }
.ee-hint kbd {
    display: inline-block; padding: 1px 5px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--border);
    border-radius: 3px; font-size: 9px;
    color: var(--text-2); margin: 0 1px;
    font-family: var(--font-mono);
}

/* Tighter section rhythm (the user said "дыры прибери") */
.how, .features, .pricing, .faq, .showcase, .testimonials { padding-top: 80px !important; padding-bottom: 80px !important; }
@media (max-width: 768px) {
    .how, .features, .pricing, .faq, .showcase, .testimonials { padding-top: 56px !important; padding-bottom: 56px !important; }
}

/* Better hero stats layout (now 5 stats) */
.hero-stats {
    flex-wrap: wrap; justify-content: center; gap: 10px 24px !important;
}
@media (max-width: 720px) {
    .hero-stats .stat-sep { display: none; }
    .hero-stats { gap: 16px 28px !important; }
}

/* Pricing guarantees strip — 4 trust badges below cards */
.pricing-guarantees {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 980px; margin: 48px auto 20px;
}
@media (max-width: 900px) { .pricing-guarantees { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pricing-guarantees { grid-template-columns: 1fr; } }
.pg-badge {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    background: rgba(255,255,255,.025);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: transform .25s, border-color .25s, background .25s;
}
.pg-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(74,222,128,.3);
    background: rgba(74,222,128,.05);
}
.pg-badge svg { color: #4ade80; flex-shrink: 0; }
.pg-badge b { display: block; font-size: 13px; color: var(--text); font-weight: 600; letter-spacing: -.01em; }
.pg-badge span { display: block; font-size: 11px; color: var(--text-3); font-family: var(--font-mono); margin-top: 2px; }

/* ═══ PLATFORMS — floating logos (overrides old bento) ═══ */
.pf-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    max-width: 1100px;
    margin: 40px auto 0;
}
.pf-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
}
.pf-logo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    padding: 4px;
}
.pf-logo img,
.pf-logo > svg {
    display: block;
    width: auto;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.75;
    transition: filter .35s ease, opacity .35s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.pf-row-1 .pf-logo img, .pf-row-1 .pf-logo > svg { height: 72px; width: 72px; }
.pf-row-2 .pf-logo img, .pf-row-2 .pf-logo > svg { height: 56px; width: 56px; }
.pf-row-3 .pf-logo img, .pf-row-3 .pf-logo > svg { height: 44px; width: 44px; }
.pf-row-4 .pf-logo img, .pf-row-4 .pf-logo > svg { height: 40px; width: 40px; }
.pf-logo span {
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: .02em;
    font-family: var(--font-mono);
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
    white-space: nowrap;
}
.pf-logo:hover img,
.pf-logo:hover > svg {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}
.pf-logo:hover span {
    opacity: 1;
    transform: translateY(0);
}

/* mobile marquee */
.pf-marquee {
    display: none;
    margin-top: 36px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.pf-marquee-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    animation: pf-marquee 45s linear infinite;
}
.pf-marquee-track img {
    height: 36px;
    width: auto;
    filter: grayscale(100%) brightness(0.75);
    opacity: 0.7;
}
@keyframes pf-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 640px) {
    .pf-flex { display: none; }
    .pf-marquee { display: block; }
}

/* kill any leftover .pf-card / .platforms-bento rules (block hidden anyway) */
.platforms-bento-OBSOLETE { display: none !important; }

/* ═══ FOOTER SOCIAL — icon-only circular (override earlier .sl-btn rules) ═══ */
.footer-col.footer-social .sl-row {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 4px;
}
.footer-col.footer-social .sl-btn {
    display: inline-flex !important;
    grid-template-columns: none !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--text-3);
    transition: color .25s ease, transform .25s ease, background .25s ease;
    overflow: visible;
}
.footer-col.footer-social .sl-btn svg {
    width: 20px;
    height: 20px;
    color: inherit;
    filter: none;
    transform: none;
    transition: color .25s ease, transform .25s ease;
}
.footer-col.footer-social .sl-btn:hover {
    transform: scale(1.12);
    background: rgba(255,255,255,.04);
    color: var(--scrb-brand, var(--text));
    border: none;
}
.footer-col.footer-social .sl-btn:hover svg {
    color: var(--scrb-brand, var(--text));
    filter: drop-shadow(0 0 8px var(--scrb-brand));
    transform: none;
}
.sl-handle-all {
    margin-top: 14px;
    font-size: 11px;
    color: var(--text-3);
    font-family: var(--font-mono);
    letter-spacing: .04em;
}

/* Move ee-hint into footer-bottom as a centered tiny line */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.footer-bottom .ee-hint {
    margin: 0;
    font-size: 10px;
    color: var(--text-3);
    font-family: var(--font-mono);
    opacity: .55;
    transition: opacity .3s;
    text-align: center;
    flex: 1 1 auto;
}
.footer-bottom .ee-hint:hover { opacity: 1; }
.footer-bottom .ee-hint kbd {
    display: inline-block; padding: 1px 4px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    border-radius: 3px; font-size: 9px;
    color: var(--text-2); margin: 0 1px;
    font-family: var(--font-mono);
}
@media (max-width: 640px) {
    .footer-bottom { flex-direction: column; text-align: center; }
}
