/* ───────────────────────── Tokens ───────────────────────── */
:root {
  --bg:        #0b1120;
  --bg-soft:   #111a2e;
  --panel:     #16213a;
  --line:      #243049;
  --ink:       #eaf0fb;
  --ink-soft:  #9fb0cc;
  --ink-mute:  #6b7c9c;
  --brand:     #4ade80;   /* ballpark green */
  --brand-2:   #38bdf8;   /* sky accent */
  --just:      #fbbf24;   /* just insure highlight */
  --danger:    #f87171;
  --radius:    14px;
  --maxw:      1080px;
  --shadow:    0 20px 50px -20px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ───────────────────────── Buttons ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; font-weight: 600; font-size: .95rem;
  padding: .8em 1.4em; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .2s ease, border-color .2s ease;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #052e16; }
.btn--primary:hover { background: #5ef193; }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--text { background: none; color: var(--ink-soft); padding-left: .3em; }
.btn--text:hover { color: var(--ink); }
.btn--block { width: 100%; }

/* ───────────────────────── Nav ───────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,17,32,.8); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .5em; font-weight: 800; font-size: 1.15rem; }
.brand__mark { font-size: 1.1em; }
.brand__name { letter-spacing: -.01em; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: .95rem; color: var(--ink-soft); }
.nav__links a:hover { color: var(--ink); }
.nav__links .btn:hover { color: var(--brand); }

/* ───────────────────────── Hero ───────────────────────── */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 600px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(74,222,128,.16), transparent 70%);
  pointer-events: none;
}
.hero__inner { text-align: center; position: relative; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand);
  background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.25);
  padding: .4em .9em; border-radius: 999px; margin: 0 0 22px;
}
.hero__title { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.grad { background: linear-gradient(100deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { max-width: 660px; margin: 24px auto 0; font-size: 1.15rem; color: var(--ink-soft); }
.hero__sub strong { color: var(--ink); }
.hero__cta { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 34px 0 14px; }
.hero__note { color: var(--ink-mute); font-size: .9rem; margin: 0; }

/* Rate card */
.ratecard {
  margin: 48px auto 0; max-width: 560px;
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.ratecard__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-size: .82rem; color: var(--ink-mute);
}
.pill { background: rgba(56,189,248,.15); color: var(--brand-2); border-radius: 999px; padding: .2em .7em; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.ratecard__rows { list-style: none; margin: 0; padding: 8px; }
.rrow {
  display: grid; grid-template-columns: 28px 1fr auto auto; align-items: center; gap: 12px;
  padding: 12px 12px; border-radius: 10px; font-size: .98rem;
}
.rrow + .rrow { margin-top: 2px; }
.rrow:hover { background: rgba(255,255,255,.03); }
.rrow__rank { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: var(--line); color: var(--ink-soft); font-weight: 700; font-size: .85rem; }
.rrow__name { font-weight: 600; }
.rrow__name em { color: var(--ink-mute); font-style: normal; font-weight: 500; font-size: .85em; }
.rrow__band { color: var(--ink-mute); font-size: .82rem; }
.rrow__price { font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.rrow--just { background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.25); }
.rrow--just .rrow__rank { background: rgba(251,191,36,.2); color: var(--just); }
.ratecard__foot { margin: 0; padding: 12px 18px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink-mute); text-align: center; }

/* ───────────────────────── Features ───────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 64px 24px; }
.feature { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(74,222,128,.12); color: var(--brand); font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.feature h3 { margin: 0 0 8px; font-size: 1.2rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ───────────────────────── Section title ───────────────────────── */
.section__title { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 28px; text-align: center; }

/* ───────────────────────── Compare ───────────────────────── */
.compare { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; }
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 0 auto; }
.compare__col { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); }
.compare__col h4 { margin: 0 0 14px; font-size: 1.05rem; display: flex; align-items: center; gap: .4em; }
.compare__price { font-size: 2.4rem; font-weight: 800; margin: 0 0 16px; letter-spacing: -.02em; }
.compare__price span { font-size: .9rem; font-weight: 500; color: var(--ink-mute); margin-left: .3em; }
.compare__price--free { color: var(--brand); }
.compare__col ul { list-style: none; margin: 0; padding: 0; color: var(--ink-soft); font-size: .95rem; }
.compare__col li { padding: 5px 0 5px 22px; position: relative; }
.compare__col--them li::before { content: "•"; position: absolute; left: 4px; color: var(--ink-mute); }
.compare__col--us { border-color: rgba(74,222,128,.4); box-shadow: 0 0 0 1px rgba(74,222,128,.15); }
.compare__col--us li::before { content: "✓"; position: absolute; left: 2px; color: var(--brand); font-weight: 700; }

/* ───────────────────────── How ───────────────────────── */
.how { padding: 72px 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 8px; }
.step__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line); color: var(--brand); font-weight: 800; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ───────────────────────── Honesty strip ───────────────────────── */
.honest { padding: 0 24px 8px; }
.honest__inner { max-width: 820px; margin: 0 auto; background: rgba(56,189,248,.06); border: 1px solid rgba(56,189,248,.2); border-radius: var(--radius); padding: 22px 26px; }
.honest p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.honest strong { color: var(--brand-2); }

/* ───────────────────────── Register ───────────────────────── */
.register { padding: 72px 0 84px; }
.register__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.register__copy .section__title { text-align: left; }
.register__copy p { color: var(--ink-soft); }
.register__perks { list-style: none; margin: 20px 0 0; padding: 0; }
.register__perks li { padding: 7px 0 7px 28px; position: relative; color: var(--ink); }
.register__perks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

.form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.field .opt { color: var(--ink-mute); font-weight: 400; }
.field input, .field select {
  width: 100%; padding: .75em .9em; font-size: .98rem; font-family: inherit;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: 9px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: var(--ink-mute); }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(74,222,128,.15); }
.field input.invalid, .field select.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(248,113,113,.15); }
.form__msg { margin: 14px 0 0; font-size: .92rem; min-height: 1.2em; text-align: center; }
.form__msg.ok { color: var(--brand); }
.form__msg.err { color: var(--danger); }
.form__fine { margin: 14px 0 0; font-size: .78rem; color: var(--ink-mute); text-align: center; }

/* Success state */
.form--done { text-align: center; }
.form--done .form__check { font-size: 2.6rem; }

/* ───────────────────────── Footer ───────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg-soft); }
.footer__inner { display: flex; flex-direction: column; gap: 12px; }
.footer__brand { display: flex; align-items: center; gap: .5em; font-weight: 800; }
.footer__dom { color: var(--ink-mute); font-weight: 500; font-size: .9rem; margin-left: .3em; }
.footer__disc { margin: 0; color: var(--ink-mute); font-size: .82rem; max-width: 720px; }

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 860px) {
  .features, .steps, .compare__grid, .register__inner { grid-template-columns: 1fr; }
  .register__inner { gap: 32px; }
  .register__copy .section__title { text-align: center; }
  .nav__links a:not(.btn) { display: none; }
}
