:root {
    --bg: #0f1923;
    --bg-card: #1a2332;
    --felt: #1b6e2e;
    --felt-dark: #145523;
    --felt-light: #22873a;
    --gold: #ffd54f;
    --gold-dim: #c9a83a;
    --text: #e0e0e0;
    --text-dim: #8899a6;
    --red: #d32f2f;
    --accent: #6e8eff;
    --border: rgba(255,255,255,0.08);
    --radius: 12px;
}

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

/* ── Site Nav ─────────────────────────────────────────────────── */
.site-nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 44px;
    background: rgba(10,18,26,0.95); border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky; top: 0; z-index: 100; backdrop-filter: blur(8px);
}
.nav-brand {
    font-size: 0.95em; font-weight: 700; color: #fff; text-decoration: none;
    letter-spacing: 0.5px;
}
.nav-links { display: flex; gap: 4px; }
.nav-link {
    padding: 6px 14px; border-radius: 6px; font-size: 0.82em; font-weight: 600;
    color: #8899a6; text-decoration: none; transition: all 0.15s;
}
.nav-link:hover { color: #e0e0e0; background: rgba(255,255,255,0.06); }
.nav-link.active { color: #fff; background: rgba(27,110,46,0.35); }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 24px 60px;
    background: linear-gradient(135deg, #0f1923 0%, #1a2a3a 30%, #162030 70%, #0f1923 100%);
    border-bottom: 1px solid var(--border);
}

.hero-content { max-width: 700px; margin: 0 auto; }

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.logo h1 {
    font-size: 3.2em;
    font-weight: 800;
    letter-spacing: 3px;
    color: #fff;
}

.suit {
    font-size: 2em;
    opacity: 0.5;
    color: var(--text);
}

.suit.red { color: var(--red); }

.tagline {
    font-size: 1.15em;
    color: var(--text-dim);
    margin-top: 8px;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: -30px auto 0;
    padding: 0 24px 48px;
    position: relative;
    z-index: 1;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.15);
}

.tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(27,110,46,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.suit-icon {
    font-size: 1.8em;
    color: var(--text);
}

.suit-icon.red { color: var(--red); }

.tool-card h2 {
    font-size: 1.4em;
    font-weight: 700;
    color: #fff;
}

.tool-card p {
    font-size: 0.92em;
    color: var(--text-dim);
    line-height: 1.6;
    flex: 1;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78em;
    font-weight: 600;
    background: rgba(255,255,255,0.06);
    color: var(--text-dim);
    border: 1px solid var(--border);
}

.tool-action {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--felt-light);
    margin-top: 4px;
}

.tool-card:hover .tool-action { color: #4caf50; }

/* About Section */
.about-section {
    padding: 48px 24px 60px;
    border-top: 1px solid var(--border);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 1.4em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    text-align: center;
}

.bot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}

.bot-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 16px;
}

.bot-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.68em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.bot-badge.heuristic {
    background: rgba(255,152,0,0.15);
    color: #ffb74d;
}

.bot-badge.rl {
    background: rgba(110,142,255,0.15);
    color: var(--accent);
}

.bot-badge.best {
    background: rgba(102,187,106,0.15);
    color: #66bb6a;
}

.bot-card h3 {
    font-size: 1em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.bot-card p {
    font-size: 0.82em;
    color: var(--text-dim);
    line-height: 1.5;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.82em;
    color: var(--text-dim);
}

/* Responsive */
@media (max-width: 700px) {
    .hero { padding: 50px 20px 40px; }
    .logo h1 { font-size: 2.2em; }
    .suit { font-size: 1.4em; }
    .tools-grid { grid-template-columns: 1fr; margin-top: -20px; }
    .bot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
    .bot-grid { grid-template-columns: 1fr; }
}
