/* ====================================================
   QS Vending — Production Stylesheet
   Palette: Blue / Yellow / White
   Fonts: Bricolage Grotesque · DM Sans · JetBrains Mono
   ==================================================== */

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Base surfaces */
  --bg:            #FFFFFF;
  --bg-soft:       #F7F9FC;
  --bg-softer:     #EEF2F8;
  --bg-dark:       #0A2540;
  --bg-dark-alt:   #0E2E52;
  --bg-card:       #FFFFFF;
  --bg-card-dark:  #13325E;

  /* Brand */
  --primary:       #0A2540;
  --primary-mid:   #1B3A6B;
  --primary-soft:  #3B5A8A;

  /* Accent */
  --accent:        #FFD60A;
  --accent-dark:   #F4C200;
  --accent-soft:   #FFF4B5;

  /* Brand blue (from logo) */
  --brand-blue:      #0253E5;
  --brand-blue-dark: #013FB3;
  --brand-blue-soft: #DDE8FE;

  /* Text */
  --text:          #0A2540;
  --text-muted:    #5A6D85;
  --text-on-dark:  #EEF2F8;
  --text-on-dark-muted: #94A6BF;

  /* Borders */
  --border:        #E6ECF4;
  --border-strong: #CFD8E6;
  --border-dark:   #1E3A66;

  /* System */
  --radius:        14px;
  --radius-lg:     22px;
  --radius-xl:     32px;
  --transition:    0.25s ease;
  --shadow-sm:     0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-md:     0 8px 24px -8px rgba(10, 37, 64, 0.12);
  --shadow-lg:     0 24px 48px -16px rgba(10, 37, 64, 0.18);
  --shadow-yellow: 0 10px 30px rgba(255, 214, 10, 0.3);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

::selection { background: var(--accent); color: var(--primary); }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--primary);
}
h1 { font-size: clamp(2.4rem, 5.8vw, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.08rem; }
p { color: var(--text-muted); }
p a, .faq-a a { color: var(--brand-blue); font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: var(--transition); }
p a:hover, .faq-a a:hover { color: var(--brand-blue-dark); }
.mono { font-family: 'JetBrains Mono', monospace; }

.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--text-on-dark); }
.on-dark p { color: var(--text-on-dark-muted); }

/* ========== LAYOUT ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 24px; }
}

section { padding: 120px 0; position: relative; }
section.tight { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 80px 0; } section.tight { padding: 60px 0; } }

.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-dark p { color: var(--text-on-dark-muted); }
.section-soft { background: var(--bg-soft); }

/* Brand-blue section (on-brand punctuation between pale sections) */
.section-brand {
  background: var(--brand-blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 214, 10, 0.18), transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(255, 255, 255, 0.08), transparent 50%);
  pointer-events: none;
}
.section-brand > .container { position: relative; z-index: 1; }
.section-brand h1, .section-brand h2, .section-brand h3, .section-brand h4 { color: #fff; }
.section-brand p { color: rgba(255, 255, 255, 0.88); }
.section-brand .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.section-brand .highlight::after { background: var(--accent); opacity: 0.95; }
.section-brand .testimonial {
  border-color: transparent;
  box-shadow: 0 28px 60px -20px rgba(0, 30, 100, 0.45);
}
/* Restore dark text on white testimonial cards inside a brand-blue section */
.section-brand .testimonial-quote { color: var(--primary); }
.section-brand .testimonial-meta { color: var(--text-muted); }
.section-brand .testimonial-meta strong { color: var(--primary); }
.section-brand .stars { color: var(--accent); }
.section-brand .carousel-btn {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.section-brand .carousel-btn:hover { background: #fff; color: var(--brand-blue); border-color: #fff; }
.section-brand .dot { background: rgba(255, 255, 255, 0.35); }
.section-brand .dot.active { background: #fff; }

/* ========== REUSABLE BITS ========== */
.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg);
  font-weight: 500;
}
.section-dark .eyebrow {
  color: var(--accent);
  border-color: var(--border-dark);
  background: transparent;
}

.section-head { text-align: center; margin: 0 auto 72px; max-width: 760px; }
.section-head p { margin-top: 18px; font-size: 1.08rem; }

.highlight {
  display: inline-block;
  position: relative;
  padding: 0 0.08em;
}
.highlight::after {
  content: "";
  position: absolute;
  left: -0.02em;
  right: -0.02em;
  bottom: 0.05em;
  height: 0.32em;
  background: var(--brand-blue);
  z-index: -1;
  opacity: 0.25;
  border-radius: 2px;
}
/* Keep a yellow highlight inside the brand-blue section for contrast */
.section-brand .highlight::after { background: var(--accent); opacity: 0.9; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-yellow);
}
.btn-dark {
  background: var(--primary);
  color: var(--bg);
  font-weight: 500;
}
.btn-dark:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  border-color: var(--border-strong);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { border-color: var(--primary); background: var(--bg-soft); }
.section-dark .btn-outline { border-color: var(--border-dark); color: var(--text-on-dark); }
.section-dark .btn-outline:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }

