:root {
  --bg: #0b0f1a;
  --bg-2: #111729;
  --card: #151c31;
  --line: #263052;
  --text: #eef1fb;
  --muted: #9aa5c4;
  --brand: #7c5cff;
  --brand-2: #22d3ee;
  --ok: #34d399;
  --warm: #fbbf24;
  --radius: 18px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 92vw); margin: 0 auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.fine { font-size: .82rem; color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; color: #000; padding: .5rem 1rem; z-index: 100; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), #9b7bff 45%, var(--brand-2));
  color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .8);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(124, 92, 255, .9); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand-2); outline-offset: 3px;
}
.btn-ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--brand); box-shadow: none; }
.btn-small { padding: .6rem 1.1rem; font-size: .9rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px); background: rgba(11, 15, 26, .72);
  border-bottom: 1px solid rgba(38, 48, 82, .6);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.nav nav { display: flex; gap: 1.6rem; }
.nav nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav nav a:hover { color: var(--text); }
.logo { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; text-decoration: none; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: conic-gradient(from 200deg, var(--brand), var(--brand-2), var(--brand));
  box-shadow: 0 0 24px rgba(124, 92, 255, .6);
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 5.5rem 0 4rem; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.glow-a { width: 520px; height: 520px; background: var(--brand); top: -180px; left: -140px; }
.glow-b { width: 460px; height: 460px; background: var(--brand-2); bottom: -220px; right: -120px; opacity: .3; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem; border-radius: 999px;
  background: rgba(124, 92, 255, .14); border: 1px solid rgba(124, 92, 255, .4); font-size: .85rem; font-weight: 600;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.rotator { display: inline-block; }
/* Gradient must sit on the element that holds the text, or it will not paint. */
#rotate-word {
  display: inline-block; transition: opacity .3s ease, transform .3s ease;
  background: linear-gradient(90deg, var(--brand-2), #a78bfa, var(--warm));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
#rotate-word.out { opacity: 0; transform: translateY(12px); }
.lead { font-size: 1.2rem; color: #c8cfe6; max-width: 36rem; }
.cta-row { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.8rem 0 1.4rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--muted); font-size: .95rem; }
.ticks li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: .4rem; }

/* Phone card */
.phone-card {
  background: linear-gradient(180deg, rgba(21, 28, 49, .95), rgba(17, 23, 41, .95));
  border: 1px solid var(--line); border-radius: 26px; padding: 1.2rem; box-shadow: var(--shadow);
  min-height: 470px; display: flex; flex-direction: column;
}
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: .3rem .4rem 1rem; border-bottom: 1px solid var(--line); }
.caller { display: flex; gap: .75rem; align-items: center; }
.caller small { display: block; color: var(--muted); font-size: .8rem; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); font-size: 1.1rem;
}
.live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #f43f5e; margin-right: .2rem; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.wave { display: flex; gap: 3px; align-items: center; height: 24px; }
.wave i { width: 4px; border-radius: 4px; background: var(--brand-2); animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; }
.wave i:nth-child(4) { animation-delay: .3s; } .wave i:nth-child(5) { animation-delay: .4s; }
@keyframes wave { 0%, 100% { height: 5px; } 50% { height: 22px; } }
.chat { list-style: none; margin: 0; padding: 1rem .2rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.chat li {
  max-width: 85%; padding: .65rem .95rem; border-radius: 16px; font-size: .95rem;
  animation: pop .35s ease both;
}
.chat li.ai { background: rgba(124, 92, 255, .18); border: 1px solid rgba(124, 92, 255, .35); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat li.caller-msg { background: #1f2944; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat li small { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .1rem; }
.chat li.typing { color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.booked {
  display: flex; gap: .5rem; align-items: center; padding: .7rem 1rem; border-radius: 14px;
  background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .45); color: #b9f5dc; margin-bottom: .8rem;
  animation: pop .4s ease both;
}
.booked[hidden] { display: none; }
.booked span { background: var(--ok); color: #05281b; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; }
.booked em { font-style: normal; color: #d6fbe9; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.chip {
  border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px;
  padding: .38rem .8rem; font-size: .82rem; cursor: pointer; font-family: inherit;
}
.chip[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 700; }

/* Marquee */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; padding: 1.1rem 0; animation: scroll 40s linear infinite; color: var(--muted); font-weight: 600; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding: 4rem 0 1rem; }
.stat { padding: 1.6rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.stat b { display: block; font-size: 2.1rem; font-weight: 800; background: linear-gradient(90deg, var(--text), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); }

/* Sections */
.section { padding: 5rem 0; }
.eyebrow { color: var(--brand-2); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin-bottom: .6rem; }
#pricing .eyebrow, #pricing h2 { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.step { padding: 1.8rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; }
.step .num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 1rem; font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.step p, .feature p { color: var(--muted); margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.feature { padding: 1.6rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.feature:hover { border-color: rgba(124, 92, 255, .6); transform: translateY(-3px); }
.ico { font-size: 1.6rem; display: block; margin-bottom: .6rem; }

/* Calculator */
.calc-band { background: radial-gradient(1000px 400px at 20% 0%, rgba(124, 92, 255, .18), transparent), var(--bg-2); border-block: 1px solid var(--line); }
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.slider { display: block; margin: 1.4rem 0; }
.slider span { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: .5rem; }
.slider output { color: var(--brand-2); font-weight: 800; }
input[type="range"] { width: 100%; accent-color: var(--brand); height: 6px; }
.calc-result { padding: 2.2rem; border-radius: 24px; background: var(--card); border: 1px solid var(--line); text-align: center; box-shadow: var(--shadow); }
.calc-result strong { display: block; font-size: clamp(2.8rem, 6vw, 4rem); font-weight: 900; color: var(--warm); line-height: 1.1; margin: .3rem 0; }
.calc-result small { color: var(--muted); font-size: 1rem; }
.calc-result hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; align-items: stretch; }
.plan { padding: 2rem; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.featured { border: 1.5px solid var(--brand); background: linear-gradient(180deg, rgba(124, 92, 255, .16), var(--card) 45%); position: relative; transform: translateY(-8px); }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); padding: .2rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.plan .price { font-size: 2.8rem; font-weight: 900; margin: .3rem 0 0; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; flex: 1; }
.plan li { padding: .35rem 0; color: #c8cfe6; }
.plan li::before { content: "✓"; color: var(--ok); margin-right: .55rem; font-weight: 800; }
.plan .btn { width: 100%; }
#price-note { margin-top: 1.6rem; }

/* Trust */
.trust { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.trust-list li { padding: 1.2rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--muted); }
.trust-list b { color: var(--text); display: block; }

/* FAQ */
.faq { max-width: 820px; margin-top: 1.8rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--brand-2); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: .8rem 0 0; }

/* Join */
.join-band { background: linear-gradient(135deg, #2a1d6b, #0e3a4a); }
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.join p { color: #d3dbf3; font-size: 1.1rem; }
.join-form { background: rgba(11, 15, 26, .7); padding: 2rem; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .12); display: grid; gap: .9rem; }
.join-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.join-form input, .join-form select {
  font: inherit; padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text);
}
.join-form .hp { position: absolute; left: -9999px; }
.form-msg { min-height: 1.4em; margin: 0; font-weight: 600; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: #fda4af; }
.join-form .fine { margin: 0; }

.foot { padding: 2rem 0; border-top: 1px solid var(--line); }
.foot-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }

/* Responsive */
@media (max-width: 900px) {
  .nav nav { display: none; }
  .hero { padding-top: 3.5rem; }
  .hero-grid, .calc, .trust, .join { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps, .features, .plans, .stats { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .trust-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p, .legal li { color: #c8cfe6; }
.legal a { color: var(--brand-2); }
.foot a { color: var(--muted); }
