/* =====================================================
   BOUNTEN — B2C LANDING PAGE STYLES
   Design tokens: blue dominant, red used sparingly
   ===================================================== */

/* ---- TOKENS ---- */
:root {
  --blue:        #283077;
  --blue-dark:   #1d2460;
  --blue-light:  #3d4fac;
  --blue-bg:     #EEF0FA;
  --red:         #c42a04;
  --red-dark:    #9e2003;
  --bg:          #FFFFFF;
  --bg-soft:     #F8F7F4;
  --text:        #1a1a2e;
  --text-muted:  #5a5a7a;
  --text-light:  #8888aa;
  --border:      rgba(40,48,119,0.12);
  --shadow-sm:   0 2px 10px rgba(40,48,119,0.08);
  --shadow-md:   0 8px 32px rgba(40,48,119,0.12);
  --shadow-lg:   0 20px 60px rgba(40,48,119,0.16);
  --r-sm:        8px;
  --r-md:        14px;
  --r-lg:        20px;
  --r-xl:        28px;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head:   'Plus Jakarta Sans', sans-serif;
  --font-body:   'Poppins', system-ui, sans-serif;
  --font-mono:   'DM Mono', monospace;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 90px 0; }
.section-blue  { background: var(--blue);    color: #fff; }
.section-soft  { background: var(--bg-soft); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }
h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
}
h3 {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
p  { color: var(--text-muted); letter-spacing: 0.01em; }
em { font-style: italic; }

/* Eyebrow label — spaced out for premium feel */
.eyebrow {
  letter-spacing: 0.14em !important;
}

/* Nav logo — tighter and bolder */
.nav-logo-text {
  letter-spacing: 0.18em;
  font-weight: 700;
}

/* Stat numbers — tighter for impact */
.stat-num { letter-spacing: -0.03em; }

.text-white      { color: #fff !important; }
.text-muted-light { color: rgba(255,255,255,0.7) !important; }
.text-accent     { color: var(--blue-light); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: var(--blue-bg);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.eyebrow-light {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.12);
}
/* Line-style eyebrow — less template-like than the pill */
.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 14px;
}
.eyebrow-line::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-hd { max-width: 680px; margin-bottom: 56px; }
.section-hd.center { margin: 0 auto; text-align: center; margin-bottom: 64px; }
.section-hd.center .eyebrow-line { justify-content: center; }
.section-hd h2 { margin-bottom: 14px; }
.section-hd p  { font-size: 1.05rem; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 18px rgba(196,42,4,0.28);
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transition: left 0.55s ease;
}
.btn-primary:hover::after { left: 100%; }
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196,42,4,0.36);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--blue);
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-ghost:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40,48,119,0.2);
}

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40,48,119,0.2);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ---- SCROLL REVEAL ---- */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: none;
}
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* =====================================================
   NAV
   ===================================================== */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#main-nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(40,48,119,0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-text {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--blue);
  transition: color var(--transition);
}
.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 100px !important;
  font-size: 0.85rem !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; transform: translateY(-1px) scale(1.02); }
#main-nav.scrolled .nav-cta { background: var(--blue) !important; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 100%);
  height: 100vh;
  background: #fff;
  z-index: 1000;
  padding: 80px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { right: 0; }
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  border-radius: 50%;
  background: var(--blue-bg);
}
.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-nav-link:hover { color: var(--blue); }
.mobile-nav-link.btn-primary {
  margin-top: 16px;
  border: none;
  text-align: center;
  border-radius: 100px;
}
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }

/* =====================================================
   HERO
   ===================================================== */
#hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(160deg, #eef0fa 0%, #f8f7f4 50%, #fff2ed 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(40,48,119,0.05), transparent 70%);
  top: -150px; right: -100px;
  animation: blobFloat 9s ease-in-out infinite;
}
.hero-shape-2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(196,42,4,0.04), transparent 70%);
  bottom: -80px; left: -80px;
  animation: blobFloat 12s ease-in-out infinite reverse;
}
.hero-shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(40,48,119,0.03), transparent 70%);
  top: 40%; left: 35%;
  animation: blobFloat 7s ease-in-out infinite 3s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -15px) scale(1.05); }
  66%       { transform: translate(-10px, 20px) scale(0.97); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  z-index: 1;
}

