/* =============================================================================
   Nextbase 622GW landing — styles.css
   Mobile-first. Dark "tech" palette with a violet/blue accent.
============================================================================= */
:root {
  --bg:        #0b0d14;
  --bg-alt:    #0f121c;
  --surface:   #141826;
  --surface-2: #1a1f30;
  --line:      #232a3d;
  --text:      #eaecf3;
  --muted:     #9aa4ba;
  --muted-2:   #6f7a92;

  --accent:    #6c5cff;
  --accent-2:  #8b5cf6;
  --accent-ink:#ffffff;
  --grad:      linear-gradient(135deg, #6c5cff 0%, #8b5cf6 100%);

  --radius:    16px;
  --radius-sm: 10px;
  --container: 1160px;
  --shadow:    0 18px 50px rgba(0,0,0,.45);
  --shadow-sm: 0 8px 24px rgba(0,0,0,.35);

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.micro { font-size: .82rem; color: var(--muted-2); margin: .5rem 0 0; }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; font-size: .74rem; color: var(--accent-2); margin: 0 0 .8rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--grad); color: var(--accent-ink);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 0; cursor: pointer;
  min-height: 48px; padding: 0 1.5rem; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(108,92,255,.35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(108,92,255,.5); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid #b9adff; outline-offset: 3px; }
.btn--sm { min-height: 40px; padding: 0 1.1rem; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: 0 2rem; font-size: 1.08rem; width: 100%; }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--accent); background: rgba(108,92,255,.08); box-shadow: none; }
.btn--glow { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 14px 40px rgba(108,92,255,.55); }

@media (min-width: 560px) { .btn--lg { width: auto; } }

/* ---------- Ad disclosure ---------- */
.disclosure {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  background: #05060a; color: var(--muted);
  font-size: .78rem; letter-spacing: .03em; text-align: center;
  padding: 7px 14px; border-bottom: 1px solid var(--line);
}
.disclosure__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,13,20,.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--text); }
.brand__mark { display: inline-flex; }
.brand__name { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; letter-spacing: .01em; }
.brand__name strong { font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(108,92,255,.16), transparent 60%),
    radial-gradient(50% 50% at 0% 30%, rgba(139,92,246,.12), transparent 60%),
    var(--bg);
  padding: 42px 0 52px;
}
.hero__grid { display: grid; gap: 30px; align-items: center; }
.hero__copy h1 { font-size: clamp(2rem, 7vw, 3.25rem); margin-bottom: .35em; }
.lede { font-size: clamp(1.02rem, 2.6vw, 1.22rem); color: var(--muted); margin: 0 0 1.3rem; max-width: 34ch; }
.hero__points {
  list-style: none; margin: 0 0 1.6rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem .7rem;
}
.hero__points li {
  position: relative; font-size: .9rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line);
  padding: .35rem .8rem .35rem 1.9rem; border-radius: 999px;
}
.hero__points li::before {
  content: ""; position: absolute; left: .7rem; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--grad);
}

.buybar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
}
.price { display: flex; flex-direction: column; }
.price__amount { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; line-height: 1; }
.price__note { font-size: .74rem; color: var(--muted-2); margin-top: .35rem; }

.hero__media { position: relative; display: flex; justify-content: center; }
.hero__media picture { position: relative; z-index: 2; }
.hero__media img {
  width: min(430px, 88%); filter: drop-shadow(0 24px 40px rgba(0,0,0,.55));
}
.hero__glow {
  position: absolute; z-index: 1; inset: auto; width: 70%; aspect-ratio: 1;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(108,92,255,.35), transparent 65%);
  filter: blur(24px);
}

/* ---------- Trust ---------- */
.trust { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__inner { padding: 22px 0; display: flex; flex-direction: column; gap: 14px; }
.trust__text { margin: 0; color: var(--muted); font-size: .96rem; }
.trust__text a { color: var(--accent-2); font-weight: 600; }
.trust__badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-size: .78rem; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); padding: .3rem .7rem; border-radius: 999px;
}

/* ---------- Sections ---------- */
.section { padding: 54px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__title { font-size: clamp(1.6rem, 4.5vw, 2.3rem); text-align: center; margin-bottom: 1.6em; }
.section__cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 40px; }
.section__cta-price { color: var(--muted); font-family: var(--font-head); }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: 1fr; gap: 16px; }
.benefit {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; transition: transform .2s ease, border-color .2s ease;
}
.benefit:hover { transform: translateY(-3px); border-color: rgba(108,92,255,.5); }
.benefit__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  color: var(--accent-2); background: rgba(108,92,255,.12); border: 1px solid rgba(108,92,255,.28);
}
.benefit__icon svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.12rem; margin-bottom: .3em; }
.benefit p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Feature blocks ---------- */
.feature { display: grid; gap: 22px; align-items: center; margin-bottom: 46px; }
.feature:last-of-type { margin-bottom: 0; }
.feature__media {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, var(--surface-2), var(--bg-alt));
  box-shadow: var(--shadow-sm);
}
.feature__media img { width: 100%; }
.tag {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .74rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent-2); background: rgba(139,92,246,.1);
  border: 1px solid rgba(139,92,246,.28); padding: .28rem .7rem; border-radius: 999px; margin-bottom: 1rem;
}
.feature__body h3 { font-size: clamp(1.3rem, 3.5vw, 1.7rem); }
.feature__body p { margin: 0; color: var(--muted); }

