:root {
  --bg: #060814; --bg2: #0b0f22; --card: rgba(255,255,255,.045); --card-line: rgba(255,255,255,.10);
  --ink: #f4f6ff; --muted: #a2abcb; --dim: #7a84a6;
  --accent: #4f7bff; --accent2: #18a0e0; --gold: #d9b45a; --gold-dk: #a8842c;
  --radius: 18px; --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.shell { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { letter-spacing: -.022em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(28px, 4.4vw, 44px); }
.lede { color: var(--muted); font-size: clamp(16px, 2vw, 19px); }
.eyebrow {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
  font-weight: 700; margin: 0 0 12px;
}

/* ---------- background field ---------- */
.field { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.blob.a { width: 60vw; height: 60vw; left: -18vw; top: -22vw; background: #2f4fe0; animation: drift 26s ease-in-out infinite alternate; }
.blob.b { width: 46vw; height: 46vw; right: -14vw; top: 32vh; background: #1683c8; animation: drift 34s ease-in-out infinite alternate-reverse; }
.blob.c { width: 40vw; height: 40vw; left: 24vw; bottom: -22vw; background: #6b3fd4; opacity: .38; animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(5vw,4vh,0) scale(1.14); } }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(150%) blur(14px);
  background: rgba(6,8,20,.72); border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav .shell { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav nav { margin-left: auto; display: flex; gap: 26px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 820px) { .nav nav { display: none; } }

/* ---------- buttons ---------- */
.cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 13px;
  background: linear-gradient(150deg, var(--accent), var(--accent2)); color: #fff; font-weight: 650;
  text-decoration: none; border: none; cursor: pointer; font-size: 16px;
  box-shadow: 0 12px 34px rgba(47,79,224,.36); transition: transform .18s ease, box-shadow .18s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(47,79,224,.46); }
.cta.ghost { background: var(--card); border: 1px solid var(--card-line); box-shadow: none; color: var(--ink); }
.appstore {
  display: inline-flex; align-items: center; gap: 12px; padding: 13px 22px 13px 20px; border-radius: 14px;
  background: #fff; color: #000; text-decoration: none; transition: transform .18s ease;
  box-shadow: 0 14px 40px rgba(0,0,0,.4);
}
.appstore:hover { transform: translateY(-2px); }
.appstore svg { width: 26px; height: 30px; flex: none; }
.appstore span { display: grid; line-height: 1.15; }
.appstore small { font-size: 11px; letter-spacing: .04em; opacity: .7; }
.appstore b { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }

/* ---------- hero ---------- */
.hero { padding: clamp(52px, 9vw, 104px) 0 40px; }
.hero .shell { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6.4vw, 66px); }
.hero h1 .grad {
  background: linear-gradient(120deg, #9db4ff, #fff 42%, #b9e2ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { margin: 20px 0 30px; max-width: 54ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.trust { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.pill {
  font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--card-line);
  background: var(--card); color: var(--muted);
}
.pill b { color: var(--ink); font-weight: 600; }
.phone-stage { position: relative; display: grid; place-items: center; }
.phone {
  width: min(330px, 82%); border-radius: 42px; padding: 9px; background: linear-gradient(160deg, #2a3050, #10131f);
  box-shadow: 0 40px 90px rgba(0,0,0,.62), inset 0 0 0 1px rgba(255,255,255,.10);
  animation: float 7s ease-in-out infinite;
}
.phone img { border-radius: 34px; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-16px) rotate(.6deg); } }
.floating-cert {
  position: absolute; right: -6%; bottom: 4%; width: 58%; border-radius: 10px; overflow: hidden;
  box-shadow: 0 26px 60px rgba(0,0,0,.6); border: 1px solid rgba(217,180,90,.5);
  animation: float 9s ease-in-out infinite reverse;
}
@media (max-width: 1120px) {
  .floating-cert { display: none; }
}
@media (max-width: 900px) {
  .hero .shell { grid-template-columns: 1fr; }
  .phone-stage { order: -1; }
}

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid rgba(255,255,255,.07); padding: 15px 0; margin: 34px 0 0; overflow: hidden; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: slide 34s linear infinite; }
.marquee span { color: var(--dim); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: clamp(58px, 8vw, 96px) 0; }
.section-head { max-width: 62ch; margin-bottom: 42px; }
.section-head p { color: var(--muted); margin: 14px 0 0; }
.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(120,160,255,.42); background: rgba(255,255,255,.07); }
.card h3 { font-size: 19px; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(150deg, rgba(79,123,255,.34), rgba(24,160,224,.22));
  border: 1px solid rgba(140,175,255,.34); font-size: 21px;
}

/* ---------- certificate showcase ---------- */
.cert-show { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center; }
.cert-frame {
  border-radius: 12px; overflow: hidden; position: relative;
  box-shadow: 0 34px 80px rgba(0,0,0,.6); border: 1px solid rgba(217,180,90,.55);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); transition: transform .5s ease;
}
.cert-frame:hover { transform: perspective(1400px) rotateY(0) rotateX(0) scale(1.02); }
.cert-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.20) 47%, transparent 56%);
  transform: translateX(-100%); animation: sheen 6.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 62% { transform: translateX(-100%); } 82%, 100% { transform: translateX(100%); } }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 13px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--muted); font-size: 16px; }
.checks b { color: var(--ink); font-weight: 600; }
.tick {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px;
  background: linear-gradient(150deg, var(--gold), var(--gold-dk)); color: #241a03; font-size: 12px; font-weight: 800;
}
@media (max-width: 940px) { .cert-show { grid-template-columns: 1fr; } .cert-frame { transform: none; } }