/* Hero Content */
.hero-content { animation: heroFadeUp 0.9s ease both; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a07828;
  margin-bottom: 20px;
  animation: heroFadeUp 0.9s ease 0.1s both;
}

.hero-h1 {
  color: var(--text);
  margin-bottom: 22px;
  animation: heroFadeUp 0.9s ease 0.15s both;
}
.hero-h1 em {
  background: linear-gradient(135deg, #c42a04 0%, #e85d30 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.72;
  animation: heroFadeUp 0.9s ease 0.2s both;
}

.hero-proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  animation: heroFadeUp 0.9s ease 0.25s both;
}
.proof-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(40,48,119,0.06);
  border: 1px solid rgba(40,48,119,0.12);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  animation: chipFloat 4s ease-in-out infinite;
}
.proof-chip:nth-child(2) { animation-delay: 0.5s; }
.proof-chip:nth-child(3) { animation-delay: 1s; }
.proof-chip:nth-child(4) { animation-delay: 1.5s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-3px); }
}
.chip-check { color: var(--red); font-weight: 700; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  animation: heroFadeUp 0.9s ease 0.3s both;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  animation: heroFadeUp 0.9s ease 0.35s both;
}
.stars-row { color: #f5a623; font-size: 1.05rem; letter-spacing: 2px; }

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  animation: heroFadeUp 0.9s ease 0.25s both;
}
.product-visual-wrap {
  position: relative;
  width: 260px;
}
.product-svg {
  width: 320px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(40,48,119,0.18));
}

.visual-award {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.float-chip-1 { top:  20px; right: -30px; animation: chipFloat 4s ease-in-out infinite 0s; }
.float-chip-2 { top:  90px; left:  -45px; animation: chipFloat 4s ease-in-out infinite 1s; }
.float-chip-3 { bottom: 70px; right: -35px; animation: chipFloat 4s ease-in-out infinite 0.5s; }
.float-chip-4 { bottom:  0px; left:  -30px; animation: chipFloat 4s ease-in-out infinite 1.5s; }

/* On desktop restore chips to absolute positioning inside wrapper */
@media (min-width: 768px) {
  .hero-chips-mobile { display: contents; }
  .float-chip { position: absolute; white-space: nowrap; border-radius: 100px; }
  .product-visual-wrap { display: block; }
}

/* =====================================================
   TRUST MARQUEE
   ===================================================== */
#trust-bar {
  background: var(--blue);
  padding: 13px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex;
  gap: 0;
  overflow: hidden;
}
.marquee-inner {
  display: flex;
  gap: 0;
  flex-shrink: 0;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track:hover .marquee-inner { animation-play-state: paused; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 0 4px;
  white-space: nowrap;
}
.marquee-item strong { color: #fff; font-weight: 600; }
.m-icon {
  width: 15px; height: 15px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.5);
  stroke: currentColor;
}
.marquee-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  margin: 0 20px;
  display: inline-block;
  vertical-align: middle;
}

/* =====================================================
   SOCIAL PROOF STRIP
   ===================================================== */
#social-proof {
  background: #fff;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.proof-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.proof-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
}
.proof-logos {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  flex: 1;
}
.proof-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  flex-shrink: 0;
}
.proof-logo-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.proof-logo-item strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: 0.78rem;
}
.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .proof-strip { flex-direction: column; align-items: flex-start; gap: 20px; }
  .proof-logos { gap: 12px; }
  .proof-logo-item { padding: 0 8px; }
  .proof-divider { display: none; }
}

/* =====================================================
   PROBLEM
   ===================================================== */
#problem {
  background: #f8f7f4;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
#problem .section-hd { text-align: left; }
#problem .section-hd h2 { color: var(--text); }
#problem .section-hd p  { color: var(--text-muted); }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.problem-card:hover {
  border-color: rgba(196,42,4,0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(196,42,4,0.1);
}

