/* ===== BASE ===== */
:root {
  --bg: #0B0F19;
  --bg2: #0F1520;
  --surface: #151D2C;
  --surface2: #1C2640;
  --indigo: #6366F1;
  --indigo-light: #818CF8;
  --cyan: #22D3EE;
  --white: #FFFFFF;
  --muted: #94A3B8;
  --border: rgba(255,255,255,0.08);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-tagline {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 80px 40px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(99,102,241,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 70%, rgba(34,211,238,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.2);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  width: fit-content;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
  color: var(--white);
}

.hero-headline-accent {
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.hero-trust-dot {
  width: 6px;
  height: 6px;
  background: var(--indigo);
  border-radius: 50%;
}

/* Chat Widget */
.chat-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 60px rgba(99,102,241,0.1);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.chat-header-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.chat-header-dot.green { background: #22C55E; }
.chat-header-dot.yellow { background: #F59E0B; }
.chat-header-dot.red { background: #EF4444; }

.chat-header-title {
  font-size: 12px;
  color: var(--muted);
  margin-left: 6px;
  font-family: var(--font-head);
}

.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.chat-msg--user {
  flex-direction: row-reverse;
}

.chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-head);
  flex-shrink: 0;
  color: var(--white);
}

.chat-msg-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--white);
}

.chat-msg-bubble.user {
  background: rgba(99,102,241,0.2);
  border-color: rgba(99,102,241,0.3);
  align-self: flex-end;
}

.chat-confirm-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--cyan);
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.3);
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.hero-widget-tags {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.tag {
  font-size: 12px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ===== STATS ===== */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 40px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}

.stat-value {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}

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

/* ===== PROBLEM ===== */
.problem {
  padding: 100px 40px;
  position: relative;
}

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

.problem-label, .features-label, .proof-label, .pricing-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 16px;
}

.problem-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 700px;
}

.problem-body {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 60px;
  line-height: 1.7;
}

.problem-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
}

.problem-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.problem-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo-light);
  flex-shrink: 0;
}

.problem-item-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 4px;
}

.problem-item-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-inner { max-width: 1200px; margin: 0 auto; }

.features-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 60px;
}

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

.feature-card {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 0 30px rgba(99,102,241,0.08);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo-light);
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

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

/* ===== PROOF ===== */
.proof { padding: 100px 40px; }
.proof-inner { max-width: 1200px; margin: 0 auto; }

.proof-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 60px;
}

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

.proof-stat {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.proof-number {
  font-family: var(--font-head);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.proof-label-text {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.4;
}

.proof-source {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

.proof-quote {
  padding: 36px;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(34,211,238,0.04));
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 16px;
}

.proof-quote-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--white);
  font-style: italic;
  margin-bottom: 16px;
}

.proof-quote-attr {
  font-size: 13px;
  color: var(--muted);
}

/* ===== PRICING ===== */
.pricing {
  padding: 100px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.pricing-inner { max-width: 1200px; margin: 0 auto; }

.pricing-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 12px;
}

.pricing-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 48px;
}

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

.pricing-card {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(99,102,241,0.12) 0%, var(--bg) 100%);
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 0 40px rgba(99,102,241,0.1);
}

.pricing-tier {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.pricing-tier.featured { color: var(--indigo-light); }

.pricing-price {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-price { color: var(--white); }

.pricing-per {
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
}

.pricing-tagline {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

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

.pricing-features li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--indigo);
  font-size: 12px;
}

.pricing-revenue-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.pricing-revenue-table {
  max-width: 480px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.revenue-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
}

.revenue-row:first-child {
  background: var(--surface2);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.revenue-row:not(:first-child) {
  border-top: 1px solid var(--border);
  color: var(--white);
}

.revenue-row:not(:first-child):nth-child(odd) { background: rgba(255,255,255,0.02); }

/* ===== PHILOSOPHY ===== */
.philosophy { padding: 100px 40px; }
.philosophy-inner { max-width: 800px; margin: 0 auto; text-align: center; }

.philosophy-text {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.philosophy-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 40px;
  text-align: center;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-brand {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

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

.footer-meta {
  font-size: 13px;
  color: rgba(148,163,184,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .stats-inner { flex-wrap: wrap; gap: 24px; }
  .stat-item { padding: 0 20px; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 20px 40px; }
  .stats, .problem, .features, .proof, .pricing, .philosophy { padding: 60px 20px; }
  .features-grid, .proof-grid { grid-template-columns: 1fr; }
  .problem-list { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; }
  .stat-divider { width: 40px; height: 1px; }
  .pricing-revenue-table { display: none; }
}