:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e6f0;
  --fg-muted: #8b87a0;
  --accent: #a855f7;
  --accent-glow: rgba(168, 85, 247, 0.3);
  --accent-soft: rgba(168, 85, 247, 0.1);
  --gradient-start: #a855f7;
  --gradient-end: #6366f1;
  --border: rgba(139, 135, 160, 0.12);
  --radius: 12px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

* { 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.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 8% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pulse-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.3;
  animation: pulse 3s ease-in-out infinite;
}

.pulse-ring.delay-1 { animation-delay: 1s; }
.pulse-ring.delay-2 { animation-delay: 2s; }

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.4; }
  50% { transform: scale(1.4); opacity: 0.1; }
  100% { transform: scale(0.8); opacity: 0.4; }
}

.agent-icon {
  font-size: 64px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

/* ========== PROBLEM ========== */
.problem {
  padding: 120px 8%;
  background: var(--bg-elevated);
}

.problem-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.problem-stat {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 48px;
}

.problem-stat .accent {
  color: var(--accent);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s;
}

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

.problem-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

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

.problem-coda {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  color: var(--fg);
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ========== FEATURES ========== */
.features {
  padding: 120px 8%;
  max-width: 1000px;
  margin: 0 auto;
}

.section-intro {
  font-size: 20px;
  color: var(--fg-muted);
  margin-bottom: 64px;
  max-width: 500px;
}

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

.feature-item {
  display: flex;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.feature-item:first-child {
  border-top: 1px solid var(--border);
}

.feature-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  flex-shrink: 0;
  width: 80px;
  line-height: 1;
}

.feature-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-content p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ========== HOW ========== */
.how {
  padding: 120px 8%;
  background: var(--bg-elevated);
}

.how-steps {
  max-width: 600px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.how-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-marker {
  color: var(--accent);
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-content p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
}

.step-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin-left: 6px;
}

/* ========== CLOSING ========== */
.closing {
  padding: 120px 8%;
  text-align: center;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.closing-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 60px 8%;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-tagline {
  color: var(--fg-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-copy {
  color: var(--fg-muted);
  font-size: 12px;
  opacity: 0.6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 6% 80px;
    min-height: auto;
  }

  .hero-grid {
    max-width: 100%;
  }

  .hero-sub {
    margin: 0 auto;
  }

  .hero-visual {
    width: 200px;
    height: 200px;
    margin-top: 40px;
  }

  .pulse-ring {
    width: 140px;
    height: 140px;
  }

  .agent-icon {
    font-size: 48px;
  }

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

  .feature-item {
    flex-direction: column;
    gap: 12px;
  }

  .feature-number {
    width: auto;
    font-size: 36px;
  }

  .closing-stats {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .how-steps {
    margin: 32px auto 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.4rem;
    letter-spacing: -1px;
  }

  .problem-stat {
    font-size: 1.4rem;
  }

  .closing h2 {
    font-size: 1.8rem;
  }
}
