/* ===== Design tokens ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --surface: #ffffff;
  --text: #0f1222;
  --text-soft: #565b73;
  --border: #e7e9f2;
  --brand: #5b5bf5;
  --brand-2: #8b5cf6;
  --brand-ink: #ffffff;
  --accent: #10b981;
  --shadow: 0 10px 40px -12px rgba(20, 22, 60, 0.18);
  --shadow-sm: 0 2px 10px -4px rgba(20, 22, 60, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d1a;
    --bg-alt: #10132a;
    --surface: #14172e;
    --text: #f2f3fb;
    --text-soft: #a7abc7;
    --border: #262a47;
    --brand: #7b7bff;
    --brand-2: #a78bfa;
    --shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.6);
    --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, 0.5);
  }
}

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

html { scroll-behavior: smooth; }

/* Keep anchored sections clear of the sticky nav when jumped to */
section[id], [id].section { scroll-margin-top: 86px; }

/* Visible keyboard-focus state for accessibility */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand__name { font-family: 'Sora', 'Inter', sans-serif; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--brand-ink);
  box-shadow: var(--shadow-sm);
}
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
}
.brand__name { font-size: 20px; letter-spacing: -0.5px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--text-soft); font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 820px) { .nav__links { display: none; } }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero__inner { position: relative; z-index: 2; text-align: center; max-width: 820px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.hero__title {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 22px 0 18px;
  font-weight: 800;
}
.grad {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero__form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 12px;
}
.hero__form input {
  flex: 1;
  padding: 13px 16px;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.hero__form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
.hero__note { font-size: 13px; color: var(--text-soft); }

/* Anti-bot honeypot — hidden from humans, visible to naive bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) {
  .hero__form { flex-direction: column; }
}

.hero__proof {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat strong { font-family: 'Sora', sans-serif; font-size: 30px; color: var(--text); }
.stat span { font-size: 13px; color: var(--text-soft); max-width: 150px; }

.hero__glow {
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--brand) 28%, transparent), transparent 70%);
  filter: blur(30px);
  z-index: 1;
  pointer-events: none;
}

/* ===== Trust ===== */
.trust { padding: 20px 0 40px; }
.trust__label { text-align: center; font-size: 13px; color: var(--text-soft); margin-bottom: 18px; }
.trust__row {
  display: flex;
  justify-content: center;
  gap: 14px 32px;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--text-soft);
  opacity: .85;
}

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.eyebrow--light { color: rgba(255,255,255,.85); }
.section__head h2 {
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -1px;
  line-height: 1.15;
}
.section__head p { color: var(--text-soft); margin-top: 14px; font-size: 17px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
}
.step__num {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  font-family: 'Sora', sans-serif;
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 15px; }

/* ===== Feature grid ===== */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  font-size: 26px;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--bg-alt);
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 15px; }

@media (max-width: 860px) {
  .steps, .grid { grid-template-columns: 1fr; }
}

