/* =========================================================
   Adlok Tools — Global stylesheet
   Dark, modern SaaS look. Mobile-first, fully responsive.
   ========================================================= */

:root {
  --bg: #070b18;
  --bg-2: #0c1122;
  --bg-3: #111834;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text: #eef1fb;
  --muted: #9aa6c4;
  --muted-2: #6f7c9e;

  --primary: #6d5efc;
  --primary-2: #a259ff;
  --accent: #22d3ee;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #fb7185;

  --grad: linear-gradient(135deg, #6d5efc 0%, #a259ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(109,94,252,.18), rgba(162,89,255,.18));

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.75);
  --shadow-sm: 0 10px 30px -14px rgba(0, 0, 0, 0.7);
  --ring: 0 0 0 4px rgba(109, 94, 252, 0.28);

  --font: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(680px 460px at 12% -6%, rgba(109, 94, 252, 0.22), transparent 60%),
    radial-gradient(620px 420px at 92% 4%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(700px 520px at 50% 108%, rgba(162, 89, 255, 0.16), transparent 60%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5rem; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.section-head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.section-head p { font-size: 1.06rem; }

.grad-text {
  background: linear-gradient(120deg, #8b7cff, #c084fc 45%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: .97rem;
  font-weight: 700;
  color: #fff;
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 26px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, opacity .2s ease;
  box-shadow: 0 14px 34px -16px rgba(109, 94, 252, 0.9);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -18px rgba(109, 94, 252, 1); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 16px 32px; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn--ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  box-shadow: none;
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-2); box-shadow: none; }
.btn--light { background: #fff; color: #12132a; box-shadow: 0 14px 34px -18px rgba(255,255,255,.4); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- badges / pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(52,211,153,.18); }

.badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  color: #14213b;
  background: rgba(245, 248, 255, 0.97);
  border-bottom: 1px solid rgba(21, 39, 72, .1);
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled { border-color: rgba(21, 39, 72, .12); background: rgba(255, 255, 255, .98); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  box-shadow: 0 10px 24px -12px rgba(109, 94, 252, .95);
}
.brand__logo {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 9px;
}
.brand small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }

.nav__links { display: flex; align-items: center; gap: 30px; }
.site-header .brand small { color: #64748b; }
.nav__links a { font-size: .94rem; font-weight: 600; color: #52617a; transition: color .2s ease; }
.nav__links a:hover { color: #111c33; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__mobile { display: none; }
.site-header .btn--ghost { color: #1d2b46; border-color: rgba(29, 43, 70, .22); background: rgba(255,255,255,.65); }
.site-header .btn--ghost:hover { background: #fff; }
.site-header .pill { color: #1d2b46; border-color: rgba(29, 43, 70, .14); background: rgba(29, 43, 70, .04); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: rgba(29, 43, 70, .05);
  border: 1px solid rgba(29, 43, 70, .16);
  border-radius: 11px;
  cursor: pointer;
}
.nav__toggle span { width: 18px; height: 2px; background: #1d2b46; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 76px 0 84px; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero__lead { font-size: 1.14rem; max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; color: var(--muted); font-size: .9rem; }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; color: #fff;
}
.avatars span:first-child { margin-left: 0; }
.stars { color: var(--warning); letter-spacing: 2px; }

.hero__visual { position: relative; }
.window {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg);
  transition: transform .5s ease;
}
.window:hover { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg); }
.window__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.03); }
.window__dot { width: 11px; height: 11px; border-radius: 50%; }
.window__title { margin-left: 10px; font-size: .78rem; color: var(--muted-2); }
.window__body { padding: 20px; display: grid; gap: 14px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); }
.mock-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.05rem; }
.mock-lines { flex: 1; }
.mock-lines i { display: block; height: 9px; border-radius: 6px; background: var(--surface-2); }
.mock-lines i:first-child { width: 62%; margin-bottom: 8px; }
.mock-lines i:last-child { width: 40%; }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 108px; padding: 14px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); }
.mock-chart b { flex: 1; border-radius: 6px 6px 0 0; background: var(--grad); opacity: .85; }

