:root {
  --obsidian: #080810;
  --obsidian-light: #0f0f1a;
  --amber: #f59e0b;
  --amber-dim: rgba(245,158,11,0.12);
  --amber-glow: rgba(245,158,11,0.06);
  --emerald: #10b981;
  --emerald-dim: rgba(16,185,129,0.12);
  --violet: #8b5cf6;
  --violet-dim: rgba(139,92,246,0.12);
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border: rgba(255,255,255,0.07);
  --radius: 14px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--obsidian);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--amber); color: var(--obsidian); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 3px; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--text-secondary); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(245,158,11,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(139,92,246,0.04) 0%, transparent 50%),
    var(--obsidian);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 28px;
  width: fit-content;
}

.hero-label-dot {
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.05;
}

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

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

.hero-proof {
  display: flex;
  gap: 32px;
}

.hero-proof-item { display: flex; flex-direction: column; gap: 2px; }
.hero-proof-num { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--amber); }
.hero-proof-label { font-size: 0.78rem; color: var(--text-muted); }

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 280px;
  background: #111118;
  border-radius: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 30px 80px rgba(0,0,0,0.8),
    0 0 60px rgba(245,158,11,0.08);
  position: relative;
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: #111118;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 16px;
}

.phone-screen {
  background: #0c0c14;
  border-radius: 24px;
  overflow: hidden;
  min-height: 480px;
  position: relative;
}

.screen-header {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.screen-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--obsidian);
}

.screen-agent-info { flex: 1; }
.screen-agent-name { font-size: 0.8rem; font-weight: 600; }
.screen-agent-status { font-size: 0.68rem; color: var(--emerald); }

.screen-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msg { border-radius: 16px; padding: 10px 14px; font-size: 0.8rem; line-height: 1.45; max-width: 88%; animation: msg-in 0.4s ease-out both; }

.msg-incoming { background: rgba(255,255,255,0.07); border-bottom-left-radius: 4px; }
.msg-outgoing { background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.2); border-bottom-right-radius: 4px; margin-left: auto; }

.msg-time { font-size: 0.65rem; color: var(--text-muted); margin-top: 4px; padding-left: 14px; }
.msg-time-out { text-align: right; padding-right: 14px; }

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg-ai { animation-delay: 0.5s; }
.msg-ai-2 { animation-delay: 1.5s; }
.msg-human { animation-delay: 2.5s; }
.msg-out { animation-delay: 3.2s; }
.msg-out-2 { animation-delay: 4s; }

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 3px;
  padding: 4px 0;
  animation: msg-in 0.4s ease-out both;
  animation-delay: 0.8s;
}
.typing-dot {
  width: 5px; height: 5px; background: var(--text-muted); border-radius: 50%;
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
}
.status-wa { background: rgba(16,185,129,0.15); color: var(--emerald); }
.status-voice { background: rgba(245,158,11,0.12); color: var(--amber); }
.status-crm { background: rgba(139,92,246,0.12); color: var(--violet); }

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

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.how-it-works h2 { margin-bottom: 16px; }
.how-it-works .section-intro { color: var(--text-secondary); max-width: 540px; margin-bottom: 64px; font-size: 1.05rem; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
}

