:root {
  --bg: #0a0f1a;
  --bg-secondary: #0f1629;
  --bg-card: #141c33;
  --fg: #e8eaf0;
  --fg-muted: #8892a8;
  --fg-dim: #5a6480;
  --accent: #4af0c0;
  --accent-glow: rgba(74, 240, 192, 0.15);
  --accent-secondary: #7c6bf0;
  --warning: #f0a04a;
  --red: #f05a5a;
  --yellow: #f0d04a;
  --green: #4af07a;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1140px;
  --radius: 12px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============ HERO ============ */
.hero {
  padding: 100px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-inner {
  margin-bottom: 48px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(74, 240, 192, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.65;
}

/* ============ TERMINAL ============ */
.hero-visual {
  max-width: 780px;
}

.terminal {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--green); }

.terminal-title {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--fg-dim);
  margin-left: 8px;
}

.terminal-body {
  padding: 20px;
}

.terminal-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
  font-family: var(--font-display);
}

.terminal-line:last-child { border-bottom: none; }

.t-time {
  color: var(--fg-dim);
  min-width: 65px;
  font-size: 13px;
}

.t-action {
  color: var(--accent);
  font-weight: 500;
  min-width: 160px;
}

.t-detail {
  color: var(--fg-muted);
  flex: 1;
}

.terminal-line.active {
  background: var(--accent-glow);
  border-radius: 6px;
  padding: 10px 12px;
  margin-top: 4px;
}

.terminal-line.active .t-time {
  color: var(--accent);
  font-weight: 600;
}

/* ============ PROBLEM ============ */
.problem {
  padding: 100px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.problem-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.problem-icon {
  font-size: 24px;
  color: var(--warning);
  margin-bottom: 12px;
}

.problem-stat {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 8px;
}

.problem-label {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.5;
}

.problem-cta {
  font-size: 19px;
  color: var(--fg-muted);
  font-style: italic;
  max-width: 640px;
}

/* ============ FEATURES ============ */
.features {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.features-header {
  margin-bottom: 56px;
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.features-header p {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 560px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(74, 240, 192, 0.2);
}

.feature-card.large {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(74, 240, 192, 0.04) 100%);
  border-color: rgba(74, 240, 192, 0.12);
}

.feature-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ============ HOW ============ */
.how {
  padding: 100px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.how-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.how-step {
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: rgba(74, 240, 192, 0.12);
  line-height: 1;
  margin-bottom: 16px;
}

.how-step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.how-step p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ============ CLOSING ============ */
.closing {
  padding: 120px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.closing p {
  color: var(--fg-muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.closing-accent {
  color: var(--accent) !important;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px !important;
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-dim);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .hero { padding: 60px 20px 50px; }
  .hero-sub { font-size: 17px; }

  .terminal-line { font-size: 12px; }
  .t-action { min-width: auto; }
  .t-time { min-width: 50px; font-size: 11px; }

  .problem { padding: 60px 20px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-stat { font-size: 36px; }

  .features { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.large { grid-column: auto; }

  .how { padding: 60px 20px; }
  .how-steps { grid-template-columns: 1fr; gap: 32px; }

  .closing { padding: 80px 20px; }

  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 36px; }
  .terminal-body { padding: 12px; }
  .terminal-line { flex-direction: column; gap: 2px; }
}