.hero__float {
  position: absolute;
  right: -8px; bottom: -22px;
  background: rgba(12, 17, 34, .92);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 13px 16px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 11px;
  font-size: .84rem; font-weight: 600;
  animation: float 5s ease-in-out infinite;
}
.hero__float b { color: var(--success); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- logos strip ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos span { font-weight: 800; font-size: 1.05rem; color: var(--muted-2); opacity: .85; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat__num { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; }
.stat__label { font-size: .86rem; color: var(--muted); }

/* ---------- product grid / cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  transition: transform .25s ease, border-color .25s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card__icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; }
.card h3 { margin-bottom: 8px; }
.card__tag { font-size: .93rem; color: var(--muted); }
.card__features { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.card__features li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--muted); }
.card__features li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 17px; height: 17px; border-radius: 50%;
  background: rgba(52,211,153,.16); color: var(--success);
  font-size: .68rem; font-weight: 800;
  display: grid; place-items: center;
}
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid var(--border); }
.price { display: flex; align-items: baseline; gap: 9px; }
.price b { font-size: 1.65rem; font-weight: 800; }
.price s { color: var(--muted-2); font-size: .95rem; }
.card__meta { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted-2); margin-bottom: 12px; }
.card--featured { border-color: rgba(109,94,252,.55); box-shadow: 0 30px 70px -30px rgba(109,94,252,.75); }
.card--featured::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(109,94,252,.9), rgba(34,211,238,.5), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tag { font-size: .75rem; font-weight: 600; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; }

/* ---------- feature blocks ---------- */
.feature { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .25s ease, transform .25s ease; }
.feature:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.feature__icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.25rem; background: var(--grad-soft); border: 1px solid var(--border); }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { margin: 0; font-size: .9rem; }

/* ---------- steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 26px 24px 26px 76px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 24px; top: 26px;
  font-size: 1.1rem; font-weight: 800;
  color: #fff;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad);
  display: grid; place-items: center;
}

/* ---------- testimonials ---------- */
.quote { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.quote__text { font-size: .98rem; color: var(--text); }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; }
.quote__name { font-weight: 700; font-size: .92rem; }
.quote__role { font-size: .8rem; color: var(--muted-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 1rem; font-weight: 700; color: var(--text);
  text-align: left;
}
.faq__q i { flex: 0 0 auto; transition: transform .25s ease; color: var(--primary); font-style: normal; font-size: 1.3rem; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 22px 20px; margin: 0; font-size: .94rem; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 54px 44px;
  text-align: center;
  background: linear-gradient(130deg, rgba(109,94,252,.28), rgba(34,211,238,.14));
  border: 1px solid rgba(109,94,252,.4);
  overflow: hidden;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 540px; margin: 0 auto 26px; }
.cta-band .hero__cta { justify-content: center; margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 58px 0 30px; margin-top: 20px; background: rgba(7,11,24,.6); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer__about p { font-size: .9rem; max-width: 300px; }
.footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin-bottom: 16px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__links a { font-size: .92rem; color: var(--muted); transition: color .2s ease; }
.footer__links a:hover { color: var(--text); }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: .85rem; color: var(--muted-2); }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); transition: background .2s ease; }
.socials a:hover { background: var(--surface-2); }

/* ---------- page header (inner pages) ---------- */
.page-head { padding: 54px 0 34px; text-align: center; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.page-head p { max-width: 520px; margin: 0 auto; }

.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .85rem; color: var(--muted-2); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--text); }

/* ---------- checkout layout ---------- */
.checkout { padding: 20px 0 90px; }
.checkout__grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 34px; align-items: start; }

.panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  padding: 28px;
}
.panel + .panel { margin-top: 22px; }
.panel__head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.panel__step { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; font-size: .85rem; font-weight: 800; }
.panel__head h2 { font-size: 1.18rem; margin: 0; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field[hidden] { display: none; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field.has-error input, .field.has-error select { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(251,113,133,.18); }
.field__error { font-size: .78rem; color: var(--danger); min-height: 1em; display: none; }
.field.has-error .field__error { display: block; }

.checkbox { display: flex; align-items: flex-start; gap: 11px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); }

/* ---------- payment methods ---------- */
.pay-methods { display: grid; gap: 11px; margin-bottom: 20px; }
.pay-option { display: flex; align-items: center; gap: 13px; padding: 15px 17px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.pay-option:hover { background: var(--surface-2); }
.pay-option input { accent-color: var(--primary); width: 18px; height: 18px; }
.pay-option__body { flex: 1; }
.pay-option__title { font-weight: 700; font-size: .94rem; }
.pay-option__desc { font-size: .8rem; color: var(--muted-2); }
.pay-option input:checked ~ .pay-option__body .pay-option__title { color: var(--primary-2); }
.pay-option:has(input:checked) { border-color: var(--primary); background: rgba(109,94,252,.1); }
.pay-icons { display: flex; gap: 8px; font-size: 1.2rem; }

/* ---------- order summary ---------- */
.summary { position: sticky; top: 96px; }
.summary__product { display: flex; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.summary__thumb { flex: 0 0 62px; width: 62px; height: 62px; border-radius: 15px; display: grid; place-items: center; font-size: 1.6rem; }
.summary__name { font-weight: 700; font-size: 1rem; margin-bottom: 3px; }
.summary__sub { font-size: .82rem; color: var(--muted-2); }
.summary__lines { display: grid; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.line { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .92rem; }
.line span:first-child { color: var(--muted); }
.line span:last-child { font-weight: 600; }
.line--off span:last-child { color: var(--success); }
.totals { display: grid; gap: 12px; padding: 20px 0 0; }
.total-row { display: flex; align-items: center; justify-content: space-between; font-size: .95rem; color: var(--muted); }
.total-row b { color: var(--text); }
.total-row--grand { padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--border); font-size: 1.12rem; color: var(--text); }
.total-row--grand b { font-size: 1.5rem; font-weight: 800; }

.coupon { display: flex; gap: 10px; margin: 18px 0 0; }
.coupon input { flex: 1; font-family: inherit; font-size: .9rem; color: var(--text); background: rgba(0,0,0,.25); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px; }
.coupon input:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.coupon .btn { padding: 11px 18px; font-size: .88rem; }
.coupon-msg { font-size: .82rem; margin: 9px 0 0; display: none; }
.coupon-msg.is-ok { color: var(--success); display: block; }
.coupon-msg.is-bad { color: var(--danger); display: block; }

.trust { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border); display: grid; gap: 11px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }

.product-switch { display: grid; gap: 9px; margin-top: 6px; }
.switch-item { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: .87rem; transition: border-color .2s ease; }
.switch-item:hover { border-color: var(--border-strong); }
.switch-item.is-active { border-color: var(--primary); background: rgba(109,94,252,.1); }
.switch-item__icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: .95rem; }
.switch-item__price { margin-left: auto; font-weight: 700; }

/* ---------- thank you page ---------- */
.success { text-align: center; padding: 30px 0 10px; }
.success__badge {
  width: 96px; height: 96px; margin: 0 auto 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2.6rem;
  background: radial-gradient(circle at 50% 35%, rgba(52,211,153,.35), rgba(52,211,153,.06));
  border: 1px solid rgba(52,211,153,.5);
  box-shadow: 0 0 0 12px rgba(52,211,153,.06), 0 26px 60px -24px rgba(52,211,153,.7);
  animation: pop .5s ease both;
}
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success p { max-width: 560px; margin: 0 auto 8px; }

.dl-list { display: grid; gap: 14px; margin-top: 26px; }
.dl {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
}
.dl__icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--grad-soft); border: 1px solid var(--border); }
.dl__name { font-weight: 700; font-size: .95rem; }
.dl__meta { font-size: .8rem; color: var(--muted-2); }
.dl .btn { margin-left: auto; }

.receipt { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: left; margin-top: 8px; }
.receipt div span { display: block; font-size: .78rem; color: var(--muted-2); }
.receipt div b { font-weight: 700; font-size: .95rem; word-break: break-word; }

