/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --bg-surface: #111;
  --bg-card: #111;
  --bg-card-hover: #161616;
  --purple: #7C3AED;
  --purple-dim: rgba(124, 58, 237, 0.15);
  --purple-border: rgba(124, 58, 237, 0.2);
  --purple-light: #9b59f0;
  --text: #ffffff;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.08);
  --serif: 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

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

/* Purple gradient edge accent */
body::after {
  content: '';
  position: fixed;
  right: 0;
  top: 0;
  width: 2px;
  height: 100vh;
  background: linear-gradient(180deg, var(--purple) 0%, transparent 60%);
  pointer-events: none;
  z-index: 9999;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 100px;
  width: max-content;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-mark { font-size: 20px; color: var(--purple); }
.logo-text { font-family: var(--sans); font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -0.3px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-dim);
  border: 1px solid var(--purple-border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--purple);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -2px;
}
.hero-headline em { color: var(--text); font-style: italic; font-weight: 900; }
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}
.stat { display: flex; flex-direction: column; }
.stat-value { font-family: var(--serif); font-weight: 900; font-size: 28px; color: var(--text); letter-spacing: -0.5px; }
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ── Phone Frame ── */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.phone-frame {
  width: 280px;
  background: #111;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
}
.phone-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  z-index: -1;
}
.phone-screen { background: #0d1117; border-radius: 28px; overflow: hidden; }
.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: #8b949e;
}
.whatsapp-dot { width: 10px; height: 10px; background: #25d366; border-radius: 50%; }
.online-indicator { margin-left: auto; width: 8px; height: 8px; background: var(--purple); border-radius: 50%; }
.chat-thread { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 260px; }
.chat-msg { display: flex; flex-direction: column; gap: 4px; }
.chat-msg.customer { align-items: flex-start; }
.chat-msg.agent { align-items: flex-end; }
.bubble {
  max-width: 200px;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 6px;
}
.customer .bubble {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.agent-bubble {
  background: var(--purple-dim);
  border: 1px solid var(--purple-border);
  color: var(--text);
  border-bottom-right-radius: 4px;
}
.msg-time { font-size: 10px; color: var(--text-muted); padding: 0 4px; }
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--purple-dim);
  border: 1px solid var(--purple-border);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 1px;
  align-self: center;
  margin-top: 4px;
}
.live-dot {
  width: 5px; height: 5px;
  background: var(--purple);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* ── Orbit Rings ── */
.orbit-rings { position: absolute; right: -20px; top: 50%; transform: translateY(-50%); }
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.08);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.orbit-1 { width: 300px; height: 300px; }
.orbit-2 { width: 420px; height: 420px; border-color: rgba(124, 58, 237, 0.05); }
.orbit-3 { width: 540px; height: 540px; border-color: rgba(124, 58, 237, 0.03); }
.center-dot { width: 8px; height: 8px; background: var(--purple); border-radius: 50%; position: absolute; top: 50%; right: -4px; transform: translateY(-50%); }

/* ── Features ── */
.features {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 52px);
  color: var(--text);
  margin-bottom: 56px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--purple-border);
}
.feature-card.featured {
  background: var(--purple-dim);
  border-color: var(--purple-border);
}
.feature-icon {
  width: 52px; height: 52px;
  background: var(--bg-card-hover);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 20px;
}
.feature-card.featured .feature-icon {
  background: rgba(124, 58, 237, 0.2);
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-dim);
  border: 1px solid var(--purple-border);
  border-radius: 8px;
  padding: 6px 12px;
}

/* ── Demonstration ── */
.demonstration {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.demo-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 16px;
}
.demo-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -1px;
}
.demo-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.demo-sub em { color: var(--text); font-style: italic; font-weight: 600; }
.demo-pillars { display: flex; flex-direction: column; gap: 12px; }
.pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.pillar-icon { font-size: 18px; }

/* ── Transparency Card ── */
.transparency-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.transparency-header {
  padding: 16px 20px;
  background: #161616;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.transparency-header span:first-child { font-weight: 600; font-size: 14px; color: var(--text); }
.transparency-note { font-size: 12px; color: var(--text-muted); }
.log-entries { padding: 0; }
.log-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
}
.log-row:last-child { border-bottom: none; }
.log-num { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.log-time { color: var(--text-muted); font-size: 12px; }
.log-wait { color: var(--text-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.log-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
}
.log-type.voice { background: var(--purple-dim); color: var(--purple); }
.log-type.text { background: rgba(124, 58, 237, 0.08); color: var(--purple-light); }

/* ── Process ── */
.process {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 48px;
}
.step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.step-number {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 48px;
  color: var(--text);
  opacity: 0.2;
  margin-bottom: 16px;
  letter-spacing: -2px;
}
.step h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.step-connector {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  align-self: center;
  flex-shrink: 0;
  margin: 0 -8px;
}

/* ── Pricing ── */
.pricing {
  padding: 80px 24px 100px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: left;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}
.pricing-card.featured {
  background: var(--purple-dim);
  border-color: var(--purple-border);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}
.pricing-tier {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 16px;
}
.pricing-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.price-amount { font-family: var(--serif); font-weight: 900; font-size: 52px; color: var(--text); letter-spacing: -2px; }
.price-period { font-size: 14px; color: var(--text-muted); }
.pricing-tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.pricing-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-size: 12px;
}
.pricing-features li strong { color: var(--text); }
.pricing-note { font-size: 14px; color: var(--text-muted); max-width: 480px; margin: 0 auto; line-height: 1.6; }

/* ── Closing ── */
.closing {
  padding: 100px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-inner { max-width: 800px; margin: 0 auto; }
.closing-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.closing-sub {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 56px;
}
.closing-metrics { display: flex; justify-content: center; align-items: center; gap: 48px; }
.metric { display: flex; flex-direction: column; align-items: center; }
.metric-value { font-family: var(--serif); font-weight: 900; font-size: 40px; color: var(--text); letter-spacing: -1px; }
.metric-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.metric-sep { width: 1px; height: 40px; background: var(--border); }

/* ── Demo Request Form ── */
.demo-request {
  margin-top: 48px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group select,
.form-group input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.2s;
}
.form-group select:focus,
.form-group input:focus { border-color: var(--green); }
.form-group select option { background: var(--bg-card); }
.demo-submit {
  margin-top: 8px;
  background: var(--green);
  color: #0c1a14;
  border: none;
  border-radius: var(--radius);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: opacity 0.2s;
}
.demo-submit:hover { opacity: 0.85; }
.demo-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.demo-success {
  text-align: center;
  font-size: 16px;
  color: var(--green);
  padding: 24px;
}
.demo-success::before { content: '✓ '; }
.demo-error {
  font-size: 13px;
  color: #e85c5c;
  margin-top: 4px;
}

/* ── Footer ── */
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.footer-name { font-family: var(--serif); font-weight: 900; font-size: 20px; color: var(--text); letter-spacing: -0.5px; }
.footer-tagline { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.footer-meta { font-size: 12px; color: var(--text-muted); opacity: 0.6; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: #6b21a8; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: var(--bg-card-hover); border-color: var(--purple-border); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-grid, .demonstration { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-connector { width: 2px; height: 32px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; }
  .closing-metrics { gap: 24px; flex-wrap: wrap; }
  .nav-links { display: none; }
  .hero { padding-top: 80px; }
  .nav { width: calc(100% - 32px); }
}
