:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8b8b9e;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --accent-glow: rgba(0, 229, 160, 0.3);
  --orange: #ff6b35;
  --border: #1e1e2a;
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  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: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 160, 0.2);
  margin-bottom: 32px;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 24px;
}

.hero-accent {
  background: linear-gradient(135deg, var(--accent), #00b8d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Demo Window */
.hero-demo { width: 100%; max-width: 640px; }

.demo-window {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 229, 160, 0.08), 0 0 0 1px rgba(0, 229, 160, 0.05);
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

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

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.demo-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-left: auto;
}

.demo-body { padding: 24px; }

.demo-prompt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.demo-caret {
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.demo-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg);
  line-height: 1.5;
}

.demo-progress {
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  margin-bottom: 16px;
  overflow: hidden;
}

.demo-progress-bar {
  height: 100%;
  width: 85%;
  background: linear-gradient(90deg, var(--accent), #00b8d4);
  border-radius: 999px;
  animation: progress-pulse 2s ease-in-out infinite;
}

@keyframes progress-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.demo-output {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  padding: 10px 14px;
  background: var(--accent-dim);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.how-it-works h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  text-align: center;
}

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

.step {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: border-color 0.3s;
}

.step:hover {
  border-color: rgba(0, 229, 160, 0.3);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}

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

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

/* ---- TIERS ---- */
.tiers {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.tiers h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 12px;
}

.tiers-sub {
  text-align: center;
  color: var(--fg-muted);
  margin-bottom: 56px;
  font-size: 1.1rem;
}

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

.tier {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
}

.tier-medium {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-dim);
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.tier-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.tier-medium .tier-price { color: var(--accent); }

.tier-name {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  font-weight: 500;
}

.tier ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tier li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}

.tier li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- WHY ---- */
.why {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.why-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comp-row {
  display: grid;
  grid-template-columns: 100px 1fr 40px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.comp-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comp-old {
  color: var(--fg-muted);
  text-decoration: line-through;
  font-size: 0.9rem;
}

.comp-arrow {
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.8rem;
}

.comp-new {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.why-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 16px;
}

.stat {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent), #00b8d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ---- CLOSING ---- */
.closing {
  padding: 120px 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, rgba(0, 229, 160, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing h2 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.2;
  position: relative;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

/* ---- 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 {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-tagline {
  color: var(--fg-muted);
  font-size: 0.85rem;
}

.footer-meta {
  color: var(--fg-muted);
  font-size: 0.8rem;
}

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

  .tiers-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-stats {
    flex-direction: row;
  }

  .stat { flex: 1; }

  .comp-row {
    grid-template-columns: 70px 1fr 30px 1fr;
    font-size: 0.85rem;
    padding: 10px 12px;
  }

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

  .footer-brand {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .why-stats {
    flex-direction: column;
  }

  .hero { padding: 60px 20px 40px; }
}

/* ---- HERO CTA BUTTON ---- */
.hero-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 36px;
  padding: 18px 40px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 8px 32px rgba(0, 229, 160, 0.25);
}

.hero-cta:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 229, 160, 0.35);
}

.hero-cta-sub {
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.7;
  font-family: var(--font-mono);
}

/* ---- TIER CTA BUTTONS ---- */
.tier-cta {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 12px 20px;
  text-align: center;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0, 229, 160, 0.3);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.15s;
}

.tier-cta:hover {
  background: var(--accent);
  color: var(--bg);
}

.tier-medium .tier-cta {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.tier-medium .tier-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 229, 160, 0.3);
}