:root {
  --bg:#0b0f14;
  --panel:#0f141b99;
  --border:#1c2430;
  --text:#e6edf6;
  --muted:#a2b0c2;
  --primary:#7aa2ff;
  --primary-2:#9b7aff;
  --accent:#00d1b2;
  --danger:#ff6b6b;
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --radius:14px;
  --radius-sm:10px;
  --glass:backdrop-filter: saturate(160%) blur(14px);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: linear-gradient(180deg, #0b0f14 0%, #0f141b 50%, #0b0f14 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--text); text-decoration: none; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Header */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(11,15,20,0.85), rgba(11,15,20,0.6));
  --h:64px;
  height: var(--h);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: saturate(140%) blur(10px);
}
.nav { display: flex; align-items: center; justify-content: center; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 36px; height: 36px; border-radius: 9px;
  object-fit: contain;
}
.brand-name { font-weight: 700; letter-spacing: .2px; }

.cta { display: none; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--border); color: var(--text);
  background: #131922; transition: all .2s ease;
}
.btn:hover { transform: translateY(-1px); border-color:#2b3545; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color:#0b0f14; border-color: transparent; font-weight: 700; }

.menu-btn { display: none; }

/* Mobile drawer */
.drawer { position: fixed; inset: 64px 0 auto 0; background: rgba(11,15,20,.9); backdrop-filter: blur(10px); border-bottom:1px solid var(--border); display: none; }
.drawer.open { display: block; }
.drawer .container { padding: 18px 16px 22px; }
.drawer a { display: block; padding: 12px 0; color: var(--muted); }

/* Hero */
.hero { padding: 56px 0 24px; }
.hero-grid { display: grid; gap: 22px; }
.overline { color: var(--accent); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.title {
  font-size: 36px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #c9d6ea);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { color: var(--muted); max-width: 60ch; }

.search-card {
  margin-top: 12px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19,25,34,.7), rgba(19,25,34,.55));
  box-shadow: var(--shadow);
  padding: 12px; display: grid; gap: 10px;
  backdrop-filter: blur(10px) saturate(160%);
}
.search {
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  background: #0f141b; border:1px solid var(--border); border-radius: 12px; padding: 8px;
}
.search input {
  height: 46px; border: 0; outline: 0; background: transparent; color: var(--text);
  padding: 0 12px; font-size: 15px;
}
.search .btn { height: 46px; padding: 0 16px; }
.hints { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12px; color: var(--muted); border:1px dashed #2a3444; padding: 6px 10px; border-radius: 999px; }

/* Sections */
section { padding: 40px 0; }
.section-title { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.cards { display: grid; gap: 12px; }
.card { border:1px solid var(--border); border-radius: var(--radius-sm); background: rgba(19,25,34,.55); padding: 16px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); }

/* Results */
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metric { border:1px solid var(--border); border-radius: var(--radius-sm); background: #0f141b; padding: 14px; text-align: center; }
.metric .num { font-size: 24px; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric .label { color: var(--muted); font-size: 12px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { border:1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: rgba(19,25,34,.55); }
.faq-q { display:flex; align-items:center; justify-content:space-between; padding: 14px; cursor:pointer; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 14px; }
.faq-item.open .faq-a { padding: 0 14px 14px; }

/* Footer */
footer { border-top:1px solid var(--border); padding: 24px 0 60px; color: var(--muted); }

/* Desktop */
@media (min-width: 768px) {
  header.site-header { --h:72px; }
  .nav { justify-content: space-between; }
  .cta { display: flex; }
  .hero { padding: 84px 0 32px; }
  .title { font-size: 56px; }
  .hero-grid { grid-template-columns: 1.2fr .8fr; align-items: center; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .metrics { grid-template-columns: repeat(4,1fr); }
}
