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

:root {
    --bg:       #090d1a;
    --surface:  #0f1628;
    --card:     #131a2e;
    --card-2:   #161e34;
    --border:   #1e2a4a;
    --dim:      #5a6a8a;
    --text:     #a0b0cc;
    --bright:   #e0e8f4;
    --accent:   #00d4aa;
    --accent-2: #00b894;
    --purple:   #7c5cfc;
    --blue:     #4a8eff;
    --green:    #00d4aa;
    --red:      #f85149;
    --gold:     #f0c040;
    --radius:   16px;
    --mono:     'JetBrains Mono', monospace;
    --sans:     'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ──────────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(9, 13, 26, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(30, 42, 74, 0.5);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 18px;
    color: #DAA520;
    letter-spacing: -0.5px;
}
.logo:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--dim); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--bright); text-decoration: none; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: 7px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 4px 24px rgba(0, 212, 170, 0.2);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(0, 212, 170, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn-gold {
    background: #DAA520;
    color: #0d1117;
    border-color: #DAA520;
    font-weight: 600;
}
.btn-gold:hover {
    background: #c4941a;
    border-color: #c4941a;
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 160px 32px 100px;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(124, 92, 252, 0.12) 0%, rgba(0, 212, 170, 0.06) 40%, transparent 70%);
    pointer-events: none;
}
/* Decorative sphere */
.hero::after {
    content: '';
    position: absolute;
    top: 80px; right: 8%;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(124, 92, 252, 0.15), rgba(0, 212, 170, 0.05) 60%, transparent);
    border: 1px solid rgba(124, 92, 252, 0.1);
    pointer-events: none;
}
.hero-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.25);
    color: var(--accent);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 28px;
}
.hero h1 {
    font-size: clamp(38px, 6vw, 60px);
    font-weight: 700;
    line-height: 1.12;
    color: var(--bright);
    margin-bottom: 24px;
    letter-spacing: -1px;
}
.accent { color: var(--accent); }
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 18px;
    color: var(--dim);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Hero screenshot mockup */
