:root {
  --bg: #0a0a0f;
  --bg-subtle: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --fg-dim: #55556a;
  --accent: #c8a2ff;
  --accent-bright: #d9bbff;
  --accent-dim: #7c5cb0;
  --accent-glow: rgba(200, 162, 255, 0.15);
  --green: #6ee7b7;
  --amber: #fbbf24;
  --red: #f87171;
  --border: #2a2a3a;
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  position: relative;
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 560px;
  font-size: 17px;
  color: var(--fg-muted);
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ===== TERMINAL ===== */
.hero-visual {
  width: 100%;
  max-width: 640px;
  position: relative;
}

.terminal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: var(--red); }
.dot.yellow { background: var(--amber); }
.dot.green { background: var(--green); }

.terminal-title {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--fg-dim);
  margin-left: 8px;
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 16px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap;
}

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

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

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

.t-status {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
}

.t-status.done {
  color: var(--green);
  background: rgba(110, 231, 183, 0.1);
}

.t-status.working {
  color: var(--amber);
  background: rgba(251, 191, 36, 0.1);
  animation: pulse 2s ease-in-out infinite;
}

.terminal-line.active {
  opacity: 0.8;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== PROBLEM ===== */
.problem {
  padding: 120px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.problem-text h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

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

.problem-highlight {
  color: var(--accent-bright) !important;
  font-weight: 500;
}

.problem-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-bright);
  margin-bottom: 4px;
}

.stat-label {
  color: var(--fg-muted);
  font-size: 14px;
}

/* ===== FEATURES ===== */
.features {
  padding: 120px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

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

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

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--accent-dim);
}

.feature-card.feature-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 24px;
  align-items: start;
}

.feature-large .feature-icon {
  grid-row: 1 / 3;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 10px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ===== NUMBERS ===== */
.numbers {
  padding: 100px 24px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.numbers-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.numbers-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.numbers-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.number-item {
  text-align: center;
}

.number-value {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--accent-bright);
  line-height: 1;
  margin-bottom: 8px;
}

.number-desc {
  color: var(--fg-muted);
  font-size: 14px;
}

.number-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

.numbers-note {
  color: var(--fg-dim);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== CLOSING ===== */
.closing {
  padding: 140px 24px;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

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

.closing-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.closing-inner p {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.7;
}

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

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

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card.feature-large {
    grid-column: 1;
    grid-template-columns: 1fr;
  }
  
  .feature-large .feature-icon {
    grid-row: auto;
  }
  
  .numbers-grid {
    gap: 24px;
  }
  
  .number-divider {
    display: none;
  }
  
  .terminal-line {
    font-size: 11px;
  }
  
  .t-time {
    min-width: 40px;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .hero {
    padding: 60px 20px 40px;
  }
}