/* ===== Use cases ===== */
.usecases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.usecase {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.usecase h3 { font-size: 18px; margin-bottom: 6px; }
.usecase p { color: var(--text-soft); font-size: 15px; }
@media (max-width: 700px) { .usecases { grid-template-columns: 1fr; } }

/* ===== CTA ===== */
.cta {
  margin: 40px auto;
  max-width: calc(var(--maxw) - 48px);
  border-radius: 28px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed 60%, #9333ea);
  color: #fff;
  padding: 68px 24px;
}
.cta__inner { text-align: center; max-width: 640px; }
.cta h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -1px; }
.cta p { color: rgba(255,255,255,.9); margin: 14px 0 30px; font-size: 17px; }
.cta__form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto 14px;
}
.cta__form input {
  flex: 1;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.14);
  color: #fff;
}
.cta__form input::placeholder { color: rgba(255,255,255,.75); }
.cta__form input:focus { outline: none; background: rgba(255,255,255,.22); border-color: #fff; }
.cta .btn--primary { background: #fff; color: #4f46e5; }
.cta__spots {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.cta__note { font-size: 13px; color: rgba(255,255,255,.8); }
@media (max-width: 620px) { .cta__form { flex-direction: column; } }

/* ===== FAQ ===== */
.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--brand); font-weight: 400; }
.faq[open] summary::after { content: '−'; }
.faq p { color: var(--text-soft); padding: 0 0 18px; font-size: 15px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.footer__brandcol { max-width: 320px; }
.footer__tag { color: var(--text-soft); margin-top: 10px; font-size: 15px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__nav a { color: var(--text-soft); font-size: 15px; font-weight: 500; }
.footer__nav a:hover { color: var(--brand); }
.footer__bottom { padding-top: 22px; }
.footer__copy { color: var(--text-soft); font-size: 13px; }
@media (max-width: 620px) { .footer__inner { flex-direction: column; gap: 20px; } }

/* ===== Hero call mockup ===== */
.device {
  max-width: 400px;
  margin: 56px auto 0;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: left;
}
.device__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.device__live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-soft); }
.device__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.device__brand { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; }
.device__screen { padding: 18px 16px 20px; display: flex; flex-direction: column; gap: 10px; }

.bubble {
  max-width: 82%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 16px;
  opacity: 0;
  animation: riseIn .5s ease forwards;
}
.bubble--in { align-self: flex-start; background: var(--bg-alt); color: var(--text); border-bottom-left-radius: 5px; }
.bubble--out { align-self: flex-end; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-bottom-right-radius: 5px; }
.b1 { animation-delay: .3s; }
.b2 { animation-delay: 1.2s; }
.b3 { animation-delay: 2.3s; }
.b4 { animation-delay: 3.1s; }
.b5 { animation-delay: 4.3s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.typing { display: inline-flex; gap: 4px; align-items: center; height: 10px; }
.typing span {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.85);
  animation: blink 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }

.device__booked {
  align-self: stretch;
  margin-top: 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 12px;
  padding: 10px;
  opacity: 0;
  animation: riseIn .5s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
  .bubble, .device__booked { opacity: 1 !important; animation: none !important; }
  .device__dot, .typing span { animation: none !important; }
}

/* ===== ROI band ===== */
.roi {
  margin: 0 auto;
  max-width: calc(var(--maxw) - 48px);
  border-radius: 28px;
  background: linear-gradient(135deg, #0f1430, #241a52 60%, #3a1f63);
  color: #fff;
  padding: 56px 40px;
}
.roi__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; padding: 0; }
.roi__copy h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.8px; line-height: 1.15; }
.roi__copy p { color: rgba(255,255,255,.82); margin: 14px 0 20px; }
.roi__facts { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.roi__facts li { color: rgba(255,255,255,.9); font-size: 15px; }
.roi__facts span { display: inline-block; min-width: 54px; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 22px; color: #fff; margin-right: 6px; }
.roi__calc { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 26px; }
.roi__calc-label { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.roi__eq { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.roi__eq > div { display: flex; flex-direction: column; }
.roi__eq strong { font-family: 'Sora', sans-serif; font-size: 26px; }
.roi__eq span { font-size: 12px; color: rgba(255,255,255,.7); }
.roi__op { font-size: 20px; color: rgba(255,255,255,.55); }
.roi__result strong { color: #ff8a8a; }
.roi__note { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 18px; }
@media (max-width: 820px) { .roi__inner { grid-template-columns: 1fr; gap: 28px; } }

/* ===== Testimonials ===== */
.disclaimer { font-size: 14px; font-style: italic; color: var(--text-soft); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin: 0;
}
.quote__tag {
  position: absolute; top: 14px; right: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 3px 8px; border-radius: 999px;
}
.quote blockquote { font-size: 16px; line-height: 1.55; margin: 6px 0 16px; }
.quote figcaption { color: var(--text-soft); font-size: 14px; font-weight: 600; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ===== Pricing ===== */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tier--pop { border-color: var(--brand); box-shadow: var(--shadow); }
.tier__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .3px;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.tier h3 { font-size: 20px; }
.tier__price { font-family: 'Sora', sans-serif; font-size: 34px; font-weight: 800; letter-spacing: -1px; }
.tier__price span { font-size: 15px; font-weight: 500; color: var(--text-soft); }
.tier__est { font-size: 13px !important; font-weight: 600 !important; color: var(--text-soft); margin-right: 2px; }
.tier__for { color: var(--text-soft); font-size: 14px; margin-bottom: 10px; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 4px 0 22px; }
.tier li { position: relative; padding-left: 24px; font-size: 15px; color: var(--text); }
.tier li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.tier .btn { margin-top: auto; width: 100%; }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } .tier--pop { order: -1; } }

/* ===== Legal pages ===== */
.legal { padding: 56px 0 72px; }
.legal__back { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 14px; margin-bottom: 24px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -1px; margin-bottom: 8px; }
.legal__updated { color: var(--text-soft); font-size: 14px; margin-bottom: 20px; }
.legal__notice {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 32px;
}
.legal h2 { font-size: 20px; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--text-soft); font-size: 15.5px; margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 10px; }
.legal a { color: var(--brand); }

/* ===== Modal ===== */
.modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: grid; place-items: center;
  background: rgba(8, 10, 24, .55);
  backdrop-filter: blur(4px);
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 34px;
  max-width: 420px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: pop .25s ease;
}
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal__check {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  font-size: 30px; font-weight: 700;
}
.modal__card h3 { font-size: 24px; margin-bottom: 10px; }
.modal__card p { color: var(--text-soft); margin-bottom: 24px; }
