/* ════════════════════════════════════════
   GROFIT — styles.css  v4
   White editorial · All issues fixed
   ════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── RESET ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input { font: inherit; }

/* ── TOKENS ──────────────────────────── */
:root {
  --w:   #FFFFFF;
  --off: #F5F4F0;
  --off2:#ECEAE5;
  --line:#E2DED6;
  --ln2: #C5C0B5;
  --ink: #0D0C0A;
  --k2:  #4A4540;
  --k3:  #9A9488;
  --lime:#B8FF00;
  --lm2: #7AB800;
  --red: #D93025;
  --grn: #1A7A47;
  --fd:  'Bricolage Grotesque', sans-serif;
  --fb:  'Instrument Sans', sans-serif;
  --mw:  1060px;
  --r:   10px;
  --r2:   6px;
  --r3:  16px;
}

/* ── BASE ────────────────────────────── */
body {
  background: var(--w);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Subtle dot-grid background texture */
  background-image: radial-gradient(circle, rgba(0,0,0,.045) 1px, transparent 1px);
  background-size: 22px 22px;
  background-attachment: fixed;
}

/* White overlay for sections that need solid bg */
.solid-bg { background: var(--w); }
.off-bg   { background: var(--off); }

.wrap {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
section { padding: 88px 0; }
section.alt  { background: var(--off); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.tight{ padding: 56px 0; }

/* ── TYPE ────────────────────────────── */
.d1 { font-family: var(--fd); font-size: clamp(46px,7vw,80px); font-weight: 800; line-height: 1.0; letter-spacing: -.025em; }
.d2 { font-family: var(--fd); font-size: clamp(30px,4.5vw,54px); font-weight: 800; line-height: 1.04; letter-spacing: -.022em; }
.d3 { font-family: var(--fd); font-size: clamp(22px,3vw,38px); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
.d4 { font-family: var(--fd); font-size: clamp(18px,2vw,24px); font-weight: 700; line-height: 1.15; }
.t1 { font-size: clamp(15px,1.7vw,18px); line-height: 1.65; }
.t2 { font-size: 15px; line-height: 1.7; }
.t3 { font-size: 13px; line-height: 1.6; }
.t4 { font-size: 11px; line-height: 1.5; }
.muted { color: var(--k2); }
.faint { color: var(--k3); }
.hl {
  display: inline-block;
  background: var(--lime);
  padding: 0 6px 2px;
  border-radius: 3px;
  color: var(--ink);
}
.ul-acc {
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* ── SECTION LABEL ───────────────────── */
.slabel {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--k3); margin-bottom: 14px;
}
.slabel::before { content: ''; width: 20px; height: 1px; background: var(--ln2); }

/* ── BUTTONS ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--fb); font-weight: 700; border-radius: 8px;
  transition: all .16s ease; cursor: pointer; white-space: nowrap; text-align: center;
}
.btn-pri {
  background: var(--ink); color: var(--w);
  font-size: 15px; padding: 14px 26px; letter-spacing: .01em;
  box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 3px 10px rgba(0,0,0,.08);
}
.btn-pri:hover { background: #1f1e1c; transform: translateY(-1px); }
.btn-pri:active { transform: none; }
.btn-acc {
  background: var(--lime); color: var(--ink);
  font-size: 15px; padding: 14px 26px; font-weight: 800;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 3px 14px rgba(184,255,0,.25);
}
.btn-acc:hover { background: #c6ff26; transform: translateY(-1px); }
.btn-out {
  background: transparent; color: var(--k2);
  border: 1.5px solid var(--ln2); font-size: 14px; padding: 12px 20px;
}
.btn-out:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm  { font-size: 13px; padding: 9px 16px; border-radius: 6px; }
.btn-lg  { font-size: 16px; padding: 16px 30px; }
.btn-xl  { font-size: 17px; padding: 18px 34px; }
.btn svg { flex-shrink: 0; }
.btn-full{ width: 100%; justify-content: center; }

/* ── ANNOUNCEMENT ────────────────────── */
.ann {
  background: var(--ink); color: var(--w);
  text-align: center; padding: 10px 16px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
}
.ann a { color: var(--lime); text-decoration: underline; margin-left: 8px; }

/* ══════════════════════════════════════
   NAV — with mobile hamburger
   ══════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.nav-in {
  max-width: var(--mw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px; gap: 16px;
}
.logo { display: flex; align-items: center; height: 28px; flex-shrink: 0; }
.logo img { height: 28px; width: auto; }
.logo-txt { font-family: var(--fd); font-size: 21px; font-weight: 800; letter-spacing: -.02em; }

.nav-links-desktop { display: flex; align-items: center; gap: 24px; }
.nav-links-desktop a { font-size: 14px; font-weight: 500; color: var(--k2); transition: color .14s; }
.nav-links-desktop a:hover { color: var(--ink); }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 6px; cursor: pointer;
  background: none; border: none; border-radius: 6px;
}
.nav-hamburger span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--ink); transition: all .22s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.nav-mobile-panel {
  display: none; position: absolute; top: 58px; left: 0; right: 0;
  background: var(--w); border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,.08); z-index: 199;
  padding: 16px 24px 20px;
  flex-direction: column; gap: 4px;
}
.nav-mobile-panel.open { display: flex; }
.nav-mobile-panel a {
  font-size: 16px; font-weight: 600; color: var(--k2);
  padding: 10px 0; border-bottom: 1px solid var(--line);
  transition: color .14s;
}
.nav-mobile-panel a:last-child { border-bottom: none; }
.nav-mobile-panel a:hover { color: var(--ink); }
.nav-mobile-cta { margin-top: 12px; }

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero { padding: 68px 0 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  max-width: var(--mw); margin: 0 auto; padding: 0 24px;
}
.hero-left { min-width: 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--off); border: 1px solid var(--line);
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--k2);
  padding: 5px 13px; border-radius: 100px; margin-bottom: 18px;
}
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); border: 1px solid var(--lm2); flex-shrink: 0; animation: dot 2s ease-in-out infinite; }
@keyframes dot { 0%,100%{opacity:1} 50%{opacity:.2} }
.hero-title { margin-bottom: 18px; }
.hero-sub { color: var(--k2); max-width: 100%; margin-bottom: 26px; }
.hero-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-proof {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 11px 16px; background: var(--off);
  border: 1px solid var(--line); border-radius: var(--r);
  font-size: 13px; color: var(--k2); max-width: 100%;
}
.proof-stars-sm { color: #F59E0B; font-size: 13px; letter-spacing: 1px; flex-shrink: 0; }

/* Hero right — image slot, properly contained */
.hero-right { min-width: 0; }
.hero-img {
  width: 100%; aspect-ratio: 4/3;
  background: var(--off); border: 1px solid var(--line);
  border-radius: var(--r3); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; border-radius: var(--r3);
}
.hero-img .slot-ph {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 24px; text-align: center; z-index: 1;
}
.hero-img .slot-ph svg { color: var(--ln2); }
.hero-img .slot-ph span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--k3); line-height: 1.6; }

/* ── BRAND LOGOS ─────────────────────── */
.logo-bar { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-bar-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.brand-item {
  display: flex; align-items: center; justify-content: center;
  height: 24px; opacity: .35; transition: opacity .16s;
  filter: grayscale(1);
}
.brand-item:hover { opacity: .6; }
/* img path: /images/brands/shopify.svg etc. Falls back to text */
.brand-item img { height: 22px; width: auto; max-width: 100px; }
.brand-item span { font-family: var(--fd); font-size: 16px; font-weight: 700; letter-spacing: -.01em; }

/* ── STATS BAND ──────────────────────── */
.stats-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--line);
  border-radius: var(--r3); overflow: hidden;
  margin: 0; background: var(--w);
}
.stat { padding: 30px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-n { font-family: var(--fd); font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.03em; margin-bottom: 5px; }
.stat-l { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--k3); }
.stats-section { padding: 48px 0; }

