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

:root {
  --bg:          #080D1A;
  --bg-2:        #0D1526;
  --bg-card:     #111B30;
  --bg-card-2:   #162038;
  --teal:        #31EDAE;
  --teal-h:      #1DD99A;
  --teal-l:      rgba(49,237,174,.10);
  --teal-b:      rgba(49,237,174,.25);
  --gold:        #F8CF40;
  --gold-h:      #E8BC28;
  --gold-l:      rgba(248,207,64,.10);
  --white:       #FFFFFF;
  --text:        #CBD5E1;
  --text-muted:  #475569;
  --border:      rgba(255,255,255,.07);
  --border-t:    rgba(49,237,174,.2);
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,.5);
  --shadow-h:    0 8px 48px rgba(0,0,0,.7);
  --glow-teal:   0 0 32px rgba(49,237,174,.22);
  --glow-gold:   0 0 32px rgba(248,207,64,.18);
  --grad:        linear-gradient(135deg, #31EDAE 0%, #F8CF40 100%);
  --grad-r:      linear-gradient(135deg, #F8CF40 0%, #31EDAE 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ─── Scroll reveal ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible            { opacity: 1; transform: translateY(0); }
.reveal-delay-1            { transition-delay: .1s; }
.reveal-delay-2            { transition-delay: .2s; }
.reveal-delay-3            { transition-delay: .3s; }
.reveal-delay-4            { transition-delay: .4s; }

/* ─── Nav ─────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}

nav.scrolled {
  background: rgba(8,13,26,.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  mix-blend-mode: screen; /* makes white bg invisible on dark */
}

.nav-logo-text {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -.2px;
}
.nav-logo-text strong { font-weight: 800; }

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .15s;
}
.nav-links a:hover { color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: var(--bg);
  font-size: .85rem;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .15s, box-shadow .15s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--teal-h); box-shadow: var(--glow-teal); }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--bg);
  font-size: .95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, box-shadow .15s, transform .15s;
}
.btn-primary:hover {
  background: var(--teal-h);
  box-shadow: var(--glow-teal);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 9px;
  border: 1.5px solid rgba(255,255,255,.2);
  transition: border-color .15s, color .15s;
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

.btn-full { width: 100%; justify-content: center; }

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 28px 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Dot grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(49,237,174,.1) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 70%, transparent 100%);
}

/* Radial glow top-right */
.hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(49,237,174,.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(248,207,64,.05) 0%, transparent 60%);
  animation: blobPulse 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes blobPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.12); }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatUp linear infinite;
  opacity: 0;
}
.orb-1 { width: 5px;  height: 5px;  background: var(--teal);   top: 25%; left: 7%;  animation-duration: 14s; animation-delay: 0s; }
.orb-2 { width: 3px;  height: 3px;  background: var(--gold);   top: 55%; left: 14%; animation-duration: 18s; animation-delay: 2s; }
.orb-3 { width: 6px;  height: 6px;  background: var(--teal);   top: 40%; left: 88%; animation-duration: 12s; animation-delay: 1s; }
.orb-4 { width: 4px;  height: 4px;  background: var(--gold);   top: 70%; left: 82%; animation-duration: 20s; animation-delay: 3s; }
.orb-5 { width: 4px;  height: 4px;  background: var(--teal);   top: 78%; left: 42%; animation-duration: 16s; animation-delay: .5s; }
.orb-6 { width: 3px;  height: 3px;  background: var(--gold);   top: 18%; left: 60%; animation-duration: 22s; animation-delay: 4s; }

@keyframes floatUp {
  0%   { opacity: 0;   transform: translateY(0)     scale(1);   }
  10%  { opacity: .9; }
  90%  { opacity: .6; }
  100% { opacity: 0;   transform: translateY(-130px) scale(1.4); }
}

.container { max-width: 1160px; margin: 0 auto; }

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-t);
  background: var(--teal-l);
  color: var(--teal);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.75); }
}

.hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--white);
  margin-bottom: 12px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-fix {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--teal);
  margin-bottom: 24px;
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.proof-item { display: flex; flex-direction: column; }

.proof-num {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--gold);
}

.proof-label {
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 500;
  margin-top: 4px;
}

.proof-div {
  width: 1px; height: 32px;
  background: var(--border);
}

/* ─── Mock chat (hero visual) ─────────────────────────────────────────────── */
.hero-visual { position: relative; }

.mock-chat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-h);
  max-width: 440px;
  margin-left: auto;
  position: relative;
}

.mock-chat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--teal-b), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mock-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-avatar {
  width: 36px; height: 36px;
  background: var(--teal);
  color: var(--bg);
  font-size: .72rem;
  font-weight: 800;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-name  { display: block; font-size: .875rem; font-weight: 700; color: var(--white); }
.mock-status { display: block; font-size: .72rem; color: var(--teal); font-weight: 600; }

.mock-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}