/* ========== TOP ANNOUNCE BAR ========== */
.announce-bar {
  background: var(--primary);
  color: var(--bg);
  font-size: 0.85rem;
  text-align: center;
  padding: 10px 24px;
  position: relative;
  z-index: 60;
}
.announce-bar .dot-live {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
  vertical-align: middle;
}
.announce-bar a {
  text-decoration: underline;
  font-weight: 700;
  color: var(--accent);
  margin-left: 4px;
}
@media (max-width: 768px) {
  .announce-bar {
    font-size: 0.75rem;
    padding: 8px 14px;
    line-height: 1.35;
  }
  .announce-bar .scarcity-num { padding: 1px 7px; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 214, 10, 0.6); }
  50% { opacity: 0.7; transform: scale(1.2); box-shadow: 0 0 0 8px rgba(255, 214, 10, 0); }
}

/* ========== NAV ========== */
nav.main-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}
nav.main-nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: transform 0.25s ease;
}
.logo:hover .logo-img { transform: scale(1.04); }
.main-footer .logo-img { height: 72px; }
@media (max-width: 640px) {
  .logo-img { height: 46px; }
  .main-footer .logo-img { height: 60px; }
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta { padding: 12px 22px; font-size: 0.9rem; }

/* Hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg);
}
.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 100px 24px 40px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 40;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-size: 1.2rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 0;
  margin-top: 28px;
  width: 100%;
  font-size: 1rem;
  background: var(--accent);
  color: var(--primary);
  border-radius: 100px;
}
.mobile-menu a.btn:hover { background: var(--accent-dark); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  nav.main-nav .nav-cta { display: none; }
}
@media (max-width: 640px) {
  nav.main-nav { padding: 10px 0; }
  nav.main-nav.scrolled { padding: 8px 0; }
  .nav-inner { gap: 12px; padding: 0 18px; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}
@media (max-width: 768px) {
  .hero { padding: 20px 0 60px; }
  .hero-inner { padding-top: 0 !important; }
  .hero-badge { margin-bottom: 18px; }
  .hero h1 { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 24px; }
}
.hero-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.hero-dark h1, .hero-dark h2 { color: var(--text-on-dark); }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 214, 10, 0.10), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(10, 37, 64, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.hero-dark::before {
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 214, 10, 0.15), transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(59, 90, 138, 0.3), transparent 55%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-dark::after {
  background-image:
    linear-gradient(var(--border-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-dark) 1px, transparent 1px);
  opacity: 0.5;
}
.hero > .container { position: relative; z-index: 2; }

/* ---------- HERO PARALLAX (desktop + no reduced-motion) ---------- */
.hero-visual, .hero-title-ref { will-change: transform; }
@media (min-width: 901px) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-visual {
      transform: translate3d(0, calc(var(--hero-y, 0px) * -0.12), 0);
      transition: transform 0.08s linear;
    }
    .hero-text {
      transform: translate3d(0, calc(var(--hero-y, 0px) * 0.06), 0);
      transition: transform 0.08s linear;
    }
    .hero::before {
      transform: translate3d(0, calc(var(--hero-y, 0px) * 0.28), 0);
    }
    .hero::after {
      transform: translate3d(0, calc(var(--hero-y, 0px) * 0.15), 0);
    }
  }
}

.hero-inner { text-align: center; padding-top: 40px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}
.hero-dark .hero-badge {
  background: rgba(255, 214, 10, 0.12);
  color: var(--accent);
  border-color: rgba(255, 214, 10, 0.4);
}
.hero-badge .dot-live {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-dark .hero-badge .dot-live { background: var(--accent); }

.hero h1 { max-width: 980px; margin: 0 auto 24px; }
.hero h1 .accent-underline {
  background: linear-gradient(180deg, transparent 60%, rgba(2, 83, 229, 0.28) 60%);
  padding: 0 0.05em;
}
.hero-sub {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--text-muted);
}
.hero-dark .hero-sub { color: var(--text-on-dark-muted); }

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.trust-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.hero-dark .trust-row { color: var(--text-on-dark-muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row span::before { content: "✓"; color: var(--primary); font-weight: 800; }
.hero-dark .trust-row span::before { color: var(--accent); }

/* Stats row (used in hero + other pages) */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  margin-top: 56px;
}
.hero-dark .stats-row {
  background: var(--bg-card-dark);
  border-color: var(--border-dark);
  box-shadow: none;
}
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 24px; } }
.stat { text-align: center; }
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.035em;
}
.hero-dark .stat-num { color: var(--accent); }
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}
.hero-dark .stat-label { color: var(--text-on-dark-muted); }