.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.support-box { margin-top: 30px; padding: 26px; border-radius: var(--radius); background: var(--grad-soft); border: 1px solid rgba(109,94,252,.35); text-align: center; }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.hide { display: none !important; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); margin-top: 26px; }
.back-link:hover { color: var(--text); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* toast */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 24px);
  background: rgba(12,17,34,.96);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 13px 20px;
  border-radius: 999px;
  font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 100;
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { order: -1; max-width: 560px; }
  .window { transform: none; }
  .checkout__grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1200px) {
  #nav .nav__links, #nav .nav__actions .btn--ghost { display: none; }
  #nav .nav__actions > .btn:not(.btn--ghost) { display: none; }
  #nav .nav__toggle { display: flex; }
  #nav ~ .nav__mobile {
    display: none;
    gap: 6px;
    padding: 12px 0 22px;
    border-bottom: 1px solid var(--border);
  }
  #nav ~ .nav__mobile.is-open { display: grid; }
  #nav ~ .nav__mobile a { padding: 12px 4px; font-weight: 600; color: #52617a; border-bottom: 1px solid rgba(21, 39, 72, .1); }
  #nav ~ .nav__mobile a:last-child { border-bottom: none; }
}

@media (max-width: 820px) {
  #nav .nav__links, #nav .nav__actions .btn--ghost { display: none; }
  #nav .nav__actions > .btn:not(.btn--ghost) { display: none; }
  #nav .nav__toggle { display: flex; }
  #nav ~ .nav__mobile.is-open { display: grid; }

  #nav ~ .nav__mobile {
    display: none;
    gap: 6px;
    padding: 12px 0 22px;
    border-bottom: 1px solid var(--border);
  }
  #nav ~ .nav__mobile a { padding: 12px 4px; font-weight: 600; color: #52617a; border-bottom: 1px solid rgba(21, 39, 72, .1); }
  #nav ~ .nav__mobile a:last-child { border-bottom: none; }

  .section { padding: 66px 0; }
  .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .grid > * { min-width: 0; }
  .next-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .receipt { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .panel { padding: 22px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 48px 0 60px; }
  .hero__cta .btn { width: 100%; }
  .logos { gap: 22px; }
  .logos span { font-size: .92rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .dl { flex-wrap: wrap; }
  .dl .btn { margin-left: 0; width: 100%; }
  .card__foot { flex-direction: column; align-items: stretch; }
  .card__foot .btn { width: 100%; }
  .price { flex-wrap: wrap; gap: 0 8px; }
  .price b { font-size: 1.5rem; }
  .price s { font-size: .85rem; }
  .dl > * { min-width: 0; }
  .dl__name { overflow-wrap: anywhere; }
  .support-box a { overflow-wrap: anywhere; }
  .support-box { min-width: 0; }
  .pay-option { gap: 8px; padding: 11px 10px; }
  .pay-option input { flex: 0 0 18px; }
  .pay-option__body { min-width: 0; }
  .pay-option__desc { overflow-wrap: anywhere; }
  .pay-icons { font-size: 1rem; }
  .field select { min-width: 0; padding-right: 28px; font-size: .85rem; }
  #checkoutForm .btn--block { white-space: normal; flex-wrap: wrap; text-align: center; }

  /* Mobile touch-target and accessibility improvements */
  .btn { min-height: 44px; min-width: 44px; }
  .btn--lg { min-height: 48px; }
  .field input, .field select, .field textarea { min-height: 44px; font-size: 16px !important; }
  .field input, .field select, .field textarea { padding: 14px 16px; }
  .field__error { font-size: .8rem; }
  .pay-option { min-height: 44px; padding: 14px 14px; }
  .summary__product { min-height: 44px; }
  .bundle-price { min-height: 0; }
  .dp-sticky-buy { min-height: 44px; padding: 11px 12px; font-size: .78rem; }
  .dp-sticky-buy .btn { padding: 10px 14px; font-size: .78rem; min-height: 40px; }
  .digital-product-page { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* print (receipt friendly) */
@media print {
  body::before, .site-header, .site-footer, .btn, .back-link { display: none !important; }
  body { background: #fff; color: #000; }
  .panel { border-color: #ddd; }
}

/* ---------- offer-led storefront landing page ---------- */
.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 18px;
  background: linear-gradient(90deg, #28205c, #182749 55%, #163849);
  color: #e9e6ff;
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
}
.announcement a { color: #8cecff; font-weight: 800; }
.announcement a span { display: inline-block; transition: transform .2s ease; }
.announcement a:hover span { transform: translateX(3px); }

.hero {
  padding: 82px 0 92px;
  background:
    radial-gradient(ellipse at 82% 48%, rgba(81, 58, 190, .19), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.012), transparent);
}
.hero__grid { grid-template-columns: 1.08fr .92fr; gap: 64px; }
.hero h1 { max-width: 660px; font-size: clamp(2.6rem, 5.1vw, 4.25rem); letter-spacing: -.055em; }
.hero__lead { max-width: 570px; font-size: 1.08rem; }
.hero__cta { gap: 12px; }
.hero__assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  color: var(--muted);
  font-size: .83rem;
  font-weight: 600;
}
.hero__assurances span { display: inline-flex; align-items: center; gap: 7px; }
.hero__assurances b { color: var(--success); font-size: 1rem; }
.hero__visual { padding: 10px 12px 18px 0; }
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 4% 0 0 9%;
  border-radius: 34px;
  background: linear-gradient(140deg, rgba(109,94,252,.2), rgba(34,211,238,.07));
  filter: blur(2px);
}
.hero__visual .window, .hero__float { position: relative; }
.hero__float { right: -12px; }

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.022);
}
.trust-strip__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 22px 0;
}
.trust-strip__items > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  column-gap: 11px;
  align-items: center;
  padding: 4px 17px;
  border-right: 1px solid var(--border);
}
.trust-strip__items > div:first-child { padding-left: 0; }
.trust-strip__items > div:last-child { border-right: 0; padding-right: 0; }
.trust-strip__items > div > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-soft);
  color: #b8aaff;
  font-size: 1.1rem;
  font-weight: 800;
}
.trust-strip__items b { font-size: .82rem; }
.trust-strip__items small { color: var(--muted-2); font-size: .7rem; line-height: 1.4; }