/* Icon wrap */
.prob-icon-wrap {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  background: rgba(196,42,4,0.06);
  border: 1px solid rgba(196,42,4,0.14);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: background var(--transition), box-shadow var(--transition);
}
.problem-card:hover .prob-icon-wrap {
  background: rgba(196,42,4,0.1);
  box-shadow: 0 4px 16px rgba(196,42,4,0.15);
}

.prob-body { flex: 1; min-width: 0; }
.prob-impact {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}
.problem-card h3 { color: var(--text); margin-bottom: 10px; font-size: 1rem; }
.problem-card p  { font-size: 0.88rem; color: var(--text-muted); margin: 0 0 14px; line-height: 1.65; }

/* Damage severity meter */
.prob-meter {
  height: 3px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.prob-meter-fill {
  height: 100%;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--red), rgba(196,42,4,0.35));
  border-radius: 10px;
  transition: width 1.2s ease;
}

.problem-total {
  grid-column: 1 / -1;
  margin-top: 8px;
  background: var(--blue);
  border: none;
  border-radius: var(--r-md);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.prob-total-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-family: var(--font-mono);
}
.prob-total-num {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
}
.prob-total-num em {
  color: var(--red);
  font-style: normal;
}
.prob-total-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 24px;
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.prob-total-cta:hover { background: var(--red-dark); transform: translateY(-2px); }

/* =====================================================
   PRODUCT
   ===================================================== */
#product { background: #fff; overflow: hidden; }

.product-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

/* Visual card — light style matching b2c */
.product-card {
  background: linear-gradient(160deg, #eef0fa 0%, #f8f7f4 50%, #fff2ed 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px 36px;
  text-align: center;
  position: relative;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.product-price-tag {
  position: absolute;
  top: 22px; right: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--red);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  box-shadow: 0 6px 20px rgba(196,42,4,0.3);
}
.product-name {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}
.product-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
  display: block;
}
.product-card-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto 28px;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(40,48,119,0.18));
}
.product-spec-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.product-spec-list li { display: flex; align-items: center; gap: 10px; }
.spec-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  flex-shrink: 0;
  content: '✓';
}
.product-award {
  position: absolute;
  bottom: -18px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  padding: 8px 22px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

/* Product text col */
.product-text-col h2 { margin-bottom: 18px; }
.product-text-col > p { font-size: 1.02rem; line-height: 1.75; margin-bottom: 28px; }
.product-highlights {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}
.hl-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.hl-item:last-child { border-bottom: none; }
.hl-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.hl-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.hl-item strong { display: block; color: var(--text); font-size: 1.1rem; margin-bottom: 2px; font-weight: 600; }
.hl-item span   { display: block; font-size: 0.82rem; color: var(--text-muted); }
.product-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* =====================================================
   BENEFITS
   ===================================================== */
#benefits { background: var(--bg); }

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.benefit-card {
  background: var(--blue);
  border: 1px solid rgba(40,48,119,0.2);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  will-change: transform;
}
.benefit-card:hover {
  background: var(--red);
  border-color: rgba(196,42,4,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(196,42,4,0.28);
}
.bc-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: background var(--transition);
}
.bc-icon-wrap svg { filter: brightness(10); opacity: 0.85; }
.benefit-card:hover .bc-icon-wrap { background: rgba(255,255,255,0.2); }
.benefit-card h3 { color: #fff; margin-bottom: 8px; }
.benefit-card p  { font-size: 0.9rem; margin: 0; color: rgba(255,255,255,0.65); }

/* =====================================================
   HOW IT WORKS
   ===================================================== */
#how-it-works { overflow: hidden; }
#how-it-works .section-hd { margin-bottom: 56px; }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  text-align: center;
  will-change: transform;
}
.step-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(40,48,119,0.22);
}

/* Icon circle */
.step-icon-circle {
  position: relative;
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  background: var(--blue-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(40,48,119,0.12);
  transition: background var(--transition), box-shadow var(--transition);
}
.step-card:hover .step-icon-circle {
  background: #e0e4f8;
  box-shadow: 0 0 0 6px rgba(40,48,119,0.07);
}

/* Step number badge */
.step-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 22px; height: 22px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  letter-spacing: 0;
}