/* ---------- Specs ---------- */
.specs__wrap { display: grid; gap: 26px; }
.specs__head { text-align: center; }
.specs__head .section__title { margin-bottom: .8em; }
.specs__img { width: min(280px, 70%); margin: 0 auto; }
.specs__table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs__table th, .specs__table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs__table th { color: var(--muted); font-weight: 500; width: 46%; }
.specs__table tr:nth-child(odd) td, .specs__table tr:nth-child(odd) th { background: rgba(255,255,255,.014); }

/* ---------- What's in the box ---------- */
.box__wrap { display: grid; gap: 26px; align-items: center; }
.box__list { list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; gap: 10px; }
.box__list li {
  position: relative; padding-left: 1.9rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line);
  padding: .7rem .9rem .7rem 2.2rem; border-radius: var(--radius-sm);
}
.box__list li::before {
  content: "✓"; position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: .7rem; width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; background: var(--grad);
}
.box__media { display: flex; justify-content: center; }
.box__media img { width: min(150px, 40%); filter: drop-shadow(0 14px 26px rgba(0,0,0,.5)); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: transparent; border: 0; cursor: pointer; color: var(--text);
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; text-align: left;
  padding: 16px 18px;
}
.faq__q:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq__ico { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.faq__ico::before, .faq__ico::after {
  content: ""; position: absolute; background: var(--accent-2); transition: transform .2s ease;
}
.faq__ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__ico::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.faq__q[aria-expanded="true"] .faq__ico::after { transform: scaleY(0); }
.faq__a { padding: 0 18px 16px; }
.faq__a p { margin: 0; color: var(--muted); }

/* ---------- Final CTA ---------- */
.finalcta { padding: 60px 0; background: var(--bg-alt); }
.finalcta__inner {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid rgba(108,92,255,.35); border-radius: 22px;
  background: linear-gradient(180deg, var(--surface), var(--bg));
  padding: 42px 24px; box-shadow: var(--shadow);
}
.finalcta__glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 120%; height: 100%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(108,92,255,.28), transparent 70%);
}
.finalcta h2 { position: relative; font-size: clamp(1.6rem, 5vw, 2.4rem); }
.finalcta p { position: relative; color: var(--muted); margin: 0 0 1.2rem; }
.finalcta__price { position: relative; display: flex; flex-direction: column; align-items: center; margin-bottom: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: #05060a; border-top: 1px solid var(--line); padding: 40px 0 30px; font-size: .9rem; }
.site-footer__grid { display: grid; gap: 20px; margin-bottom: 22px; }
.site-footer__owner { color: var(--muted); margin: .8rem 0 0; max-width: 46ch; }
.site-footer__owner a { color: var(--accent-2); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.site-footer__links a { color: var(--muted); text-decoration: none; }
.site-footer__links a:hover { color: var(--text); text-decoration: underline; }
.site-footer__disclaimer { color: var(--muted-2); font-size: .78rem; line-height: 1.6; border-top: 1px solid var(--line); padding-top: 18px; margin: 0 0 12px; }
.site-footer__disclaimer span { color: var(--muted); }
.site-footer__copy { color: var(--muted-2); font-size: .8rem; margin: 0; }

/* ---------- Cookie consent ---------- */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px;
}
.cookie[hidden] { display: none; }
.cookie__inner { display: grid; gap: 16px; }
.cookie__title { font-size: 1.1rem; margin: 0 0 .4rem; }
.cookie__text p { margin: 0 0 .8rem; color: var(--muted); font-size: .9rem; }
.cookie__opts { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.cookie__opt { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; color: var(--text); cursor: pointer; }
.cookie__opt span { color: var(--muted-2); }
.cookie__opt input { width: 16px; height: 16px; accent-color: var(--accent); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__actions .btn { flex: 1 1 auto; min-height: 44px; }

/* ---------- Legal pages ---------- */
.legal { padding: 40px 0 60px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin-bottom: .3em; }
.legal .updated { color: var(--muted-2); font-size: .85rem; margin: 0 0 2rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--accent-2); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal .backlink { display: inline-block; margin-bottom: 1.4rem; color: var(--muted); text-decoration: none; }
.legal .backlink:hover { color: var(--text); }
.legal .note {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: var(--radius-sm);
  padding: 14px 16px; font-size: .88rem; margin: 1.4rem 0;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =============================================================================
   Responsive — tablet & up
============================================================================= */
@media (min-width: 640px) {
  .benefits { grid-template-columns: 1fr 1fr; }
  .cookie__inner { grid-template-columns: 1fr auto; align-items: center; }
  .cookie__actions { flex-wrap: nowrap; }
  .cookie__actions .btn { flex: 0 0 auto; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .box__wrap { grid-template-columns: 1.4fr .6fr; }
}

@media (min-width: 900px) {
  .hero { padding: 60px 0 70px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .trust__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .trust__text { max-width: 60%; }
  .benefits { grid-template-columns: repeat(3, 1fr); }

  .feature { grid-template-columns: 1fr 1fr; gap: 44px; }
  .feature--reverse .feature__media { order: 2; }

  .specs__wrap { grid-template-columns: .8fr 1.2fr; align-items: center; gap: 44px; }
  .specs__head { text-align: left; }
  .specs__img { margin: 0; }
}