/* ── MARQUEE ─────────────────────────── */
.marquee-band { overflow: hidden; background: var(--ink); padding: 14px 0; }
.marquee-track { display: flex; width: max-content; animation: scroll 32s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.mi {
  display: flex; align-items: center; gap: 10px;
  padding: 0 32px;
  /* FIXED: larger, more readable text */
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: rgba(255,255,255,.65);
  white-space: nowrap; border-right: 1px solid rgba(255,255,255,.1);
}
.mi svg { color: var(--lime); flex-shrink: 0; }

/* ── PROBLEM SECTION ─────────────────── */
/* Equal columns, proper balance */
.prob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pain-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.pain-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  background: var(--w); border: 1px solid var(--line); border-radius: var(--r);
  font-size: 14px; color: var(--k2); line-height: 1.5; transition: border-color .16s;
}
.pain-item:hover { border-color: rgba(217,48,37,.25); }
.pain-x { color: var(--red); flex-shrink: 0; margin-top: 1px; }
/* Quote box — intentional left accent, clean right */
.qbox {
  background: var(--off); border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  border-radius: var(--r); padding: 28px 28px 28px 26px;
  height: 100%;
}
.qbox-ttl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--k3); margin-bottom: 20px; }
.qe { padding: 16px 0; border-bottom: 1px solid var(--line); }
.qe:first-of-type { padding-top: 0; }
.qe:last-of-type { border-bottom: none; padding-bottom: 0; }
.q-text { font-size: 14px; color: var(--k2); line-height: 1.7; font-style: italic; margin-bottom: 7px; }
.q-attr { font-size: 11px; font-weight: 700; color: var(--k3); text-transform: uppercase; letter-spacing: .06em; }