/* Social proof ticker */
.social-ticker {
  max-width: 720px;
  margin: 40px auto 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.hero-dark .social-ticker {
  background: var(--bg-card-dark);
  border-color: var(--border-dark);
  box-shadow: none;
}
.social-ticker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse 2s infinite;
}
.social-ticker-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.4s ease;
}
.hero-dark .social-ticker-text { color: var(--text-on-dark-muted); }
.social-ticker-text strong { color: var(--primary); font-weight: 700; }
.hero-dark .social-ticker-text strong { color: var(--text-on-dark); }
.social-ticker-text .tick { color: #10B981; margin-left: 8px; font-weight: 700; }

/* ========== STEP CARDS ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .steps { grid-template-columns: 1fr; } }
.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.step-num {
  position: absolute;
  top: 0;
  right: 20px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(6rem, 14vw, 9rem);
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
}
@media (max-width: 640px) {
  .step-num { right: 16px; opacity: 0.2; }
}
.step-card h3 { margin-bottom: 14px; position: relative; }
.step-card p { position: relative; font-size: 0.98rem; }
.step-icon {
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  position: relative;
}

/* ========== TABS (industries) ========== */
.tabs-wrap {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  overflow-x: auto;
  margin-bottom: 40px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs-wrap::-webkit-scrollbar { display: none; }
.tabs { display: flex; gap: 4px; min-width: max-content; }
.tab {
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}
.tab:hover { color: var(--primary); }
.tab.active { background: var(--primary); color: var(--bg); }

.tab-content {
  display: none;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 32px 0;
  animation: fadeIn 0.4s ease;
}
.tab-content.active { display: grid; }
@media (max-width: 1024px) { .tab-content.active { grid-template-columns: 1fr; gap: 32px; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.tab-icon-big {
  width: 56px;
  height: 56px;
  padding: 12px;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 14px;
  margin-bottom: 20px;
}
.tab-content h3 { margin-bottom: 16px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tab-content p { font-size: 1.05rem; margin-bottom: 20px; }

.tab-examples {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.tab-examples li {
  padding: 6px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tab-visual {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-alt));
  border-radius: var(--radius-lg);
  padding: 48px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: var(--accent);
}
.tab-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 214, 10, 0.18), transparent 60%);
}
.tab-visual svg { width: 55%; height: 55%; position: relative; z-index: 1; }
.tab-visual.has-photo {
  padding: 0;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.tab-visual.has-photo::before { display: none; }
.tab-visual.has-photo .vm-photo {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  transition: transform 0.6s ease;
}
.tab-visual.has-photo:hover .vm-photo { transform: scale(1.03); }

/* ========== CONFIGURATOR / QUIZ ========== */
.config-wrap {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 768px) { .config-wrap { padding: 32px 24px; } }

.progress-bar {
  height: 6px;
  background: var(--bg-softer);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 12px;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  width: 33.33%;
  transition: width 0.4s ease;
  border-radius: 100px;
}
.progress-label {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 32px;
}

.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeIn 0.4s ease; }
.quiz-step h3 {
  text-align: center;
  margin-bottom: 32px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.quiz-options { display: grid; gap: 12px; }
.quiz-options.grid-3 { grid-template-columns: repeat(3, 1fr); }
.quiz-options.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) {
  .quiz-options.grid-3, .quiz-options.grid-2 { grid-template-columns: 1fr 1fr; }
}

.quiz-option {
  padding: 24px 20px;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
}
.quiz-option:hover { border-color: var(--primary); transform: translateY(-2px); background: var(--bg); }
.quiz-option.selected {
  border-color: var(--primary);
  background: var(--bg);
  box-shadow: 0 0 0 3px var(--accent);
}
.quiz-option.selected::before {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 12px;
  color: var(--primary);
  font-weight: 800;
  background: var(--accent);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.quiz-option .opt-icon { font-size: 1.7rem; margin-bottom: 10px; display: block; }

.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
}
.quiz-back { visibility: hidden; }
.quiz-step.active .quiz-back.visible { visibility: visible; }

.quiz-result { text-align: center; padding: 20px 0; }
.result-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 100px;
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.result-machine-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin-bottom: 28px;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.result-features {
  list-style: none;
  text-align: left;
  max-width: 460px;
  margin: 0 auto 32px;
  display: grid;
  gap: 12px;
}
.result-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--primary);
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 500;
}
.result-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
  background: var(--accent);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.quiz-restart {
  display: inline-block;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.quiz-restart:hover { color: var(--primary); border-color: var(--primary); }

/* ========== COMPARISON TABLE ========== */
.why-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 1024px) { .why-grid { grid-template-columns: 1fr; } }