.mock-msg {
  max-width: 88%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: .84rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
.mock-msg.visible { opacity: 1; transform: translateY(0); }

.mock-msg.bot {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.mock-msg.user {
  background: var(--teal);
  color: var(--bg);
  font-weight: 600;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* ─── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 100px 28px; }

.section-alt {
  background: var(--bg-2);
  padding: 100px 28px;
}

.section-dark {
  background: var(--bg);
  padding: 100px 28px;
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(49,237,174,.05) 0%, transparent 65%);
  pointer-events: none;
}

.section-dark::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(248,207,64,.04) 0%, transparent 65%);
  pointer-events: none;
}

/* ─── Labels & Titles ─────────────────────────────────────────────────────── */
.section-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-label.light { color: var(--teal); }
.section-label.light::before { background: var(--teal); }

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--white);
}

.section-sub {
  font-size: 1rem;
  color: var(--text);
  max-width: 560px;
  margin-bottom: 52px;
  line-height: 1.8;
}

/* ─── Problem Cards ───────────────────────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.problem-card:hover {
  border-color: var(--border-t);
  box-shadow: var(--glow-teal);
  transform: translateY(-3px);
}

.problem-icon {
  width: 48px; height: 48px;
  background: var(--teal-l);
  border: 1px solid var(--border-t);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.problem-card p {
  font-size: .875rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 18px;
}

.problem-solution {
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* ─── Services ────────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.service-card:hover {
  border-color: var(--border-t);
  box-shadow: var(--glow-teal);
  transform: translateY(-3px);
}

.service-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  background: var(--bg-card-2);
  border-color: var(--border-t);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* Shimmer line at top of featured card */
.service-card--featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
}

.service-card--muted {
  border-style: dashed;
  opacity: .85;
}

.service-card-featured-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-tag {
  display: inline-flex;
  background: var(--teal-l);
  border: 1px solid var(--border-t);
  color: var(--teal);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 4px;
}

.service-card--featured h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.service-card--featured p {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.75;
  max-width: 500px;
}

.service-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-types span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-l);
  border: 1px solid var(--border-t);
  padding: 4px 12px;
  border-radius: 100px;
}

.service-icon {
  width: 44px; height: 44px;
  background: var(--teal-l);
  border: 1px solid var(--border-t);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  font-size: .875rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.service-list li {
  font-size: .82rem;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}

.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: .75rem;
}

/* Featured card visual */
.service-card-featured-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-bot-preview {
  width: 130px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sbp-dot {
  width: 30px; height: 30px;
  background: var(--teal);
  border-radius: 9px;
  margin-bottom: 4px;
  box-shadow: var(--glow-teal);
}

.sbp-line {
  height: 7px;
  border-radius: 4px;
  animation: shimmer 2.2s infinite;
}
.sbp-line.l1 { width: 100%; animation-delay: 0s; }
.sbp-line.l2 { width: 78%;  animation-delay: .35s; }
.sbp-line.l3 { width: 52%;  animation-delay: .7s; }

@keyframes shimmer {
  0%, 100% { background: var(--border); }
  50%       { background: var(--teal-b); }
}

/* ─── Demo Bot ────────────────────────────────────────────────────────────── */
.demo-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(49,237,174,.1);
  border: 1px solid rgba(49,237,174,.25);
  color: var(--teal);
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

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

.demo-left h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.demo-left > p {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 22px;
}

.demo-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.demo-features li {
  font-size: .875rem;
  color: var(--text);
  padding-left: 22px;
  position: relative;
}

.demo-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

.demo-note {
  font-size: .82rem;
  color: var(--text-muted);
  font-style: italic;
}

.demo-note a { color: var(--teal); font-weight: 600; font-style: normal; }

/* Bot widget */
.demo-right {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-h);
  position: relative;
}

.demo-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
}

#botLanding {
  padding: 48px 36px;
  text-align: center;
}

.bot-landing-logo {
  height: 60px;
  width: auto;
  margin: 0 auto 20px;
  display: block;
  mix-blend-mode: screen;
}

#botLanding h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

#botLanding p {
  font-size: .9rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

#startBotBtn {
  background: var(--teal);
  color: var(--bg);
  font-size: .9rem;
  font-weight: 700;
  padding: 13px 26px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, box-shadow .15s;
}
#startBotBtn:hover { background: var(--teal-h); box-shadow: var(--glow-teal); }

#botChat {
  display: none;
  flex-direction: column;
  height: 490px;
}

.chat-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--bg-card-2);
}

.chat-logo {
  height: 28px; width: auto;
  flex-shrink: 0;
  mix-blend-mode: screen;
}

.chat-name { font-size: .875rem; font-weight: 700; color: var(--white); }