/* ── BEFORE / AFTER ──────────────────── */
/* Supports both img AND gif — just use a .gif file path */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.ba-col {
  border-radius: var(--r3); overflow: hidden;
  border: 1px solid var(--line); background: var(--off);
  display: flex; flex-direction: column;
}
.ba-top { position: relative; flex-shrink: 0; }
.ba-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.ba-slot {
  width: 100%; aspect-ratio: 16/9; background: var(--off2);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; padding: 20px;
}
.ba-slot svg { color: var(--ln2); }
.ba-slot span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--k3); text-align: center; line-height: 1.6; }
.ba-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 11px; border-radius: 100px;
}
.ba-badge.before { background: rgba(217,48,37,.1); color: var(--red); border: 1px solid rgba(217,48,37,.2); }
.ba-badge.after  { background: rgba(26,122,71,.1); color: var(--grn); border: 1px solid rgba(26,122,71,.2); }
.ba-checks { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; flex: 1; }
.ba-check-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.ba-check-item.bad  { color: var(--red); }
.ba-check-item.good { color: var(--grn); }

/* ══════════════════════════════════════
   GALLERY SECTION (new)
   ══════════════════════════════════════ */
.gallery-section { padding: 88px 0; overflow: hidden; }
.gallery-scroll-wrap { position: relative; margin-top: 40px; }
/* Fade edges */
.gallery-scroll-wrap::before,
.gallery-scroll-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none;
}
.gallery-scroll-wrap::before { left: 0; background: linear-gradient(to right, var(--w), transparent); }
.gallery-scroll-wrap::after  { right: 0; background: linear-gradient(to left, var(--w), transparent); }

.gallery-scroll {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px 60px 16px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-scroll::-webkit-scrollbar { display: none; }

.gallery-card {
  flex-shrink: 0; width: 220px; scroll-snap-align: start;
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--off);
  transition: all .22s ease; cursor: pointer;
}
.gallery-card:hover { transform: translateY(-3px); border-color: var(--ln2); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.gallery-card-img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover; display: block; background: var(--off2);
}
.gallery-card-slot {
  width: 100%; aspect-ratio: 1; background: var(--off2);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 6px; padding: 14px;
}
.gallery-card-slot svg { color: var(--ln2); }
.gallery-card-slot span { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--k3); text-align: center; line-height: 1.5; }
.gallery-card-label { padding: 10px 12px; }
.gallery-card-title { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.gallery-card-sub   { font-size: 11px; color: var(--k3); }

.gallery-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; }
.gallery-nav-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--off); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--k2); cursor: pointer; transition: all .14s;
}
.gallery-nav-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--w); }

