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

:root {
  --bg: #0a0a0b;
  --surface: #111113;
  --surface-2: #18181b;
  --border: #27272a;
  --text: #fafafa;
  --text-2: #a1a1aa;
  --text-3: #52525b;
  --accent: #f5a623;
  --accent-dim: #78480a;
  --green: #22c55e;
  --font-display: 'Sora', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.6;
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.logo-mark { color: var(--accent); font-size: 1.4rem; }

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* === HERO === */
.hero {
  padding: 7rem 3rem 5rem;
  max-width: 960px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-headline {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

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

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: fit-content;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 2rem;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-3);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

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

/* === LIVE DEMO === */
.livedemo {
  padding: 5rem 3rem;
  border-top: 1px solid var(--border);
}

.demo-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 2rem;
}

.demo-badge-dot {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

/* Phone mockup */
.demo-phone {
  display: flex;
  justify-content: center;
}

.phone-chrome {
  width: 200px;
  background: #1a1a1d;
  border-radius: 28px;
  border: 1.5px solid #2a2a2d;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 20px 60px rgba(0,0,0,0.5);
}

.phone-notch {
  height: 24px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6px;
}

.phone-notch::after {
  content: '';
  width: 56px;
  height: 6px;
  background: #2a2a2d;
  border-radius: 4px;
}

.phone-header {
  padding: 1rem 1rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-avatar {
  width: 32px;
  height: 32px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

.contact-name { font-size: 0.7rem; font-weight: 600; }
.contact-status { font-size: 0.6rem; color: var(--green); font-family: var(--font-mono); }

.phone-call-icons {
  display: flex;
  gap: 0.5rem;
}

.icon-wrap {
  width: 24px;
  height: 24px;
  background: var(--surface-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.icon-wrap.muted { color: var(--text-3); }

.phone-body {
  padding: 1.5rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
}

.waveform-bar {
  width: 3px;
  background: var(--border);
  border-radius: 2px;
  height: 12px;
  transition: all 0.2s;
}

.waveform-bar.active {
  background: var(--accent);
  height: 28px;
}

.ai-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6rem;
  color: var(--accent);
  font-family: var(--font-mono);
}

.ai-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* Conversation timeline */
.demo-conversation {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.demo-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-event {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.8rem;
}

.timeline-event.response {
  grid-template-columns: 1fr auto;
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  border-radius: 10px;
  border-left: 2px solid var(--text-3);
}

.event-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.event-icon.incoming { background: var(--surface-2); color: var(--text-3); }
.event-icon.ai-action { background: rgba(245, 166, 35, 0.15); color: var(--accent); }
.event-icon.done { background: rgba(34, 197, 94, 0.15); color: var(--green); }

.event-text { color: var(--text-2); line-height: 1.5; }
.event-time { font-size: 0.65rem; color: var(--text-3); font-family: var(--font-mono); white-space: nowrap; }

.timeline-event.success .event-text { color: var(--text); font-weight: 600; }

/* === OUTCOMES === */
.outcomes {
  padding: 5rem 3rem;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 3rem;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.outcome-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.outcome-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
  font-family: var(--font-mono);
}

.outcome-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.outcome-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* === HOW === */
.how {
  padding: 5rem 3rem;
  border-top: 1px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 3rem;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--surface-2);
  letter-spacing: -0.05em;
  line-height: 1;
  font-family: var(--font-mono);
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
}

.how-tech {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tech-label {
  font-size: 0.7rem;
  color: var(--text-3);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tech-stack {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-tag {
  padding: 0.25rem 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-2);
}

/* === PRICING === */
.pricing {
  padding: 5rem 3rem;
  border-top: 1px solid var(--border);
  max-width: 960px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.pricing-card.featured {
  border-color: var(--accent-dim);
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.06) 0%, var(--surface) 100%);
}

.pricing-tier {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  font-size: 0.8rem;
  color: var(--text-2);
  padding-left: 1.25rem;
  position: relative;
}

.pricing-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.pricing-note {
  font-size: 0.75rem;
  color: var(--text-3);
  font-style: italic;
}

.pricing-target {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.target-stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
}

.target-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.target-label {
  font-size: 0.85rem;
  color: var(--text-2);
}

/* === CLOSING === */
.closing {
  padding: 6rem 3rem;
  border-top: 1px solid var(--border);
}

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

.closing-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.closing-content p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.8;
}

/* === FOOTER === */
.footer {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-3);
  font-family: var(--font-mono);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 5rem 1.5rem 3rem; }
  .hero-stats { flex-direction: column; width: 100%; gap: 1rem; }
  .stat { padding: 0; }
  .stat-divider { width: 100%; height: 1px; }
  .livedemo { padding: 3rem 1.5rem; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-phone { display: none; }
  .outcomes { padding: 3rem 1.5rem; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .how { padding: 3rem 1.5rem; }
  .step { grid-template-columns: 1fr; gap: 0.5rem; }
  .step-num { font-size: 2rem; }
  .pricing { padding: 3rem 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .closing { padding: 4rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; flex-direction: column; gap: 0.5rem; }
}