.chat-status {
  font-size: .72rem;
  color: var(--teal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

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

#chatMessages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

#chatMessages::-webkit-scrollbar { width: 4px; }
#chatMessages::-webkit-scrollbar-track { background: transparent; }
#chatMessages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.message {
  max-width: 88%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: .875rem;
  line-height: 1.55;
  animation: msgIn .22s ease;
}

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

.bot-message {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.user-message {
  background: var(--teal);
  color: var(--bg);
  font-weight: 600;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.typing .typing-dots {
  display: flex; gap: 4px; padding: 2px 0;
}

.typing-dots span {
  width: 6px; height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: blink 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: .2s; }
.typing-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes blink {
  0%, 80%, 100% { opacity: .2; }
  40%           { opacity: 1; }
}

.capture-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start;
  width: 100%;
}

.capture-input {
  font-family: inherit;
  font-size: .875rem;
  color: var(--white);
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 10px 14px;
  outline: none;
  transition: border-color .15s;
  width: 100%;
}

.capture-input:focus { border-color: var(--teal); }
.capture-input::placeholder { color: var(--text-muted); }

.capture-submit {
  background: var(--teal);
  color: var(--bg);
  font-size: .85rem;
  font-weight: 700;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, box-shadow .15s;
  align-self: flex-start;
}
.capture-submit:hover { background: var(--teal-h); box-shadow: var(--glow-teal); }

.bot-done-card {
  background: var(--teal-l);
  border: 1px solid var(--border-t);
  border-radius: 12px;
  padding: 16px;
  align-self: flex-start;
  width: 100%;
  animation: msgIn .22s ease;
}

.bot-done-card strong { display: block; font-size: .9rem; color: var(--white); margin-bottom: 4px; }
.bot-done-card p { font-size: .82rem; color: var(--text); line-height: 1.55; margin-bottom: 12px; }
.bot-done-card a { font-size: .82rem; font-weight: 600; color: var(--teal); text-decoration: underline; }

.chat-input-row {
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 8px;
  background: var(--bg-card-2);
}

.chat-input-row input {
  flex: 1;
  border: none;
  outline: none;
  font-size: .875rem;
  font-family: inherit;
  background: transparent;
  color: var(--white);
}
.chat-input-row input::placeholder { color: var(--text-muted); }

#chatSubmit {
  width: 34px; height: 34px;
  background: var(--teal);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s, box-shadow .15s;
}
#chatSubmit:hover { background: var(--teal-h); box-shadow: var(--glow-teal); }

/* ─── Process ─────────────────────────────────────────────────────────────── */
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.process-step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 16px;
}

.step-num {
  width: 52px; height: 52px;
  font-size: 1rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 2px solid var(--teal);
  color: var(--teal);
  position: relative;
  box-shadow: var(--glow-teal);
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.step-content p {
  font-size: .875rem;
  color: var(--text);
  line-height: 1.75;
}

.process-arrow {
  font-size: 1.4rem;
  color: var(--border-t);
  padding: 0 4px;
  margin-top: 16px;
  flex-shrink: 0;
}

/* ─── Why Dark ────────────────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.why-left .section-title { margin-bottom: 18px; }

.why-body {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 36px;
}

.why-right { display: flex; flex-direction: column; gap: 28px; }

.why-point { display: flex; gap: 16px; align-items: flex-start; }

.why-icon {
  width: 28px; height: 28px;
  background: var(--teal-l);
  border: 1px solid var(--border-t);
  color: var(--teal);
  font-size: .8rem;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-point strong { display: block; font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.why-point p { font-size: .875rem; color: var(--text); line-height: 1.65; margin: 0; }

/* ─── Contact ─────────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 100px 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-left .section-title { margin-bottom: 16px; }

.contact-body {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-details { display: flex; flex-direction: column; gap: 14px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--text);
}

.contact-detail svg { color: var(--teal); flex-shrink: 0; }
.contact-detail a { color: var(--teal); font-weight: 500; }
.contact-detail a:hover { text-decoration: underline; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-group label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .2px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: .9rem;
  color: var(--white);
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 11px 15px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(49,237,174,.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2331EDAE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.form-group select option { background: var(--bg-card-2); color: var(--white); }

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--teal-l);
  border: 1px solid var(--border-t);
  color: var(--teal);
  font-size: .875rem;
  font-weight: 600;
  padding: 13px 16px;
  border-radius: 9px;
}

.hidden { display: none !important; }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 52px 28px;
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo-text { font-size: 1.05rem; font-weight: 400; color: var(--white); }
.footer-logo-text strong { font-weight: 800; color: var(--teal); }

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

.footer-links {
  font-size: .8rem;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text-muted);
}

.footer-links a { transition: color .15s; }
.footer-links a:hover { color: var(--teal); }

.footer-copy { font-size: .75rem; color: var(--text-muted); margin-top: 4px; }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-inner         { grid-template-columns: 1fr; text-align: center; gap: 52px; }
  .hero-sub           { max-width: 100%; }
  .hero-actions       { justify-content: center; }
  .hero-proof         { justify-content: center; }
  .mock-chat          { max-width: 100%; margin: 0 auto; }
  .problem-grid       { grid-template-columns: 1fr; }
  .services-grid      { grid-template-columns: 1fr; }
  .service-card--featured { grid-template-columns: 1fr; }
  .service-card-featured-visual { display: none; }
  .demo-wrapper       { grid-template-columns: 1fr; gap: 44px; }
  .process-steps      { flex-direction: column; align-items: center; gap: 20px; }
  .process-arrow      { display: none; }
  .why-grid           { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid       { grid-template-columns: 1fr; gap: 44px; }
  .form-row           { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .section, .section-alt, .section-dark, .cta-section { padding: 72px 20px; }
  .hero { padding: 80px 20px 72px; }
  .contact-form { padding: 28px 20px; }
}