/* ── TEMPLATE GRID ───────────────────── */
.tgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 44px; }
.tc {
  position: relative; aspect-ratio: 1;
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--off);
  display: flex; flex-direction: column;
  transition: all .22s ease; cursor: pointer;
}
.tc:hover { transform: translateY(-3px) scale(1.02); border-color: var(--ln2); box-shadow: 0 8px 28px rgba(0,0,0,.1); z-index: 2; }
.tc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--k3); padding: 10px 10px 0; position: relative; z-index: 1; }
.tc-ph { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.tc-ph svg { color: var(--line); }
.tc-overlay { position: absolute; inset: 0; background: rgba(13,12,10,.82); opacity: 0; transition: opacity .2s; display: flex; align-items: flex-end; padding: 12px; z-index: 3; }
.tc:hover .tc-overlay { opacity: 1; }
.tc-name { font-size: 11px; font-weight: 700; color: var(--w); text-transform: uppercase; letter-spacing: .06em; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { background: var(--off); border: 1.5px solid var(--line); color: var(--k2); font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 100px; transition: all .14s; cursor: default; }
.chip:hover { border-color: var(--ink); color: var(--ink); }

/* ════════════════════════════════════════
   OFFER BOX — redesigned visual appearance
   ════════════════════════════════════════ */
.offer-box {
  background: var(--ink); color: var(--w);
  border-radius: var(--r3); padding: 40px;
  margin-bottom: 18px; position: relative; overflow: hidden;
}
.offer-box::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(184,255,0,.06); pointer-events: none;
}
.core-tag {
  display: inline-block; background: var(--lime); color: var(--ink);
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; padding: 3px 11px; border-radius: 4px; margin-bottom: 18px;
}
.core-title { font-family: var(--fd); font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 7px; color: var(--w); }
.core-sub { color: rgba(255,255,255,.55); font-size: 14px; margin-bottom: 26px; }
.feat-g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feat { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.5; }
.feat svg { color: var(--lime); flex-shrink: 0; margin-top: 2px; }

.bonus-g { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.bonus {
  background: var(--w); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; position: relative; overflow: hidden; transition: border-color .18s, box-shadow .18s;
}
.bonus:hover { border-color: var(--ln2); box-shadow: 0 3px 16px rgba(0,0,0,.06); }
.bonus-n { position: absolute; top: 12px; right: 16px; font-family: var(--fd); font-size: 44px; font-weight: 800; color: var(--line); line-height: 1; }
.bonus-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--k3); margin-bottom: 6px; }
.bonus-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; line-height: 1.3; }
.bonus-desc { font-size: 13px; color: var(--k2); line-height: 1.65; }
.bonus-val { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--grn); }

/* ════════════════════════════════════════
   CALCULATOR — redesigned for higher engagement
   Wider, more dramatic, better hierarchy
   ════════════════════════════════════════ */
.calc-section { padding: 88px 0; }
.calc-wrap {
  background: var(--ink); color: var(--w);
  border-radius: var(--r3); padding: 52px 48px;
  position: relative; overflow: hidden;
}
.calc-wrap::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,255,0,.08) 0%, transparent 70%);
  pointer-events: none;
}
.calc-header { margin-bottom: 40px; max-width: 560px; }
.calc-title { font-family: var(--fd); font-size: clamp(24px,3.5vw,42px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.calc-sub { font-size: 15px; color: rgba(255,255,255,.5); }

.calc-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.calc-inputs { display: flex; flex-direction: column; gap: 22px; }
.c-field { display: flex; flex-direction: column; gap: 7px; }
.c-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); }
.c-input-wrap { position: relative; }
.c-prefix {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  font-size: 16px; font-weight: 600; color: rgba(255,255,255,.35);
  pointer-events: none; line-height: 1; user-select: none;
}
.c-input {
  width: 100%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); color: var(--w); font-family: var(--fb); font-size: 18px;
  font-weight: 600; padding: 13px 13px 13px 30px; outline: none; transition: border-color .14s;
  -moz-appearance: textfield;
}
.c-input.no-px { padding-left: 13px; }
.c-input::-webkit-outer-spin-button, .c-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.c-input:focus { border-color: var(--lime); }
.c-input::placeholder { color: rgba(255,255,255,.2); }
.c-slider-wrap { display: flex; flex-direction: column; gap: 8px; }
.c-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.15); outline: none; cursor: pointer;
}
.c-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--lime); border: 2px solid #1a1a1a; box-shadow: 0 2px 8px rgba(0,0,0,.4); cursor: pointer;
}
.c-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--lime); border: 2px solid #1a1a1a; cursor: pointer; box-shadow: none;
}
.c-slider-row { display: flex; justify-content: space-between; align-items: center; }
.c-slider-hint { font-size: 10px; color: rgba(255,255,255,.25); }
.c-slider-val  { font-size: 16px; font-weight: 700; color: var(--lime); }