.bundle-section { padding-top: 76px; }
.bundle-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, .72fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(137,117,255,.34);
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 0 100%, rgba(109,94,252,.16), transparent 48%),
    linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
  box-shadow: 0 28px 90px -58px rgba(109,94,252,.9);
}
.bundle-panel .eyebrow { margin-bottom: 12px; }
.bundle-panel h2 { max-width: 620px; margin-bottom: 14px; }
.bundle-panel__copy > p { max-width: 610px; }
.bundle-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}
.bundle-checklist li { display: flex; align-items: flex-start; gap: 9px; color: var(--text); font-size: .86rem; }
.bundle-checklist li span { color: var(--success); font-weight: 800; }
.bundle-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: rgba(7,11,24,.72);
  box-shadow: var(--shadow-sm);
}
.bundle-price__label { font-size: .9rem; font-weight: 800; }
.bundle-price__old { margin-top: 16px; color: var(--muted); font-size: .79rem; }
.bundle-price__old s { color: var(--muted-2); }
.bundle-price__amount { margin: 0 0 2px; font-size: clamp(2.8rem, 6vw, 3.7rem); font-weight: 800; letter-spacing: -.06em; line-height: 1.1; }
.bundle-price__note { margin-bottom: 20px; color: var(--success); font-size: .8rem; font-weight: 700; }
.bundle-price .btn { white-space: normal; text-align: center; }
.bundle-price > small { align-self: center; margin-top: 13px; color: var(--muted-2); font-size: .7rem; text-align: center; }

#benefits, #products, #features, #how, #reviews, #faq { scroll-margin-top: 88px; }

@media (max-width: 1024px) {
  .checkout__grid { grid-template-columns: minmax(0, 1fr); }
  .checkout__grid > * { min-width: 0; }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .hero__copy { max-width: 760px; }
  .hero__visual { order: initial; width: min(100%, 640px); margin: 0 auto; }
  .trust-strip__items > div { padding-inline: 12px; }
}

