/* ── Components ────────────────────────────────────────────
   Cards, buttons, navbar, terminal block, divider,
   avatar, spotlight, webinar list, ticker.
───────────────────────────────────────────────────────── */

/* ── Navbar ─────────────────────────────────────────────── */
.nav {
    background: rgba(7,9,15,0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,168,76,0.1);
    transition: background 0.3s;
}

/* ── Gold divider ───────────────────────────────────────── */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hi), transparent);
}

/* ── Dark surface cards ─────────────────────────────────── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: border-color 0.3s;
}
.card:hover { border-color: var(--border-hi); }

.card-blue {
    background: var(--surface);
    border: 1px solid var(--border-bl);
    border-radius: 16px;
}

/* ── Glass form card ────────────────────────────────────── */
.glass-form {
    background: rgba(12,17,32,0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-hi);
    border-radius: 20px;
}

/* ── Terminal block ─────────────────────────────────────── */
.terminal {
    background: var(--bg);
    border: 1px solid var(--border-hi);
    border-radius: 6px;
    overflow: hidden;
}
.terminal-header {
    background: rgba(201,168,76,0.06);
    border-bottom: 1px solid var(--border);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: rgba(201,168,76,0.55);
}
.terminal-badge {
    padding: 2px 8px;
    border: 1px solid rgba(74,222,128,0.35);
    border-radius: 3px;
    color: rgba(74,222,128,0.75);
    font-size: 0.6rem;
}
.terminal-body { padding: 32px 28px; }
.terminal-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.terminal-row:last-child { border-bottom: none; }
.terminal-bar-wrap {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 1px;
    overflow: hidden;
}
.terminal-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold));
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 1.4s cubic-bezier(0.16,1,0.3,1);
}
.terminal-bar.animated { transform: scaleX(1); }

/* ── KPI numbers ────────────────────────────────────────── */
.kpi {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    letter-spacing: -0.03em;
    color: var(--gold);
    white-space: nowrap;
}
.kpi-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-2);
    margin-top: 4px;
}
.kpi-blue { color: var(--logo-teal, #23C7BE) !important; }

/* ── CTA button ─────────────────────────────────────────── */
.btn {
    display: inline-block;
    background: #E9D5A3;
    color: #111111;
    font-weight: 800;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(201,169,110,0.35);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(233,213,163,0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { background: #F1DFAF; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(233,213,163,0.28); }
.btn:active { transform: translateY(1px); box-shadow: 0 4px 12px rgba(233,213,163,0.15); }

/* ── Founder avatar ─────────────────────────────────────── */
.avatar {
    width: 100px; height: 100px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(77,159,255,0.08));
    border: 2px solid var(--border-hi);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; font-weight: 700; color: var(--gold);
    font-family: 'JetBrains Mono', monospace;
    position: relative; overflow: hidden;
}
.avatar::before {
    content: '';
    position: absolute; inset: -50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(201,168,76,0.12) 50%, transparent 100%);
    animation: spin 12s linear infinite;
}

/* ── Spotlight hover ─────────────────────────────────────── */
.spotlight { position: relative; overflow: hidden; }
.spotlight::before {
    content: ''; position: absolute; top: -60%; left: -60%;
    width: 220%; height: 220%;
    background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(201,168,76,0.065) 0%, transparent 45%);
    opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 0;
}
.spotlight:hover::before { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

/* ── Webinar list ────────────────────────────────────────── */
.webinar-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.25s;
}
.webinar-item:last-child { border-bottom: none; }
.webinar-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(201,168,76,0.35);
    padding-top: 2px;
    letter-spacing: -0.02em;
}
.webinar-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-3);
    margin-top: 3px;
    margin-bottom: 10px;
}
.webinar-item:hover .webinar-num { color: var(--gold); }

/* ── Ticker tape ─────────────────────────────────────────── */
.ticker-inner { animation: ticker 38s linear infinite; white-space: nowrap; display: inline-flex; gap: 3rem; }