.comparison-table {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.comp-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  align-items: center;
}
.comp-row:last-child { border-bottom: 0; }
.comp-row.head {
  background: var(--primary);
  color: var(--bg);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.comp-row.head .qs-col { color: var(--accent); }
.comp-row .qs-col { color: var(--primary); font-weight: 700; }
.comp-row .qs-col::before { content: "✓"; color: var(--primary); background: var(--accent); width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; margin-right: 8px; }
.comp-row.head .qs-col::before { display: none; }
.comp-row .other-col { color: var(--text-muted); }
.comp-row .feat { color: var(--primary); font-weight: 600; }
@media (max-width: 640px) {
  .comp-row { padding: 14px 16px; font-size: 0.85rem; grid-template-columns: 1fr 0.8fr 0.8fr; }
  .comp-row .qs-col::before { width: 16px; height: 16px; font-size: 0.65rem; }
}

/* Why feature cards */
.why-features { display: grid; gap: 20px; }
.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.why-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 12px;
  margin-bottom: 16px;
}
.why-stat {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.035em;
}
.why-card h4 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { font-size: 0.95rem; }

/* ========== LOCATIONS TICKER ========== */
.suburb-ticker {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.suburb-track {
  display: flex;
  gap: 48px;
  animation: marquee 60s linear infinite;
  width: max-content;
}
.suburb-track:hover { animation-play-state: paused; }
.suburb-track span {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--transition);
  letter-spacing: -0.025em;
}
.suburb-track span:hover { color: var(--primary); }
.suburb-track span::after {
  content: "•";
  color: var(--accent);
  margin-left: 48px;
  font-size: 1.2em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Location groups grid */
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 1024px) { .region-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .region-grid { grid-template-columns: 1fr; } }
.region-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.region-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.region-card h4 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.region-card ul { list-style: none; display: grid; gap: 6px; }
.region-card ul li { font-size: 0.9rem; color: var(--text-muted); }
.region-card ul li::before { content: "→ "; color: var(--primary); font-weight: 700; }

/* ========== TESTIMONIAL CAROUSEL ========== */
.carousel { position: relative; max-width: 900px; margin: 0 auto; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.testimonial {
  flex: 0 0 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) { .testimonial { padding: 40px 28px; } }
.stars {
  color: var(--accent);
  letter-spacing: 4px;
  margin-bottom: 24px;
  font-size: 1.2rem;
  -webkit-text-stroke: 1px var(--primary);
}
.testimonial-quote {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.testimonial-quote::before { content: "\201C"; margin-right: 4px; font-size: 1.2em; color: var(--accent); }
.testimonial-quote::after { content: "\201D"; margin-left: 4px; font-size: 1.2em; color: var(--accent); }

.testimonial-meta { font-size: 0.95rem; color: var(--text-muted); }
.testimonial-meta strong { color: var(--primary); font-weight: 700; display: block; margin-bottom: 4px; }

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--primary);
  background: var(--bg);
}
.carousel-btn:hover { border-color: var(--primary); background: var(--primary); color: var(--bg); }
.carousel-dots { display: flex; gap: 8px; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: var(--transition);
  border: 0;
}
.dot.active { background: var(--primary); width: 24px; border-radius: 100px; }

/* ========== FAQ ========== */
.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: var(--primary); }
.faq-q {
  width: 100%;
  padding: 22px 28px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  background: transparent;
  letter-spacing: -0.015em;
}
.faq-q::after {
  content: "+";
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 28px;
}
.faq-a p { padding-bottom: 22px; color: var(--text-muted); }
.faq-item.open .faq-a { max-height: 500px; }

/* ========== CONTACT FORM ========== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1024px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } }

.contact-form {
  display: grid;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 640px) { .contact-form { padding: 24px; } }
.field label {
  display: block;
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  font-weight: 500;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--primary);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-soft);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230A2540' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-info {
  padding: 40px;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255, 214, 10, 0.15), transparent 50%);
}
.contact-info > * { position: relative; z-index: 1; }
.contact-info h3 { color: var(--text-on-dark); margin-bottom: 14px; }
.contact-info p { color: var(--text-on-dark-muted); margin-bottom: 32px; }
.info-list { list-style: none; display: grid; gap: 20px; margin-bottom: 32px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .info-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-list strong { display: block; color: var(--text-on-dark); font-weight: 700; margin-bottom: 2px; }
.info-list .info-val { color: var(--text-on-dark-muted); font-size: 0.95rem; }
.info-list a.info-val:hover { color: var(--accent); }

.contact-trust {
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.contact-trust span { display: inline-flex; align-items: center; gap: 6px; }
.contact-trust span::before { content: "✓"; color: var(--primary); font-weight: 800; }

/* ========== CTA STRIP ========== */
.cta-strip {
  padding: 80px 40px;
  background: var(--brand-blue);
  border-radius: var(--radius-xl);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(255, 214, 10, 0.18), transparent 55%);
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; max-width: 700px; margin: 0 auto 16px; }
.cta-strip p { color: rgba(255, 255, 255, 0.88); max-width: 580px; margin: 0 auto 32px; }
.cta-strip .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.cta-strip-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-strip .btn-outline { border-color: rgba(255,255,255,0.25); color: var(--text-on-dark); }
.cta-strip .btn-outline:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
@media (max-width: 640px) { .cta-strip { padding: 56px 24px; border-radius: var(--radius-lg); } }

