:root {
  --bg: #0b0e14;
  --bg-2: #11151f;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --text: #e8ecf3;
  --muted: #9aa4b6;
  --accent: #4f8cff;
  --accent-2: #28d5b8;
  --danger: #ff5a6e;
  --warning: #ffc24b;
  --radius: 16px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60rem 40rem at 80% -10%, rgba(79, 140, 255, 0.16), transparent 60%),
    radial-gradient(50rem 40rem at -10% 20%, rgba(40, 213, 184, 0.10), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
main { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(180deg, var(--accent), #3a73e6);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(79, 140, 255, 0.6);
}
.btn--primary:hover { box-shadow: 0 12px 30px -8px rgba(79, 140, 255, 0.75); }
.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.25); }
.btn--large { padding: 14px 26px; font-size: 1rem; }
.btn--small { padding: 8px 16px; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}
.nav.scrolled {
  background: rgba(11, 14, 20, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
.brand__mark {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: conic-gradient(from 200deg, var(--accent), var(--accent-2), var(--accent));
  box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.12);
}
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color 0.15s; }
.nav__links a:hover { color: var(--text); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.2s; }

/* Hero */
.hero { padding: 72px 0 48px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.hero__lead { color: var(--muted); font-size: 1.12rem; max-width: 36ch; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { color: var(--muted); font-size: 0.85rem; margin-top: 18px; }

/* Hero dashboard visual */
.dash { border-radius: var(--radius); padding: 16px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.dash__bar { display: flex; align-items: center; gap: 7px; padding-bottom: 14px; }
.dash__title { margin-left: 8px; font-size: 0.85rem; color: var(--muted); }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot--r { background: var(--danger); } .dot--y { background: var(--warning); } .dot--g { background: var(--accent-2); }
.dash__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.gauge {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.02);
}
.gauge::before {
  content: attr(data-val) "%";
  font-weight: 700;
  font-size: 1.05rem;
}
.gauge::after {
  content: attr(data-label);
  position: absolute;
  bottom: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.spark {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: var(--accent-2);
}
.spark__label { font-size: 0.75rem; color: var(--muted); }
.spark svg { height: 40px; width: 100%; }
.spark__val { font-weight: 700; color: var(--text); font-size: 0.95rem; }

/* Strip */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 1.7rem; }
.stat span { color: var(--muted); font-size: 0.85rem; }

/* Sections */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-2); }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 14px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(79, 140, 255, 0.4); }
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  border-radius: 12px;
  background: rgba(79, 140, 255, 0.12);
  margin-bottom: 16px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Preview */
.preview { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.preview__copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 14px; }
.preview__copy p { color: var(--muted); margin-bottom: 22px; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--text); }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: rgba(40, 213, 184, 0.15);
  color: var(--accent-2);
  font-size: 0.75rem; font-weight: 700;
}
.preview__shot { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.shot__topbar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.shot__body { padding: 22px; display: grid; gap: 16px; }
.readout { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.readout span { color: var(--muted); font-size: 0.85rem; }
.readout b { font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.readout .bar { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.readout .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }

/* Specs */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spec {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  background: var(--surface);
}
.spec span { display: block; color: var(--muted); font-size: 0.82rem; margin-bottom: 6px; }
.spec b { font-size: 1.05rem; }

/* Download */
.download__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl {
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  gap: 8px;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.dl:hover { transform: translateY(-4px); border-color: rgba(79, 140, 255, 0.4); }
.dl__os { font-size: 1.2rem; font-weight: 700; }
.dl__meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 12px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 760px; }
.qa {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 0 20px;
}
.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; transition: transform 0.2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { color: var(--muted); padding: 0 0 18px; }

/* CTA */
.cta { padding: 0 0 88px; }
.cta__inner { border-radius: 24px; padding: 56px 32px; text-align: center; }
.cta__inner h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.cta__inner p { color: var(--muted); margin-bottom: 26px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0; position: relative; z-index: 1; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: var(--muted); font-size: 0.9rem; }
.footer__links a:hover { color: var(--text); }
.footer__copy { color: var(--muted); font-size: 0.85rem; width: 100%; padding-top: 10px; border-top: 1px solid var(--border); }

/* Legal pages */
.legal { padding: 56px 0 72px; position: relative; z-index: 1; }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal__updated { color: var(--muted); font-size: 0.88rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.2rem; margin: 30px 0 10px; }
.legal p { color: var(--muted); margin-bottom: 14px; }
.legal ul { color: var(--muted); margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--accent); }
.legal strong { color: var(--text); }
.legal__nav { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.92rem; }

/* VIP page */
.vip-hero { padding: 64px 0 24px; text-align: center; }
.vip-hero__title { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.vip-hero__lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.billing-toggle__btn {
  border: 0;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 20px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, color 0.15s;
}
.billing-toggle__btn.is-active { background: var(--accent); color: #fff; }
.billing-toggle__save {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(40, 213, 184, 0.18);
  color: var(--accent-2);
}
.billing-toggle__btn.is-active .billing-toggle__save { background: rgba(255, 255, 255, 0.2); color: #fff; }

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tier {
  position: relative;
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.tier:hover { transform: translateY(-4px); }
.tier--featured { border-color: rgba(79, 140, 255, 0.5); box-shadow: 0 24px 60px -28px rgba(79, 140, 255, 0.6); }
.tier__badge {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--accent), #3a73e6);
  color: #fff;
}
.tier__name { font-size: 1.3rem; }
.tier__price { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.tier__amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; }
.tier__cycle { color: var(--muted); font-size: 0.95rem; }
.tier__buy { margin-top: auto; }

.tiers__note {
  text-align: center;
  margin-top: 24px;
  color: var(--accent-2);
  font-size: 0.92rem;
}
.tiers__note[hidden] { display: none; }

@media (max-width: 900px) {
  .tiers { grid-template-columns: repeat(2, 1fr); gap: 18px 18px; }
  .tier--featured .tier__badge { top: -11px; }
}
@media (max-width: 520px) {
  .tiers { grid-template-columns: 1fr; }
}

/* Login modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 11, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fade 0.2s ease;
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  padding: 34px 30px 28px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
  animation: pop 0.22s cubic-bezier(0.2, 0.8, 0.3, 1.2);
}
.modal__close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s;
}
.modal__close:hover { color: var(--text); }
.modal__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 18px; }
.modal__title { font-size: 1.5rem; margin-bottom: 6px; }
.modal__sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 7px; }
.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.98rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.18);
}
.field input::placeholder { color: rgba(154, 164, 182, 0.6); }
.modal__error {
  background: rgba(255, 90, 110, 0.12);
  border: 1px solid rgba(255, 90, 110, 0.35);
  color: #ffb3bd;
  font-size: 0.88rem;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.modal__error[hidden] { display: none; }
.modal__foot { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 18px; }
.modal__foot a { color: var(--accent); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero__inner, .preview { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .cards, .specs, .download__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 14, 20, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav.open .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .cards, .specs, .download__grid, .strip__inner { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .dash__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