.step-card h3 { margin-bottom: 10px; color: var(--blue); font-size: 1.05rem; }
.step-card p  { font-size: 0.9rem; margin: 0; line-height: 1.65; }

/* =====================================================
   STATS
   ===================================================== */
#stats {
  background: var(--blue);
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
  z-index: 1;
}
.stat-block {
  padding: 36px 23px;
  text-align: center;
  position: relative;
}
/* Dividers — 2×2 on mobile */
.stat-block:nth-child(1),
.stat-block:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.1); }
.stat-block:nth-child(1),
.stat-block:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}
.stat-block--hero .stat-num { color: #fff; }
.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-carousel-wrapper {
  position: relative;
  overflow: hidden;       /* clips off-screen cards on mobile/tablet */
}
.testimonials-carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 100%;         /* one card = full wrapper width */
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);  /* no translateY here — conflicts with slider */
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}
.t-stars { color: #f5a623; font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 14px; }
.t-text  { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 22px; line-height: 1.75; font-style: italic; }
.t-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.t-avatar {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--av-color, var(--blue));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
}
.t-info { flex: 1; min-width: 0; }
.t-author { font-weight: 600; color: var(--text); font-size: 0.88rem; display: flex; align-items: center; gap: 6px; }
.t-verified { font-size: 0.7rem; color: #16a34a; font-weight: 600; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 2px 7px; border-radius: 100px; font-style: normal; }
.t-meta { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }
.t-badge {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-bg);
  border: 1px solid rgba(40,48,119,0.15);
  padding: 4px 10px;
  border-radius: 100px;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.cdot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), width var(--transition);
  /* larger tap target on mobile */
  position: relative;
}
.cdot::after {
  content: '';
  position: absolute;
  inset: -8px;
}
.cdot.active {
  background: var(--blue);
  width: 24px;
  border-radius: 10px;
  transform: none;
}

/* Desktop: revert to static 3-col grid, no slider */
@media (min-width: 1024px) {
  .testimonials-carousel-wrapper { overflow: visible; }
  .testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transform: none !important;
    transition: none;
  }
  .testimonial-card {
    flex: none;
    transition: box-shadow var(--transition), transform var(--transition);
  }
  .testimonial-card:hover { transform: translateY(-3px); }
  .carousel-dots { display: none; }
}

/* =====================================================
   CONTACT FORM
   ===================================================== */
#contact-form {
  background: var(--blue);
  position: relative;
  overflow: hidden;
}
#contact-form::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.04), transparent 65%);
  pointer-events: none;
}
#contact-form .section-hd h2 { color: #fff; }
#contact-form .section-hd p  { color: rgba(255,255,255,0.65); }
#contact-form .eyebrow {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
}

.form-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 48px 44px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.form-full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.req { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%235a5a7a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
  color: var(--text-muted);
}
.form-group select option { background: #fff; color: var(--text); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(40,48,119,0.08);
}
.form-group textarea {
  resize: vertical;
  min-height: 108px;
  line-height: 1.6;
}
.char-count {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: -4px;
}
.field-error {
  font-size: 0.78rem;
  color: var(--red);
  display: none;
}
.form-group.error .field-error { display: block; }
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--red);
  background: #fff7f5;
  box-shadow: 0 0 0 3px rgba(196,42,4,0.08);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  gap: 10px;
  position: relative;
  letter-spacing: 0.02em;
}
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner.active { display: block; }

.form-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
  grid-column: 1 / -1;
}
.form-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 4px 0 0;
}
.form-privacy a { color: var(--text-muted); text-decoration: underline; }
.form-privacy a:hover { color: var(--blue); }

/* =====================================================
   FAQ
   ===================================================== */