.cta-wrap-outer { padding: 40px; }
@media (max-width: 768px) { .cta-wrap-outer { padding: 20px; } }

/* ========== FOOTER ========== */
footer.main-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 80px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr; } }
.footer-about .logo { color: var(--text-on-dark); }
.footer-about p { margin-top: 14px; font-size: 0.95rem; max-width: 360px; color: var(--text-on-dark-muted); }
.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--text-on-dark); font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent); }
.footer-col li { color: var(--text-on-dark-muted); font-size: 0.95rem; }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}
.footer-keywords { max-width: 520px; text-align: right; }
@media (max-width: 768px) { .footer-keywords { text-align: left; } }

.footer-credit {
  text-align: center;
  padding: 20px 0 0;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}
.footer-credit .heart {
  color: #FF5A7A;
  display: inline-block;
  animation: heartBeat 1.8s ease-in-out infinite;
  margin: 0 2px;
}
.footer-credit a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.footer-credit a:hover { color: var(--bg); border-bottom-color: currentColor; }
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.2); }
  60% { transform: scale(1); }
}

/* ========== STICKY MOBILE CTA ========== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  z-index: 45;
  box-shadow: 0 -4px 20px rgba(10, 37, 64, 0.08);
}
.mobile-cta-bar .btn { width: 100%; padding: 14px; }
@media (max-width: 768px) {
  .mobile-cta-bar.visible { display: block; animation: slideUp 0.3s ease; }
  body.has-mobile-cta { padding-bottom: 74px; }
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  padding: 72px 0 56px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 75%);
}
.page-hero-inner { position: relative; z-index: 1; text-align: center; }
.breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; color: var(--border-strong); }

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  max-width: 900px;
  margin: 0 auto 18px;
}
.page-hero-sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ========== UTILS ========== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--text-muted); }
.accent { color: var(--primary); background: var(--accent); padding: 0 0.15em; border-radius: 4px; }

/* ========== HERO 2-COL LAYOUT (with machine visual) ========== */
.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  text-align: left;
  margin-bottom: 56px;
}
.hero-layout h1 { margin: 0 0 22px; }
.hero-layout .hero-sub { margin: 0 0 32px; max-width: 520px; }
.hero-layout .hero-ctas { justify-content: flex-start; margin-bottom: 28px; }
.hero-layout .trust-row { justify-content: flex-start; margin-bottom: 0; }

@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-layout .hero-visual { order: 2; max-width: 360px; margin: 0 auto; }
  .hero-layout .hero-ctas { justify-content: center; }
  .hero-layout .trust-row { justify-content: center; }
  .hero-layout .hero-sub { margin-left: auto; margin-right: auto; }
}

/* ========== VENDING MACHINE PHOTO ========== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.vm-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.hero-visual .vm-photo {
  max-width: 460px;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -15px rgba(10, 37, 64, 0.35), 0 0 0 1px rgba(10, 37, 64, 0.05);
  animation: vm-float 7s ease-in-out infinite;
}
.vm-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  animation: vm-float 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 50px rgba(10, 37, 64, 0.22));
}
@keyframes vm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Glow pulse on screen */
.vm-screen { animation: vm-screen-glow 2.4s ease-in-out infinite; }
@keyframes vm-screen-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* Floating product bubbles around hero */
.float-bubble {
  position: absolute;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bubble-float 5s ease-in-out infinite;
  box-shadow: var(--shadow-md);
  z-index: 3;
}
.float-bubble-1 {
  top: 8%; left: -4%;
  background: var(--accent);
  animation-delay: 0s;
}
.float-bubble-2 {
  top: 50%; right: -6%;
  background: var(--bg);
  border: 1px solid var(--border);
  animation-delay: 1.4s;
}
.float-bubble-3 {
  bottom: 6%; left: -8%;
  background: var(--primary);
  animation-delay: 2.8s;
}
.float-bubble svg { width: 28px; height: 28px; }
.float-bubble.b-ink svg { color: var(--accent); }

@keyframes bubble-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}

@media (max-width: 1024px) {
  .float-bubble { display: none; }
}

/* ========== INDUSTRY TAB VISUAL — machine backdrop ========== */
.tab-visual.has-machine {
  background: linear-gradient(155deg, var(--bg-soft), var(--bg-softer));
  padding: 32px;
  border: 1px solid var(--border);
}
.tab-visual.has-machine::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 15%, var(--accent-soft), transparent 65%);
  opacity: 0.55;
}
.tab-visual.has-machine .vm-svg {
  max-width: 78%;
  animation-duration: 8s;
  filter: drop-shadow(0 20px 40px rgba(10, 37, 64, 0.2));
}

