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

:root {
  --bg: #0a0f1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2436;
  --fg: #f0f4f8;
  --fg-muted: #8fa3bf;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.12);
  --border: rgba(255,255,255,0.07);
  --font-display: '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);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,15,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

/* === HERO === */
.hero {
  padding: 80px 24px 60px;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,212,170,0.08) 0%, transparent 70%);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,170,0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 480px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
}

/* === CHAT WIDGET === */
.hero-visual {
  position: relative;
}
.chat-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,170,0.08);
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4aa, #00a884);
  flex-shrink: 0;
}
.chat-meta { display: flex; flex-direction: column; gap: 2px; }
.chat-name { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.chat-status { font-size: 12px; color: var(--accent); }
.chat-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
}
.bot-msg {
  background: rgba(255,255,255,0.05);
  color: var(--fg);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.user-msg {
  background: var(--accent);
  color: #0a0f1a;
  font-weight: 500;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.confirmed {
  background: rgba(0,212,170,0.15);
  border: 1px solid rgba(0,212,170,0.3);
  color: var(--accent);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-input-area {
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-dots {
  display: flex;
  gap: 4px;
}
.chat-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg-muted);
  opacity: 0.5;
  animation: pulse 1.2s infinite;
}
.chat-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
.chat-typing { font-size: 12px; color: var(--fg-muted); }

.hero-stat {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.stat-label { font-size: 11px; color: var(--fg-muted); margin-top: 2px; max-width: 120px; }

/* === TRUST === */
.trust { padding: 0 24px 56px; }
.trust-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.trust-label { font-size: 14px; color: var(--fg-muted); margin-bottom: 20px; }
.trust-verticals { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--fg); }
.trust-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-divider { width: 1px; height: 16px; background: var(--border); }

/* === SECTION SHARED === */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 16px;
}

/* === SERVICES === */
.services { padding: 72px 24px; background: rgba(255,255,255,0.01); }
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover { border-color: rgba(0,212,170,0.25); transform: translateY(-2px); }
.service-icon { color: var(--accent); margin-bottom: 16px; }
.service-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; margin-bottom: 16px; }
.service-detail { display: flex; flex-direction: column; gap: 6px; }
.service-detail span { font-size: 13px; color: var(--fg-muted); padding-left: 16px; position: relative; }
.service-detail span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* === HOW === */
.how { padding: 72px 24px; }
.how-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.how-desc { font-size: 16px; color: var(--fg-muted); margin-bottom: 32px; }
.how-steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--accent); opacity: 0.7; width: 28px; flex-shrink: 0; padding-top: 3px; }
.step-body h4 { font-family: var(--font-display); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.step-body p { font-size: 13.5px; color: var(--fg-muted); line-height: 1.55; }

/* Funnel */
.funnel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.funnel-title { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--fg-muted); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.06em; }
.funnel-stage { margin-bottom: 8px; }
.stage-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
}
.stage-bar strong { font-family: var(--font-display); font-weight: 700; }
.stage-bar span { color: rgba(255,255,255,0.7); }
.stage-bar strong { color: var(--fg); }

/* === OUTCOMES === */
.outcomes { padding: 72px 24px; background: rgba(255,255,255,0.01); }
.outcomes-inner { max-width: 1200px; margin: 0 auto; }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.outcome-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}
.outcome-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.outcome-label { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }
.outcome-quote {
  margin-top: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
}
.outcome-quote p { font-size: 15px; color: var(--fg); font-style: italic; margin-bottom: 8px; }
.outcome-quote span { font-size: 12px; color: var(--fg-muted); }

/* === CLOSING === */
.closing { padding: 80px 24px; text-align: center; }
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 20px;
}
.closing-sub { font-size: 16px; color: var(--fg-muted); margin-bottom: 36px; line-height: 1.65; }
.closing-cta { display: inline-block; }
.cta-price { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.cta-note { font-size: 13px; color: var(--fg-muted); }

/* === FOOTER === */
.footer { padding: 40px 24px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.footer-tagline { font-size: 13px; color: var(--fg-muted); }
.footer-copy { font-size: 12px; color: var(--fg-muted); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner, .how-inner { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-verticals { gap: 12px; }
  .trust-divider { display: none; }
  .hero-stat { bottom: -16px; left: 0; }
}
@media (max-width: 600px) {
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .hero-headline { font-size: 34px; }
  .section-headline { font-size: 26px; }
}