:root {
  --navy: #0c1b33;
  --navy-2: #123e75;
  --blue: #175cd3;
  --gold: #fdb022;
  --gold-soft: #fff7e6;
  --ink: #101828;
  --muted: #667085;
  --border: #e4e7ec;
  --bg: #ffffff;
  --bg-soft: #f8faff;
  --green: #067647;
  --green-bg: #ecfdf3;
  --red: #b42318;
  --red-bg: #fef3f2;
  --radius-card: 18px;
  --radius-input: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Nav (single line, max 72px) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 16px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 12px; }
.brand b { font-size: 19px; letter-spacing: -.3px; }
.nav-links { display: flex; gap: 22px; margin-left: 18px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; }

/* ---------- Buttons (pill, one label per intent) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none;
  border-radius: 999px; padding: 13px 26px;
  font-weight: 800; font-size: 15px; line-height: 1;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #fda50a; box-shadow: 0 8px 22px rgba(253, 176, 34, .35); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--navy); }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-block { width: 100%; }

/* ---------- Hero (fits viewport, split) ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; padding: 64px 0 72px;
}
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.hero h1 {
  margin: 0 0 14px; font-size: 52px; line-height: 1.04;
  letter-spacing: -1.5px; font-weight: 800;
}
.hero p.sub { margin: 0 0 26px; color: #d0d5dd; font-size: 17px; max-width: 46ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; color: #98a2b3; }
.hero-shot { position: relative; }
.hero-shot img {
  width: 100%; border-radius: var(--radius-card); display: block;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.hero-shot img.second {
  position: absolute; width: 46%; right: -14px; bottom: -26px;
  border: 5px solid #fff; aspect-ratio: 1 / 1;
}
.hero-badge {
  position: absolute; left: -12px; top: 18px;
  background: var(--gold); color: var(--navy);
  font-weight: 800; font-size: 13px; border-radius: 999px;
  padding: 9px 16px; box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
section.block.soft { background: var(--bg-soft); }
h2.sec-title { margin: 0 0 10px; font-size: 32px; letter-spacing: -.7px; line-height: 1.15; }
p.sec-sub { margin: 0 0 34px; color: var(--muted); font-size: 16px; max-width: 62ch; }

/* How it works: numbered row, not cards */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { border-top: 3px solid var(--gold); padding-top: 18px; }
.step-num {
  display: inline-flex; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800;
  align-items: center; justify-content: center; margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Packages */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pkg {
  border: 1.5px solid var(--border); border-radius: var(--radius-card);
  padding: 26px 24px; background: #fff; position: relative;
  display: flex; flex-direction: column;
}
.pkg.popular { border-color: var(--gold); box-shadow: 0 18px 44px rgba(253, 176, 34, .18); }
.pkg-flag {
  position: absolute; top: -13px; left: 24px;
  background: var(--gold); color: var(--navy);
  font-size: 11px; font-weight: 900; letter-spacing: .08em;
  padding: 5px 12px; border-radius: 999px;
}
.pkg h3 { margin: 4px 0 2px; font-size: 20px; }
.pkg .credits { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.pkg .price { font-size: 34px; font-weight: 800; letter-spacing: -1px; }
.pkg .per { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.pkg .btn { margin-top: auto; }

/* Guarantee band */
.guarantee {
  background: var(--green-bg); border: 1px solid #abefc6;
  border-radius: var(--radius-card); padding: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px;
}
.guarantee h3 { grid-column: 1 / -1; margin: 0; color: #05603a; font-size: 20px; }
.g-item { display: flex; gap: 10px; color: #05603a; font-size: 14.5px; font-weight: 600; }
.g-item svg { flex: none; margin-top: 2px; }

/* FAQ accordion */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 4px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 16px; }
.faq summary::marker { color: var(--gold); }
.faq p { margin: 10px 0 4px; color: var(--muted); max-width: 70ch; }

/* Footer */
footer { background: var(--navy); color: #d0d5dd; padding: 44px 0 30px; font-size: 14px; }
.foot-inner { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.foot-inner .brand b { color: #fff; }
footer a { color: var(--gold); text-decoration: none; }
.foot-note { margin-top: 18px; color: #98a2b3; font-size: 12.5px; }

/* ---------- Checkout ---------- */
.check-wrap { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
.check-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 28px; margin-bottom: 18px;
}
.check-card h2 { margin: 0 0 4px; font-size: 20px; }
.check-card .hint { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; font-size: 15px;
  border: 1.5px solid var(--border); border-radius: var(--radius-input);
  font-family: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 92, 211, .15);
}
.field .err { display: none; color: var(--red); font-size: 13px; margin-top: 5px; font-weight: 600; }
.field.invalid input { border-color: var(--red); }
.field.invalid .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.alert {
  border-radius: var(--radius-input); padding: 13px 16px;
  font-size: 14px; font-weight: 600; margin-bottom: 16px;
}
.alert.ok { background: var(--green-bg); color: var(--green); border: 1px solid #abefc6; }
.alert.bad { background: var(--red-bg); color: var(--red); border: 1px solid #fecdca; }
.alert.info { background: #eff8ff; color: var(--blue); border: 1px solid #b2ddff; }
.balance-line { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 0; }
.balance-line b { font-size: 30px; letter-spacing: -1px; }
.pkg-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pkg-pick label {
  border: 1.5px solid var(--border); border-radius: var(--radius-input);
  padding: 14px; cursor: pointer; text-align: center;
}
.pkg-pick input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-pick label.sel { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 2px var(--gold); }
.pkg-pick b { display: block; font-size: 17px; }
.pkg-pick span { color: var(--muted); font-size: 13px; }
.secure-note { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 12.5px; margin-top: 14px; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(12, 27, 51, .25); border-top-color: var(--navy);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.result-hero { text-align: center; padding: 60px 20px; }
.result-hero .big {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.result-hero .big.ok { background: var(--green-bg); }
.result-hero .big.bad { background: var(--red-bg); }
.result-hero h1 { font-size: 30px; margin: 0 0 10px; letter-spacing: -.5px; }
.result-hero p { color: var(--muted); margin: 0 0 24px; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 44px 0 60px; }
  .hero h1 { font-size: 36px; }
  .hero-shot img.second { right: 6px; }
  .steps, .pkgs, .guarantee { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .row3 { grid-template-columns: 1fr 1fr; }
  .pkg-pick { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