#faq { background: var(--bg); }
.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
  will-change: transform;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--transition), background var(--transition);
}
.faq-q:hover { color: var(--blue);}
.faq-item.open .faq-q { color: var(--blue); }
.faq-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--blue-light);
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-ans-inner {
  padding: 0 22px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer.section-blue {
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-text {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #fff;
}
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-award-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 5px 14px;
  border-radius: 100px;
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.footer-contact-row a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-contact-row a:hover { color: #fff; }
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-icon {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: background var(--transition), color var(--transition);
}
.social-icon:hover { background: rgba(255,255,255,0.15); color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  text-align: center;
  font-size: 0.8rem;
  color: rgb(255, 255, 255);
  padding: 20px 0;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.footer-bottom-sep {
  color: rgba(255,255,255,0.2);
  user-select: none;
}

/* =====================================================
   STICKY ELEMENTS
   ===================================================== */
/* Bottom bar — mobile only, slides up after 2s via JS .show class */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(40,48,119,0.12);
  padding: 10px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sticky-mobile-bar.show {
  display: flex;
}
.sticky-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .sticky-mobile-bar { display: none !important; }
}

/* Side tab — shown on ALL screen sizes */
.sticky-side-tab {
  display: block;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  z-index: 800;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 9px;
  border-radius: 0 8px 8px 0;
  box-shadow: -3px 0 16px rgba(196,42,4,0.25);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.sticky-side-tab:hover {
  background: var(--red-dark);
  padding: 20px 9px;
  box-shadow: -5px 0 24px rgba(196,42,4,0.35);
}

/* Slightly larger on desktop */
@media (min-width: 1024px) {
  .sticky-side-tab {
    font-size: 0.72rem;
    padding: 22px 11px;
    border-radius: 0 8px 8px 0;
  }
  .sticky-side-tab:hover { padding: 26px 11px; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (min-width: 600px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid    { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(4, 1fr); }
  /* testimonials handled separately — stays as slider on tablet */
  .form-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  section { padding: 100px 0; }
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr; }
  .form-card { padding: 52px 52px; }
}
@media (max-width: 480px) {
  .form-card { padding: 32px 20px; border-radius: var(--r-lg); }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { font-size: 0.85rem; padding: 12px 14px;}
  .btn-mob-none { display: none; }
  .hero-ctas .btn-lg { padding: 12px 14px; font-size: 0.85rem;}
}

@media (min-width: 1024px) {
  .nav-links  { display: flex; }
  .hamburger  { display: none; }

  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-visual { justify-content: flex-end; }
  .product-visual-wrap { width: 420px; }
  .product-svg { width: 320px; }

  .product-inner { grid-template-columns: 1fr 1fr; gap: 80px; }


  /* sticky-side-tab already shown globally, nothing to override here */

  /* Problem: 2-col grid, cards go horizontal layout */
  .problem-grid  { grid-template-columns: repeat(2, 1fr); }
  .problem-total { grid-column: 1 / -1; }

  /* Steps: 4-col with connector arrows — gap of 48px holds the arrow circle */
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    position: relative;
  }
  /* Horizontal thread connecting all step icons */
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(10% + 20px);
    right: calc(10% + 20px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 10%, var(--border) 90%, transparent);
    z-index: 0;
  }
  .step-card {
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    position: relative;
    overflow: visible;
  }

  /* Connector arrow centred in the 48px gap */
  .step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -33px;          /* card right edge + 33px = centre of 48px gap (48/2 - 36/2 = 6 off card) */
    transform: translateY(-50%);
    width: 32px; height: 32px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    z-index: 10;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 7h8M8 4l3 3-3 3' stroke='%23283077' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 2px 8px rgba(40,48,119,0.1);
  }

  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  /* Accent card breaks the uniform 3×2 by standing out visually */
  .benefit-card--accent {
    background: linear-gradient(135deg, var(--red) 0%, #a02303 100%);
    border-color: rgba(196,42,4,0.25);
    box-shadow: 0 12px 40px rgba(196,42,4,0.22);
  }
  .benefit-card--accent:hover {
    background: linear-gradient(135deg, #b82503 0%, #8c1e02 100%);
    box-shadow: 0 20px 50px rgba(196,42,4,0.36);
  }
  /* Stats: 4-in-a-row on desktop */
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  /* Reset mobile 2×2 dividers, use only vertical lines */
  .stat-block:nth-child(1),
  .stat-block:nth-child(2) { border-bottom: none; }
  .stat-block:nth-child(odd) { border-right: none; }
  .stat-block:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.1); }
  /* First stat slightly larger */
  .stat-block--hero .stat-num { font-size: clamp(2.6rem, 4vw, 4.2rem); }
  /* Testimonials: middle card elevated */
  .testimonial-card--featured {
    transform: translateY(-12px);
    box-shadow: 0 20px 56px rgba(40,48,119,0.14);
    border-color: rgba(40,48,119,0.2);
    z-index: 2;
  }
  .testimonial-card--featured:hover {
    transform: translateY(-16px);
  }
}

@media (min-width: 1280px) {
  .container { padding: 0 40px; }
}

/* =====================================================
   MOBILE — max-width overrides
   ===================================================== */

/* Float chips: reflow as a 2×2 grid below the product image on mobile */
@media (max-width: 767px) {
  /* Hero visual wrapper stacks vertically */
  .product-visual-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .product-svg { width: 200px; }

  /* Chips become static, sit inside the grid wrapper */
  .float-chip {
    position: static;
    animation: none;
    transform: none !important;
    white-space: normal;
    font-size: 0.78rem;
    padding: 9px 12px;
    border-radius: var(--r-sm);
    justify-content: center;
    text-align: center;
  }

  /* 2×2 chip grid */
  .hero-chips-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  /* Hero */
  #hero { padding: 90px 0 60px; min-height: auto; }
  .hero-h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-ctas { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { flex: 1 1 0; min-width: 0; text-align: center; justify-content: center; }
  .hero-social-proof { font-size: 0.8rem; }

  /* Product visual — clamp price tag inside card */
  .product-price-tag { right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); }
  .product-card { margin-bottom: 24px; }

  /* Product highlights */
  .product-highlights { gap: 10px; }
  .hl-item { padding: 12px; }

  /* Problem section — stack icon above text on small screens */
  .problem-card { flex-direction: column; gap: 16px; padding: 24px 20px; }
  .prob-icon-wrap { width: 52px; height: 52px; }

  /* Problem total — stack vertically */
  .problem-total {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 20px;
  }

  /* Stats — keep 2×2 on mobile, never 4-col */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-block { padding: 24px 16px; }

  /* Steps — 1 col on phone */
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .step-card { padding: 24px 20px; }

  /* Benefits — 1 col */
  .benefits-grid { grid-template-columns: 1fr; }

  /* Testimonials — 1 col, ensure full width */
  .testimonials-carousel { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-item .faq-q { font-size: 0.93rem; }

  /* Section headings */
  .section-hd.center { margin-bottom: 36px; }
  .section-hd h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  /* Section padding tighter */
  section { padding: 70px 0; }

  /* Proof strip compact */
  .proof-strip { gap: 16px; }
  .proof-logo-item { padding: 0 6px; }

  /* Form */
  .form-card { padding: 28px 18px; }
  .form-grid { gap: 16px; }

  /* Footer */
  .footer-bottom { font-size: 0.68rem; gap: 6px; }

  /* side tab already compact on mobile via base styles */
}

/* Tablet — 600–1023px tweaks */
@media (min-width: 600px) and (max-width: 1023px) {
  /* Stats: 2×2 grid looks better than 4×1 */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Steps: 2-col at tablet */
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  /* No arrows on tablet (they only look right at 4-col desktop) */
  .step-card::after { display: none; }
  .step-card { border-radius: var(--r-lg) !important; border: 1px solid var(--border) !important; border-right: 1px solid var(--border) !important; }

  /* Hero: single col but bigger visual */
  .product-visual-wrap { width: 220px; }
  .float-chip { display: none; }

  /* Problem: 2-col at tablet */
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Global overflow-x guard — prevents any stray element from creating horizontal scroll */
section, header, footer { max-width: 100vw; }

/* Very small phones */
@media (max-width: 375px) {
  .hero-badge { font-size: 0.7rem; padding: 6px 12px 6px 8px; }
  .proof-chip { font-size: 0.75rem; padding: 5px 10px; }
  .hero-proofs { gap: 6px; }
  .btn-primary, .btn-ghost { font-size: 0.8rem; padding: 12px 20px; }
  .form-card { padding: 24px 14px; border-radius: var(--r-lg); }
  .stat-block { padding: 20px 12px; }
  .stat-num { font-size: 1.8rem; }
}