.step-card {
  background: var(--obsidian-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.step-card:hover {
  border-color: rgba(245,158,11,0.3);
  transform: translateY(-2px);
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: 20px;
  position: absolute;
  top: 20px;
  right: 24px;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.step-icon-1 { background: var(--amber-dim); }
.step-icon-2 { background: var(--emerald-dim); }
.step-icon-3 { background: var(--violet-dim); }

.step-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.step-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ========== VERTICALS ========== */
.verticals {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.verticals-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 40px;
}

.verticals-header h2 { max-width: 380px; }
.verticals-header p { max-width: 360px; font-size: 0.95rem; }

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.vertical-card {
  background: var(--obsidian-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
}

.vertical-card:hover {
  border-color: rgba(245,158,11,0.25);
  background: rgba(245,158,11,0.03);
  transform: translateY(-1px);
}

.vertical-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.vertical-card h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.vertical-card p { font-size: 0.72rem; color: var(--text-muted); }

/* ========== MANIFESTO ========== */
.manifesto {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.manifesto-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto-block {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.manifesto blockquote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.manifesto blockquote .accent { color: var(--amber); }

.manifesto p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.stat-item { text-align: center; }
.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* ========== CLOSING ========== */
.closing {
  padding: 100px 0;
  position: relative;
}

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

.closing h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.closing p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.closing-pricing {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.price-tag {
  background: var(--obsidian-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.price-tag strong { color: var(--text-primary); font-weight: 600; }

.closing-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-right {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ========== DEMO CALL SECTION ========== */
.demo-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--obsidian) 0%, var(--obsidian-light) 100%);
}

.demo-header { text-align: center; margin-bottom: 56px; }
.demo-header h2 { margin-bottom: 16px; }
.demo-header p { max-width: 520px; margin: 0 auto; font-size: 1rem; }

.demo-flow { max-width: 560px; margin: 0 auto; }

.demo-step {
  background: var(--obsidian-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
  position: relative;
}

.demo-step.hidden { display: none; }

.demo-step .step-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(245,158,11,0.2);
  line-height: 1;
}

.demo-step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.demo-step > p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }

.demo-form { display: flex; flex-direction: column; gap: 12px; }
.demo-form input, .demo-form select {
  background: var(--obsidian);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.demo-form input:focus, .demo-form select:focus { border-color: var(--amber); }
.demo-form input::placeholder { color: var(--text-muted); }

.demo-cta {
  background: var(--amber);
  color: var(--obsidian);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.15s;
  position: relative;
}
.demo-cta:hover { opacity: 0.9; }
.demo-disclaimer { font-size: 0.72rem; color: var(--text-muted); margin-top: 12px; text-align: center; }

/* Call UI */
.call-ui { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; background: var(--obsidian); border-radius: 12px; padding: 16px; }
.call-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--emerald), #059669); display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.2rem; color: white; flex-shrink: 0; }
.call-info { flex: 1; }
.call-name { font-weight: 600; font-size: 0.95rem; }
.call-status { font-size: 0.78rem; color: var(--emerald); display: flex; align-items: center; gap: 6px; }
.live-dot { width: 6px; height: 6px; background: var(--emerald); border-radius: 50%; animation: pulse-dot 1.5s infinite; }
.call-timer { font-family: 'Syne', sans-serif; font-size: 1rem; color: var(--text-secondary); }

/* Transcript */
.transcript-box { background: var(--obsidian); border-radius: 12px; padding: 16px; margin-bottom: 20px; }
.transcript-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.transcript-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.ai-msg { display: block; }
.service-tag { color: var(--amber); font-weight: 500; }

/* User response */
.user-response-area { }
.response-btns { display: flex; gap: 10px; margin-bottom: 12px; }
.resp-btn {
  background: var(--emerald-dim);
  color: var(--emerald);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 8px;
  padding: 10px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.resp-btn:hover { background: rgba(16,185,129,0.2); }
.resp-btn-sec { background: rgba(255,255,255,0.05); color: var(--text-secondary); border-color: var(--border); }
.resp-btn-sec:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }
.resp-btn-main { background: var(--amber-dim); color: var(--amber); border-color: rgba(245,158,11,0.2); font-weight: 600; }
.resp-btn-main:hover { background: rgba(245,158,11,0.2); }
.email-input { margin-bottom: 12px; }
.email-input.hidden { display: none; }
.resp-btn-main.hidden { display: none; }

.pulse-ring {
  width: 8px; height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
  flex-shrink: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .verticals-grid { grid-template-columns: repeat(3, 1fr); }
  .verticals-header { flex-direction: column; align-items: flex-start; }
  .stats-row { gap: 32px; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }
  .verticals-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; }
  .stats-row { gap: 24px; }
  .manifesto blockquote { font-size: 1.5rem; }
}