/* Landing page only. Legal pages use style.css. */
:root {
  --bg: #07090c;
  --bg-2: #0d1116;
  --text: #f1f4f2;
  --muted: #95a39b;
  --line: rgba(255, 255, 255, 0.09);
  --glass: rgba(255, 255, 255, 0.04);
  --green: #5ef0a0;
  --teal: #3ad6d0;
  --violet: #9b7bff;
  --amber: #ffc861;
  --red: #ff7a7a;
  --radius: 20px;
  --max: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
a { color: var(--green); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em;
  background: rgba(94, 240, 160, 0.1); color: var(--green);
  padding: 2px 7px; border-radius: 7px;
}

/* ---------- Background: drifting aurora + grid ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora span {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(90px); opacity: 0.32; mix-blend-mode: screen;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { background: var(--green); top: -26vmax; left: -16vmax; opacity: 0.26; }
.aurora span:nth-child(2) { background: var(--violet); width: 64vmax; height: 64vmax; top: -12vmax; right: -24vmax; opacity: 0.20; animation-duration: 32s; animation-delay: -8s; }
.aurora span:nth-child(3) { background: var(--teal); bottom: -35vmax; left: 20vmax; opacity: 0.15; animation-duration: 38s; animation-delay: -16s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vmax, 6vmax) scale(1.12); }
  100% { transform: translate(-6vmax, 10vmax) scale(0.95); }
}
.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.6;
}

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7, 9, 12, 0.55); border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.top.scrolled { border-color: var(--line); background: rgba(7, 9, 12, 0.8); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 18px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.menu { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.menu a { color: var(--muted); text-decoration: none; transition: color .2s; }
.menu a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 650; text-decoration: none;
  color: #04110a; background: linear-gradient(135deg, var(--green), var(--teal));
  box-shadow: 0 0 0 1px rgba(94, 240, 160, .4), 0 10px 40px -10px rgba(94, 240, 160, .6);
  transition: transform .2s, box-shadow .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(94, 240, 160, .6), 0 16px 50px -10px rgba(94, 240, 160, .8); }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn.sm { padding: 9px 18px; font-size: 15px; }
.menu a.btn { color: #04110a; }
.btn.ghost { background: var(--glass); color: var(--text); box-shadow: 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.25); }

/* ---------- Hero ---------- */
.hero { padding-top: 84px; padding-bottom: 70px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--line);
  font-size: 14px; color: var(--muted); margin-bottom: 26px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(94,240,160,.7); animation: pulse 2s infinite; margin-left: 6px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(94,240,160,0); } 100% { box-shadow: 0 0 0 0 rgba(94,240,160,0); } }