/* Results — right column */
.calc-results { display: flex; flex-direction: column; gap: 12px; }
.c-result-box {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 18px 20px;
}
.c-result-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.35); margin-bottom: 5px; }
.c-result-val { font-family: var(--fd); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--red); }
.c-result-val.time-val { color: rgba(255,255,255,.7); font-size: 34px; }
.c-result-note { font-size: 12px; color: rgba(255,255,255,.3); margin-top: 5px; line-height: 1.5; }

/* CTA box inside calculator */
.c-cta-box {
  background: var(--lime); color: var(--ink);
  border-radius: var(--r); padding: 18px 20px;
}
.c-cta-box p { font-size: 13px; font-weight: 600; margin-bottom: 11px; line-height: 1.5; }

/* ── PROOF ───────────────────────────── */
.proof-g { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 44px; }
.proof { background: var(--w); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: border-color .18s, box-shadow .18s; }
.proof:hover { border-color: var(--ln2); box-shadow: 0 3px 16px rgba(0,0,0,.06); }
.proof-stars { display: flex; gap: 2px; margin-bottom: 12px; }
.proof-stars svg { color: #F59E0B; }
.proof-txt { font-size: 14px; color: var(--k2); line-height: 1.7; font-style: italic; margin-bottom: 14px; }
.proof-auth { display: flex; align-items: center; gap: 9px; }
.proof-av { width: 34px; height: 34px; border-radius: 50%; background: var(--off2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--k2); flex-shrink: 0; }
.proof-nm   { font-size: 13px; font-weight: 700; margin-bottom: 1px; }
.proof-role { font-size: 11px; color: var(--k3); }

/* ── PRICING ─────────────────────────── */
.price-box {
  max-width: 480px; margin: 0 auto;
  background: var(--w); border: 1.5px solid var(--ink); border-radius: var(--r3);
  padding: 40px; box-shadow: 0 16px 48px rgba(0,0,0,.08);
}
.curr-toggle {
  display: flex; align-items: center;
  background: var(--off); border: 1px solid var(--line); border-radius: 7px;
  overflow: hidden; margin: 0 auto 20px; width: fit-content;
}
.curr-btn { padding: 7px 15px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--k3); border: none; background: none; transition: all .14s; }
.curr-btn.active { background: var(--ink); color: var(--w); border-radius: 5px; margin: 2px; }
.launch-tag { display: inline-block; background: var(--lime); color: var(--ink); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: 3px 11px; border-radius: 4px; margin-bottom: 18px; }
.p-was  { font-size: 13px; color: var(--k3); text-decoration: line-through; margin-bottom: 3px; }
.p-main { font-family: var(--fd); font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -.03em; margin-bottom: 3px; }
.p-main sup { font-size: 30px; vertical-align: super; }
.p-note { font-size: 12px; color: var(--k3); margin-bottom: 22px; }
.p-brkdn { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 20px; }
.p-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--off2); font-size: 13px; }
.p-row:last-child { border-bottom: none; }
.p-row-nm  { color: var(--k2); }
.p-row-was { color: var(--k3); text-decoration: line-through; font-size: 12px; }
.p-total { display: flex; justify-content: space-between; align-items: center; padding: 13px 0 0; border-top: 1.5px solid var(--ink); margin-top: 7px; }
.p-total-lbl { font-weight: 700; font-size: 14px; }
.p-total-val { font-family: var(--fd); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.p-guar { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 13px; font-size: 12px; color: var(--k3); text-align: center; flex-wrap: wrap; }

/* ── URGENCY ─────────────────────────── */
.urg-box { max-width: 620px; margin: 0 auto; background: var(--off); border: 1px solid var(--line); border-radius: var(--r3); padding: 44px; text-align: center; }
.urg-ico { width: 46px; height: 46px; border: 1.5px solid rgba(217,48,37,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--red); }

/* ── GUARANTEE ───────────────────────── */
.guar-in { max-width: 620px; margin: 0 auto; display: flex; gap: 26px; align-items: flex-start; }
.guar-ico { width: 54px; height: 54px; border: 1.5px solid var(--ln2); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--k2); }

