:root {
  --bg: #0b0f14;
  --panel: #121722;
  --panel-2: #0f141c;
  --text: #d5e2df;
  --muted: #93a4a0;
  --accent: #00f5a0;
  --accent-2: #4cc9f0;
  --warn: #ffd166;
  --danger: #ff4d4f;
  --ok: #22c55e;
  --grid: #1b2533;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #0b0f14 0%, #0b0f14cc 80%, #0b0f1400 100%);
  border-bottom: 1px solid var(--grid);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--grid);
  background: #0d141c;
  color: var(--text);
  border-radius: 8px;
  padding: 8px 10px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.brand-text { letter-spacing: 0.5px; color: var(--text); font-weight: 700; }

.nav { display: flex; gap: 16px; align-items: center; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.nav a:hover { color: var(--text); }
.nav .cta { color: var(--accent); border-bottom: 1px dashed var(--accent); }

.ticker {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
  font-size: 13px;
  color: var(--text);
  background: #06090e;
  border-top: 1px solid var(--grid);
  border-bottom: 1px solid var(--grid);
  overflow-x: auto;
  white-space: nowrap;
}
.tick { margin-right: 28px; opacity: 0.95; }
.tick .sym { color: #9bb8b0; margin-right: 8px; }
.tick .chg.up { color: var(--ok); }
.tick .chg.down { color: var(--danger); }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 48px 20px; }
.hero-copy h1 { font-size: 40px; line-height: 1.15; margin: 0 0 16px; }
.accent { color: var(--accent); }
.hero-copy p { color: var(--muted); margin: 0 0 18px; max-width: 56ch; }
.actions { display: flex; gap: 12px; margin-bottom: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-size: 12px; color: #9fb1ae; background: #0c131a; border: 1px solid var(--grid);
  padding: 6px 10px; border-radius: 6px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--grid); border-radius: 8px; padding: 10px 14px;
  text-decoration: none; color: var(--text); cursor: pointer; transition: all .2s;
}
.btn.small { padding: 8px 10px; font-size: 13px; }
.btn-primary { background: linear-gradient(90deg, #00f5a0, #00d9f5); color: #041014; font-weight: 700; }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-secondary { background: #0d141c; }
.btn-secondary:hover { border-color: var(--accent-2); color: var(--accent-2); }

.hero-terminal { display: flex; align-items: center; }
.terminal {
  width: 100%; background: var(--panel-2); border: 1px solid #193142;
  border-radius: 12px; box-shadow: var(--shadow);
}
.terminal-header {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  border-bottom: 1px solid #17303f; background: #0c141b;
}
.led { width: 10px; height: 10px; border-radius: 50%; opacity: 0.85; }
.led-red { background: #ff5f56; } .led-yellow { background: #ffbd2e; }
.led-green { background: #27c93f; }
.terminal-header .title { margin-left: auto; color: #7fa4a3; font-size: 12px; }
.terminal-body { padding: 10px 12px 12px; }
.snapshot { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; }
.snapshot .row { display: flex; justify-content: space-between; font-size: 13px; background: #0b1217; border: 1px solid #0f2633; border-radius: 8px; padding: 8px 10px; }
.snapshot .sym { color: #9bb8b0; }
.snapshot .px { color: var(--text); }
.snapshot .chg.up { color: var(--ok); }
.snapshot .chg.down { color: var(--danger); }

.section { padding: 64px 20px; }
.section h2 { font-size: 28px; margin: 0 0 10px; }
.section-sub { color: var(--muted); margin-top: 0; margin-bottom: 16px; }
.section.alt { background: radial-gradient(1200px 400px at 20% 0%, rgba(0,245,160,0.06), transparent 60%) no-repeat; }
.section.striped { background: linear-gradient(180deg, rgba(28,38,52,0.25) 0, rgba(0,0,0,0) 100%); border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); }
.section.inset { background: #0c131a; border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); }
.grid { display: grid; gap: 16px; }
.features-grid { grid-template-columns: repeat(4, 1fr); }
.mini { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--grid); border-radius: 12px;
  padding: 16px; min-height: 140px;
}
.card h3 { margin: 6px 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); }
.card-ico { height: 24px; }
.ico { width: 24px; height: 24px; fill: var(--accent); }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-step { background: var(--panel); border: 1px solid var(--grid); border-radius: 12px; padding: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: #0c131a; border: 1px solid var(--grid); color: #9fb1ae; padding: 8px 12px; border-radius: 999px; font-size: 13px; }

.cta { text-align: center; }

.site-footer { border-top: 1px solid var(--grid); padding: 20px 0 30px; }
.footer-inner { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.disclaimer { color: var(--muted); max-width: 70ch; font-size: 12px; }
.foot-nav { display: flex; gap: 12px; color: var(--muted); font-size: 13px; }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--text); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .mini, .how-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; background: #0c131a; border-bottom: 1px solid var(--grid); display: none; flex-direction: column; padding: 10px 20px; gap: 10px; }
  .nav.open { display: flex; }
  .header-inner { position: relative; }
  .hero-copy h1 { font-size: 28px; }
  .snapshot { grid-template-columns: 1fr; }
}
