@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-deep: #0a0a0f;
  --bg-surface: #12121a;
  --bg-elevated: #1a1a26;
  --fg-primary: #e8e6f0;
  --fg-secondary: #8a8699;
  --fg-muted: #5a5670;
  --accent: #7c5cfc;
  --accent-glow: #9b7dff;
  --accent-dim: #5a3fd4;
  --green: #34d399;
  --green-dim: rgba(52, 211, 153, 0.12);
  --amber: #fbbf24;
  --red: #f87171;
  --border: rgba(138, 134, 153, 0.12);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--fg-primary);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(138, 134, 153, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 134, 153, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-secondary);
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

h1 .highlight {
  background: linear-gradient(135deg, var(--accent-glow), var(--accent), #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--fg-secondary);
  max-width: 540px;
  line-height: 1.7;
}

/* ── STATUS CONSOLE ── */
.status-console {
  margin-top: 48px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 520px;
}

.console-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--fg-muted);
}

.console-dots {
  display: flex;
  gap: 6px;
  margin-right: 8px;
}

.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fg-muted);
  opacity: 0.3;
}

.console-body {
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 2;
}

.console-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.console-line .icon {
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.console-line .text {
  color: var(--fg-secondary);
}

.console-line .val {
  margin-left: auto;
  color: var(--green);
  font-weight: 500;
}

.console-line .val.amber { color: var(--amber); }
.console-line .val.accent { color: var(--accent-glow); }

/* ── FEATURES ── */
.features {
  padding: 120px 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 600px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  max-width: 520px;
  margin-bottom: 64px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-surface);
  padding: 36px 28px;
  position: relative;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--bg-elevated);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 20px;
  background: rgba(124, 92, 252, 0.1);
  border: 1px solid rgba(124, 92, 252, 0.2);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 120px 0;
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}

.step {
  position: relative;
}

.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 48px;
  font-weight: 700;
  color: var(--bg-elevated);
  line-height: 1;
  margin-bottom: 16px;
  -webkit-text-stroke: 1px var(--fg-muted);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ── CLOSING ── */
.closing {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-content {
  position: relative;
  z-index: 1;
}

.closing h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.closing p {
  font-size: 1.1rem;
  color: var(--fg-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── FOOTER ── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer p {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: 'JetBrains Mono', monospace;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .features, .how-it-works, .closing {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .status-console {
    max-width: 100%;
  }

  .feature-card {
    padding: 28px 20px;
  }
}