:root {
  --bg: #07070f;
  --bg2: #0d0c1a;
  --card: #121124;
  --line: #24223d;
  --text: #f2f0ff;
  --muted: #a19dbf;
  --violet: #a78bfa;
  --violet2: #7c3aed;
  --cyan: #22d3ee;
  --green: #34d399;
  --grad: linear-gradient(100deg, #c4b5fd 0%, #a78bfa 35%, #22d3ee 100%);
  --head: "Space Grotesk", Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 19px; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
section { padding: 96px 0; position: relative; scroll-margin-top: 40px; }
section.alt { background: var(--bg2); }
.eyebrow { color: var(--violet); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.sec-head { max-width: 680px; margin-bottom: 48px; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 22px; border-radius: 12px; font-weight: 600; font-size: 15px;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; border: 0; cursor: pointer; box-shadow: 0 8px 30px -8px rgba(139, 92, 246, .6); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -8px rgba(139, 92, 246, .8); }
.btn.ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--violet); }
.btn.small { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn.full { width: 100%; }
.link { color: var(--violet); font-weight: 600; font-size: 15px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 7, 15, .82); backdrop-filter: blur(14px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { display: flex; align-items: center; gap: 9px; font: 700 20px var(--head); letter-spacing: -0.02em; }
.logo b { color: var(--violet); margin-left: 3px; }
.moon { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset -7px -3px 0 0 var(--violet); transform: rotate(-20deg); }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--muted); }
.links a:hover { color: var(--text); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s; }

/* hero */
.hero { padding: 150px 0 90px; overflow: hidden; }
.glow { position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none;
  background: radial-gradient(600px 380px at 70% 30%, rgba(124, 58, 237, .35), transparent 70%),
              radial-gradient(500px 300px at 20% 10%, rgba(34, 211, 238, .14), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; background: rgba(255,255,255,.02); }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); margin: 22px 0 20px; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 24px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.ticks li::before { content: "✓"; color: var(--green); margin-right: 7px; font-weight: 700; }

.hero-visual { position: relative; }
.callcard { background: linear-gradient(180deg, #16142c, #0f0e1f); border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(167,139,250,.08); }
.cc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cc-av { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #8b5cf6, #22d3ee); display: grid; place-items: center; font: 700 14px var(--head); }
.cc-name { font-weight: 600; font-size: 15px; }
.cc-sub { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.cc-time { margin-left: auto; font: 500 14px ui-monospace, monospace; color: var(--muted); }
.cc-body { height: 330px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding-top: 16px; mask-image: linear-gradient(to bottom, transparent, #000 18%); }
.bub { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; animation: rise .35s ease-out; }
.bub.ai { background: #1f1c3a; align-self: flex-start; border-bottom-left-radius: 4px; }
.bub.me { background: linear-gradient(135deg, #7c3aed, #6d28d9); align-self: flex-end; border-bottom-right-radius: 4px; }
.bub.typing { color: var(--muted); letter-spacing: 3px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.booked { position: absolute; right: -18px; bottom: -22px; display: flex; gap: 12px; align-items: center; background: #0f2a22; border: 1px solid #1f6b52; border-radius: 16px; padding: 12px 16px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.7); opacity: 0; transform: translateY(12px) scale(.96); transition: all .45s cubic-bezier(.2,.9,.3,1.3); }
.booked.show { opacity: 1; transform: none; }
.b-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #052e22; display: grid; place-items: center; font-weight: 800; }
.booked b { display: block; font-size: 14px; }
.booked span { font-size: 13px; color: #a7f3d0; }
.sample-note { position: absolute; top: -26px; right: 4px; font-size: 12px; color: var(--muted); }

/* problem */
.problem { padding-top: 40px; }
.problem h2 { max-width: 760px; margin: 0 auto 48px; }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--card); }
.p-ico { font-size: 28px; margin-bottom: 14px; }
.pain h3 { margin-bottom: 8px; }
.pain p { color: var(--muted); font-size: 15px; }

/* agents */
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.agent { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: var(--card); display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, transform .2s; }
.agent:hover { border-color: #3d3964; transform: translateY(-3px); }
.agent.featured { grid-column: 1 / -1; background: linear-gradient(160deg, #1d1840, var(--card) 60%); border-color: #3b2f7a; }
.agent p { color: var(--muted); font-size: 15px; }
.agent ul { margin: 0; padding: 0; list-style: none; font-size: 14px; display: grid; gap: 6px; flex: 1; }
.agent li::before { content: "→"; color: var(--violet); margin-right: 8px; }
.agent .btn, .agent .link { align-self: flex-start; margin-top: 6px; }
.a-ico { font-size: 30px; }
.badge { position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.badge.live-b { color: #052e22; background: var(--green); border-color: var(--green); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--card); }
.steps .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #8b5cf6, #22d3ee); font: 700 18px var(--head); margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* industries */
.inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ind { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: var(--card); font-weight: 500; }
.ind span { font-size: 24px; }

/* why */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.why h2 { margin-bottom: 16px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.why-grid h3 { font-size: 17px; margin-bottom: 6px; }
.why-grid p { color: var(--muted); font-size: 15px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; margin-bottom: 26px; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: var(--card); display: flex; flex-direction: column; }
.plan.pop { border-color: #6d4fd8; background: linear-gradient(170deg, #1d1840, var(--card) 70%); box-shadow: 0 30px 70px -30px rgba(124,58,237,.6); }
.pop-tag { position: absolute; top: -13px; left: 30px; background: var(--grad); color: #0b0a16; font-weight: 700; font-size: 12px; padding: 4px 12px; border-radius: 99px; }
.plan h3 { font-size: 22px; }
.pdesc { color: var(--muted); font-size: 15px; margin: 8px 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: 15px; flex: 1; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 10px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font: 600 18px var(--head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--violet); font-size: 24px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 12px; }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact h2 { margin-bottom: 16px; }
.direct { margin-top: 28px; display: grid; gap: 10px; }
.direct a { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--card); font-weight: 500; }
.direct a:hover { border-color: var(--violet); }
.form { border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: var(--card); display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; outline: none; transition: border-color .15s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--violet); }
.form-note { font-size: 14px; color: var(--green); min-height: 1em; }

.foot { border-top: 1px solid var(--line); padding: 40px 0; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-in p:first-of-type { color: var(--muted); }
.foot-in .small { margin-left: auto; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 980px) {
  .hero-in, .why, .contact { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .booked { right: 8px; }
  .agents { grid-template-columns: 1fr; }
  .inds { grid-template-columns: 1fr 1fr; }
  .pains, .steps, .plans { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  section { padding: 72px 0; }
  .links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(7,7,15,.97); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .links.open { display: flex; }
  .nav-in > .btn { margin-left: auto; }
  .burger { display: block; }
  .agents, .why-grid, .form .row { grid-template-columns: 1fr; }
  .agent.featured { grid-column: auto; }
  .cc-body { height: 290px; }
}
@media (max-width: 420px) {
  .nav-in > .btn { display: none; }
  .burger { margin-left: auto; }
  .inds { grid-template-columns: 1fr; }
}

/* =================== animated layer =================== */

/* night sky */
#sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { z-index: 1; }

/* dawn glow that rises as you scroll to the bottom */
.dawn { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0;
  background: radial-gradient(120% 60% at 50% 115%, rgba(251, 146, 60, .28), rgba(236, 72, 153, .14) 40%, transparent 70%); }
main, .foot { position: relative; z-index: 1; }
section.alt { background: rgba(13, 12, 26, .72); }

/* the night clock */
.nightclock { position: fixed; left: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px; border-radius: 99px; background: rgba(18, 17, 36, .82); backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: 0 10px 30px -10px rgba(0,0,0,.7); font-size: 13px;
  opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s, border-color .6s; }
.nightclock.show { opacity: 1; transform: none; }
.nightclock.morning { border-color: rgba(251, 146, 60, .6); }
.nc-ico { font-size: 18px; }
.nc-time { font: 600 15px var(--head); min-width: 72px; font-variant-numeric: tabular-nums; }
.nc-lbl { color: var(--muted); }

/* voice orb */
.orb { width: 42px; height: 42px; flex: none; }
.callcard { transition: transform .25s ease-out; transform-style: preserve-3d; will-change: transform; }

/* headline words */
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(0.5em) rotate(2deg); filter: blur(6px);
  animation: wordIn .7s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }

/* missed calls that flip into bookings */
.notifs { display: grid; gap: 10px; max-width: 420px; margin: 0 auto 56px; perspective: 900px; }
.nf { opacity: 0; transform: translateY(-24px) scale(.96); }
.nf-in { position: relative; height: 62px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, 1.4, .4, 1); }
.nf-face { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px;
  backface-visibility: hidden; backdrop-filter: blur(10px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.8); }
.nf-face div { flex: 1; min-width: 0; }
.nf-face b { display: block; font-size: 14px; }
.nf-face small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-face time { font-size: 12px; color: var(--muted); }
.nf-ic { font-size: 20px; }
.nf-miss { background: rgba(60, 18, 28, .85); border: 1px solid rgba(239, 68, 68, .45); }
.nf-ok { background: rgba(10, 46, 36, .9); border: 1px solid rgba(52, 211, 153, .5); transform: rotateX(180deg); }
.nf-ok small { color: #a7f3d0; }
.notifs.play .nf { animation: drop .55s cubic-bezier(.2, 1.3, .4, 1) forwards; animation-delay: calc(var(--i) * .35s); }
.notifs.play .nf-in { transform: rotateX(180deg); transition-delay: calc(1.9s + var(--i) * .45s); }
@keyframes drop { to { opacity: 1; transform: none; } }

/* industries marquee */
.marquee { display: grid; gap: 14px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: slide 38s linear infinite; }
.track.rev { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover .track { animation-play-state: paused; }
.track .ind { flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* how-it-works line */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; top: 48px; left: 48px; right: 48px; height: 2px; z-index: 0;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.6, 0, .2, 1); }
.steps.drawn::before { transform: scaleX(1); }
.steps li { position: relative; z-index: 1; }
.steps .n { box-shadow: 0 0 0 6px var(--bg2); }
.steps.drawn li .n { animation: popN .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.steps.drawn li:nth-child(2) .n { animation-delay: .55s; } .steps.drawn li:nth-child(3) .n { animation-delay: 1.1s; }
@keyframes popN { 0% { transform: scale(.4); } 100% { transform: none; } }

/* spotlight that follows the cursor across cards */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(167, 139, 250, .22), transparent 60%); }
.spot:hover::after { opacity: 1; }

.btn { transition: transform .2s ease-out, box-shadow .15s; }

@media (max-width: 980px) { .steps::before { display: none; } }
@media (max-width: 760px) {
  .nc-lbl { display: none; }
  .nightclock { left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .w, .nf, .track { animation: none !important; opacity: 1; transform: none; filter: none; }
  .notifs .nf-in { transform: rotateX(180deg); transition: none; }
}
