:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-accent: #1a1a26;
  --fg-primary: #e8e8ec;
  --fg-secondary: #8888a0;
  --fg-muted: #55556a;
  --accent: #00ff88;
  --accent-dim: #00cc6a;
  --accent-glow: rgba(0, 255, 136, 0.15);
  --red: #ff4466;
  --yellow: #ffcc00;
  --blue: #4488ff;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-w: 1100px;
  --radius: 8px;
}

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

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-display);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.nav {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-logo span {
  color: var(--fg-muted);
  font-weight: 400;
}
.nav-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-muted);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* HERO */
.hero {
  padding: 100px 0 60px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-label .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  max-width: 700px;
  margin-bottom: 24px;
}
.hero h1 .highlight {
  color: var(--accent);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-secondary);
  max-width: 520px;
  line-height: 1.7;
}

/* TICKER */
.ticker {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
  overflow: hidden;
  background: var(--bg-secondary);
}
.ticker-track {
  display: flex;
  gap: 48px;
  animation: scroll 30s linear infinite;
  width: max-content;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  white-space: nowrap;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticker-item .tag {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tag-patch { background: rgba(0,255,136,0.15); color: var(--accent); }
.tag-news { background: rgba(68,136,255,0.15); color: var(--blue); }
.tag-meta { background: rgba(255,204,0,0.15); color: var(--yellow); }
.tag-alert { background: rgba(255,68,102,0.15); color: var(--red); }

/* FEATURES */
.features {
  padding: 100px 0;
}
.features-header {
  margin-bottom: 60px;
}
.features-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.features-header p {
  color: var(--fg-secondary);
  font-size: 1rem;
  max-width: 480px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s;
}
.feature-card:hover {
  border-color: rgba(0,255,136,0.2);
}
.feature-icon {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 6px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* HOW */
.how {
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.how h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 48px;
}
.how-steps {
  display: flex;
  gap: 40px;
}
.how-step {
  flex: 1;
  position: relative;
  padding-left: 20px;
  border-left: 2px solid rgba(255,255,255,0.06);
}
.how-step.active {
  border-left-color: var(--accent);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.how-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.how-step p {
  font-size: 0.85rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* CLOSING */
.closing {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
}
.closing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.closing-content {
  position: relative;
  z-index: 1;
}
.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.closing p {
  color: var(--fg-secondary);
  font-size: 1rem;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.7;
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.footer-right {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.5px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 60px 0 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; gap: 24px; }
  .closing { padding: 60px 0; }
}