/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0C1638;
  --bg2: #0F1A42;
  --bg3: #162050;
  --fg: #F0F4FF;
  --fg2: #B8C4E0;
  --accent: #7DD3C0;
  --accent2: #5BBBA8;
  --teal: #2DD4BF;
  --dim: #4A5F88;
  --border: rgba(125, 211, 192, 0.12);
  --radius: 16px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--teal); }

/* ===== NAV ===== */
.nav { padding: 24px 0; border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; display: flex; align-items: baseline; gap: 16px; }
.nav-logo { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--fg); }
.nav-tagline { font-size: 0.8rem; color: var(--fg2); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; }

/* ===== HERO ===== */
.hero {
  max-width: 1100px; margin: 0 auto; padding: 80px 32px 96px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(125, 211, 192, 0.1); border: 1px solid rgba(125, 211, 192, 0.2);
  border-radius: 999px; padding: 6px 14px; font-size: 0.8rem; color: var(--accent);
  margin-bottom: 28px; font-family: var(--font-head);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); 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(--font-head); font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 24px;
  background: linear-gradient(135deg, #F0F4FF 0%, #B8C4E0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.05rem; color: var(--fg2); line-height: 1.7; margin-bottom: 40px; max-width: 440px;
}
.hero-stats { display: flex; align-items: center; gap: 0; }
.stat { padding: 0 28px 0 0; }
.stat:first-child { padding-left: 0; }
.stat-num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--fg2); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); margin-right: 28px; }

/* ===== CHAT FRAME ===== */
.chat-frame {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
.chat-header {
  background: var(--bg3); padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.chat-dots { display: flex; gap: 6px; }
.chat-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); }
.chat-dots span:first-child { background: #FF5F57; }
.chat-dots span:nth-child(2) { background: #FFBD2E; }
.chat-dots span:last-child { background: #28CA41; }
.chat-title { font-size: 0.75rem; color: var(--fg2); font-family: var(--font-head); }
.chat-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.msg { display: flex; flex-direction: column; }
.msg-inbound { align-items: flex-start; }
.msg-outbound { align-items: flex-end; }
.msg-text {
  display: inline-block; padding: 10px 14px; border-radius: 14px;
  font-size: 0.85rem; line-height: 1.5; max-width: 85%;
}
.msg-inbound .msg-text { background: var(--bg3); color: var(--fg); border-bottom-left-radius: 4px; }
.msg-outbound .msg-text { background: rgba(125, 211, 192, 0.15); color: var(--fg); border-bottom-right-radius: 4px; border: 1px solid rgba(125, 211, 192, 0.2); }
.system-msg .msg-text { border: 1px solid rgba(125, 211, 192, 0.3); background: rgba(125, 211, 192, 0.08); }
.typing-indicator {
  display: flex; gap: 4px; padding: 4px 0;
  animation: typingBounce 1.2s infinite;
}
.typing-indicator span { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:last-child { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ===== HOW ===== */
.how { max-width: 1100px; margin: 0 auto; padding: 96px 32px; }
.section-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent);
  font-family: var(--font-head); font-weight: 600; margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub { color: var(--fg2); max-width: 560px; font-size: 1rem; line-height: 1.7; margin-bottom: 56px; }
.how-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.step {
  padding: 36px; background: var(--bg2); border: 1px solid var(--border);
  position: relative;
}
.step:first-child { border-radius: var(--radius) 0 0 0; }
.step:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
.step:nth-child(3) { border-radius: 0 0 0 var(--radius); }
.step:last-child { border-radius: 0 0 var(--radius) 0; }
.step-num {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.05em; margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 700;
  margin-bottom: 10px; color: var(--fg);
}
.step p { font-size: 0.9rem; color: var(--fg2); line-height: 1.6; }

/* ===== OBJECTIONS ===== */
.objections { background: var(--bg2); }
.obj-inner { max-width: 1100px; margin: 0 auto; padding: 96px 32px; }
.obj-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px;
}
.obj-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.obj-q {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 700;
  color: var(--accent); margin-bottom: 12px; font-style: italic;
}
.obj-a { font-size: 0.9rem; color: var(--fg2); line-height: 1.6; }

/* ===== CLOSING ===== */
.closing { background: var(--bg); }
.closing-inner {
  max-width: 1100px; margin: 0 auto; padding: 96px 32px 120px;
  text-align: center;
}
.closing-icon { margin-bottom: 32px; }
.closing-icon svg { animation: rotateSlow 20s linear infinite; }
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.closing-headline {
  font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.15;
  margin-bottom: 24px;
}
.closing-body { color: var(--fg2); font-size: 1.05rem; max-width: 540px; margin: 0 auto 16px; line-height: 1.7; }
.closing-vision { color: var(--accent); font-family: var(--font-head); font-size: 1rem; font-weight: 600; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 40px 32px; display: flex; flex-direction: column; gap: 8px; }
.footer-logo { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--fg); }
.footer-tagline { font-size: 0.85rem; color: var(--fg2); }
.footer-legal { font-size: 0.75rem; color: var(--dim); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 48px 20px 64px; }
  .hero-left { order: 1; }
  .hero-right { order: 0; }
  .how-steps { grid-template-columns: 1fr; }
  .step:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .step:nth-child(2) { border-radius: 0; }
  .step:nth-child(3) { border-radius: 0; }
  .step:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .obj-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 20px; }
  .how, .obj-inner, .closing-inner, .footer-inner, .footer { padding-left: 20px; padding-right: 20px; }
  .closing-inner { padding-bottom: 80px; }
}