h1 {
  margin: 0 0 24px; font-size: clamp(42px, 7vw, 86px); line-height: 0.98;
  letter-spacing: -0.045em; font-weight: 800;
}
.grad {
  background: linear-gradient(100deg, var(--green) 0%, var(--teal) 38%, var(--violet) 74%, var(--green) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine { to { background-position: -250% 0; } }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34ch; margin: 0 0 14px; }
.rotator { font-size: clamp(18px, 2vw, 21px); margin: 0 0 34px; color: var(--text); min-height: 1.6em; }
.rotator b { color: var(--green); font-weight: 650; display: inline-block; transition: opacity .35s, transform .35s; }
.rotator b.out { opacity: 0; transform: translateY(-8px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- Phone with live chat ---------- */
.phone-wrap { position: relative; display: grid; place-items: center; perspective: 1400px; }
.phone-wrap::before {
  content: ""; position: absolute; width: 80%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle, rgba(94,240,160,.24), rgba(155,123,255,.10) 45%, transparent 70%); filter: blur(40px);
}
.phone {
  position: relative; width: min(340px, 100%); height: 600px; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2a2f36, #0f1216); box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotateY(-10deg) rotateX(4deg); transition: transform .4s ease-out;
}
.screen { height: 100%; border-radius: 36px; overflow: hidden; background: #0e1621; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #17212b; border-bottom: 1px solid rgba(255,255,255,.05); }
.chat-head img { width: 36px; height: 36px; border-radius: 50%; }
.chat-head b { display: block; font-size: 15px; }
.chat-head small { color: #6c8aa3; font-size: 12px; }
.chat {
  flex: 1; padding: 14px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(94,240,160,.05), transparent 50%), #0e1621;
}
.msg {
  flex: none;
  max-width: 92%; padding: 10px 12px 8px; border-radius: 14px 14px 14px 4px;
  background: #182533; font-size: 13.5px; line-height: 1.45; color: #e9eef2;
  animation: pop .6s cubic-bezier(.22, 1, .36, 1) both;
}
.msg .body { display: block; }
.msg .tag { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.msg .tag svg { width: 14px; height: 14px; flex: none; }
.msg .tag .mark { letter-spacing: 0; }
.msg .tag.ins { color: var(--green); }
.msg .tag.big { color: var(--violet); }
.msg .tag.trd { color: var(--amber); }
.msg .time { display: block; text-align: right; font-size: 11px; color: #6c8aa3; margin-top: 2px; }
.msg .btns { display: flex; gap: 4px; margin-top: 8px; }
.msg .btns span { flex: 1; text-align: center; font-size: 12px; padding: 5px 0; border-radius: 8px; background: rgba(255,255,255,.07); color: #9fc3e0; }
.typing { align-self: flex-start; flex: none; animation: pop .4s cubic-bezier(.22, 1, .36, 1) both; padding: 10px 14px; border-radius: 14px; background: #182533; display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #6c8aa3; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Ticker marquee ---------- */
.marquee {
  border-block: 1px solid var(--line); background: rgba(255,255,255,.015); overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee .track { display: flex; gap: 48px; width: max-content; padding: 18px 0; animation: scroll 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { font: 600 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); letter-spacing: .06em; }
.marquee span::before { content: "●"; color: var(--green); margin-right: 10px; font-size: 9px; vertical-align: 2px; }
.marquee span:nth-child(3n)::before { color: var(--violet); }
.marquee span:nth-child(3n+1)::before { color: var(--amber); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section.block { padding-top: 110px; padding-bottom: 40px; }
.kicker { font: 600 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 18px; font-weight: 780; max-width: 18ch; }
.sub { color: var(--muted); font-size: 19px; max-width: 52ch; margin: 0 0 48px; }

/* Feature cards with cursor spotlight */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard {
  --x: 50%; --y: 50%; --c: 94, 240, 160;
  position: relative; padding: 30px 28px 32px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .3s, border-color .3s;
}
.fcard::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(var(--c), .16), transparent 45%);
}
.fcard:hover { transform: translateY(-4px); border-color: rgba(var(--c), .35); }
.fcard:hover::before { opacity: 1; }
.fcard.violet { --c: 155, 123, 255; }
.fcard.amber { --c: 255, 200, 97; }
.ficon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(var(--c), .12); color: rgb(var(--c)); border: 1px solid rgba(var(--c), .25);
}
.ficon svg { width: 26px; height: 26px; }
.fcard h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -0.01em; }
.fcard p { margin: 0; color: var(--muted); font-size: 16px; }

/* Steps timeline */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 26px; left: 26px; right: 26px; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--violet), var(--amber));
  transform-origin: left; transform: scaleX(var(--progress, 1)); transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.step { position: relative; counter-increment: s; }
.step .num {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--bg-2); border: 1px solid var(--line); font: 700 18px/1 ui-monospace, Menlo, monospace; color: var(--green);
  position: relative; z-index: 1;
}
.step .num::after { content: counter(s, decimal-leading-zero); }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Calm stats band */
.band {
  margin-top: 110px; padding: 56px 40px; border-radius: 28px; text-align: center;
  background: linear-gradient(135deg, rgba(94,240,160,.1), rgba(155,123,255,.1)); border: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.band b { display: block; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.band span { color: var(--muted); font-size: 15px; }

/* Pricing */
.switch {
  display: inline-flex; padding: 5px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); margin-bottom: 36px; position: relative;
}
.switch button {
  position: relative; z-index: 1; border: 0; background: none; color: var(--muted); font: inherit; font-size: 15px; font-weight: 600;
  padding: 9px 20px; border-radius: 999px; cursor: pointer; transition: color .25s;
}
.switch button[aria-pressed="true"] { color: #04110a; }
.switch .thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: linear-gradient(135deg, var(--green), var(--teal)); transition: transform .35s cubic-bezier(.2,.8,.2,1), width .35s; }
.switch .save { font-size: 12px; margin-left: 6px; color: var(--amber); }
.switch button[aria-pressed="true"] .save { color: #04110a; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 820px; }
.plan { padding: 32px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); }
.plan.pro { position: relative; border-color: transparent; background:
  linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
  linear-gradient(135deg, var(--green), var(--violet)) border-box; border: 1px solid transparent; }
.plan.pro .badge { position: absolute; top: -12px; right: 24px; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--green); color: #04110a; }
.plan h3 { margin: 0 0 6px; font-size: 18px; color: var(--muted); font-weight: 600; }
.amount { font-size: 54px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.amount small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.amount .val { display: inline-block; transition: opacity .2s, transform .2s; }
.amount .val.flip { opacity: 0; transform: translateY(10px); }
.per { color: var(--muted); font-size: 14px; min-height: 1.5em; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.plan li { padding-left: 28px; position: relative; color: #cdd6d1; font-size: 15.5px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: rgba(94,240,160,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%235ef0a0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan .btn { width: 100%; justify-content: center; }
.price-note { color: var(--muted); font-size: 14px; margin-top: 22px; max-width: 70ch; }

/* Final CTA */
.final { text-align: center; padding-top: 130px; padding-bottom: 90px; }
.final h2 { margin: 0 auto 18px; max-width: 16ch; }
.final p { color: var(--muted); font-size: 19px; margin: 0 auto 34px; max-width: 46ch; }
/* Fine print: small, italic and without a box, so it informs without shouting. */
.final .disclaimer { margin: 0 auto; max-width: 760px; font-size: 12.5px; line-height: 1.6; font-style: italic; text-align: center; color: rgba(149, 163, 155, .8); }
.final .disclaimer strong { color: var(--body); font-weight: 600; }

/* Footer */
footer { border-top: 1px solid var(--line); margin-top: 70px; padding: 30px 0 46px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 14px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 70px; }
  .phone { transform: none; height: 540px; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
}
@media (max-width: 620px) {
  .menu .hide-sm { display: none; }
  .steps, .plans, .band { grid-template-columns: 1fr; }
  .band { padding: 40px 24px; gap: 32px; }
  section.block { padding-top: 80px; }
  .plan { padding: 26px 22px; }
}
/* Very narrow phones: keep the logo, drop the name, so the button fits. */
@media (max-width: 380px) {
  .brand { font-size: 0; gap: 0; }
}

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