:root {
  --bg: #0a0e27;
  --bg-raised: #111538;
  --bg-card: #161a3a;
  --fg: #e2e8f0;
  --fg-muted: #94a3b8;
  --fg-dim: #64748b;
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --accent-glow: rgba(245, 158, 11, 0.25);
  --green: #22c55e;
  --red: #ef4444;
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1120px;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; }

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

.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  max-width: var(--max-w);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--fg-dim);
  line-height: 1.35;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.1);
}

/* ============ CHAT WIDGET ============ */
.chat-widget {
  background: var(--bg-raised);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
}

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

.chat-dot.green { background: var(--green); box-shadow: 0 0 8px rgba(34,197,94,0.5); }

.chat-status {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 500;
}

.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 380px;
}

.msg { display: flex; gap: 10px; }

.msg.customer {
  flex-direction: column;
  align-items: flex-end;
}

.msg.customer .msg-bubble {
  background: var(--accent);
  color: #0a0e27;
  border-radius: 14px 14px 4px 14px;
  max-width: 85%;
}

.msg.agent { align-items: flex-start; }

.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #0a0e27;
  flex-shrink: 0;
  margin-top: 2px;
}

.msg-content { display: flex; flex-direction: column; gap: 4px; }

.msg-bubble {
  padding: 12px 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  background: var(--bg-card);
  border-radius: 14px 14px 14px 4px;
  border: 1px solid rgba(255,255,255,0.05);
}

.msg-time {
  font-size: 0.7rem;
  color: var(--fg-dim);
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--fg-dim);
  font-size: 0.85rem;
}

.send-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0e27;
}

/* ============ PROOF BAR ============ */
.proof {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 24px 40px;
  background: var(--bg-raised);
}

.proof-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
}

/* ============ SECTIONS SHARED ============ */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

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

.section-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 580px;
  margin-top: 12px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
  padding: 100px 0;
}

.steps {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(245,158,11,0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
}

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

.step-content p {
  color: var(--fg-muted);
  max-width: 480px;
  font-size: 0.95rem;
}

.step-line {
  width: 80px;
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.step-line::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-glow), transparent);
}

/* ============ INDUSTRIES ============ */
.industries {
  padding: 100px 0;
  background: var(--bg-raised);
}

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

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

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

.industry-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.industry-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ============ PRICING ============ */
.pricing {
  padding: 100px 0;
}

.pricing-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.pricing-old {
  background: var(--bg-raised);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px;
}

.pricing-old h4 {
  font-size: 1rem;
  color: var(--fg-dim);
  margin-bottom: 20px;
}

.pricing-new {
  background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(245,158,11,0.02));
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: #0a0e27;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}

.pricing-new h4 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.pricing-old ul, .pricing-new ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-old li, .pricing-new li {
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-old li { color: var(--fg-dim); }
.pricing-new li { color: var(--fg); }

.x { color: var(--red); font-weight: 700; font-size: 1rem; }
.check { color: var(--green); font-weight: 700; font-size: 1rem; }

/* ============ CLOSING ============ */
.closing {
  padding: 100px 0;
  text-align: center;
  background: var(--bg-raised);
}

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

.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 620px;
  margin: 20px auto 0;
}

.closing-vision {
  margin-top: 40px;
  padding: 32px;
  background: var(--bg);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: var(--radius);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.closing-vision p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
  color: var(--accent);
  line-height: 1.6;
}

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

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

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--fg-dim);
  margin-top: 4px;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .hero { padding: 60px 20px 40px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
  .section-inner { padding: 0 20px; }
  .industry-grid { grid-template-columns: 1fr; }
  .pricing-compare { grid-template-columns: 1fr; }
  .proof-inner { gap: 20px; }
  .proof { padding: 20px; }
  .step { gap: 16px; }
  .step-num { font-size: 2rem; width: 50px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .closing, .industries, .how-it-works, .pricing { padding: 60px 0; }
}