/* DataSearch — Vitrine statique (Cloudflare Pages). Thème "GitHub-dark". */

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

:root {
    --ink: #0a0c10;
    --panel: #0f1117;
    --line: #21262d;
    --line-h: #30363d;
    --paper: #c9d1d9;
    --muted: #6e7681;
    --signal: #58a6ff;
    --stamp: #d29922;
    --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Cascadia Code', monospace;
}

html, body {
    width: 100%; min-height: 100vh;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-ui);
    line-height: 1.5;
}

/* ── Nav ── */
nav {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center;
    padding: 16px 32px;
    border-bottom: 1px solid var(--line);
    background: rgba(10,12,16,0.9);
    backdrop-filter: blur(10px);
}
.nav-logo {
    font-family: var(--font-mono); font-size: 15px; font-weight: 500;
    letter-spacing: -0.02em; color: var(--signal); text-decoration: none;
}
.nav-logo span { color: var(--muted); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.btn-nav {
    font-size: 13px; font-weight: 500; text-decoration: none;
    padding: 7px 16px; border-radius: 6px;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.btn-nav-ghost { color: var(--muted); border: 1px solid transparent; }
.btn-nav-ghost:hover { color: var(--paper); background: var(--panel); }
.btn-nav-fill { color: var(--ink); background: var(--signal); font-weight: 600; }
.btn-nav-fill:hover { background: #79c0ff; }

/* ── Hero ── */
.hero {
    max-width: 1080px; margin: 0 auto;
    padding: 88px 32px 80px;
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px;
    align-items: center;
}
.hero-eyebrow {
    font-family: var(--font-mono); font-size: 12px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 18px;
}
.hero-title {
    font-size: clamp(34px, 4.4vw, 50px); font-weight: 800;
    line-height: 1.12; letter-spacing: -0.03em;
    color: #e6edf3; margin-bottom: 20px;
}
.hero-sub { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 480px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-cta {
    font-size: 14px; font-weight: 600; text-decoration: none;
    padding: 12px 24px; border-radius: 8px;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn-cta-primary { background: var(--signal); color: var(--ink); border: 1px solid var(--signal); }
.btn-cta-primary:hover { background: #79c0ff; }
.btn-cta-primary:active { transform: scale(0.98); }
.btn-cta-secondary { background: transparent; color: var(--paper); border: 1px solid var(--line-h); }
.btn-cta-secondary:hover { background: var(--panel); }
.hero-note { font-size: 12.5px; color: var(--muted); }

/* ── Console panel ── */
.console { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.console-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-h); }
.console-name { margin-left: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.console-body { padding: 16px 18px; font-family: var(--font-mono); font-size: 13px; }
.console-row {
    display: flex; align-items: baseline; gap: 10px;
    padding: 5px 0; opacity: 0;
    animation: console-in 0.4s ease-out forwards;
}
.console-row .k::before { content: '›'; color: var(--line-h); margin-right: 8px; }
.console-row .k { color: var(--muted); }
.console-divider { height: 1px; background: var(--line); margin: 8px 0; }
.console-total { padding-top: 6px; }
.console-total .k { color: var(--muted); }
.console-total .v { color: var(--stamp); font-weight: 600; }
.cursor {
    display: inline-block; width: 7px; height: 14px; margin-left: 6px;
    background: var(--stamp); vertical-align: -2px;
    animation: cursor-blink 1s step-end infinite;
}
@keyframes console-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cursor-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .console-row { animation: none; opacity: 1; }
    .cursor { animation: none; }
}

/* ── Features ── */
.features { max-width: 1080px; margin: 0 auto; padding: 0 32px 96px; }
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--line); border: 1px solid var(--line);
    border-radius: 12px; overflow: hidden;
}
.feat { background: var(--panel); padding: 30px 28px; }
.feat-tag { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; color: var(--signal); letter-spacing: 0.02em; margin-bottom: 14px; }
.feat-title { font-size: 16px; font-weight: 700; color: #e6edf3; margin-bottom: 8px; }
.feat-text { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ── Footer ── */
footer {
    border-top: 1px solid var(--line);
    padding: 24px 32px;
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1080px; margin: 0 auto;
}
.footer-brand { font-family: var(--font-mono); font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-brand span { color: var(--line-h); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--paper); }

/* ── Responsive ── */
@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; padding: 56px 24px 64px; }
    .features { padding: 0 24px 64px; }
    .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    nav { padding: 14px 20px; }
    footer { flex-direction: column; gap: 14px; text-align: center; padding: 24px 20px; }
}