/* ========== PAGE HERO WITH MACHINE ACCENT ========== */
.page-hero.has-visual {
  padding-bottom: 80px;
}
.page-hero.has-visual .page-hero-inner {
  position: relative;
}
.page-hero-machine {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  opacity: 0.92;
  pointer-events: none;
}
.page-hero-machine .vm-svg {
  max-width: 100%;
  animation-duration: 8s;
  filter: drop-shadow(0 20px 40px rgba(10, 37, 64, 0.15));
}
@media (max-width: 900px) { .page-hero-machine { display: none; } }

/* ========== CONTACT INFO MACHINE ACCENT ========== */
.contact-info-machine {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 180px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.contact-info-machine .vm-svg { max-width: 100%; filter: none; animation: none; }

/* Page hero 2-col with machine */
.page-hero-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.page-hero-layout h1 { margin-left: 0; margin-right: 0; }
.page-hero-layout .page-hero-sub { margin-left: 0; margin-right: 0; }
.page-hero-visual {
  display: flex;
  justify-content: center;
}
.page-hero-visual .vm-svg {
  max-width: 240px;
  animation: vm-float 7s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(10, 37, 64, 0.2));
}
.page-hero-visual .vm-photo {
  max-width: 360px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -15px rgba(10, 37, 64, 0.3);
  animation: vm-float 7s ease-in-out infinite;
}

/* ============================================================
   CONVERSION BOOSTERS
   ============================================================ */

/* ---------- SCARCITY PILL IN ANNOUNCE BAR ---------- */
.announce-bar .scarcity-num {
  background: var(--accent);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 800;
  margin: 0 4px;
  font-size: 0.88em;
}

/* ---------- CALCULATOR WIDGET ---------- */
#calculator { background: var(--bg-soft); }
.calc-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .calc-wrap { padding: 32px 24px; } }
.calc-wrap::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; gap: 32px; } }
.calc-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  font-weight: 500;
}
.calc-slider-row { display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.calc-big-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.04em;
}
.calc-big-suffix { font-size: 1.1rem; color: var(--text-muted); font-weight: 500; }
input[type="range"].calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-softer);
  border-radius: 100px;
  outline: none;
  margin: 20px 0 12px;
}
input[type="range"].calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border: 3px solid var(--primary);
  border-radius: 50%;
  cursor: grab;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
}
input[type="range"].calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"].calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border: 3px solid var(--primary);
  border-radius: 50%;
  cursor: grab;
}
.calc-slider-meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }

.calc-result {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.calc-result::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255, 214, 10, 0.18), transparent 50%);
}
.calc-result > * { position: relative; z-index: 1; }
.calc-result-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
}
.calc-result-line:last-of-type { border-bottom: 0; }
.calc-result-line strong {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.calc-result h4 {
  color: var(--text-on-dark);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ---------- INSTALL GALLERY ---------- */
.install-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .install-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .install-gallery { grid-template-columns: 1fr; } }
.install-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  cursor: pointer;
  background: var(--bg-soft);
}
.install-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.install-card:hover img { transform: scale(1.06); }
.install-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.9), transparent 50%);
  z-index: 1;
}
.install-card-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  color: var(--bg);
  z-index: 2;
}
.install-card-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  background: var(--accent);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.install-card-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.install-card-sub { font-size: 0.85rem; opacity: 0.85; }