.hero-mockup {
    margin-top: 64px;
    position: relative;
}
/* ── Bot Dashboard Mockup ────────────────────────────────────────── */
.bot-frame {
    background: #0d1117;
    border: 1px solid #1e2a3a;
    border-radius: 12px;
    overflow: hidden;
    font-family: var(--mono);
    font-size: 11px;
    color: #a0b0cc;
    text-align: left;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.5),
        0 0 80px rgba(50,148,94,0.08),
        0 0 160px rgba(218,165,32,0.04);
    position: relative;
}
/* Scan line effect */
.bot-frame::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(50,148,94,0.4), transparent);
    animation: scanline 4s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;
}
@keyframes scanline {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
.bot-titlebar {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    background: #0a0e14;
    border-bottom: 1px solid #1e2a3a;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.r { background: #f85149; }
.mockup-dot.y { background: #f0c040; }
.mockup-dot.g { background: #00d4aa; }
.bot-title-text { color: #506080; font-size: 10px; margin-left: 6px; }
.bot-header {
    display: flex; align-items: center; gap: 14px;
    padding: 7px 14px;
    background: #0f1520;
    border-bottom: 1px solid #1e2a3a;
}
.bot-logo { color: #DAA520; font-size: 15px; font-weight: 700; }
.bot-meta { color: #506080; font-size: 10px; }
.bot-server-on { color: #27c93f; font-size: 11px; margin-left: auto; }
.bot-btn-stop { background: #e06070; color: #fff; padding: 2px 10px; border-radius: 3px; font-size: 10px; font-weight: 600; margin-left: 8px; }
.bot-btn-set { background: #1e2a3a; color: #a0b0cc; padding: 2px 10px; border-radius: 3px; font-size: 10px; border: 1px solid #2a3a4a; }
.bot-stats {
    display: flex; gap: 20px; padding: 6px 14px;
    background: #0a0e14;
    border-bottom: 1px solid #1e2a3a;
    font-size: 10px;
}
.bs { display: flex; flex-direction: column; }
.bs-l { color: #506080; font-size: 9px; }
.bs-v { color: #e0e8f4; font-weight: 600; }
.bs-v.g { color: #32945e; }
.bs-v.a { color: #00d4aa; }
.bot-tabs { display: flex; border-bottom: 1px solid #1e2a3a; }
.bt { padding: 7px 18px; color: #506080; font-size: 11px; }
.bt.active { color: #e0e8f4; border-bottom: 2px solid #00d4aa; background: #0f1520; }
.bot-main { display: grid; grid-template-columns: 1fr 1.3fr 200px; min-height: 160px; }
.bot-panel { padding: 10px; border-right: 1px solid #1e2a3a; }
.bot-panel.mid { border-right: 1px solid #1e2a3a; }
.bot-panel.side { border-right: none; padding: 8px 10px; }
.bp-head { display: flex; justify-content: space-between; font-size: 10px; color: #506080; margin-bottom: 4px; }
.bp-head .g { color: #32945e; font-weight: 600; }
.bot-chart { width: 100%; height: 120px; }
.bp-side-title { color: #00d4aa; font-weight: 700; font-size: 10px; text-align: center; margin-bottom: 6px; }
.bp-trades { display: flex; justify-content: space-around; text-align: center; margin-bottom: 4px; }
.bp-th { display: block; color: #506080; font-size: 8px; }
.bp-tv { display: block; color: #32945e; font-size: 16px; font-weight: 700; }
.bp-total { text-align: center; font-size: 10px; color: #a0b0cc; }
.g { color: #32945e; }
.bot-pos { border-top: 1px solid #1e2a3a; }
.bot-pos-tabs { display: flex; border-bottom: 1px solid #1e2a3a; }
.bot-pos-tabs span { padding: 6px 16px; font-size: 10px; color: #506080; }
.bot-pos-tabs span.active { color: #e0e8f4; background: #0f1520; }
.bot-pos-head { display: flex; align-items: center; padding: 5px 12px; border-bottom: 1px solid #1e2a3a; background: #0a0e14; }
.bot-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.bot-table th { color: #506080; text-align: left; padding: 4px 10px; font-weight: 400; font-size: 9px; border-bottom: 1px solid #1e2a3a; }
.bot-table td { padding: 5px 10px; border-bottom: 1px solid #0f1520; }
.bot-table tr:nth-child(odd) { background: #0a0e14; }
.bot-table .mkt { color: #6c9eff; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bot-table .g { color: #32945e; }
/* Glow under mockup */
.hero-mockup::after {
    content: '';
    position: absolute;
    bottom: -40px; left: 5%; right: 5%;
    height: 100px;
    background: radial-gradient(ellipse, rgba(50,148,94,0.1), rgba(218,165,32,0.03), transparent);
    pointer-events: none;
}
/* Pulse on server dot */
.bot-server-on { animation: pulse-green 2s ease-in-out infinite; }
@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ── Stats bar ───────────────────────────────────────────────────── */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 1px;
    margin-top: 64px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.stat {
    flex: 1;
    padding: 24px 16px;
    background: var(--card);
    text-align: center;
}
.stat:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.stat:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.stat-num {
    display: block;
    font-family: var(--mono);
    font-size: 26px;
    font-weight: 700;
    color: var(--bright);
    margin-bottom: 4px;
}
.stat-lbl {
    font-size: 12px;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ── Section titles ──────────────────────────────────────────────── */
.section-title {
    text-align: center;
    margin-bottom: 16px;
}
.section-label {
    display: inline-block;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--bright);
    letter-spacing: -0.5px;
}
.section-subtitle {
    text-align: center;
    color: var(--dim);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 48px;
}

/* ── Features ────────────────────────────────────────────────────── */
.features {
    padding: 100px 32px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
/* Decorative sphere left */
.features::before {
    content: '';
    position: absolute;
    top: 20%; left: -100px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle at 60% 40%, rgba(74, 142, 255, 0.08), transparent 70%);
    border: 1px solid rgba(74, 142, 255, 0.06);
    pointer-events: none;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.feature-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}
.feature-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--accent);
}
.feature-dot.purple { background: var(--purple); }
.feature-dot.blue { background: var(--blue); }
.feature-dot.gold { background: var(--gold); }
.feature-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
}
.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--bright);
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 14px;
    color: var(--dim);
    line-height: 1.7;
}

/* ── Pricing ─────────────────────────────────────────────────────── */
.pricing {
    padding: 100px 32px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}
.beta-banner {
    text-align: center;
    padding: 16px 28px;
    background: linear-gradient(135deg, rgba(240, 192, 64, 0.08), rgba(240, 192, 64, 0.04));
    border: 1px solid rgba(240, 192, 64, 0.2);
    border-radius: var(--radius);
    color: var(--gold);
    font-size: 15px;
    margin-bottom: 48px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    position: relative;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.price-card.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(0, 212, 170, 0.04), var(--card) 40%);
    box-shadow: 0 0 60px rgba(0, 212, 170, 0.06);
}
.price-badge {
    position: absolute;
    top: -13px;
    right: 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}
.price-tier {
    font-size: 20px;
    font-weight: 600;
    color: var(--bright);
    margin-bottom: 16px;
}
.price-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 8px;
}
.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--dim);
    align-self: flex-start;
    margin-top: 8px;
}
.price-num {
    font-family: var(--mono);
    font-size: 52px;
    font-weight: 700;
    color: var(--bright);
    line-height: 1;
}
.price-cents {
    font-family: var(--mono);
    font-size: 24px;
    font-weight: 600;
    color: var(--dim);
}
.price-period {
    font-size: 15px;
    color: var(--dim);
    margin-left: 6px;
}
.price-beta {
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.price-features {
    list-style: none;
    margin-bottom: 32px;
}
.price-features li {
    padding: 9px 0;
    font-size: 14px;
    color: var(--text);
}
.price-features li::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 12px;
    vertical-align: middle;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
    padding: 64px 32px;
    border-top: 1px solid var(--border);
    text-align: center;
    background: linear-gradient(180deg, var(--bg), rgba(15, 22, 40, 1));
}
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-logo {
    font-family: var(--mono);
    font-size: 16px;
    color: var(--accent);
    margin-bottom: 16px;
}
.footer-disclaimer {
    font-size: 12px;
    color: var(--dim);
    line-height: 1.8;
    margin-bottom: 16px;
}
.footer-copy {
    font-size: 12px;
    color: rgba(90, 106, 138, 0.5);
}

/* ── Auth pages (login / register) ───────────────────────────────── */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(124, 92, 252, 0.08) 0%, transparent 60%),
        var(--bg);
}
.auth-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 40px;
    width: 100%;
    max-width: 540px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.auth-card h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--bright);
    margin-bottom: 8px;
}
.auth-sub {
    color: var(--dim);
    font-size: 14px;
    margin-bottom: 32px;
}
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}
.form-group input {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--bright);
    font-size: 14px;
    font-family: var(--sans);
    outline: none;
    transition: border-color 0.2s;
}
.form-group input::placeholder { color: var(--dim); opacity: 0.6; }
.form-group input:focus { border-color: var(--accent); }
.captcha-wrap { align-items: center; }
.auth-msg {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 8px;
}
.msg-error {
    background: rgba(248, 81, 73, 0.1);
    border: 1px solid rgba(248, 81, 73, 0.3);
    color: var(--red);
}
.msg-ok {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: var(--accent);
}
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--dim);
}

/* ── Dashboard ───────────────────────────────────────────────────── */
.dash-section {
    padding: 100px 32px 60px;
    max-width: 800px;
    margin: 0 auto;
}
.dash-header { margin-bottom: 36px; }
.dash-header h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--bright);
    margin-bottom: 4px;
}
.dash-sub { color: var(--dim); font-size: 15px; }
.nav-user {
    font-size: 13px;
    color: var(--dim);
    font-family: var(--mono);
}

.dash-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.dash-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
}
.dash-card-label {
    font-size: 12px;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.dash-card-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--bright);
    display: flex;
    align-items: center;
    gap: 8px;
}
.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.status-dot.active { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.status-dot.pending { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

.dash-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
}
.dash-block h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--bright);
    margin-bottom: 20px;
}

/* License */
.license-box, .download-box { min-height: 80px; }
.license-locked, .download-locked {
    text-align: center;
    padding: 24px;
    color: var(--dim);
}
.lock-icon { font-size: 32px; margin-bottom: 12px; opacity: 0.5; }
.license-key-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 20px;
}
.license-key-row code {
    font-family: var(--mono);
    font-size: 16px;
    color: var(--accent);
    flex: 1;
    letter-spacing: 1px;
}
.license-hint {
    font-size: 13px;
    color: var(--dim);
    margin-top: 12px;
}

/* Download */
.download-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}
.download-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--bright);
}
.download-meta {
    font-size: 13px;
    color: var(--dim);
    margin-top: 4px;
}
.download-steps {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 24px;
}
.download-steps h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--bright);
    margin-bottom: 12px;
}
.download-steps ol {
    padding-left: 20px;
    font-size: 13px;
    color: var(--text);
}
.download-steps li {
    padding: 4px 0;
    line-height: 1.6;
}
.download-steps code {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    background: rgba(0, 212, 170, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Payment table */
.table-wrap { overflow-x: auto; }
.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.dash-table th {
    text-align: left;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border);
}
.dash-table td {
    padding: 12px 16px;
    color: var(--text);
    border-bottom: 1px solid rgba(30, 42, 74, 0.4);
}
.table-empty {
    text-align: center;
    color: var(--dim);
    padding: 24px 16px !important;
}
.pay-status {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
.pay-status.confirmed {
    background: rgba(0, 212, 170, 0.12);
    color: var(--accent);
}
.pay-status.pending {
    background: rgba(240, 192, 64, 0.12);
    color: var(--gold);
}
.pay-status.failed {
    background: rgba(248, 81, 73, 0.1);
    color: var(--red);
}

/* ── Admin Panel ─────────────────────────────────────────────────── */
.admin-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 32px 60px;
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 16px;
}
.admin-toolbar h2 {
    color: var(--bright);
    font-size: 20px;
    margin: 0;
}
.admin-search {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--bright);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    width: 280px;
    outline: none;
    transition: border-color 0.2s;
}
.admin-search:focus {
    border-color: var(--accent);
}
.admin-search::placeholder {
    color: var(--dim);
}
.admin-tab {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}
.admin-table th {
    white-space: nowrap;
}
.admin-table td code {
    font-family: var(--mono);
    font-size: 12px;
}

/* Nav tabs */
.nav-tab {
    color: var(--dim);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}
.nav-tab:hover {
    color: var(--bright);
    text-decoration: none;
    background: rgba(255,255,255,0.04);
}
.nav-tab.active {
    color: var(--accent);
    background: rgba(0, 212, 170, 0.08);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    width: 100%;
    max-width: 440px;
}
.modal-card h3 {
    color: var(--bright);
    font-size: 18px;
    margin-bottom: 20px;
}
.modal-card .form-group {
    margin-bottom: 14px;
}
.modal-card label {
    display: block;
    font-size: 13px;
    color: var(--dim);
    margin-bottom: 6px;
}
.modal-card input,
.modal-card select {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--bright);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--sans);
    outline: none;
    transition: border-color 0.2s;
}
.modal-card input:focus,
.modal-card select:focus {
    border-color: var(--accent);
}

/* Select element global */
select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6a8a' d='M1.4 0L6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

/* ── Feature Stats Bar ───────────────────────────────────────────── */
.features-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 900px;
    margin: 0 auto 48px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}
.fstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 16px;
    border-right: 1px solid var(--border);
}
.fstat:last-child { border-right: none; }
.fstat-icon { font-size: 28px; margin-bottom: 8px; }
.fstat-num { font-family: 'JetBrains Mono', monospace; font-size: 28px; font-weight: 700; color: var(--text-bright); }
.fstat-lbl { font-size: 13px; color: var(--text-dim); margin-top: 4px; text-align: center; }

/* ── Feature Icons ──────────────────────────────────────────────── */
.feature-icon {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--accent);
}

/* ── Reviews Slider ─────────────────────────────────────────────── */
.reviews {
    padding: 80px 40px;
    overflow: hidden;
}
.reviews-track-wrapper {
    overflow: hidden;
    margin-top: 40px;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.reviews-track {
    display: flex;
    gap: 24px;
    animation: scroll-reviews 30s linear infinite;
    width: max-content;
}
.reviews-track:hover { animation-play-state: paused; }
.review-card {
    flex-shrink: 0;
    width: 320px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.review-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #DAA520;
    color: #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.review-head strong { color: var(--text-bright); font-size: 14px; }
.review-tag {
    display: inline-block;
    font-size: 11px;
    color: var(--accent);
    background: rgba(0,212,170,0.1);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}
.review-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.review-stars {
    color: #DAA520;
    font-size: 16px;
    letter-spacing: 2px;
}
@keyframes scroll-reviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Platforms ───────────────────────────────────────────────────── */
.platforms { padding: 80px 40px; }
.platform-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 40px auto 0;
}
.platform-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}
.platform-card.available { border-color: var(--accent); }
.platform-card.coming { border-color: #2a3a4a; }
.platform-icon { font-size: 48px; margin-bottom: 12px; }
.platform-card h3 { font-size: 20px; color: var(--text-bright); margin-bottom: 8px; }
.platform-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 1px;
    font-family: var(--mono);
}
.platform-badge.live { background: rgba(0,212,170,0.15); color: var(--accent); }
.platform-badge.soon { background: rgba(218,165,32,0.15); color: #DAA520; }
.platform-card p { font-size: 14px; color: var(--dim); line-height: 1.6; margin-bottom: 20px; }
.waitlist-form { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.waitlist-form input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text-bright);
    font-size: 14px;
}
.waitlist-consent {
    font-size: 10px !important;
    color: var(--dim) !important;
    line-height: 1.4;
    margin-bottom: 0 !important;
}

/* ── Mentioned / As Seen On ──────────────────────────────────────── */
.mentioned {
    padding: 80px 40px;
}
.mentioned-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 40px auto 0;
}
.mention-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.mention-source {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-bright);
}
.mention-logo {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.mention-text {
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-style: italic;
}
.mention-user {
    font-size: 11px;
    color: var(--dim);
    font-family: var(--mono);
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .features-stats { grid-template-columns: repeat(2, 1fr); }
    .fstat:nth-child(2) { border-right: none; }
}
@media (max-width: 640px) {
    .hero { padding: 120px 20px 60px; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .stats-bar { flex-direction: column; border-radius: var(--radius); }
    .stat:first-child { border-radius: var(--radius) var(--radius) 0 0; }
    .stat:last-child { border-radius: 0 0 var(--radius) var(--radius); }
    .nav-links a:not(.btn) { display: none; }
    .features-stats { grid-template-columns: repeat(2, 1fr); }
    .review-card { width: 280px; }
    .mentioned-grid { grid-template-columns: 1fr; }
    .platform-cards { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .hero-mockup { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-left: -20px; margin-right: -20px; padding: 0 20px; }
    .bot-frame { min-width: 700px; font-size: 10px; }
    .bot-main { min-height: 140px; }
    .bot-chart { height: 100px; }
    .form-row { grid-template-columns: 1fr; }
    .auth-card { padding: 32px 24px; }
    .dash-cards { grid-template-columns: 1fr; }
    .download-row { flex-direction: column; align-items: stretch; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .admin-toolbar { flex-direction: column; align-items: stretch; }
    .admin-search { width: 100%; }
    .admin-section { padding: 90px 16px 40px; }
}