/* ---------- steps ---------- */
.steps { counter-reset: s; }
.step {
  display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 8px 16px; align-items: start;
}
.step::before {
  counter-increment: s; content: counter(s); grid-row: span 2;
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent), var(--accent2)); font-weight: 700; font-size: 19px;
}
.step h3 { align-self: center; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); gap: 20px; align-items: start; }
.plan {
  background: var(--card); border: 1px solid var(--card-line); border-radius: 20px; padding: 30px 26px; position: relative;
}
.plan.hot { border-color: rgba(120,160,255,.6); background: rgba(79,123,255,.12); box-shadow: 0 26px 64px rgba(47,79,224,.24); }
.plan .tag {
  position: absolute; top: -13px; left: 26px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 13px; border-radius: 999px; color: #08122e;
  background: linear-gradient(120deg, var(--gold), #f0d798);
}
.plan h3 { font-size: 21px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 4px; }
.price b { font-size: 42px; letter-spacing: -.03em; }
.price span { color: var(--muted); font-size: 15px; }
.was { color: var(--dim); text-decoration: line-through; font-size: 15px; }
.save {
  display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: #0c2a17;
  background: linear-gradient(120deg, #7fe0a8, #3fc07d); padding: 5px 11px; border-radius: 8px;
}
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 11px; }
.plan li { color: var(--muted); font-size: 15.5px; display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.plan li i { color: var(--accent); font-style: normal; font-weight: 700; }
.plan li.no { color: var(--dim); }
.plan li.no i { color: var(--dim); }
.plan .cta, .plan .btn-full { width: 100%; justify-content: center; }
.fineprint { color: var(--dim); font-size: 13.5px; margin-top: 22px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
details {
  background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; padding: 18px 22px;
}
details[open] { border-color: rgba(120,160,255,.4); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 14px 0 0; font-size: 15.5px; }

/* ---------- final cta + footer ---------- */
.final { text-align: center; }
.final .shell { display: grid; justify-items: center; gap: 22px; }
footer.site { border-top: 1px solid rgba(255,255,255,.07); padding: 40px 0 60px; color: var(--dim); font-size: 14.5px; }
footer.site .shell { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); }
footer.site .spacer { margin-left: auto; }

/* ---------- reveal (CSS scroll-driven; no JS, degrades to plain content) ---------- */
@keyframes revealIn { to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0; transform: translateY(26px);
      animation: revealIn .01s linear both;
      animation-timeline: view();
      animation-range: entry 6% cover 24%;
    }
    .reveal.d1 { animation-range: entry 8% cover 27%; }
    .reveal.d2 { animation-range: entry 10% cover 30%; }
    .reveal.d3 { animation-range: entry 12% cover 33%; }
    .reveal.d4 { animation-range: entry 14% cover 36%; }
    .reveal.d5 { animation-range: entry 16% cover 39%; }
    .hero .reveal { animation-range: cover 0% cover 12%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .phone, .floating-cert, .marquee-track, .cert-frame::after { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .cta:hover, .card:hover, .appstore:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .shell { padding: 0 18px; }
  .hero { padding-top: 34px; }
  .hero .shell { gap: 32px; }
  .card { padding: 22px 20px; }
  .cert-show { gap: 30px; }
  .plan { padding: 26px 22px; }
  .checks li { font-size: 15px; }
  .marquee { margin-top: 26px; }
  footer.site .spacer { margin-left: 0; flex-basis: 100%; height: 0; }
}
@media (max-width: 520px) {
  .logo { font-size: 15px; white-space: nowrap; }
  .logo img { width: 30px; height: 30px; }
  .nav .shell { gap: 10px; height: 60px; }
  .nav .cta { padding: 9px 14px; font-size: 14px; white-space: nowrap; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .cta, .hero-ctas .appstore { flex: 1 1 100%; justify-content: center; }
  .phone { width: min(280px, 88%); }
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 6px 13px; }
  .step::before { width: 40px; height: 40px; font-size: 17px; border-radius: 12px; }
  .price b { font-size: 36px; }
  .plan .tag { position: static; display: inline-block; margin-bottom: 12px; }
  details { padding: 16px 18px; }
  summary { font-size: 15.5px; }
}
@media (max-width: 360px) {
  .shell { padding: 0 14px; }
  .trust { gap: 7px; }
  .pill { font-size: 12px; padding: 7px 11px; }
  .card, .plan { padding: 20px 16px; }
}
@media (min-width: 1500px) {
  :root { --max: 1240px; }
}

/* Touch targets: every interactive row is at least 44px tall. */
summary { min-height: 44px; align-items: center; }
.nav nav a { display: inline-flex; align-items: center; min-height: 44px; }
.share a { display: inline-block; padding: 8px 0; }
footer.site a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- footer detail ---------- */
footer.site .shell { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px 40px; align-items: start; }
.foot-brand .logo { margin-bottom: 12px; }
.company { margin: 0; line-height: 1.75; font-size: 13.5px; color: var(--dim); }
.company a { color: var(--muted); text-decoration: none; }
.foot-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 4px 20px; align-content: start; }
.foot-links a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.foot-links a:hover { color: var(--ink); }
.copyright { grid-column: 1 / -1; margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--dim); border-top: 1px solid rgba(255,255,255,.07); padding-top: 20px; }
@media (max-width: 700px) { footer.site .shell { grid-template-columns: 1fr; } }