/* ---------- MULTI-STEP FORM ---------- */
.mstep-header { margin-bottom: 28px; }
.mstep-progress {
  height: 4px;
  background: var(--bg-softer);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
}
.mstep-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 33%;
  transition: width 0.4s ease;
  border-radius: 100px;
}
.mstep-label {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.mstep-label strong { color: var(--primary); font-weight: 600; }

.mstep { display: none; }
.mstep.active { display: block; animation: mstepIn 0.4s ease; }
@keyframes mstepIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
.mstep h4 {
  font-size: 1.25rem;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.mstep .mstep-hint { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.mstep-fields { display: grid; gap: 14px; margin-bottom: 24px; }
.mstep-nav {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.mstep-nav .btn { flex: 1; }
.mstep-nav .btn.btn-outline { flex: 0 0 auto; padding: 16px 22px; }

/* Quick-pick chips (for venue step) */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 420px) { .chip-grid { grid-template-columns: repeat(2, 1fr); } }
.chip-option {
  padding: 14px 12px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  font-size: 0.92rem;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition);
}
.chip-option:hover { border-color: var(--primary); transform: translateY(-1px); }
.chip-option.selected {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}
.chip-option .chip-emoji { font-size: 1.4rem; display: block; margin-bottom: 6px; }

/* ---------- BOOKING SLOT PICKER ---------- */
.booking-slots {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.booking-slots-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.booking-slots-head .opt-tag { color: var(--text-muted); font-weight: 400; }
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 480px) { .slot-grid { grid-template-columns: repeat(2, 1fr); } }
.slot-chip {
  padding: 12px 10px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.slot-chip .slot-day {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.slot-chip .slot-time {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}
.slot-chip:hover { border-color: var(--primary); }
.slot-chip.selected {
  border-color: var(--primary);
  background: var(--primary);
}
.slot-chip.selected .slot-day,
.slot-chip.selected .slot-time { color: var(--bg); }
.slot-chip.selected .slot-time { color: var(--accent); }

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 46;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.wa-bubble-text {
  background: var(--bg);
  padding: 10px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--border);
  animation: wa-bounce 4s ease-in-out infinite;
  position: relative;
}
.wa-bubble-text::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 7px solid var(--bg);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.wa-btn {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.wa-btn:hover { transform: scale(1.08); }
.wa-btn svg { width: 28px; height: 28px; }
@keyframes wa-bounce {
  0%, 90%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-4px); }
}
@media (max-width: 768px) {
  .wa-bubble-text { display: none; }
  body.has-mobile-cta .wa-float { bottom: 84px; }
}

/* ---------- EXIT INTENT MODAL ---------- */
.exit-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.exit-modal-backdrop.open { opacity: 1; visibility: visible; }
.exit-modal {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--accent);
}
.exit-modal-backdrop.open .exit-modal { transform: translateY(0) scale(1); }
@media (max-width: 560px) { .exit-modal { padding: 32px 24px; } }
.exit-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}
.exit-modal-close:hover { background: var(--primary); color: var(--bg); }
.exit-modal-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  background: var(--accent);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.exit-modal h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}
.exit-modal p { font-size: 1rem; margin-bottom: 24px; }
.exit-modal .field { margin-bottom: 14px; }
.exit-modal .btn { width: 100%; }
.exit-modal-foot {
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

/* ============================================================
   MOBILE FINE-TUNES
   ============================================================ */

/* Larger slider thumb on touch screens */
@media (hover: none) and (pointer: coarse) {
  input[type="range"].calc-slider::-webkit-slider-thumb {
    width: 32px;
    height: 32px;
    border-width: 4px;
  }
  input[type="range"].calc-slider::-moz-range-thumb {
    width: 32px;
    height: 32px;
  }
}

/* Edge fade hint on horizontally-scrollable tab bar */
.tabs-wrap {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, black 0, black calc(100% - 30px), transparent);
  mask-image: linear-gradient(90deg, black 0, black calc(100% - 30px), transparent);
}
@media (min-width: 1100px) {
  .tabs-wrap { -webkit-mask-image: none; mask-image: none; }
}

/* Testimonial carousel touch hint */
.carousel-viewport { touch-action: pan-y; cursor: grab; }
.carousel-viewport:active { cursor: grabbing; }

/* Install gallery meta overlay tighter on mobile */
@media (max-width: 480px) {
  .install-card-meta { padding: 16px; }
  .install-card-title { font-size: 1rem; }
  .install-card-sub { font-size: 0.78rem; }
}

/* Coverage map — larger labels on mobile */
@media (max-width: 640px) {
  .coverage-map-visual { padding: 12px; }
  .coverage-grid { padding: 24px 20px; }
}

/* Calculator layout tighter on small screens */
@media (max-width: 560px) {
  .calc-wrap { padding: 28px 20px; }
  .calc-result { padding: 24px; }
  .calc-result-line { padding: 11px 0; font-size: 0.88rem; }
  .calc-result-line strong { font-size: 1.25rem; }
}

/* Multi-step form mobile */
@media (max-width: 560px) {
  .chip-grid { grid-template-columns: repeat(2, 1fr); }
  .mstep h4 { font-size: 1.1rem; }
  .mstep-nav { flex-wrap: wrap; }
  .mstep-nav .btn { flex: 1 1 100%; }
  .mstep-nav .btn.btn-outline { flex: 0 0 auto; }
}

/* Hero visual sizing — keep compact on small phones */
@media (max-width: 560px) {
  .hero-visual .vm-photo { max-width: 300px; }
}

/* Prevent 100vh mobile viewport bugs in mobile menu */
.mobile-menu { min-height: 100svh; }

/* Prevent overflow on long words in form inputs */
.field input, .field select, .field textarea { min-width: 0; }

/* ============================================================
   COVERAGE MAP / ELIGIBILITY CHECKER
   ============================================================ */

#coverage-map { position: relative; }
.coverage-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) {
  .coverage-grid { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
}

.coverage-map-visual {
  position: relative;
  background: linear-gradient(165deg, var(--bg-softer), var(--bg-soft));
  border-radius: var(--radius-lg);
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  width: 100%;
  min-width: 0;
  margin: 0 auto;
}
.coverage-map-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  display: block;
}
@media (max-width: 900px) {
  .coverage-map-visual { max-width: 520px; padding: 16px; }
}
@media (max-width: 480px) {
  .coverage-map-visual { padding: 12px; max-width: 100%; }
}

