/* ---- Variables ---- */
:root {
  --bg: #0D1117;
  --surface: #161B22;
  --surface-2: #21262D;
  --accent: #E8502A;
  --accent-dim: rgba(232, 80, 42, 0.15);
  --text: #E6EDF3;
  --text-muted: #8B949E;
  --border: #30363D;
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ---- Typography ---- */
.font-display { font-family: var(--font-display); }

/* ---- Navbar ---- */
.navbar {
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: white;
  line-height: 1;
}
.logo-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.logo-text strong { color: var(--text); font-weight: 700; }
.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

/* ---- Hero ---- */
.hero {
  padding: 80px 48px 64px;
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.0;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.7;
}

/* ---- Chat Widget ---- */
.chat-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(232,80,42,0.1);
}
.chat-header {
  background: var(--surface-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.chat-header-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28CA41; }
.chat-header-title {
  margin-left: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.chat-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.chat-msg-user {
  align-self: flex-end;
  background: var(--accent-dim);
  color: var(--text);
  border-bottom-right-radius: 4px;
}
.chat-msg-ai {
  align-self: flex-start;
  background: var(--surface-2);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}
.chat-badge {
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}

/* ---- Proof ---- */
.proof {
  padding: 80px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.proof-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.proof-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Features ---- */
.features {
  padding: 80px 48px;
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 48px 40px;
}
.feature-card:hover { background: var(--surface); }
.feature-icon {
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Stats ---- */
.stats {
  padding: 60px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner { max-width: 1200px; margin: 0 auto; }
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 64px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- Closing ---- */
.closing {
  padding: 100px 48px;
}
.closing-inner {
  max-width: 900px;
  margin: 0 auto;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
}

/* ---- Footer ---- */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .navbar, .hero, .proof, .features, .stats, .closing, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero { padding-top: 48px; padding-bottom: 48px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stats-row {
    flex-direction: column;
    gap: 32px;
  }
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  .nav-tagline { display: none; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}