:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e8ef;
  --fg-muted: #8888a0;
  --accent: #6c5ce7;
  --accent-glow: rgba(108, 92, 231, 0.3);
  --pushback: #ff6b6b;
  --pushback-glow: rgba(255, 107, 107, 0.15);
  --green: #00d2a0;
  --telegram-blue: #2aabee;
  --radius: 12px;
  --max-w: 1100px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  background:
    radial-gradient(ellipse 600px 400px at 30% 20%, var(--accent-glow), transparent),
    radial-gradient(ellipse 500px 300px at 70% 70%, var(--pushback-glow), transparent),
    var(--bg);
}

.hero-inner {
  max-width: var(--max-w);
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 32px;
  font-weight: 500;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--telegram-blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

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

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

.lede {
  font-size: 1.25rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ─── CHAT DEMO ─── */
.hero-demo {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  padding: 14px 18px;
  border-radius: 16px;
  max-width: 420px;
  position: relative;
}

.chat-bubble.bot {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  align-self: flex-start;
}

.chat-bubble.user {
  background: var(--telegram-blue);
  color: #fff;
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
}

.chat-bubble.pushback {
  background: linear-gradient(135deg, rgba(108,92,231,0.15), rgba(255,107,107,0.1));
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.chat-label {
  font-size: 0.7rem;
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  display: block;
  margin-bottom: 6px;
}

.chat-bubble.user .chat-label {
  color: rgba(255,255,255,0.7);
}

.chat-bubble p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.pushback-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pushback);
  background: rgba(255,107,107,0.1);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* ─── PROBLEM ─── */
.problem {
  padding: 120px 24px;
  background: var(--bg-elevated);
}

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

.problem h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}

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

.problem-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.04);
}

.problem-stat {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: 'DM Mono', monospace;
  color: var(--pushback);
  margin-bottom: 16px;
  line-height: 1;
}

.problem-card p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* ─── FEATURES ─── */
.features {
  padding: 120px 24px;
}

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

.features h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.features-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  margin-bottom: 64px;
}

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

.feature-block {
  padding: 40px 36px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.04);
  transition: border-color 0.3s;
}

.feature-block:hover {
  border-color: rgba(108, 92, 231, 0.3);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.1);
  border-radius: 10px;
  color: var(--accent);
}

.feature-block h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-block p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── HOW ─── */
.how {
  padding: 120px 24px;
  background: var(--bg-elevated);
}

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

.how h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.step:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 3rem;
  font-weight: 500;
  color: rgba(108, 92, 231, 0.4);
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
}

.step-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
}

/* ─── CLOSING ─── */
.closing {
  padding: 140px 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 500px 400px at 50% 50%, var(--accent-glow), transparent),
    var(--bg);
}

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

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.25;
}

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

.closing-tagline {
  color: var(--accent) !important;
  font-weight: 600;
  font-size: 1.2rem !important;
}

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

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.footer-brand {
  font-weight: 600;
  color: var(--fg);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .feature-blocks {
    grid-template-columns: 1fr;
  }
  .step {
    flex-direction: column;
    gap: 16px;
  }
  .step-num {
    font-size: 2rem;
  }
  .hero {
    padding: 60px 20px 40px;
    min-height: auto;
  }
  .problem,
  .features,
  .how {
    padding: 80px 20px;
  }
  .closing {
    padding: 100px 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .chat-bubble {
    max-width: 100%;
  }
}