:root {
  --bg: #0b0f19;
  --bg-card: #111827;
  --bg-elevated: #1f2937;
  --border: #374151;
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --accent: #10b981;
  --warning: #f59e0b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: #818cf8; text-decoration: none; transition: 0.15s; }
a:hover { color: #a5b4fc; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.navbar {
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.brand { font-weight: 800; font-size: 1.2rem; color: #fff; display: flex; align-items: center; gap: 0.5rem; }
.brand span { background: linear-gradient(135deg, #6366f1, #10b981); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; font-size: 0.92rem; }
.nav-links a { color: var(--text-muted); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.6rem 1.15rem; border-radius: 0.5rem; font-weight: 600; font-size: 0.92rem;
  cursor: pointer; border: none; transition: 0.2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #052e16; font-weight: 700; }
.btn-accent:hover { background: #34d399; color: #052e16; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background: var(--bg-elevated); color: #fff; }
.hero { padding: 3.2rem 0 2rem; text-align: center; }
.badge {
  display: inline-block; padding: 0.3rem 0.85rem; border-radius: 999px;
  background: rgba(99, 102, 241, 0.15); border: 1px solid rgba(99, 102, 241, 0.4);
  color: #a5b4fc; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.18; margin-bottom: 0.9rem; }
.hero p { color: var(--text-muted); max-width: 720px; margin: 0 auto 1.5rem; font-size: 1.08rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 0.85rem; padding: 1.5rem;
}
.card h2, .card h3 { margin-bottom: 0.65rem; color: #fff; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.35rem; }
.input, select, textarea {
  width: 100%; padding: 0.65rem 0.85rem; border-radius: 0.5rem;
  background: var(--bg-elevated); border: 1px solid var(--border);
  color: #fff; font-size: 0.95rem; font-family: inherit;
}
.input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { padding: 0.85rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--text-muted); font-weight: 600; background: rgba(31, 41, 55, 0.5); }
tr:hover td { background: rgba(255, 255, 255, 0.02); }
.kpi-box {
  background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 0.75rem; padding: 1.15rem; text-align: center;
}
.kpi-val { font-size: 1.8rem; font-weight: 800; color: #34d399; }
.kpi-lbl { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.vault-banner {
  margin: 2.5rem 0; padding: 2rem; border-radius: 1rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(16, 185, 129, 0.14));
  border: 1px solid rgba(99, 102, 241, 0.45);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.vault-banner h3 { font-size: 1.4rem; margin-bottom: 0.4rem; color: #fff; }
.vault-banner p { color: #d1d5db; max-width: 680px; font-size: 0.96rem; }
.price-tag { font-size: 1.5rem; font-weight: 800; color: #34d399; }
.price-strike { text-decoration: line-through; color: var(--text-muted); font-size: 1rem; margin-right: 0.4rem; }
pre.code-out {
  background: #050811; border: 1px solid var(--border); border-radius: 0.6rem;
  padding: 1rem; overflow-x: auto; font-family: 'Consolas', monospace; font-size: 0.86rem; color: #a7f3d0;
  white-space: pre-wrap;
}
footer {
  margin-top: 4rem; padding: 2.5rem 0; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.88rem;
}