@media (max-width: 820px) {
  .checkout__grid, .next-grid, .receipt { grid-template-columns: minmax(0, 1fr); }
  .checkout__grid > *, .next-grid > *, .receipt > *, .panel { min-width: 0; }
  .feature > div { min-width: 0; }
  .announcement { flex-wrap: wrap; gap: 3px 8px; }
  .trust-strip__items { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .trust-strip__items > div:nth-child(2) { border-right: 0; }
  .trust-strip__items > div:nth-child(3) { padding-left: 0; }
  .bundle-panel { grid-template-columns: 1fr; }
  .bundle-price { width: 100%; }
}

@media (max-width: 560px) {
  .announcement { font-size: .72rem; }
  .nav { gap: 4px; }
  .brand { gap: 6px; font-size: .88rem; }
  .brand > span:last-child { white-space: nowrap; }
  .brand small { display: none; }
  .site-header--simple .nav { height: auto; min-height: 74px; flex-wrap: wrap; padding: 10px 0; }
  .site-header--simple .nav__actions { width: 100%; justify-content: flex-end; }
  .site-header--simple .nav__actions > .pill { display: none; }
  .site-header--simple .nav__actions .btn { padding: 8px 13px; font-size: .78rem; }
  .hero { padding: 52px 0 64px; }
  .hero__grid > * { min-width: 0; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
  .hero__lead { font-size: 1rem; }
  .hero__cta { margin-top: 22px; }
  .hero__cta .btn { white-space: normal; }
  .hero__assurances { display: grid; gap: 8px; }
  .hero__visual { padding: 4px 0 12px; }
  .hero__visual::before { inset: 5% 0 0 5%; }
  .hero__float { right: 0; bottom: -18px; max-width: calc(100% - 8px); padding: 10px 12px; }
  .trust-strip__items { padding: 17px 0; gap: 15px 0; }
  .trust-strip__items > div { min-width: 0; grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; padding: 3px 9px; }
  .trust-strip__items > div:first-child, .trust-strip__items > div:nth-child(3) { padding-left: 0; }
  .trust-strip__items > div:nth-child(2), .trust-strip__items > div:last-child { padding-right: 0; }
  .trust-strip__items > div > span { width: 28px; height: 28px; font-size: .95rem; }
  .trust-strip__items b { min-width: 0; font-size: .74rem; }
  .trust-strip__items small { font-size: .64rem; overflow-wrap: anywhere; }
  .trust-strip__items b { overflow-wrap: anywhere; }
  .bundle-section { padding-top: 52px; }
  .bundle-panel { min-width: 0; grid-template-columns: minmax(0, 1fr); padding: 25px 20px; gap: 25px; border-radius: 22px; }
  .bundle-checklist { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 20px; }
  .bundle-price { padding: 22px 18px; }
}

/* =========================================================
   Navigation fix — keeps menu text on one line, shows the
   buy button on tablets/phones, collapses to hamburger later.
   ========================================================= */
.brand > span { white-space: nowrap; }
.brand > span small { white-space: nowrap; }
.nav__links a { white-space: nowrap; }
.nav__actions .btn { white-space: nowrap; }
.nav__actions { flex-shrink: 0; }
.nav__links { gap: 26px; }

/* wide laptops: keep the full menu visible down to 1001px */
@media (min-width: 1001px) and (max-width: 1200px) {
  #nav .nav__links { display: flex; gap: 20px; }
  #nav .nav__actions > .btn:not(.btn--ghost) { display: inline-flex; }
  #nav .nav__toggle { display: none; }
  #nav ~ .nav__mobile, #nav ~ .nav__mobile.is-open { display: none; }
}

/* tablets and phones: hamburger + compact buy button */
@media (max-width: 1000px) {
  #nav .nav__actions > .btn:not(.btn--ghost) { display: inline-flex; padding: 10px 16px; font-size: .85rem; min-height: 42px; }
  #nav .nav__actions { gap: 10px; }
  #nav ~ .nav__mobile { max-height: calc(100vh - 140px); overflow-y: auto; }
}

/* small phones: hide the header button (the menu has the same link) */
@media (max-width: 520px) {
  #nav .nav__actions > .btn:not(.btn--ghost) { display: none; }
  .brand__logo { flex-basis: 46px; width: 46px; height: 46px; }
  .nav { height: 68px; }
}