.coverage-checker h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.coverage-checker > p { margin-bottom: 24px; font-size: 1rem; }

.checker-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.checker-input-row input {
  flex: 1;
  padding: 16px 18px;
  background: var(--bg);
  border: 2px solid var(--border-strong);
  border-radius: 12px;
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: var(--transition);
  text-align: center;
}
.checker-input-row input:focus {
  outline: 0;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-soft);
}
.checker-input-row input::placeholder { color: var(--text-muted); letter-spacing: 0.05em; }
.checker-input-row .btn {
  padding: 0 26px;
  flex-shrink: 0;
}

.zone-result {
  padding: 20px 22px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  border: 1px solid transparent;
  animation: zoneIn 0.4s ease;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
@keyframes zoneIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.zone-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 800;
}
.zone-result-body strong {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.zone-result-body p { margin: 0; font-size: 0.92rem; line-height: 1.5; }
.zone-result-body a { color: var(--primary); font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 1px; }

.zone-result.zone-fast {
  background: rgba(78, 166, 116, 0.08);
  border-color: rgba(78, 166, 116, 0.3);
}
.zone-result.zone-fast .zone-icon { background: #4EA674; color: #fff; }
.zone-result.zone-fast strong { color: #2F7C51; }

.zone-result.zone-regional {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.zone-result.zone-regional .zone-icon { background: var(--accent); color: var(--primary); }
.zone-result.zone-regional strong { color: var(--primary); }

.zone-result.zone-out {
  background: #FFF0ED;
  border-color: #F4BEB1;
}
.zone-result.zone-out .zone-icon { background: #E27356; color: #fff; }
.zone-result.zone-out strong { color: #A63D1E; }

.map-legend {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.map-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-dot.gold { background: #FFD60A; border: 1px solid var(--primary); }
.legend-dot.green { background: #4EA674; }
.legend-dot.amber { background: #F4C200; }
.legend-dot.red { background: #E27356; }

/* Coverage stats row below map */
.coverage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 640px) {
  .coverage-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .coverage-stat { padding: 16px 8px; }
  .coverage-stat .num { font-size: 1.3rem; }
  .coverage-stat .label { font-size: 0.62rem; letter-spacing: 0.06em; }
}
@media (max-width: 420px) {
  .coverage-grid { padding: 20px 16px; gap: 28px; }
  .checker-input-row .btn { padding: 0 16px; font-size: 0.9rem; }
  .checker-input-row input { padding: 14px 14px; font-size: 1rem; }
  .coverage-checker h3 { font-size: 1.35rem; }
  .map-legend .legend-item { font-size: 0.82rem; }
}

/* Keep coverage section padding reasonable on mobile */
@media (max-width: 640px) {
  #coverage-map { padding-top: 60px; padding-bottom: 60px; }
}
.coverage-stat {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.coverage-stat .num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.coverage-stat .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .page-hero-layout { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .page-hero-layout h1, .page-hero-layout .page-hero-sub { margin-left: auto; margin-right: auto; }
  .page-hero-visual { display: none; }
}

/* ========== INDUSTRY / FEATURE GRIDS ========== */
.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .feature-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .feature-grid-3, .feature-grid-4 { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.feature-card .f-icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 12px;
  margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.feature-card p { font-size: 0.95rem; }
.feature-card .f-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-weight: 600;
  color: var(--brand-blue);
  font-size: 0.9rem;
  border-bottom: 2px solid var(--brand-blue);
  padding-bottom: 2px;
  transition: var(--transition);
}
.feature-card .f-link:hover { color: var(--brand-blue-dark); border-bottom-color: var(--brand-blue-dark); gap: 8px; }

/* ========== INLINE CTA BLOCK ========== */
.mini-cta {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.mini-cta p {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
  max-width: 520px;
}

/* ========== TIMELINE (how it works detailed) ========== */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--accent);
}
@media (max-width: 640px) { .timeline::before { left: 20px; } }
.timeline-item {
  position: relative;
  padding-left: 80px;
  padding-bottom: 40px;
}
@media (max-width: 640px) { .timeline-item { padding-left: 60px; padding-bottom: 32px; } }
.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 58px;
  height: 58px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.3rem;
  border: 6px solid var(--bg-soft);
  letter-spacing: -0.02em;
}
@media (max-width: 640px) { .timeline-dot { width: 42px; height: 42px; font-size: 1rem; border-width: 4px; } }
.timeline-item h4 { font-size: 1.3rem; margin-bottom: 8px; }
.timeline-item p { font-size: 1rem; }
.timeline-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--bg);
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