/* ── FAQ ─────────────────────────────── */
.faq-list { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 9px; }
.faq { background: var(--w); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .16s; }
.faq.open { border-color: var(--ink); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 14px; gap: 16px; user-select: none; }
.faq-ico { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--ln2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--k2); transition: all .16s; }
.faq.open .faq-ico { background: var(--ink); border-color: var(--ink); color: var(--w); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq.open .faq-a { max-height: 400px; }
.faq-ai { padding: 0 20px 18px; font-size: 14px; color: var(--k2); line-height: 1.75; }

/* ── FINAL CTA ───────────────────────── */
.final-sec { padding: 96px 0; background: var(--ink); color: var(--w); text-align: center; position: relative; overflow: hidden; }
.final-sec::before {
  content: ''; position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,255,0,.06) 0%, transparent 70%);
  pointer-events: none;
}
.final-sec .trust-row { justify-content: center; margin-top: 20px; }
.final-sec .trust-i { color: rgba(255,255,255,.35); }

/* ── FOOTER ──────────────────────────── */
.footer { background: var(--off); border-top: 1px solid var(--line); padding: 32px 0; }
.foot-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { font-size: 13px; color: var(--k3); transition: color .14s; }
.foot-links a:hover { color: var(--ink); }
.foot-copy { font-size: 12px; color: var(--k3); }

/* ── TRUST ROW ───────────────────────── */
.trust-row { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-i { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--k3); font-weight: 500; }
.trust-i svg { flex-shrink: 0; }

/* ══════════════════════════════════════
   STICKY BAR — improved mobile
   ══════════════════════════════════════ */
.sbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 190;
  background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(0,0,0,.07);
  padding: 12px 24px; transform: translateY(100%); transition: transform .28s ease;
}
.sbar.show { transform: translateY(0); }
.sbar-in { max-width: var(--mw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sbar-txt { font-size: 14px; font-weight: 600; line-height: 1.3; min-width: 0; }
.sbar-txt span { display: block; font-size: 11px; color: var(--k3); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbar-price { font-family: var(--fd); font-size: 26px; font-weight: 800; letter-spacing: -.02em; flex-shrink: 0; }

/* ══════════════════════════════════════
   MODAL — fixed height, internal scroll, tab fix
   ══════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(13,12,10,.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--w); border-radius: var(--r3);
  width: 100%; max-width: 520px;
  /* Fixed height with internal scroll */
  max-height: 88vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,.18);
  transform: translateY(16px) scale(.98);
  transition: transform .22s ease;
  overflow: hidden;
}
.modal-overlay.open .modal { transform: none; }

/* Sticky modal header — never scrolls */
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; background: var(--w); border-bottom: 1px solid var(--line);
  flex-shrink: 0; z-index: 10;
}
.modal-head-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--k2); }
.modal-close-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--off); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--k2); cursor: pointer; transition: all .14s; flex-shrink: 0;
}
.modal-close-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--w); }

/* Modal body — this one scrolls */
.modal-body { padding: 24px 24px 28px; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }

