/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0B1628;
  --bg-alt: #0F1D32;
  --bg-card: #12203D;
  --fg: #FFFFFF;
  --fg-muted: rgba(255,255,255,0.55);
  --accent: #F5A623;
  --accent-dim: rgba(245,166,35,0.15);
  --green: #22C55E;
  --border: rgba(255,255,255,0.08);
  --radius: 8px;
  --radius-lg: 14px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

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

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--fg);
}

.logo-accent { color: var(--accent); }

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

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

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 20px;
}

.headline-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 440px;
}

/* === AGENT WIDGET === */
.agent-widget {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

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

.widget-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-green { background: #22C55E; }
.dot-amber { background: var(--accent); }
.dot-red { background: #EF4444; }

.widget-title {
  font-size: 11px;
  color: var(--fg-muted);
  margin-left: 6px;
  font-family: var(--font-head);
}

.widget-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg { display: flex; flex-direction: column; gap: 3px; }
.msg-in { align-items: flex-start; }
.msg-out { align-items: flex-end; }

.msg-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  background: var(--bg-card);
  color: var(--fg);
  border: 1px solid var(--border);
}

.msg-out .msg-bubble {
  background: rgba(245,166,35,0.12);
  border-color: rgba(245,166,35,0.25);
}

.msg-amber { color: var(--fg); }

.msg-time {
  font-size: 10px;
  color: var(--fg-muted);
  padding: 0 4px;
}

.widget-booked {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 10px;
  margin-top: 4px;
}

.booked-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.booked-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  font-family: var(--font-head);
}

.booked-time {
  font-size: 12px;
  color: var(--fg-muted);
}

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

.stats-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.stat { text-align: center; }

.stat-value {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* === FEATURES === */
.features {
  padding: 80px 24px;
}

.features-header {
  max-width: 1140px;
  margin: 0 auto 48px;
}

.features-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 12px;
}

.features-sub {
  font-size: 16px;
  color: var(--fg-muted);
}

.features-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.2s;
}

.feature:hover { background: var(--bg-alt); }

.feature-icon {
  margin-bottom: 16px;
}

.feature-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

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

/* === HOW IT WORKS === */
.how-it-works {
  padding: 64px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hiw-header {
  max-width: 1140px;
  margin: 0 auto 48px;
}

.hiw-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
}

.hiw-steps {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.hiw-step {
  flex: 1;
  padding: 0 32px;
}

.hiw-step:first-child { padding-left: 0; }
.hiw-step:last-child { padding-right: 0; }

.hiw-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 16px;
}

.hiw-step-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.hiw-step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.hiw-connector {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin-top: 32px;
  flex-shrink: 0;
}

/* === NICHES === */
.niches {
  padding: 48px 24px;
}

.niches-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.niches-label {
  font-size: 14px;
  color: var(--fg-muted);
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.niches-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.niche {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  font-family: var(--font-head);
}

.niche-sep {
  color: var(--fg-muted);
  font-size: 18px;
}

/* === CLOSING === */
.closing {
  position: relative;
  padding: 96px 24px;
  overflow: hidden;
}

.closing-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,166,35,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.closing-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 28px;
}

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}

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

.closing-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.proof-item {
  padding: 0 32px;
  text-align: center;
}

.proof-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.proof-value {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

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

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--fg);
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

.footer-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero { padding: 56px 24px 48px; }
  .hero-headline { font-size: 36px; }

  .stats-inner {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider { width: 48px; height: 1px; }

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

  .hiw-steps {
    flex-direction: column;
    gap: 32px;
  }

  .hiw-connector {
    width: 40px;
    height: 1px;
    margin-top: 0;
  }

  .hiw-step { padding: 0; }

  .closing-proof {
    flex-direction: column;
    gap: 24px;
  }

  .proof-sep { display: none; }
  .proof-item { padding: 0; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-tagline { display: none; }
}

@media (max-width: 480px) {
  .niches-list { gap: 6px; }
  .niche { font-size: 13px; padding: 6px 12px; }
}