:root {
    --bg: #06080d;
    --surface: #0c1018;
    --surface-hover: #111822;
    --border: #1a2235;
    --text: #e0e8f0;
    --text-muted: #5a6a80;
    --accent: #00d4ff;
    --accent-dim: rgba(0,212,255,0.08);
    --accent2: #00ff88;
    --accent2-dim: rgba(0,255,136,0.08);
    --accent3: #ff4466;
    --accent3-dim: rgba(255,68,102,0.08);
    --accent4: #ffaa00;
    --accent4-dim: rgba(255,170,0,0.08);
    --purple: #8855ff;
    --purple-dim: rgba(136,85,255,0.08);
}

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

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

/* Subtle grid background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,212,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* NAV */
nav {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}
.logo {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 20px rgba(0,212,255,0.25), 0 0 40px rgba(136,85,255,0.15);
    flex-shrink: 0;
}
.logo-mark::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 10px;
    background: var(--bg);
}
.logo-ai {
    position: relative;
    z-index: 1;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
}
.logo-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}
.logo-text strong {
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.03em;
}
.nav-links { display: flex; gap: 28px; }
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(0,255,136,0.6); }
    50% { opacity: 0.3; box-shadow: none; }
}

/* HERO IMAGE SECTION */
.hero-image {
    position: relative;
    margin: 0 -24px;
    overflow: hidden;
}
.hero-bg {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}
.hero-robot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6,8,13,0.3) 0%,
        rgba(6,8,13,0.1) 30%,
        rgba(6,8,13,0.5) 70%,
        rgba(6,8,13,0.95) 100%
    );
    z-index: 1;
}

/* Animated data strings over hero */
.string-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}
.string {
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    opacity: 0.3;
}
.string::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 50px;
    border-radius: 2px;
    animation: stringFlow linear infinite;
}
@keyframes stringFlow {
    0% { top: -50px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
.string:nth-child(1) { left: 8%; }
.string:nth-child(1)::after { background: var(--accent); animation-duration: 3s; }
.string:nth-child(2) { left: 22%; }
.string:nth-child(2)::after { background: var(--purple); animation-duration: 4s; animation-delay: 1s; }
.string:nth-child(3) { left: 36%; }
.string:nth-child(3)::after { background: var(--accent2); animation-duration: 3.5s; animation-delay: 0.5s; }
.string:nth-child(4) { left: 50%; }
.string:nth-child(4)::after { background: var(--accent); animation-duration: 2.8s; animation-delay: 2s; }
.string:nth-child(5) { left: 64%; }
.string:nth-child(5)::after { background: var(--accent4); animation-duration: 3.2s; animation-delay: 0.8s; }
.string:nth-child(6) { left: 78%; }
.string:nth-child(6)::after { background: var(--purple); animation-duration: 4.2s; animation-delay: 1.5s; }
.string:nth-child(7) { left: 15%; }
.string:nth-child(7)::after { background: var(--accent); animation-duration: 3.8s; animation-delay: 0.3s; }
.string:nth-child(8) { left: 92%; }
.string:nth-child(8)::after { background: var(--accent2); animation-duration: 3s; animation-delay: 2.5s; }

/* Hero text overlay */
.hero-text {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 3;
    padding: 0 24px;
}
.hero-text h1 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-text h1 .highlight { color: var(--accent); }
.hero-text .subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

/* WELCOME SECTION */
.welcome {
    padding: 50px 24px;
    text-align: center;
}
.welcome h2 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 12px;
}
.welcome h2 .highlight { color: var(--accent); }
.welcome > p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
}
.stat { text-align: center; }
.stat .num {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
}
.stat .lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* CARDS */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--purple));
    opacity: 0;
    transition: opacity 0.25s;
}
.card:hover {
    border-color: rgba(0,212,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.card:hover::before { opacity: 1; }
.card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 700;
}
.card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.card .badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 14px;
}
.badge-live { background: var(--accent2-dim); color: var(--accent2); }
.badge-beta { background: var(--accent-dim); color: var(--accent); }
.badge-new { background: var(--purple-dim); color: var(--purple); }
.badge-planned { background: var(--accent4-dim); color: var(--accent4); }

/* TAGS */
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tag {
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.04);
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

/* GRID */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin: 24px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 24px 0; }

/* STAT BOXES */
.stat-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.stat-box .value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
}
.stat-box .label {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
}
.stat-box.cyan .value { color: var(--accent); }
.stat-box.green .value { color: var(--accent2); }
.stat-box.purple .value { color: var(--purple); }
.stat-box.red .value { color: var(--accent3); }

/* TABLE */
.data-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.data-table th, .data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}
.data-table th {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'JetBrains Mono', monospace;
}
.data-table td.green { color: var(--accent2); }
.data-table td.red { color: var(--accent3); }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { opacity: 0.85; box-shadow: 0 0 20px rgba(0,212,255,0.3); }
.btn-outline { border: 1px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* SECTION */
.section { padding: 40px 0; }
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* BACK LINK */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin: 24px 0;
    transition: color 0.2s;
    font-family: 'JetBrains Mono', monospace;
}
.back-link:hover { color: var(--accent); }

/* FOOTER */
footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 60px;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* DISCLAIMER */
.disclaimer {
    margin-top: 28px;
    padding: 20px 24px;
    background: rgba(255,68,102,0.05);
    border: 1px solid rgba(255,68,102,0.12);
    border-radius: 12px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.disclaimer .warn-label {
    color: var(--accent3);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    font-family: 'Orbitron', monospace;
}
.disclaimer p {
    color: #7a7a8a;
    font-size: 0.8rem;
    line-height: 1.7;
}
.disclaimer strong { color: var(--text); }

/* PROGRESS BAR */
.progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0;
}
.progress-bar .fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}

/* HUNT CARD (Golden Doodle) */
.hunt-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.hunt-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent2);
}
.signal { display: inline-block; padding: 4px 12px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.signal-strong { background: rgba(0,255,136,0.12); color: var(--accent2); }
.signal-moderate { background: rgba(0,212,255,0.12); color: var(--accent); }
.signal-watch { background: rgba(255,68,102,0.1); color: var(--accent3); }
.score-bar { display: flex; gap: 3px; margin: 10px 0; }
.score-bar .pip { width: 20px; height: 6px; border-radius: 3px; background: var(--border); }
.score-bar .pip.active { background: var(--accent2); }

/* RESPONSIVE */
@media (max-width: 600px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .stats { flex-direction: column; gap: 20px; }
    .hero-bg { height: 350px; }
    .hero-text h1 { font-size: 1.5rem; }
    .nav-links { gap: 16px; }
    .nav-link { font-size: 0.8rem; }
}

/* ANIMATIONS */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in {
    opacity: 0;
    animation: fadeUp 0.5s ease forwards;
}