.modal-price { font-family: var(--fd); font-size: 62px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 4px; }
.modal-price sup { font-size: 26px; vertical-align: super; }
.modal-price-note { font-size: 12px; color: var(--k3); margin-bottom: 18px; }
.modal-includes { background: var(--off); border-radius: var(--r); padding: 16px 18px; margin-bottom: 18px; }
.modal-includes-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--k3); margin-bottom: 11px; }
.modal-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--k2); padding: 5px 0; border-bottom: 1px solid var(--line); }
.modal-item:last-child { border-bottom: none; }
.modal-item svg { color: var(--grn); flex-shrink: 0; }
.modal-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: var(--k3); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.modal-divider::before, .modal-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Modal payment tabs */
.modal-pay-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.modal-pay-tab {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 12px 8px; background: var(--off); border: 1.5px solid var(--line);
  border-radius: var(--r); color: var(--k2); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; cursor: pointer; transition: all .14s;
}
.modal-pay-tab:hover { border-color: var(--ln2); color: var(--ink); }
.modal-pay-tab.active { border-color: var(--ink); color: var(--ink); background: var(--off2); }
.modal-pay-panel { display: none; background: var(--off); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 12px; }
.modal-pay-panel.open { display: block; }   /* use .open not .active to avoid conflict */
.modal-pay-panel h4 { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.modal-pay-panel p  { font-size: 13px; color: var(--k2); line-height: 1.6; margin-bottom: 12px; }
.upi-qr { width: 140px; height: 140px; margin: 0 auto 12px; background: var(--w); border: 1px solid var(--line); border-radius: var(--r2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.upi-qr img { width: 100%; height: 100%; object-fit: contain; }
.upi-id { text-align: center; font-family: monospace; font-size: 13px; font-weight: 700; background: var(--w); padding: 8px 14px; border-radius: var(--r2); border: 1px solid var(--line); }
.modal-talk { background: var(--off); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.modal-talk p { font-size: 13px; color: var(--k2); line-height: 1.45; }
.modal-talk strong { color: var(--ink); }

/* ── REVEAL ANIMATIONS ───────────────── */
.r { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.r.in { opacity: 1; transform: none; }
.r-d1 { transition-delay: .06s; }
.r-d2 { transition-delay: .11s; }
.r-d3 { transition-delay: .16s; }
.r-d4 { transition-delay: .21s; }

/* ════════════════════════════════════════
   RESPONSIVE — comprehensive mobile fixes
   ════════════════════════════════════════ */

/* Ensure nothing overflows at any breakpoint */
* { max-width: 100%; }
img, svg { max-width: 100%; }

@media (max-width: 960px) {
  /* Show hamburger, hide desktop nav */
  .nav-hamburger { display: flex; }
  .nav-links-desktop { display: none; }
  .nav-in .btn-pri { display: none; } /* hide nav CTA on mobile — modal button visible */

  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
  .hero-right { order: -1; }
  .hero-img { max-width: 100%; aspect-ratio: 16/9; }

  .prob-grid { grid-template-columns: 1fr; gap: 28px; }
  .ba-grid { grid-template-columns: 1fr; }
  .feat-g { grid-template-columns: 1fr; }
  .bonus-g { grid-template-columns: 1fr; }
  .tgrid { grid-template-columns: repeat(3,1fr); }
  .proof-g { grid-template-columns: 1fr 1fr; }
  .calc-grid { grid-template-columns: 1fr; gap: 28px; }
  .calc-wrap { padding: 36px 28px; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }

  /* Gallery */
  .gallery-scroll { padding: 4px 20px 16px; }
  .gallery-scroll-wrap::before,
  .gallery-scroll-wrap::after { width: 20px; }

  /* Sticky bar */
  .sbar-in { gap: 10px; }
  .sbar-txt { min-width: 0; }

  /* Modal bottom sheet on mobile */
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal { border-radius: 14px 14px 0 0; max-height: 85vh; max-width: 100%; }
  .modal-pay-tabs { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  section.tight { padding: 40px 0; }
  .wrap { padding: 0 16px; }
  .hero-grid { padding: 0 16px; }
  .hero { padding: 52px 0 48px; }
  .hero-img { aspect-ratio: 4/3; }

  .d1 { font-size: 40px; }
  .d2 { font-size: 28px; }
  .d3 { font-size: 22px; }
  .stat-n { font-size: 40px; }

  .tgrid { grid-template-columns: repeat(2,1fr); }
  .proof-g { grid-template-columns: 1fr; }
  .bonus-g { grid-template-columns: 1fr; }

  .price-box { padding: 28px 18px; }
  .p-main { font-size: 62px; }
  .urg-box { padding: 36px 18px; }
  .guar-in { flex-direction: column; gap: 18px; }

  .sbar { padding: 10px 16px; }
  .sbar-in { flex-wrap: wrap; }
  .sbar .btn-pri { width: 100%; justify-content: center; font-size: 14px; padding: 12px; }
  .sbar-txt span { display: none; }

  .calc-wrap { padding: 28px 18px; }
  .c-result-val { font-size: 32px; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }

  .foot-in { flex-direction: column; text-align: center; }
  .foot-links { justify-content: center; }

  .modal-pay-tabs { grid-template-columns: 1fr; }
  .modal-price { font-size: 52px; }
}

@media (max-width: 400px) {
  .d1 { font-size: 34px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .brand-item { gap: 6px; }
  .logo-bar-inner { gap: 20px; }
  .tgrid { grid-template-columns: repeat(2,1fr); gap: 8px; }
}
