/*
 * landing.css — Arbie Stocks | The Signal Room
 * Dark institutional theme. Keep this file clean.
 * Fonts loaded via Google Fonts in landing.php head.
 */

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

:root {
    --bg:          #0d0f14;
    --bg-card:     #13161f;
    --bg-card-2:   #1a1d28;
    --green:       #00a804;
    --green-dim:   rgba(0, 168, 4, 0.12);
    --green-glow:  rgba(0, 168, 4, 0.28);
    --gold:        #c9a84c;
    --gold-dim:    rgba(201, 168, 76, 0.15);
    --red:         #ef4444;
    --text:        #c4c7cd;
    --text-muted:  #606672;
    --text-dim:    #4b5563;
    --border:      rgba(255,255,255,0.07);
    --font-sans:   'Inter', -apple-system, sans-serif;
    --font-serif:  'Playfair Display', Georgia, serif;
    --font-mono:   'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Subtle dot pattern — much less intrusive than grid lines */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* ── HEADER ──────────────────────────────────────────────── */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(13,15,20,0.95), transparent);
    backdrop-filter: blur(4px);
}

.logo {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse-beat 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-beat {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green); }
    50%       { opacity: 0.5; box-shadow: 0 0 3px var(--green); }
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

.header-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.header-nav a {
    padding: 0 20px;
}

.header-nav a + a {
    border-left: 1px solid var(--border);
}

@media (max-width: 560px) {
    .header-nav { display: none; }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
}

.engine-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-dim);
    border: 1px solid rgba(0,200,5,0.2);
    border-radius: 100px;
    padding: 6px 16px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--green);
    letter-spacing: 0.08em;
    margin-bottom: 48px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 48px;
}

/* ── SCARCITY BAR ────────────────────────────────────────── */
.scarcity-wrap {
    width: 100%;
    max-width: 440px;
    margin: 0 auto 40px;
}

.scarcity-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-bottom: 10px;
}

.scarcity-label .seats-left {
    color: var(--gold);
    font-weight: 600;
}

.scarcity-track {
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 100px;
    overflow: hidden;
}

.scarcity-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--gold), #e8c46a);
    box-shadow: 0 0 8px rgba(201,168,76,0.5);
}

/* ── CTA ─────────────────────────────────────────────────── */
.cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-primary {
    display: inline-block;
    background: var(--green);
    color: #000;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow: 0 0 24px rgba(0,200,5,0.3), 0 4px 12px rgba(0,0,0,0.4);
    transition: box-shadow 0.2s, transform 0.15s;
}
.btn-primary:hover {
    box-shadow: 0 0 40px rgba(0,200,5,0.5), 0 4px 16px rgba(0,0,0,0.4);
    transform: translateY(-1px);
}

.login-hint {
    font-size: 0.82rem;
    color: var(--text-dim);
}
.login-hint a {
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}
.login-hint a:hover { color: var(--text); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.section-divider {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.section-divider span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    text-transform: uppercase;
    white-space: nowrap;
}

/* ── PETE'S LEDGER ───────────────────────────────────────── */
.ledger-section {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 60px auto 80px;
    padding: 0 24px;
}

.ledger-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.ledger-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--border);
}

.ledger-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.ledger-subtitle {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.ledger-table-wrap {
    max-height: 380px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

table { width: 100%; border-collapse: collapse; }

thead th {
    padding: 12px 32px;
    text-align: left;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    background: var(--bg-card);
    position: sticky;
    top: 0;
    z-index: 5;
    border-bottom: 1px solid var(--border);
}
thead th:last-child { text-align: right; }

tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg-card-2); }

td { padding: 14px 32px; font-size: 0.9rem; }

.ticker-cell { font-family: var(--font-mono); font-weight: 600; color: var(--text); }

.ticker-redacted {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3px 10px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 2px;
}

.date-cell { color: var(--text-muted); font-size: 0.85rem; }

.yield-cell {
    text-align: right;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.9rem;
}
.yield-pos  { color: var(--green); }
.yield-neg  { color: var(--red); }
.yield-zero { color: var(--text-dim); }

/* ── LEGAL ───────────────────────────────────────────────── */
.legal {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.68rem;
    color: var(--text-dim);
    line-height: 1.6;
    text-align: center;
}
.legal strong { color: var(--text-muted); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 640px) {
    header { padding: 16px 20px; }
    .hero  { padding: 100px 16px 60px; }
    .ledger-section { padding: 0 16px; }
    thead th, td { padding: 12px 16px; }
}
