﻿/* ============================================================
   Vision Alarm Direct — Version 6
   Hero-only clean light design, matching reference layout
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #1a56db;
  --blue-deep:  #1244b8;
  --blue-light: #eff4ff;
  --navy:       #0f1f3d;
  --navy-mid:   #1a2f57;
  --gray-700:   #374151;
  --gray-500:   #6b7280;
  --gray-200:   #e5e7eb;
  --gray-100:   #f3f4f6;
  --white:      #ffffff;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.18);
  --shadow-xl:  0 16px 48px rgba(0,0,0,.24);

  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --maxw: 1200px;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  overflow-x: hidden;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: box-shadow .25s;
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.12);
}

.navbar__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--navy);
  font-size: .97rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
  outline: none;
}
.navbar__logo-icon {
  display: flex;
  align-items: center;
  color: var(--blue);
}
.navbar__logo-icon img {
  border: 0;
  outline: none;
}
.navbar__logo-text { color: #344E60; }
.navbar__logo-text strong { font-weight: 800; }

/* Desktop nav links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0 auto;
  flex-shrink: 1;
  min-width: 0;
}
.navbar__links a {
  text-decoration: none;
  color: var(--gray-700);
  font-size: .92rem;
  font-weight: 500;
  transition: color .18s;
}
.navbar__links a:hover { color: var(--navy); }

/* Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.navbar__phone {
  text-decoration: none;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 500;
  transition: color .18s;
}
.navbar__phone:hover { color: var(--blue-deep); }

/* Burger */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  margin-left: auto;
}
.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: .2s;
}

/* Mobile menu */
.navbar__mobile {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: .5rem;
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--gray-200);
  background: rgba(255,255,255,.98);
}
.navbar__mobile.is-open { display: flex; }
.navbar__mobile a {
  text-decoration: none;
  color: var(--gray-700);
  font-size: 1rem;
  font-weight: 500;
  padding: .5rem 0;
}
.navbar__mobile a:hover { color: var(--navy); }

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: .65rem 1.4rem;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, transform .12s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary:hover  { background: var(--blue-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  padding: .6rem 1.3rem;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.btn-outline:hover { border-color: var(--navy); background: var(--gray-100); }

/* ---------- NAVBAR INSTALLER BUTTON ---------- */
.navbar__installer {
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  border-color: rgba(26,86,219,0.35);
  color: var(--blue);
  white-space: nowrap;
  flex: none;
}
.navbar__installer:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}
@media (max-width: 768px) {
  .navbar__installer { display: none; }
}

/* =============================================================
   INSTALLER REGISTRATION MODAL
   ============================================================= */
.inst-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(2,12,31,0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.26s;
}
.inst-overlay[hidden] { display: none !important; }
.inst-overlay--visible { opacity: 1; }

.inst-modal {
  background: #0d1b33;
  border: 1px solid rgba(96,207,255,0.14);
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px 36px 36px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.65);
  transform: translateY(24px);
  transition: transform 0.26s;
}
.inst-overlay--visible .inst-modal { transform: translateY(0); }

.inst-close {
  position: absolute;
  top: 14px; right: 18px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.15s;
}
.inst-close:hover { color: #fff; }

.inst-header { margin-bottom: 26px; }
.inst-header-icon {
  width: 50px; height: 50px;
  background: rgba(26,86,219,0.18);
  border: 1px solid rgba(26,86,219,0.3);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: #60cfff;
  margin-bottom: 14px;
}
.inst-header h2 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 8px;
}
.inst-header p {
  color: rgba(255,255,255,0.52);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.inst-form { display: flex; flex-direction: column; gap: 18px; }

.inst-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.inst-field { display: flex; flex-direction: column; gap: 7px; }

.inst-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.inst-field input[type="text"],
.inst-field input[type="tel"],
.inst-field input[type="email"] {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 10px;
  padding: 11px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.inst-field input:focus {
  border-color: rgba(96,207,255,0.5);
  background: rgba(255,255,255,0.09);
}
.inst-field input::placeholder { color: rgba(255,255,255,0.28); }

.inst-toggle-group { display: flex; gap: 10px; }

.inst-toggle { flex: 1; cursor: pointer; }
.inst-toggle input[type="radio"] { display: none; }
.inst-toggle span {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.15s;
}
.inst-toggle input:checked + span {
  background: rgba(26,86,219,0.28);
  border-color: rgba(96,207,255,0.5);
  color: #60cfff;
}
.inst-toggle span:hover { border-color: rgba(255,255,255,0.3); }

.inst-error {
  background: rgba(239,68,68,0.14);
  border: 1px solid rgba(239,68,68,0.35);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fca5a5;
  font-size: 0.88rem;
}

.inst-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.inst-success { text-align: center; padding: 16px 0; }
.inst-success-icon {
  width: 64px; height: 64px;
  background: rgba(34,197,94,0.14);
  border: 2px solid rgba(34,197,94,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #22c55e;
  margin: 0 auto 20px;
}
.inst-success h3 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.inst-success p  { color: rgba(255,255,255,0.58); line-height: 1.55; margin-bottom: 24px; }

@media (max-width: 600px) {
  .inst-modal { padding: 28px 18px 24px; }
  .inst-row   { grid-template-columns: 1fr; }
}

/* ---------- HERO ---------- */
/* Photo is full-bleed behind the fixed navbar — just like the reference */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
}

/* Background photo — img tag for LCP */
.hero__img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 111.11%;
  object-fit: cover;
  object-position: center 25%;
}

/* Minimal overlay — keep photo bright */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(8, 16, 34, 0.28) 0%,
    rgba(8, 16, 34, 0.06) 50%,
    rgba(8, 16, 34, 0.02) 100%
  );
}

/* Upper area \u2014 fills full viewport, title in upper-center portion */
.hero__upper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100svh;
  text-align: center;
  padding: calc(var(--nav-h) + 3.5%) 1.5rem 0;
  pointer-events: none;
}

.hero__title {
  font-size: clamp(1.9rem, 4.8vw, 3.8rem);
  font-weight: 900;
  letter-spacing: .05em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.06;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
  margin-bottom: .7rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  margin: 1.1rem auto .9rem;
  max-width: 700px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  background: rgba(10, 20, 48, 0.72);
  border: 1.5px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: clamp(.78rem, 1.35vw, .93rem);
  font-weight: 700;
  letter-spacing: .035em;
  padding: .44rem 1.05rem;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  text-shadow: none;
  white-space: nowrap;
}

.hero__sub {
  font-size: clamp(.9rem, 1.5vw, 1.08rem);
  font-weight: 600;
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 12px rgba(0,0,0,.7);
  max-width: 580px;
  margin: 0 auto;
  letter-spacing: 0.02em;
}

/* ---- Quote Card — absolutely positioned bottom-left ---- */
.hero__lower {
  position: absolute;
  bottom: max(16px, 5%);
  left: 4%;
  z-index: 10;
}

.quote-card {
  width: 295px;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.10);
}

.quote-card__header {
  background: var(--white);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  padding: .9rem 1rem .6rem;
  line-height: 1.4;
  border-bottom: 1px solid var(--gray-200);
}

.quote-card__icons {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: .6rem .75rem .7rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}

.qc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  color: #6b7280;
}
.qc-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.quote-card__details {
  padding: .6rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .32rem;
  border-bottom: 1px solid var(--gray-200);
}

.quote-card__row {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  font-size: .8rem;
}
.quote-card__label {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  min-width: 90px;
}
.quote-card__value {
  color: #4b5563;
  font-weight: 400;
}

.quote-card__btn {
  display: block;
  width: calc(100% - 1.4rem);
  margin: .7rem .7rem;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: .65rem;
  font-family: inherit;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s, transform .12s, box-shadow .18s;
  box-shadow: 0 4px 14px rgba(26,86,219,.3);
}
.quote-card__btn:hover  { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(26,86,219,.4); }
.quote-card__btn:active { transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .navbar__links,
  .navbar__actions { display: none; }
  .navbar__burger { display: flex; }
}

@media (max-width: 640px) {
  .hero__upper {
    padding: calc(var(--nav-h) + 1.5rem) 1rem 2rem;
    min-height: auto;
    padding-bottom: 340px; /* leave room for card */
  }
  .hero__lower {
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
  }
  .quote-card { width: 290px; }
}


/* =============================================================
   BRAND TRUST STRIP — between hero and wireless section
   ============================================================= */
.brand-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 22px clamp(16px, 4vw, 48px);
  background: #0d1726;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand-strip__label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
}

.brand-strip__divider {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.brand-strip__logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.brand-strip__name {
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.brand-strip__name strong {
  color: #ffffff;
  font-weight: 700;
}

.brand-strip__name--pro strong  { color: #ffffff; }

/* Ajax image — crop out black padding, show centre only */
.brand-strip__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-strip__img-wrap--ajax {
  width: 80px;
  height: 28px;
}

.brand-strip__img--ajax {
  width: 150px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* Dahua image — no background, force white */
.brand-strip__img-wrap--dahua {
  height: 28px;
  display: flex;
  align-items: center;
}

.brand-strip__img--dahua {
  height: 26px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-strip__dot {
  font-size: 0.35rem;
  color: rgba(255,255,255,0.2);
  vertical-align: middle;
}

.brand-strip__badge {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .brand-strip__divider { display: none; }
  .brand-strip__label   { display: none; }
}

/* =============================================================
   WHY WIRELESS SECTION — HTML side-by-side compare layout
   ============================================================= */
/* ============================================================
   WHY WIRELESS — mobile-first
   ============================================================ */
.why-wireless {
  margin-top: 0;
  margin-bottom: 0;
  background: #111111;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  scroll-margin-top: var(--nav-h);
}

/* Gradient overlay — hidden on mobile, shown on desktop */
.why-wireless::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #000000 0%, transparent 25%);
  z-index: 1;
  pointer-events: none;
  display: none;
}

.ww-full-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Image zone: positioning context for mobile heading overlay */
.ww-image-zone {
  position: relative;
}

/* Mobile: heading overlaid on left of image */
.ww-mob-heading {
  position: absolute;
  top: clamp(16px, 4vw, 28px);
  left: clamp(16px, 5vw, 28px);
  max-width: 48%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ww-mob-heading .ww-heading-light,
.ww-mob-heading .ww-heading-bold {
  text-shadow: 0 1px 16px rgba(0,0,0,0.75);
}

/* Mobile: text block below image, hide heading (shown on image instead) */
.ww-overlay-heading {
  position: static;
  transform: none;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px 32px;
  max-width: 100%;
}
/* Hide heading spans inside text block on mobile */
.ww-overlay-heading > .ww-heading-light,
.ww-overlay-heading > .ww-heading-bold {
  display: none;
}

.ww-heading-light {
  display: block;
  font-size: clamp(0.7rem, 3.5vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a0a0a0;
  line-height: 1.2;
}

.ww-heading-bold {
  display: block;
  font-size: clamp(1rem, 5.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
  white-space: normal;
}

.ww-overlay-body {
  margin: 32px 0 14px;
  font-size: clamp(0.85rem, 3.5vw, 0.95rem);
  font-weight: 300;
  color: #cccccc;
  line-height: 1.6;
}

.ww-overlay-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ww-overlay-list li {
  font-size: clamp(0.82rem, 3.2vw, 0.9rem);
  color: #cccccc;
  font-weight: 300;
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}

.ww-overlay-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #cccccc;
}

.ww-overlay-list li strong {
  color: #ffffff;
  font-weight: 600;
}

/* ============================================================
   WHY WIRELESS — desktop: overlay on image
   ============================================================ */
@media (min-width: 768px) {
  .why-wireless {
    display: block;
    background: #ffffff;
  }

  .why-wireless::before {
    display: block;
  }

  /* Desktop: image zone is positioning context for the overlay heading */
  .ww-image-zone {
    position: relative;
  }

  /* Desktop: hide mobile heading (shown in overlay heading instead) */
  .ww-mob-heading {
    display: none;
  }

  /* Desktop: show heading inside overlay block */
  .ww-overlay-heading > .ww-heading-light,
  .ww-overlay-heading > .ww-heading-bold {
    display: block;
  }

  .ww-overlay-heading {
    position: absolute;
    top: clamp(24px, 6%, 60px);
    left: clamp(24px, 5%, 80px);
    padding: 0;
    max-width: clamp(260px, 32%, 420px);
    gap: 4px;
  }

  .ww-heading-light {
    font-size: clamp(1.2rem, 2.8vw, 2rem);
  }

  .ww-heading-bold {
    font-size: clamp(1.8rem, 4.2vw, 3.2rem);
    white-space: nowrap;
  }

  .ww-overlay-body {
    margin: clamp(12px, 2vw, 22px) 0 clamp(10px, 1.5vw, 18px);
    font-size: clamp(0.78rem, 1.2vw, 0.95rem);
  }

  .ww-overlay-list {
    gap: clamp(8px, 1.2vw, 14px);
  }

  .ww-overlay-list li {
    font-size: clamp(0.75rem, 1.1vw, 0.9rem);
  }
}

/* Section heading */
.ww-heading {
  text-align: center;
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 40px;
  padding: 0 24px;
}
.ww-heading strong {
  font-weight: 900;
}

/* Two-column compare grid */
.ww-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1320px;
  margin: 0 auto;
}

/* Individual panel */
.ww-panel {
  position: relative;
  overflow: hidden;
}
.ww-panel--good { background: #f5f8ff; }
.ww-panel--bad  { background: #fff5f5; }

/* Label row at the top of each panel */
.ww-panel-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px 16px;
  position: relative;
  z-index: 2;
}
.ww-panel-title {
  display: block;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.2;
}
.ww-panel-sub {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  margin-top: 2px;
}

/* Tick / Cross badge */
.ww-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
}
.ww-badge--good { background: #22c55e; color: #fff; }
.ww-badge--bad  { background: #ef4444; color: #fff; }

/* Panel photo */
.ww-panel-img {
  width: 100%;
  height: clamp(220px, 30vw, 480px);
  object-fit: cover;
  object-position: center center;
  display: block;
}
/* Wireless panel: slight left-of-centre so tech's equipment AND the couple on the couch are both in frame */
.ww-panel--good .ww-panel-img {
  object-position: 30% center;
}
/* Wired panel: anchor right so people fill frame, dead wall disappears */
.ww-panel--bad .ww-panel-img {
  object-position: right center;
}

/* Speech-bubble callout */
.ww-bubble {
  position: absolute;
  bottom: 28px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: clamp(0.75rem, 1.2vw, 0.88rem);
  line-height: 1.55;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3;
  max-width: 68%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.ww-bubble--good {
  left: 20px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(34,197,94,0.35);
  color: #1a3a1a;
}
.ww-bubble--bad {
  right: 20px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(239,68,68,0.35);
  color: #3a1a1a;
}
.ww-bubble ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ww-bubble li {
  padding: 2px 0 2px 16px;
  position: relative;
}
.ww-bubble--good li::before { content: '•'; position: absolute; left: 0; color: #22c55e; }
.ww-bubble--bad  li::before { content: '•'; position: absolute; left: 0; color: #ef4444; }

/* Divider line between panels */
.ww-panel--good { border-right: 2px solid #e0e0e0; }

/* =============================================================
   WHY WIRELESS — caption + CTA under compare grid
   ============================================================= */
.meet-vision {
  padding: 0;
  background: #020c1f;
  position: relative;
  scroll-margin-top: var(--nav-h);
}

/* Stage holds layered background, sphere and overlay cards */
.mv-stage {
  position: relative;
  width: 100%;
  height: clamp(560px, 72vh, 820px);
  overflow: hidden;
  line-height: 0;
  background: #020c1f;
}

/* Room photo background — darkened + blurred so sphere pops */
.mv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: brightness(0.55) blur(3px) saturate(0.85);
  transform: scale(1.04); /* hide blur edge artefact */
  z-index: 0;
}

/* Sphere wrapper — sits on the LEFT half so it doesn't clash with the cards */
.mv-orb-wrap {
  position: absolute;
  top: 50%;
  left: 28%;
  transform: translate(-50%, -50%);
  width: clamp(360px, 46vw, 680px);
  aspect-ratio: 1 / 1;
  z-index: 1;
  pointer-events: none;
  animation: mvFloat 7s ease-in-out infinite;
}

/* Soft pulsing glow halo behind the sphere */
.mv-orb-glow {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(96, 207, 255, 0.55) 0%,
    rgba(26, 86, 219, 0.30) 28%,
    rgba(26, 86, 219, 0.10) 52%,
    transparent 72%
  );
  filter: blur(18px);
  animation: mvPulse 4.2s ease-in-out infinite;
}

/* Sphere — white background dropped via multiply; contrast/brightness tuned
   so it reads as a bright hologram against the darkened room. */
.mv-orb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: saturate(1.5) contrast(1.25) brightness(0.9);
  animation: mvBreathe 6s ease-in-out infinite;
}

/* VISION title + subtitle overlay */
.mv-title-wrap {
  position: absolute;
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  pointer-events: none;
  width: 60%;
}
.mv-title {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-shadow:
    0 0 18px rgba(96, 207, 255, 0.9),
    0 0 50px rgba(96, 207, 255, 0.55),
    0 2px 6px rgba(0,0,0,0.8);
  line-height: 1;
  margin: 0 0 0.35rem;
  font-family: var(--font);
}
.mv-subtitle {
  font-size: clamp(0.78rem, 1.6vw, 1.05rem);
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
  margin: 0;
  white-space: nowrap;
}

/* Right-side dark fade so the cards always have a readable backdrop */
.mv-fade {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(
    to left,
    rgba(2, 12, 31, 0.92) 0%,
    rgba(2, 12, 31, 0.72) 45%,
    rgba(2, 12, 31, 0.0)  100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Animations */
@keyframes mvFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, calc(-50% - 14px)); }
}
@keyframes mvBreathe {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.04); opacity: 0.94; }
}
@keyframes mvPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.07); }
}

/* Slowly rotating outer ring (decorative, drawn with conic gradient) */
.mv-orb-wrap::before {
  content: '';
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(96, 207, 255, 0.0) 80deg,
    rgba(96, 207, 255, 0.55) 110deg,
    rgba(96, 207, 255, 0.0) 140deg,
    transparent 360deg
  );
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%, #000 64%, transparent 65%);
          mask: radial-gradient(circle, transparent 60%, #000 61%, #000 64%, transparent 65%);
  animation: mvSpin 14s linear infinite;
  pointer-events: none;
}
@keyframes mvSpin {
  to { transform: rotate(360deg); }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .mv-orb-wrap, .mv-orb, .mv-orb-glow, .mv-orb-wrap::before {
    animation: none !important;
  }
}

/* Points column — floats over the RIGHT side of the stage */
.mv-fi-points {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 2.5rem 1.8rem 2.5rem 0.6rem;
  z-index: 2;
}

.mv-fi-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(4, 12, 32, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(96, 207, 255, 0.22);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  transition: border-color 0.2s, background 0.2s;
}
.mv-fi-point:hover {
  background: rgba(4, 12, 32, 0.85);
  border-color: rgba(96, 207, 255, 0.45);
}

.mv-fi-num {
  font-size: 1.9rem;
  font-weight: 900;
  color: #60cfff;
  line-height: 1;
  flex-shrink: 0;
  font-family: var(--font);
  text-shadow: 0 0 18px rgba(96, 207, 255, 0.5);
}

.mv-fi-point strong {
  display: block;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.mv-fi-point p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  line-height: 1.55;
  margin: 0;
}

/* CTA button — sits inside the points column at the bottom */
.mv-fi-cta {
  align-self: flex-start;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  /* Stage grows to fit photo (in-flow) + cards (in-flow) */
  .mv-stage       { height: auto; min-height: 0; overflow: hidden; }
  /* Photo is in normal flow so stage has real height */
  .mv-bg          { position: relative; display: block;
                    width: 100%; height: 72vw; object-fit: cover;
                    object-position: center 60%;
                    filter: brightness(0.55) blur(3px) saturate(0.85);
                    transform: scale(1.04); }
  /* Sphere: centered in the photo zone.
     top:36vw = half of 72vw photo. transform:translate(-50%,-50%) matches
     what mvFloat uses, so no vertical bleed. animation:none stops mvFloat
     from applying its own transform and overriding our positioning. */
  .mv-orb-wrap    { position: absolute; top: 36vw; left: 50%;
                    transform: translate(-50%, -50%);
                    width: 62vw; animation: none; }
  .mv-orb-glow    { animation: mvPulse 4.2s ease-in-out infinite; }
  .mv-orb         { animation: mvBreathe 6s ease-in-out infinite; }
  .mv-fade        { display: none; }
  .mv-title-wrap  { display: none; }
  /* Cards flow below the photo in normal document flow */
  .mv-fi-points   { position: relative; width: 100%; padding: 1.5rem;
                    background: #020c1f; z-index: 2; }
  .mv-fi-cta      { align-self: center; }
}
@media (max-width: 560px) {
  .mv-fi-num    { font-size: 1.4rem; }
  .mv-fi-point  { padding: 0.9rem 1rem; }
  .mv-fi-point strong { font-size: 0.82rem; }
  .mv-fi-point p      { font-size: 0.74rem; }
  .mv-fi-cta    { font-size: 0.88rem; padding: 12px 22px; }
}




/* =============================================================
   VISION GUIDED WIZARD — full-screen modal
   ============================================================= */

/* Overlay */
#vcModal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.wiz-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 20, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Shell — the white/light card that contains all wizard UI */
.wiz-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 20px auto;
  background: #ffffff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  height: 620px;               /* fixed height — all steps same size as step 2 */
  max-height: calc(100vh - 40px); /* clamp on small viewports */
}

/* Two-column content row */
.wiz-content-row {
  display: flex;
  flex: 1;
  min-height: 0; /* critical for nested flex scroll */
  overflow: hidden;
}

/* Left column: wizard steps / results */
.wiz-main-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
}

/* Right column: Vision AI panel */
.wiz-vision-col {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #020c1f;
  border-left: 1px solid rgba(96,207,255,0.12);
  overflow: hidden;
}

/* Right column: Step image panel (35%) */
.wiz-img-col {
  width: 35%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #060e1c;
  border-left: 1px solid rgba(96,207,255,0.10);
  overflow: hidden;
}
.wiz-img-wrap {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.wiz-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 32px;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}
/* When extras panel is inside, override centering so it fills the column */
.wiz-img-placeholder:has(.wiz-results-extras) {
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  padding: 0;
}
.wiz-img-ph-icon {
  font-size: 4rem;
  line-height: 1;
  opacity: 0.25;
  display: block;
}
.wiz-img-ph-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.18);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.wiz-results-extras {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 22px 20px 20px;
  box-sizing: border-box;
  background: #0b1830;
}

.wiz-results-extras-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(96,207,255,0.18);
}

.wiz-results-extras-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.92;
}

.wiz-results-extras-title {
  margin: 0 0 2px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #d5f2ff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wiz-results-extras-sub {
  margin: 0;
  font-size: 0.68rem;
  color: rgba(173,210,255,0.6);
  font-family: 'Inter', sans-serif;
}

.wiz-results-extras-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.wiz-results-extra-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(96,207,255,0.25);
  background: rgba(255,255,255,0.04);
  color: #c8dff8;
  font-family: inherit;
  font-size: 0.82rem;
  line-height: 1;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wiz-results-extra-btn:hover {
  background: rgba(96,207,255,0.08);
  border-color: rgba(96,207,255,0.45);
  color: #e8f4ff;
}

.wiz-results-extra-btn.is-active {
  border-color: rgba(89,233,186,0.75);
  background: rgba(40,140,120,0.25);
  color: #d0fff2;
}

.wiz-extra-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1.5px solid rgba(96,207,255,0.35);
  background: rgba(255,255,255,0.05);
  color: rgba(150,200,255,0.7);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.wiz-results-extra-btn.is-active .wiz-extra-check {
  border-color: rgba(89,233,186,0.8);
  background: rgba(89,233,186,0.2);
  color: #7fffd4;
}

.wiz-extra-btn-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wiz-extra-btn-text strong {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
}

.wiz-extra-btn-text small {
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(173,210,255,0.55);
  line-height: 1;
}

.wiz-results-extra-btn.is-active .wiz-extra-btn-text small {
  color: rgba(127,255,212,0.6);
}

.wiz-results-extras-help {
  margin: auto 0 0;
  padding-top: 14px;
  font-size: 0.68rem;
  color: rgba(173, 210, 255, 0.4);
  text-align: center;
  border-top: 1px solid rgba(96,207,255,0.08);
}

/* Edit button below the toggle buttons */
.wiz-results-extras-edit {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.wiz-results-extras-edit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid rgba(160,185,220,0.2);
  border-radius: 8px;
  color: #7a9abf;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.wiz-results-extras-edit-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(160,185,220,0.4);
  color: #aac4e0;
}

.wiz-img-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  box-sizing: border-box;
}
/* When a real photo is loaded: cover-fit, no padding, left-edge fade */
.wiz-img-wrap--has-photo .wiz-img-photo {
  padding: 0;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

/* Step video — pans slowly from left to right as it plays */
@keyframes wiz-video-pan {
  0%   { object-position: 5% center; }
  100% { object-position: 38% center; }
}
.wiz-img-wrap--has-photo .wiz-step-video {
  animation: wiz-video-pan 10s ease-in-out infinite alternate;
  object-position: 5% center; /* start showing left side */
}
/* Fade from white (matching main column) to transparent — seamless blend */
.wiz-img-wrap--has-photo::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 1;
}
/* Column style when photo is active: white bg, no hard border */
.wiz-img-col--photo {
  background: #fff;
  border-left: none;
  min-height: 380px;
}

/* =============================================================
   INSTALL TYPE PICKER — typographic dark / light panels
   ============================================================= */
.wiz-install-step .wiz-step-title,
.wiz-install-step .wiz-step-sub { max-width: 720px; }
.wiz-install-step .wiz-step-sub { margin-bottom: 0; }

/* Two-panel strip — dark navy gap between them */
.wiz-install-panel {
  height: 200px;
  gap: 12px;
  background: #020c1f;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* No hairline divider — gap handles separation */
.wiz-install-panel .wiz-arm-slot:not(:last-child)::after { display: none; }

/* Kill image-based filter rules for these panels */
.wiz-install-panel .wiz-arm-slot { filter: none !important; }
.wiz-install-panel .wiz-arm-slot::before { display: none !important; }

/* === DARK PANEL — NEW SYSTEM === */
.wiz-install-slot--dark {
  background: #020c1f;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.wiz-install-slot--dark:not(.wiz-install-selected):hover {
  background: #041020;
  box-shadow: inset 0 -4px 0 rgba(96, 207, 255, 0.55);
}
.wiz-install-slot--dark:not(.wiz-install-selected):hover .wiz-install-heading {
  text-shadow:
    0 0 80px rgba(96, 207, 255, 0.85),
    0 0 30px rgba(96, 207, 255, 0.6),
    0 2px 8px rgba(0, 0, 0, 0.9);
}
.wiz-install-slot--dark.wiz-install-selected { background: #051a35; }
.wiz-install-slot--dark.wiz-install-dimmed  { opacity: 0.35; }

/* === LIGHT PANEL — ADD ON === */
.wiz-install-slot--light {
  background: #ffffff;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.wiz-install-slot--light:not(.wiz-install-selected):hover {
  background: #f0f9ff;
  box-shadow: inset 0 -4px 0 rgba(2, 12, 31, 0.25);
}
.wiz-install-slot--light.wiz-install-selected { background: #f0f9ff; }
.wiz-install-slot--light.wiz-install-dimmed  { opacity: 0.35; }

/* Centred content layout */
.wiz-install-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.wiz-install-slot--dark:not(.wiz-install-selected):hover .wiz-install-content,
.wiz-install-slot--light:not(.wiz-install-selected):hover .wiz-install-content {
  transform: scale(1.06);
}

/* Big headline */
.wiz-install-heading {
  font-family: 'Inter', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
}
.wiz-install-slot--dark .wiz-install-heading {
  color: #ffffff;
  text-shadow:
    0 0 60px rgba(96, 207, 255, 0.5),
    0 0 20px rgba(96, 207, 255, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.9);
}
.wiz-install-slot--light .wiz-install-heading {
  color: #0f1724;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Sub-description */
.wiz-install-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 240px;
}
.wiz-install-slot--dark .wiz-install-desc { color: rgba(255, 255, 255, 0.55); }
.wiz-install-slot--light .wiz-install-desc { color: rgba(15, 23, 36, 0.5); }

/* Check badge — top-right, always visible as radio circle */
.wiz-install-check {
  position: absolute;
  top: 12px; right: 12px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(148, 163, 184, 0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 900;
  z-index: 3;
  color: transparent;
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.wiz-install-slot--dark.wiz-install-selected .wiz-install-check {
  background: #fff; color: #0284c7;
  border-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.wiz-install-slot--light.wiz-install-selected .wiz-install-check {
  background: #0f1724; color: #60cfff;
  border-color: #0f1724;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Note below the panel */
.wiz-install-note {
  margin-top: 12px;
  font-size: 0.74rem;
  color: rgba(148, 163, 184, 0.55);
  font-family: 'Inter', sans-serif;
  font-style: italic;
}

/* Mobile: install-panel slots have only absolutely-positioned content,
   so flex:1 (flex-basis:0%) collapses them in an auto-height column container.
   Override with an explicit flex-basis so they render at full height. */
@media (max-width: 640px) {
  .wiz-install-panel {
    flex-direction: column;
    height: auto;
  }
  .wiz-install-panel .wiz-arm-slot {
    flex: 0 0 140px;
    height: 140px;
  }
  .wiz-install-heading { font-size: 1.6rem; }
}

/* =============================================================
   PROPERTY TYPE PICKER — cinematic 4-panel image strip
   ============================================================= */
.wiz-prop-step .wiz-step-title,
.wiz-prop-step .wiz-step-sub { max-width: 620px; }
.wiz-prop-step .wiz-step-sub { margin-bottom: 0; }
.wiz-prop-step .wiz-arm-panel { height: 300px; }

/* Per-slot image positioning for the property type picker */
/* House: override the inherited :first-child 55% rule — show building from top */
.wiz-prop-step .wiz-arm-slot:nth-child(1) img { object-position: center top; }

/* Mobile: 2×2 grid so all 4 options are visible without scrolling */
@media (max-width: 640px) {
  .wiz-prop-step .wiz-arm-panel {
    flex-wrap: wrap;
    flex-direction: row;
    height: auto;
    gap: 2px;
    background: #020c1f; /* 2px gap shows as dark hairlines between cells */
  }
  .wiz-prop-step .wiz-arm-panel .wiz-arm-slot {
    flex: 0 0 calc(50% - 1px);
    height: 160px;
  }
  /* Hide the side dividers — gap handles separation */
  .wiz-prop-step .wiz-arm-panel .wiz-arm-slot:not(:last-child)::after { display: none; }
}

/* =============================================================
   ARMING METHOD PICKER — cinematic image panel
   ============================================================= */
.wiz-arm-step .wiz-step-title,
.wiz-arm-step .wiz-step-sub { max-width: 620px; }
.wiz-arm-step .wiz-step-sub { margin-bottom: 0; }

/* Mobile: App full-width on top, Keypad + Keyfob side-by-side below */
@media (max-width: 640px) {
  .wiz-arm-step .wiz-arm-panel {
    flex-wrap: wrap;
    height: auto;
    gap: 2px;
    background: #020c1f;
  }
  .wiz-arm-step .wiz-arm-panel .wiz-arm-slot:first-child {
    flex: 0 0 100%;
    height: 155px;
  }
  .wiz-arm-step .wiz-arm-panel .wiz-arm-slot:not(:first-child) {
    flex: 0 0 calc(50% - 1px);
    height: 145px;
  }
  .wiz-arm-step .wiz-arm-panel .wiz-arm-slot:not(:last-child)::after { display: none; }

  /* ── Dynamic fill: step stretches to fill body — no scrolling on any phone ── */
  .wiz-body--arm {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 8px;
  }
  .wiz-body--arm .wiz-arm-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .wiz-body--arm .wiz-arm-step .wiz-step-title {
    font-size: 1rem;
    margin-bottom: 4px;
    line-height: 1.2;
  }
  .wiz-body--arm .wiz-arm-step .wiz-step-sub {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  .wiz-body--arm .wiz-arm-panel {
    flex: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 55fr 45fr;
    flex-wrap: unset !important;
    height: auto !important;
    min-height: 0;
    margin-top: 8px;
  }
  .wiz-body--arm .wiz-arm-panel .wiz-arm-slot:first-child {
    grid-column: 1 / -1;
    flex: none !important;
    height: auto !important;
  }
  .wiz-body--arm .wiz-arm-panel .wiz-arm-slot:not(:first-child) {
    flex: none !important;
    height: auto !important;
  }
}

.wiz-arm-panel {
  display: flex;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* Each image slot */
.wiz-arm-slot {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: filter 0.35s ease;
}
/* Hairline separator on the right edge of every non-last slot */
.wiz-arm-slot:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.35);
  z-index: 6;
  pointer-events: none;
}
.wiz-arm-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  pointer-events: none;
  transition: transform 0.5s ease;
}
/* Selected: image gently zooms in to signal 'active' */
.wiz-arm-slot--on img {
  transform: scale(1.05);
}
/* App slot — shift down to show more of the phone */
.wiz-arm-slot:first-child img {
  object-position: center 55%;
}

/* Unselected: greyscale + dimmed */
.wiz-arm-slot--off {
  filter: grayscale(1) brightness(0.4);
}
/* Selected: full colour + subtle dark cinematic tint to unify tonal range */
.wiz-arm-slot--on {
  filter: none;
}
.wiz-arm-slot--on::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 30, 0.22);
  z-index: 1;
  pointer-events: none;
}
/* Hover on unselected: preview colour */
.wiz-arm-slot--off:hover {
  filter: grayscale(0.3) brightness(0.7);
}
.wiz-arm-slot--locked { cursor: default; }

/* Check badge — invisible when unselected, premium white circle when selected */
.wiz-arm-slot-check {
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: transparent;
  z-index: 3;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  line-height: 1;
}
.wiz-arm-slot--on .wiz-arm-slot-check {
  background: #fff;
  color: #0284c7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Bottom gradient + label */
.wiz-arm-slot-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0) 75%);
  padding: 14px 14px 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wiz-arm-slot-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,1), 0 2px 6px rgba(0,0,0,0.85), 0 4px 14px rgba(0,0,0,0.6);
  font-family: 'Inter', sans-serif;
}
.wiz-arm-slot-sub {
  font-size: 0.71rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

/* FREE badge on the locked App slot — bottom-right corner */
.wiz-arm-slot-free {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  background: rgba(16, 185, 129, 0.88);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 9px;
  line-height: 1.6;
  pointer-events: none;
}



/* Mobile: stack vertically */
@media (max-width: 640px) {
  .wiz-arm-panel {
    flex-direction: column;
    height: auto;
  }
  .wiz-arm-slot { height: 140px; }
}

@media (max-width: 860px) {
  .wiz-img-col { display: none; }
}

/* Mobile extras DOCK — sits above #wizBody inside #wizMainCol, never scrolls away */
/* Hidden on desktop; shown as a compact bar on mobile */
.wiz-mobile-extras-dock {
  display: none;
  flex-shrink: 0; /* don't compress when body grows */
}
/* Collapse entirely when empty (non-results steps) */
.wiz-mobile-extras-dock:empty {
  display: none !important;
}

@media (max-width: 860px) {
  .wiz-mobile-extras-dock {
    display: block;
    background: #080f1e;
    border-bottom: 1px solid rgba(96,207,255,0.18);
    padding: 8px 12px 10px;
  }

  /* Override the full-height desktop card to be a flat compact bar */
  .wiz-mobile-extras-dock .wiz-results-extras {
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
  }

  /* Show the header in a small condensed form */
  .wiz-mobile-extras-dock .wiz-results-extras-header {
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(96,207,255,0.12);
  }
  .wiz-mobile-extras-dock .wiz-results-extras-header h3 {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }
  .wiz-mobile-extras-dock .wiz-results-extras-header svg {
    width: 14px;
    height: 14px;
  }

  /* Three-column button grid */
  .wiz-mobile-extras-dock .wiz-results-extras-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 0;
  }
  .wiz-mobile-extras-dock .wiz-results-extra-btn {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 6px;
    gap: 4px;
  }
  .wiz-mobile-extras-dock .wiz-extra-btn-icon svg {
    width: 16px;
    height: 16px;
  }
  .wiz-mobile-extras-dock .wiz-extra-btn-text {
    align-items: center;
  }
  .wiz-mobile-extras-dock .wiz-extra-btn-text strong {
    font-size: 0.65rem;
    line-height: 1.2;
  }
  /* Hide subtitles and help text in compact dock — save every pixel */
  .wiz-mobile-extras-dock .wiz-extra-btn-text small,
  .wiz-mobile-extras-dock .wiz-results-extras-help {
    display: none;
  }

  /* Edit button — show in dock but compact */
  .wiz-mobile-extras-dock .wiz-results-extras-edit {
    margin-top: 8px;
    padding-top: 8px;
  }
  .wiz-mobile-extras-dock .wiz-results-extras-edit-btn {
    padding: 6px 10px;
    font-size: 0.72rem;
  }
}


/* Step image shown inline inside the step body — visible on ALL screen widths.
   On desktop the side-panel also shows it; on mobile the side-panel is hidden
   so this is the only image. */
.wiz-step-mobile-img {
  display: block;
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  height: 220px;
}
.wiz-step-mobile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* On desktop (side panel visible) hide the inline image so we don't double up */
@media (min-width: 861px) {
  .wiz-step-mobile-img {
    display: none;
  }
}

/* Mobile inline video (remote access step) — hidden on desktop, shown below title on mobile */
.wiz-step-mobile-video {
  display: none;
}
@media (max-width: 860px) {
  .wiz-step-mobile-video {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: 5% center;
    border-radius: 12px;
    margin: 12px 0 16px;
    animation: wiz-video-pan 10s ease-in-out infinite alternate;
  }
}

/* Mobile tab bar */
.wiz-tabs {
  display: none; /* shown on mobile only */
  flex-shrink: 0;
  background: #020c1f;
  border-bottom: 1px solid rgba(96,207,255,0.15);
}
.wiz-tab {
  flex: 1;
  padding: 11px 12px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
/* Pulse the inactive Ask Vision tab to draw attention */
.wiz-tab:not(.wiz-tab--active)[data-tab="vision"] {
  animation: visionTabPulse 2.2s ease-in-out infinite;
}
@keyframes visionTabPulse {
  0%   { color: rgba(255,255,255,0.4); }
  50%  { color: #60cfff; text-shadow: 0 0 10px rgba(96,207,255,0.7); }
  100% { color: rgba(255,255,255,0.4); }
}
.wiz-tab--active {
  color: #60cfff;
  border-bottom-color: #60cfff;
  animation: none; /* stop pulsing once selected */
}

/* Vision sphere section */
.vision-sphere-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 18px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(96,207,255,0.1);
  overflow: hidden;
}
.vision-sphere-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 420px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(96,207,255,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.vision-panel-sphere {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 1;
  animation: jarvisPulse 3s 0.5s ease-in-out infinite;
}
.vision-panel-name {
  font-family: 'Syncopate', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #60cfff;
  text-shadow: 0 0 20px rgba(96,207,255,0.5);
  margin-top: 12px;
  position: relative;
  z-index: 1;
}
.vision-panel-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.08em;
  margin-top: 5px;
  position: relative;
  z-index: 1;
}

/* Vision chat area */
.vision-chat-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 12px 12px 12px;
  gap: 8px;
}
.vision-starters {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.vision-starters-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.28);
  margin: 0 0 2px;
}
.vision-starter-chip {
  background: rgba(96,207,255,0.06);
  border: 1px solid rgba(96,207,255,0.18);
  border-radius: 18px;
  color: #8ec9e8;
  font-size: 0.73rem;
  padding: 6px 11px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1.4;
  font-family: inherit;
}
.vision-starter-chip:hover {
  background: rgba(96,207,255,0.14);
  border-color: rgba(96,207,255,0.38);
  color: #d8f0ff;
}

/* Messages */
.vision-msgs {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 2px 0;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(96,207,255,0.2) transparent;
}
.vision-msg {
  display: flex;
  flex-direction: column;
  max-width: 90%;
  animation: wizFadeIn 0.2s ease;
}
.vision-msg--ai   { align-self: flex-start; }
.vision-msg--user { align-self: flex-end; }
.vision-msg-bubble {
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 0.79rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.vision-msg--ai .vision-msg-bubble {
  background: rgba(96,207,255,0.07);
  border: 1px solid rgba(96,207,255,0.14);
  color: #cde6f5;
  border-radius: 4px 14px 14px 14px;
}
.vision-msg--user .vision-msg-bubble {
  background: #1a56db;
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}

/* Typing indicator */
.vision-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  background: rgba(96,207,255,0.07);
  border: 1px solid rgba(96,207,255,0.14);
  border-radius: 4px 14px 14px 14px;
  width: fit-content;
  align-self: flex-start;
}
.vision-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #60cfff;
  animation: typingDot 1.2s ease-in-out infinite;
}
.vision-typing span:nth-child(2) { animation-delay: 0.2s; }
.vision-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Input row */
.vision-input-row {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
  border-top: 1px solid rgba(96,207,255,0.1);
  padding-top: 10px;
  align-items: center;
}
.vision-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(96,207,255,0.2);
  border-radius: 20px;
  color: #e8edf5;
  font-size: 0.8rem;
  padding: 8px 13px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.vision-input::placeholder { color: rgba(255,255,255,0.28); }
.vision-input:focus {
  border-color: rgba(96,207,255,0.48);
  background: rgba(255,255,255,0.1);
}
.vision-send-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #1a56db;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.1s;
}
.vision-send-btn:hover  { background: #2563eb; transform: scale(1.06); }
.vision-send-btn:active { transform: scale(0.95); }
.vision-send-btn:disabled { background: rgba(96,207,255,0.18); cursor: default; transform: none; }

/* Vision → Quote CTA button (appears in chat after Vision builds a recommendation) */
.vision-quote-cta {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #1a56db 0%, #2563eb 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 18px rgba(26,86,219,0.4);
}
.vision-quote-cta:hover  { transform: translateY(-2px); box-shadow: 0 7px 24px rgba(26,86,219,0.55); }
.vision-quote-cta:active { transform: scale(0.97); }

/* Vision add-on price card (single-item quotes in chat) */
.vision-addon-card {
  align-self: flex-start;
  width: 100%;
  background: rgba(96,207,255,0.05);
  border: 1px solid rgba(96,207,255,0.18);
  border-radius: 12px;
  overflow: hidden;
  animation: wizFadeIn 0.22s ease;
  flex-shrink: 0;
}
.va-header {
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #60cfff;
  border-bottom: 1px solid rgba(96,207,255,0.12);
  background: rgba(96,207,255,0.06);
}
.va-row {
  padding: 8px 10px 6px;
  border-bottom: 1px solid rgba(96,207,255,0.08);
}
.va-row:last-of-type { border-bottom: none; }
.va-row-label {
  font-size: 0.67rem;
  text-transform: capitalize;
  color: rgba(255,255,255,0.38);
  margin-bottom: 5px;
  letter-spacing: 0.04em;
}
.va-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
}
.va-cell {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 6px 7px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.va-cell-brand {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.va-cell-name {
  font-size: 0.68rem;
  color: #a8c8e0;
  line-height: 1.3;
}
.va-cell-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: #60cfff;
  margin-top: 2px;
}
.va-cell-na { color: rgba(255,255,255,0.28); font-weight: 400; font-size: 0.72rem; }
.va-footer {
  padding: 6px 10px;
  font-size: 0.63rem;
  color: rgba(255,255,255,0.25);
  border-top: 1px solid rgba(96,207,255,0.08);
  line-height: 1.4;
}
/* Addon enquiry form (inline in Vision chat) */
.va-enquire-form {
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(96,207,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.va-enquire-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #60cfff;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.va-enquire-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(96,207,255,0.2);
  border-radius: 7px;
  padding: 7px 10px;
  color: #fff;
  font-size: 0.75rem;
  outline: none;
  transition: border-color 0.15s;
}
.va-enquire-input::placeholder { color: rgba(255,255,255,0.3); }
.va-enquire-input:focus { border-color: rgba(96,207,255,0.6); }
.va-enquire-submit {
  padding: 9px 12px;
  background: linear-gradient(135deg, #25d366, #128c4e);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: opacity 0.15s, transform 0.1s;
}
.va-enquire-submit:hover  { opacity: 0.9; }
.va-enquire-submit:active { transform: scale(0.97); }
.va-enquire-sent {
  font-size: 0.73rem;
  color: #25d366;
  font-weight: 600;
  text-align: center;
  padding: 4px 0;
}

/* ── Addon results panel (renders in main wiz-body column) ──────── */
.wiz-addon-results {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wiz-addon-header { margin-bottom: 2px; }
.wiz-addon-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f1e36;
  margin-bottom: 4px;
}
.wiz-addon-sub {
  font-size: 0.73rem;
  color: #64748b;
  margin: 0;
}
.wiz-addon-row {
  background: #f8fafd;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
}
.wiz-addon-row-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  text-transform: capitalize;
  margin-bottom: 10px;
}
.wiz-addon-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.wiz-addon-cols--1 { grid-template-columns: 1fr; }
.wiz-addon-cols--2 { grid-template-columns: 1fr 1fr; }
.wiz-addon-brand-col {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wiz-addon-brand-col--ajax  { border-top: 3px solid #e53e3e; }
.wiz-addon-brand-col--pro   { border-top: 3px solid #2563eb; }
.wiz-addon-brand-col--dahua { border-top: 3px solid #f59e0b; }
.wiz-addon-brand-name {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}
.wiz-addon-brand-col--solo {
  padding: 14px 16px;
}
.wiz-addon-brand-col--solo .wiz-addon-item-name { font-size: 0.85rem; }
.wiz-addon-brand-col--solo .wiz-addon-price     { font-size: 1.15rem; }
.wiz-addon-item-name {
  font-size: 0.72rem;
  color: #1e293b;
  line-height: 1.3;
  flex: 1;
}
.wiz-addon-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: #1a56db;
  margin-top: 4px;
}
.wiz-addon-na {
  font-size: 0.68rem;
  font-weight: 400;
  color: #94a3b8;
}

/* ── Install-type & add-on picker screens ───────────────────── */
.wiz-cards--big {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.wiz-card--big {
  padding: 22px 18px;
}
.wiz-card--big .wiz-card-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}
.wiz-card--big .wiz-card-label {
  font-size: 1.05rem;
  font-weight: 700;
}
.wiz-card--big .wiz-card-sub {
  font-size: 0.82rem;
  line-height: 1.4;
  margin-top: 4px;
}
.wiz-card--brand-ajax.wiz-card--sel  { border-color: #e53e3e; box-shadow: 0 0 0 3px rgba(229,62,62,0.15); }
.wiz-card--brand-pro.wiz-card--sel   { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.wiz-card--brand-dahua.wiz-card--sel { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,0.15); }

/* Add-on items picker (quantity steppers per category) */
.wiz-addon-pick-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 18px;
}
.wiz-addon-pick-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
}
.wiz-addon-pick-row--off { opacity: 0.55; background: #f8fafd; }
.wiz-addon-pick-img-wrap {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f4f6;
  border: 1px solid #e2e8f0;
}
.wiz-addon-pick-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  padding: 4px;
  box-sizing: border-box;
}
.wiz-addon-pick-info { display: flex; flex-direction: column; gap: 2px; }
.wiz-addon-pick-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f1724;
}
.wiz-addon-pick-sub {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}
.wiz-addon-pick-price {
  font-size: 0.78rem;
  color: #1a56db;
  font-weight: 600;
  margin-top: 2px;
}
.wiz-addon-pick-na {
  font-size: 0.75rem;
  color: #94a3b8;
  font-style: italic;
  margin-top: 2px;
}
.wiz-addon-pick-na {
  font-size: 0.75rem;
  color: #94a3b8;
  font-style: italic;
  margin-top: 2px;
  display: flex;
  align-items: flex-start;
  gap: 3px;
}
.wiz-addon-pick-na--hub1 {
  color: #b45309;
  font-style: normal;
  font-weight: 500;
}
.wiz-addon-pick-row--blocked { opacity: 0.6; background: #fffbf0; border-color: #fde68a; }
.wiz-addon-pick-stepper { margin: 0; }
.wiz-addon-pick-disabled {
  color: #cbd5e1;
  font-size: 1.1rem;
  width: 40px;
  text-align: center;
}

/* ── Hub 1 warning banner ───────────────────────────────────── */
.wiz-hub1-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: #92400e;
  line-height: 1.5;
}
.wiz-hub1-banner strong { color: #78350f; }
.wiz-hub1-upgrade-link {
  background: none;
  border: none;
  color: #1a56db;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-family: inherit;
}
.wiz-hub1-upgrade-link:hover { color: #1244b8; }

/* ── Ajax hub picker ────────────────────────────────────────── */
.wiz-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.wiz-hub-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 600px) {
  .wiz-hub-grid--3 { grid-template-columns: 1fr; }
}
.wiz-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid #e4e7ec;
  border-radius: 16px;
  overflow: hidden;
  background: #fafbfc;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  font-family: inherit;
  padding: 0;
}
.wiz-hub-card:hover  { border-color: #1a56db; background: #f0f5ff; }
.wiz-hub-card--sel   { border-color: #1a56db; box-shadow: 0 0 0 3px rgba(26,86,219,0.15); }
.wiz-hub-card--featured { border-color: #1a56db; background: #f0f5ff; }
.wiz-hub-card__badge {
  position: absolute;
  top: 10px; right: 10px;
  background: #1a56db;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 99px;
}
.wiz-hub-card__img-wrap {
  width: 100%;
  height: 110px;
  background: #fff;
  border-bottom: 1px solid #e4e7ec;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.wiz-hub-card__img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}
.wiz-hub-card__body {
  padding: 12px 14px 14px;
}
.wiz-hub-card__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f1724;
  margin-bottom: 8px;
}
.wiz-hub-card__name-sub {
  font-weight: 500;
  font-size: 0.8rem;
  color: #6b7280;
}
.wiz-hub-card__caps {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.wiz-hub-card__caps li {
  font-size: 0.76rem;
  padding-left: 18px;
  position: relative;
  line-height: 1.35;
  color: #374155;
}
.wiz-hub-card__cap-note {
  color: #9ca3af;
  font-style: italic;
}
@media (max-width: 500px) {
  .wiz-hub-grid { grid-template-columns: 1fr; }
}

.wiz-addon-pick-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}
.wiz-addon-pick-running {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a56db;
  flex: 1;
  text-align: center;
}

/* Single-brand add-on quote (column view) — featured & wide */
.wiz-brand-row--single {
  display: flex;
  justify-content: center;
}
.wiz-brand-row--single .wiz-brand-card {
  max-width: 520px;
  width: 100%;
}
.wiz-addon-quote-intro { margin-bottom: 16px; }

/* ── Vision panel responsive ────────────────────────────────── */
/* Below 860px: stack layout, show tabs, toggle columns */
@media (max-width: 860px) {
  .wiz-shell    { margin: 0; border-radius: 0; max-height: 100dvh; min-height: 100dvh; max-width: 100%; }
  .wiz-content-row { flex-direction: column; flex: 1; }
  .wiz-tabs     { display: flex; }
  .wiz-vision-col { width: 100%; border-left: none; border-top: none; flex: 1; }
  /* Show only the active tab's column */
  .wiz-shell[data-view="vision"] .wiz-main-col  { display: none; }
  .wiz-shell[data-view="quote"]  .wiz-vision-col { display: none; }
  /* Compact sphere header on mobile chat view */
  .wiz-shell[data-view="vision"] .vision-sphere-section {
    flex-direction: row;
    padding: 12px 16px;
    gap: 14px;
    justify-content: flex-start;
  }
  .wiz-shell[data-view="vision"] .vision-panel-sphere { width: 56px; height: 56px; }
  .wiz-shell[data-view="vision"] .vision-sphere-glow  { display: none; }
  .wiz-shell[data-view="vision"] .vision-panel-name   { font-size: 0.85rem; margin-top: 0; }
  .wiz-shell[data-view="vision"] .vision-panel-tagline { font-size: 0.65rem; }
}

/* Header */
.wiz-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: #020c1f;
  border-bottom: 1px solid rgba(96,207,255,0.15);
  flex-shrink: 0;
}
.wiz-head-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #60cfff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.wiz-prog-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.wiz-prog-bar {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 99px;
  overflow: hidden;
}
.wiz-prog-fill {
  height: 100%;
  background: linear-gradient(to right, #1a56db, #60cfff);
  border-radius: 99px;
  transition: width 0.35s ease;
  width: 0%;
}
.wiz-prog-text {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wiz-x {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.wiz-x:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* Body — scrollable question area */
.wiz-body {
  flex: 1;
  overflow-y: auto;
  padding: 36px 32px 24px;
}

/* Step */
.wiz-step-title {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 800;
  color: #0f1724;
  margin: 0 0 8px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.wiz-step-sub {
  color: #475569;
  font-size: 0.92rem;
  margin: 0 0 24px;
  line-height: 1.5;
}

/* Option cards */
.wiz-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

/* Upgrade yes/no picker — single-column full-width stacked cards */
.wiz-cards--upgrade {
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 500px;
}

.wiz-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 18px 14px 16px;
  border: 2px solid #e4e7ec;
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  background: #fafbfc;
  user-select: none;
}
.wiz-card input[type="radio"] { display: none; }
.wiz-card:hover {
  border-color: #1a56db;
  background: #f0f5ff;
}
.wiz-card--sel {
  border-color: #1a56db;
  background: #f0f5ff;
  box-shadow: 0 0 0 3px rgba(26,86,219,0.15);
}
.wiz-card-icon  { font-size: 2rem; line-height: 1; }
.wiz-card-label { font-weight: 700; font-size: 0.9rem; color: #0f1724; }
.wiz-card-sub   { font-size: 0.75rem; color: #6b7a90; line-height: 1.4; }

/* ── Upgrade yes/no cards (camera & outdoor camera steps) ── */
.wiz-card--upgrade {
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
}

.wiz-card--upgrade .wiz-card-upgrade-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.wiz-card--upgrade-no .wiz-card-upgrade-icon {
  background: #f0f2f5;
  color: #8896aa;
}
.wiz-card--upgrade-yes .wiz-card-upgrade-icon {
  background: rgba(26,86,219,0.08);
  color: #1a56db;
}

.wiz-card--upgrade .wiz-card-upgrade-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wiz-card--upgrade .wiz-card-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f1724;
}
.wiz-card--upgrade .wiz-card-sub {
  font-size: 0.78rem;
  color: #6b7a90;
  line-height: 1.4;
}

/* "Recommended" badge */
.wiz-card-upgrade-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(26,86,219,0.1);
  color: #1a56db;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Selection ring on right */
.wiz-card--upgrade .wiz-card-upgrade-sel {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d0d5dd;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}

/* Selected state */
.wiz-card--upgrade.wiz-card--sel {
  border-color: #1a56db;
  background: #f0f5ff;
  box-shadow: 0 0 0 3px rgba(26,86,219,0.12);
}
.wiz-card--upgrade.wiz-card--sel .wiz-card-upgrade-sel {
  border-color: #1a56db;
  background: #1a56db;
}
.wiz-card--upgrade.wiz-card--sel .wiz-card-upgrade-sel::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
}
.wiz-card--upgrade.wiz-card--sel .wiz-card-upgrade-icon {
  background: rgba(26,86,219,0.12);
  color: #1a56db;
}
.wiz-card--upgrade:hover .wiz-card-upgrade-icon {
  background: rgba(26,86,219,0.1);
  color: #1a56db;
}

/* === Siren picker (image cards with text below) === */
.wiz-siren-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.wiz-siren-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}
.wiz-siren-card {
  width: 100%;
  height: 110px;
  position: relative;
  border: 2px solid #e4e7ec;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  background: #f3f4f6;
  display: block;
  box-sizing: border-box;
}
.wiz-siren-card input[type="radio"] { display: none; }
.wiz-siren-item:hover .wiz-siren-card {
  border-color: #1a56db;
  background: #f0f5ff;
}
.wiz-siren-item--sel .wiz-siren-card {
  border-color: #1a56db;
  box-shadow: 0 0 0 3px rgba(26,86,219,0.15);
}
.wiz-siren-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* No-siren: centered icon */
.wiz-siren-card--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wiz-siren-no-icon { display: flex; align-items: center; justify-content: center; }
.wiz-siren-no-icon svg { width: 40px; height: 40px; color: #9ca3af; }
/* Labels below cards */
.wiz-siren-name {
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f1724;
}
.wiz-siren-desc {
  margin-top: 2px;
  font-size: 0.72rem;
  color: #6b7a90;
  line-height: 1.4;
}
@media (max-width: 640px) {
  .wiz-siren-grid { grid-template-columns: repeat(2, 1fr); }
  .wiz-siren-card { height: 90px; }
}

/* === Scroll-wheel quantity picker === */
.wiz-wheel-wrap {
  position: relative;
  height: 216px;        /* 3 × 72px — shows prev / selected / next */
  overflow: hidden;
  margin: 24px auto;
  max-width: 280px;
}
.wiz-wheel-track {
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.wiz-wheel-track::-webkit-scrollbar { display: none; }
.wiz-wheel-spacer {
  height: 72px;
  pointer-events: none;
  flex-shrink: 0;
}
.wiz-wheel-item {
  height: 72px;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  font-weight: 800;
  color: #0f1724;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: color 0.1s;
}
.wiz-wheel-fade {
  position: absolute;
  left: 0; right: 0;
  height: 72px;
  pointer-events: none;
  z-index: 2;
}
.wiz-wheel-fade--top {
  top: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.wiz-wheel-fade--bot {
  bottom: 0;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.wiz-wheel-sel {
  position: absolute;
  top: 50%; left: 24px; right: 24px;
  transform: translateY(-50%);
  height: 72px;
  border-top: 2px solid #1a56db;
  border-bottom: 2px solid #1a56db;
  border-radius: 8px;
  background: rgba(26,86,219,0.07);
  pointer-events: none;
  z-index: 1;
}
.wiz-wheel-label {
  text-align: center;
  font-size: 0.88rem;
  color: #6b7a90;
  margin: 2px 0 20px;
}
@media (max-width: 640px) {
  .wiz-wheel-item { font-size: 2.8rem; }
}

/* Door exact-count stepper (4+ selected) */
.wiz-door-stepper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 14px 18px;
  background: #f0f5ff;
  border: 1.5px solid #c7d9ff;
  border-radius: 12px;
  animation: wizFadeIn 0.22s ease;
}
@keyframes wizFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wiz-door-stepper-label {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f1724;
  margin: 0;
}
.wiz-stepper-ctrl {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wiz-stepper-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #1a56db;
  background: #fff;
  color: #1a56db;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.wiz-stepper-btn:hover { background: #1a56db; color: #fff; }
.wiz-stepper-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a56db;
  min-width: 28px;
  text-align: center;
}

/* Shake animation for unanswered steps */
@keyframes wizShake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(8px); }
  60%      { transform: translateX(-5px); }
  80%      { transform: translateX(5px); }
}
.wiz-shake { animation: wizShake 0.4s ease; }

/* Tip / education block */
.wiz-tip {
  background: #f0f5ff;
  border: 1px solid #c7d9ff;
  border-radius: 12px;
  padding: 0;
  margin-top: 4px;
}
.wiz-tip-toggle {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a56db;
  list-style: none;
}
.wiz-tip-toggle::-webkit-details-marker { display: none; }
.wiz-tip-text {
  padding: 0 16px 14px;
  font-size: 0.82rem;
  color: #374155;
  line-height: 1.6;
  margin: 0;
}

/* Footer nav */
.wiz-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px 20px;
  border-top: 1px solid #eef0f3;
  flex-shrink: 0;
  background: #fff;
}

/* ── Results — header ─────────────────────────────────────── */
.wiz-results    { display: flex; flex-direction: column; gap: 24px; }
.wiz-res-header { margin-bottom: 0; }
.wiz-res-title  { font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 800; color: #0f1724; margin: 0 0 6px; }
.wiz-res-sub    { color: #5a6272; font-size: 0.88rem; margin: 0; line-height: 1.5; }

/* ── Results — toggle bar (compact chip strip) ─────────── */
.wiz-tog-bar {
  flex-shrink: 0;
  background: #f7f8fa;
  border-bottom: 2px solid #e4e7ec;
}
.wiz-tbar-compact { display: flex; flex-direction: column; }

/* Row 1: three chip toggles side-by-side */
.wiz-tbar-chips {
  display: flex;
  align-items: stretch;
}
.wiz-chip-tog {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 9px 14px;
  cursor: pointer;
  border-right: 1px solid #e4e7ec;
  user-select: none;
  transition: background 0.15s;
}
.wiz-chip-tog:last-child { border-right: none; }
.wiz-chip-tog:hover { background: #eef2ff; }
.wiz-chip-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f1724;
  flex: 1;
  white-space: nowrap;
}

/* Row 2/3: inline sub-option rows */
.wiz-tbar-subopts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 6px 14px;
  background: #fff;
  border-top: 1px solid #e4e7ec;
}
.wiz-subopt-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}
.wiz-subopt-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #374155;
  white-space: nowrap;
}
.wiz-subopt-dim  { font-weight: 400; color: #8894a6; font-style: normal; }
.wiz-subopt-sel {
  font-size: 0.76rem;
  padding: 2px 6px;
  border: 1.5px solid #c7d9ff;
  border-radius: 6px;
  color: #0f1724;
  background: #fff;
  cursor: pointer;
}
.wiz-subopt-num {
  width: 44px;
  padding: 2px 4px;
  border: 1.5px solid #c7d9ff;
  border-radius: 6px;
  font-size: 0.76rem;
  text-align: center;
  color: #0f1724;
  background: #fff;
}
.wiz-subopt-note { font-size: 0.72rem; color: #8894a6; }
.wiz-subopt-sep  { color: #c7d9ff; font-size: 1rem; margin: 0 2px; }
.wiz-chip-tog    .wiz-tog-track,
.wiz-subopt-item .wiz-tog-track { flex-shrink: 0; }

.wiz-res-main { display: block; }
.wiz-res-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8894a6;
  margin: 0 0 10px;
}
.wiz-res-kit {
  background: #f7f8fa;
  border-radius: 12px;
  padding: 16px;
}
.wiz-res-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #eef0f3;
}
.wiz-res-row:last-child { border-bottom: none; }
.wiz-res-icon  { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.wiz-res-qty   { font-weight: 700; color: #1a56db; min-width: 26px; font-size: 0.85rem; flex-shrink: 0; }
.wiz-res-info  { display: flex; flex-direction: column; gap: 1px; }
.wiz-res-label { font-size: 0.82rem; font-weight: 600; color: #0f1724; }
.wiz-res-note  { font-size: 0.7rem; color: #8894a6; }

/* ── Upgrade toggles (right column) ──────────────────────── */
.wiz-toggles { display: flex; flex-direction: column; gap: 0; }

.wiz-tog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #eef0f3;
  cursor: pointer;
}
.wiz-tog-row:first-child { border-top: 1px solid #eef0f3; }
.wiz-tog-label { font-size: 0.88rem; font-weight: 600; color: #0f1724; flex: 1; line-height: 1.3; }
.wiz-tog-switch { flex-shrink: 0; display: flex; align-items: center; }

/* Hide native checkbox */
.wiz-tog-inp { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }

/* iOS-style pill toggle */
.wiz-tog-track {
  display: inline-flex;
  align-items: center;
  width: 42px;
  height: 22px;
  background: #d1d5db;
  border-radius: 999px;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
  flex-shrink: 0;
}
.wiz-tog-inp:checked + .wiz-tog-track { background: #1a56db; }
.wiz-tog-thumb {
  position: absolute;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.wiz-tog-inp:checked + .wiz-tog-track .wiz-tog-thumb { transform: translateX(20px); }

.wiz-tog-note {
  font-size: 0.7rem;
  color: #8894a6;
  line-height: 1.4;
  margin: 3px 0 6px 2px;
}

/* PHOD sub-options panel */
.wiz-tog-sub {
  background: #f7f8fa;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 2px 0 6px;
}
.wiz-tog-sub-label { font-size: 0.76rem; font-weight: 600; color: #374155; margin: 0 0 8px; }
.wiz-tog-radio-row { display: flex; flex-direction: column; gap: 6px; }
.wiz-tog-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #374155;
  cursor: pointer;
  line-height: 1.3;
}
.wiz-tog-num {
  width: 52px;
  padding: 2px 6px;
  border: 1.5px solid #c7d9ff;
  border-radius: 6px;
  font-size: 0.82rem;
  text-align: center;
  color: #0f1724;
  background: #fff;
}

/* ── Add-on brand picker grid ──────────────────────────────── */
.wiz-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.wiz-brand-grid .wiz-brand-card {
  border: 2px solid #e4e7ec;
  border-radius: 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fafbfc;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  overflow: hidden;
}
.wiz-brand-grid .wiz-brand-card input[type="radio"] { display: none; }
.wiz-brand-grid .wiz-brand-card:hover { border-color: #1a56db; background: #f0f5ff; }
.wiz-brand-grid .wiz-brand-card--sel  { border-color: #1a56db; box-shadow: 0 0 0 3px rgba(26,86,219,0.15); background: #f0f5ff; }
.wiz-brand-logo-wrap {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  box-sizing: border-box;
  background: #fff;
}
.wiz-brand-logo {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  display: block;
}
.wiz-brand-text-logo {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  color: #0f1724;
  letter-spacing: 0.03em;
}
.wiz-brand-text-logo strong { font-weight: 900; font-size: 1.1rem; display: block; }
.wiz-brand-unknown-icon { width: 48px; height: 48px; color: #9ca3af; }
.wiz-brand-grid .wiz-brand-sub {
  font-size: 0.72rem;
  color: #6b7a90;
  text-align: center;
  padding: 6px 10px 10px;
  line-height: 1.35;
}
.wiz-brand-grid .wiz-brand-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f1724;
  text-align: center;
  padding: 8px 10px 2px;
}

/* ── Brand row (side by side below the main grid) ─────────── */
.wiz-brand-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 16px;
  overflow-x: auto;      /* scroll horizontally before stacking */
  -webkit-overflow-scrolling: touch;
}
.wiz-brand-row .wiz-brand-card {
  border: 2px solid #e4e7ec;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fafbfc;
  cursor: pointer;
}
.wiz-brand-row .wiz-brand-card--featured { border-color: #1a56db; background: #f0f5ff; }
.wiz-brand-row .wiz-brand-card:hover { border-color: #1a56db; background: #f0f5ff; box-shadow: 0 0 0 3px rgba(26,86,219,0.15); transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.wiz-brand-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.wiz-brand-name  { font-size: 1rem; font-weight: 800; color: #0f1724; }
.wiz-brand-badge { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em;
                   text-transform: uppercase; padding: 3px 8px; border-radius: 99px; }
.wiz-brand-badge--blue { background: #dde8ff; color: #1a56db; }
.wiz-brand-badge--cyan { background: #d0f4ff; color: #0369a1; }
.wiz-brand-badge--green { background: #dcfce7; color: #15803d; }

/* "Included from base" bullet list (ProSeries) + capability list (Ajax) */
.wiz-brand-caps,
.wiz-brand-pros {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 4px;
}
.wiz-brand-caps li,
.wiz-brand-pros li { font-size: 0.74rem; padding-left: 18px; position: relative; line-height: 1.35; }

.cap-yes { color: #374155; }
.cap-yes::before { content: '\2713'; position: absolute; left: 0; color: #22c55e; font-weight: 700; }

.cap-no  { color: #9aa5b4; }
.cap-no::before  { content: '\2715'; position: absolute; left: 0; color: #ef4444; font-weight: 700; }

/* Line items */
.wiz-bl-list { display: flex; flex-direction: column; gap: 0; }
.wiz-bl-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 5px 0;
  border-bottom: 1px solid #eef0f3;
  font-size: 0.74rem;
}
.wiz-bl-row:last-child { border-bottom: none; }
.wiz-bl-qty   { color: #1a56db; font-weight: 700; min-width: 20px; flex-shrink: 0; }
.wiz-bl-label { flex: 1; color: #374155; line-height: 1.3; }
.wiz-bl-note  { color: #8894a6; font-style: normal; font-size: 0.66rem; }
.wiz-bl-price { color: #0f1724; font-weight: 600; flex-shrink: 0; white-space: nowrap; }

/* Brand total */
.wiz-brand-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0 6px;
  border-top: 2px solid #e4e7ec;
  margin-top: auto;             /* push total + button to card bottom for alignment */
  transition: all 0.2s;
}
.wiz-brand-total span   { font-size: 0.78rem; color: #5a6272; }
.wiz-brand-total strong { font-size: 1.15rem; font-weight: 800; color: #0f1724; }
.wiz-brand-row .wiz-brand-card--featured .wiz-brand-total strong { color: #1a56db; }

.wiz-brand-excl { display: block; font-size: 0.65rem; color: #9aa5b4; }
.wiz-brand-cta  { width: 100%; justify-content: center; font-size: 0.8rem; padding: 10px 14px; }

/* ── Compare bar (between brand cards and lead form) ───────── */
.wiz-compare-bar {
  text-align: center;
  padding: 18px 16px 10px;
}

/* ---- Visual verification upgrade nudge (above the 3 brand cards) ---- */
.wiz-vis-nudge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 16px;
  background: rgba(26,86,219,0.08);
  border: 1.5px solid rgba(26,86,219,0.30);
  border-radius: 12px;
  cursor: default;
}
.wiz-vis-nudge__content { flex: 1; min-width: 0; }
.wiz-vis-nudge__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 5px;
}
.wiz-vis-nudge__text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.wiz-vis-nudge__arrow-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.wiz-vis-nudge__arrow-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}
.wiz-vis-nudge__arrow-svg {
  color: var(--blue);
  animation: visNudgeArrow 1.5s ease-in-out infinite;
}
@keyframes visNudgeArrow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@media (max-width: 560px) {
  .wiz-vis-nudge { flex-direction: column; align-items: flex-start; }
  .wiz-vis-nudge__arrow-col { flex-direction: row; }
}
.wiz-compare-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0b1830 0%, #152a50 55%, #1a3a6e 100%);
  color: #60cfff;
  border: 1.5px solid rgba(96,207,255,0.5);
  border-radius: 50px;
  padding: 14px 34px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(96,207,255,0.18);
  transition: box-shadow 0.3s, transform 0.15s, border-color 0.2s;
}
/* Continuous shimmer sweep */
.wiz-compare-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(96,207,255,0.13), transparent);
  animation: compare-btn-shimmer 2.8s linear infinite;
  pointer-events: none;
}
@keyframes compare-btn-shimmer {
  0%   { left: -80%; }
  100% { left: 130%; }
}
.wiz-compare-btn:hover {
  box-shadow: 0 6px 32px rgba(96,207,255,0.38), 0 0 0 4px rgba(96,207,255,0.1);
  border-color: rgba(96,207,255,0.8);
  transform: translateY(-2px);
}
.wiz-compare-btn:active { transform: translateY(0); }
.wiz-compare-sub {
  font-size: 0.72rem;
  color: #9aa5b4;
  margin: 7px 0 0;
}

/* ── Lead form ─────────────────────────────────────────────── */
.wiz-lead { background: #f0f5ff; border-radius: 14px; padding: 20px; }
.wiz-lead-title { font-size: 1rem; font-weight: 700; color: #0f1724; margin: 0 0 14px; }
.wiz-lead-row   { display: flex; flex-direction: column; gap: 9px; margin-bottom: 12px; }
.wiz-lead-input {
  width: 100%; padding: 11px 14px; border: 1.5px solid #c7d9ff;
  border-radius: 10px; font-size: 0.9rem; color: #0f1724; background: #fff;
  box-sizing: border-box; outline: none; transition: border-color 0.15s;
}
.wiz-lead-input:focus { border-color: #1a56db; }
.wiz-lead-submit { width: 100%; justify-content: center; margin-top: 2px; }
.wiz-lead-privacy { font-size: 0.7rem; color: #9aa5b4; text-align: center; margin: 8px 0 0; }

/* ── Address autocomplete fallback controls ── */
.addr-manual-link {
  display: block; background: none; border: none; padding: 3px 0;
  font-size: 0.75rem; color: #94a3b8; cursor: pointer;
  text-align: left; text-decoration: underline;
  font-family: inherit; line-height: 1.3;
}
.addr-manual-link:hover { color: #1a56db; }
.addr-api-notice { font-size: 0.8rem; color: #fbbf24; margin-top: 6px; text-align: center; }
.addr-api-notice a { color: #fbbf24; text-decoration: underline; cursor: pointer; }
.addr-api-notice a:hover { color: #f59e0b; }

/* ===== Payment return screens (thank-you / cancelled) ======= */
.wiz-thankyou-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px;
  min-height: 60%;
}
.wiz-thankyou-icon-wrap { margin-bottom: 16px; }
.wiz-thankyou-title {
  font-size: 1.5rem;
  color: var(--fg);
  margin: 0 0 12px;
}
.wiz-thankyou-msg {
  color: var(--fg-muted);
  font-size: 0.95rem;
  max-width: 480px;
  line-height: 1.6;
  margin: 0 0 8px;
}
.wiz-thankyou-ref {
  font-size: 0.88rem;
  color: #60cfff;
  margin: 8px 0 0;
  font-family: monospace;
}

/* ===== Welcome / Intro screen =============================== */

/* When the welcome screen is active, collapse the right Vision column
   so the full-width left panel has all the real estate               */
.wiz-shell--welcome .wiz-vision-col { display: none; }
.wiz-shell--welcome .wiz-main-col   { min-width: 0; background: #020c1f; }
.wiz-shell--welcome .wiz-body       { overflow: hidden; padding: 0; display: flex; flex-direction: column; }

.wiz-welcome {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 16px 36px 24px;
  min-height: 100%;
  box-sizing: border-box;
}

/* Sphere — left side */
.wiz-welcome-sphere-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 380px;
}
.wiz-welcome-glow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(96,207,255,0.20) 0%, transparent 68%);
  pointer-events: none;
}
.wiz-welcome-sphere {
  width: 360px;
  height: 360px;
  object-fit: contain;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 40px rgba(26,86,219,0.30));
  animation: jarvisPulse 3s 0.5s ease-in-out infinite;
}

/* Right side: bubble + button */
.wiz-welcome-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
}

/* Speech-bubble card */
.wiz-welcome-bubble {
  position: relative;
  background: #0f1a2e;
  border: 1px solid rgba(96,207,255,0.25);
  border-radius: 20px;
  padding: 28px 32px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  z-index: 2;
}
/* little left-pointing triangle toward the sphere */
.wiz-welcome-bubble::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -14px;
  transform: translateY(-50%);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-right: 14px solid rgba(96,207,255,0.25);
}
.wiz-welcome-bubble::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -12px;
  transform: translateY(-50%);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 13px solid #0f1a2e;
}

.wiz-welcome-hi {
  font-family: 'Syncopate', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #60cfff;
  text-shadow: 0 0 24px rgba(96,207,255,0.55);
  margin: 0 0 14px;
}
.wiz-welcome-msg {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.80);
  margin: 0 0 12px;
}
.wiz-welcome-msg:last-child { margin-bottom: 0; }

.wiz-welcome-start {
  padding: 16px 44px;
  font-size: 1.08rem;
  border-radius: 50px;
  justify-content: center;
  align-self: flex-start;
}

/* ── Mobile: stack vertically ─────────────────────────────── */
@media (max-width: 700px) {
  .wiz-welcome {
    flex-direction: column;
    align-items: center;
    padding: 14px 18px 20px;
    gap: 0;
    text-align: center;
  }
  .wiz-welcome-sphere-wrap { width: 100%; margin-bottom: -10px; }
  .wiz-welcome-sphere       { width: 180px; height: 180px; }
  .wiz-welcome-glow         { width: 300px; height: 300px; }
  .wiz-welcome-right        { align-items: center; width: 100%; }
  /* flip triangle to point upward on mobile */
  .wiz-welcome-bubble::before {
    top: -14px; left: 50%; transform: translateX(-50%);
    border-left: 14px solid transparent; border-right: 14px solid transparent;
    border-bottom: 14px solid rgba(96,207,255,0.25);
    border-top: none; border-right: 14px solid transparent;
  }
  .wiz-welcome-bubble::after {
    top: -12px; left: 50%; transform: translateX(-50%);
    border-left: 13px solid transparent; border-right: 13px solid transparent;
    border-bottom: 13px solid #0f1a2e;
    border-top: none; border-right: 13px solid transparent;
  }
  .wiz-welcome-hi     { font-size: 1.2rem; }
  .wiz-welcome-msg    { font-size: 0.88rem; }
  .wiz-welcome-bubble { padding: 18px 18px; }
  .wiz-welcome-start  { align-self: center; width: 100%; }
}

/* ── Short screens (laptop / small monitor) ───────────────── */
@media (max-height: 700px) and (min-width: 701px) {
  .wiz-welcome-sphere { width: 260px; height: 260px; }
  .wiz-welcome-sphere-wrap { width: 280px; }
  .wiz-welcome-hi     { font-size: 1.35rem; }
  .wiz-welcome-msg    { font-size: 0.92rem; }
  .wiz-welcome-bubble { padding: 20px 24px; }
}

/* ===== Installation Choice Step ============================= */
.wiz-install-choice,
.wiz-install-lead { padding: 2px 2px 24px; }

.wiz-install-summary {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  margin: 14px 0 20px;
  overflow: hidden;
}
.wiz-install-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  gap: 12px;
}
.wiz-install-summary-head::-webkit-details-marker { display: none; }
.wiz-install-summary-brand {
  font-weight: 800;
  font-size: 0.95rem;
}
.wiz-install-summary-brand--ajax  { color: #1a56db; }
.wiz-install-summary-brand--pro   { color: #0891b2; }
.wiz-install-summary-brand--dahua { color: #7c3aed; }
.wiz-install-summary-total-inline {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--fg);
  margin-left: auto;
}
.wiz-install-summary-lines {
  padding: 4px 16px 12px;
  border-top: 1px solid var(--border);
}
.wiz-install-sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--fg-muted);
  padding: 4px 0;
}
.wiz-install-summary-note {
  font-size: 0.7rem;
  color: var(--fg-muted);
  margin: 0 0 12px;
  padding: 0 16px;
}

/* Two big option cards */
.wiz-install-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 16px;
}
.wiz-install-opt {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 22px 20px;
  background: var(--bg-elev);
  border: 2px solid var(--border);
  border-radius: 18px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  position: relative;
}
.wiz-install-opt:hover {
  border-color: var(--primary);
  background: rgba(26,86,219,0.03);
}
.wiz-install-opt--selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
  background: rgba(26,86,219,0.05);
}
.wiz-install-opt-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.wiz-install-opt-body { flex: 1; }
.wiz-install-opt-title {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 8px;
}
.wiz-install-opt-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0 0 10px;
}
.wiz-install-opt-price {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(26,86,219,0.09);
  padding: 4px 12px;
  border-radius: 20px;
}
.wiz-install-opt-price--free {
  color: #059669;
  background: rgba(5,150,105,0.1);
}
.wiz-install-opt--selected .wiz-install-opt-price {
  background: var(--primary);
  color: #fff;
}
.wiz-install-opt--selected .wiz-install-opt-price--free {
  background: #059669;
  color: #fff;
}
.wiz-install-opt-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  color: transparent;
  background: transparent;
  transition: all 0.15s ease;
  margin-top: 4px;
}
.wiz-install-opt--selected .wiz-install-opt-check {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.wiz-install-pick-hint {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin: -4px 0 10px;
  font-style: italic;
}

/* ── Results page edit-answers bar ────────────────────────────── */
.wiz-results-edit-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.wiz-results-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.wiz-results-edit-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(99,102,241,0.06);
}

/* ── Session restore prompt ──────────────────────────────────── */
.wiz-restore {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px 24px;
}
.wiz-restore-badge {
  font-size: 2.8rem;
  margin-bottom: 16px;
  line-height: 1;
}

.wiz-install-cont {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}
.wiz-install-back {
  width: 100%;
  justify-content: center;
  font-size: 0.85rem;
}

/* Install lead summary */
.wiz-install-lead-summary {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0 0;
}
.wiz-install-lead-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding: 6px 0;
  color: var(--fg-muted);
  gap: 12px;
}
.wiz-install-lead-row strong { color: var(--fg); font-weight: 700; text-align: right; }
.wiz-install-lead-row--total {
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}
.wiz-install-lead-row--total strong { font-size: 1.15rem; }

/* Enlarged Vision sphere when on install choice / lead steps */
.wiz-shell--install-choice .vision-chat-section { display: none; }
.wiz-shell--install-choice .vision-sphere-section {
  flex: 1;
  justify-content: center;
  padding: 40px 20px 30px;
  border-bottom: none;
}
.wiz-shell--install-choice .vision-panel-sphere {
  width: 300px;
  height: 300px;
}
.wiz-shell--install-choice .vision-sphere-glow {
  width: 500px;
  height: 420px;
  top: -80px;
}
.wiz-shell--install-choice .vision-panel-name  { font-size: 1.4rem; margin-top: 22px; }
.wiz-shell--install-choice .vision-panel-tagline { font-size: 0.85rem; }

/* ── Thank-you ─────────────────────────────────────────────── */
.wiz-thankyou { text-align: center; padding: 10px 0; }
.wiz-thankyou-icon { font-size: 2.4rem; display: block; margin-bottom: 10px; }
.wiz-thankyou h3 { font-size: 1.1rem; font-weight: 800; color: #0f1724; margin: 0 0 8px; }
.wiz-thankyou p  { font-size: 0.85rem; color: #374155; line-height: 1.6; margin: 0 0 16px; }

/* ── Sticky price bar (Option A) ───────────────────────────── */
.wiz-price-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: #020c1f;
  border-top: 1px solid rgba(96,207,255,0.18);
  padding: 10px 24px;
  flex-shrink: 0;
}
.wiz-price-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  flex: 1;
}
.wiz-price-bar-brand {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.wiz-price-bar-total {
  font-size: 1.05rem;
  font-weight: 800;
  color: #60cfff;
  letter-spacing: 0.02em;
}
.wiz-price-bar-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  margin: 0 20px;
  flex-shrink: 0;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 700px) {
  .wiz-shell       { margin: 0; border-radius: 0; max-height: 100vh; }
  .wiz-body        { padding: 24px 20px 16px; }
  .wiz-foot        { padding: 14px 20px 16px; }
  .wiz-cards       { grid-template-columns: 1fr 1fr; }
  .wiz-cards--upgrade { grid-template-columns: 1fr; }
  .wiz-res-main    { display: block; }
  .wiz-tbar-chips  { flex-direction: column; }
  .wiz-chip-tog    { border-right: none; border-bottom: 1px solid #e4e7ec; }
  .wiz-chip-tog:last-child { border-bottom: none; }
  .wiz-brand-row   { grid-template-columns: 1fr; }
}

/* =============================================================
   VISION — floating assistant widget (visible only inside wizard)
   ============================================================= */
.jarvis-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;          /* above the modal (z-index:1000) */
  display: flex;          /* flex / none toggled by JS */
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;   /* children opt-in */
}

/* ── Chat bubble — always visible when wrap is shown ── */
.jarvis-bubble {
  position: relative;
  background: #0a1628;
  color: #e8edf5;
  font-size: 0.8rem;
  line-height: 1.55;
  padding: 13px 16px 13px 14px;
  border-radius: 14px 14px 4px 14px;
  max-width: 230px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.55), 0 0 0 1px rgba(96,207,255,0.18);
  pointer-events: auto;
  animation: jarvisIn 0.3s ease both;
}
.jarvis-bubble strong { color: #60cfff; }

@keyframes jarvisIn {
  from { opacity:0; transform:translateY(10px) scale(0.95); }
  to   { opacity:1; transform:translateY(0)    scale(1);    }
}

@keyframes jarvisPulse {
  0%, 100% {
    filter: drop-shadow(0 4px 18px rgba(96,207,255,0.45));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 6px 32px rgba(96,207,255,0.8));
    transform: scale(1.04);
  }
}

/* Tail: small triangle pointing down toward the sphere */
.jarvis-bubble-arrow {
  position: absolute;
  bottom: -9px;
  right: 22px;
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 0 solid transparent;
  border-top: 9px solid #0a1628;
}

/* ── Sphere button ── */
.jarvis-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
  position: relative;   /* needed for ::before dark circle */
  transition: transform 0.2s ease;
  animation: jarvisIn 0.35s 0.05s ease both;
}
.jarvis-btn:hover {
  transform: translateY(-3px);
  animation: none;
}
.jarvis-btn:active { transform: translateY(0) scale(0.98); }

/* Dark circular backdrop behind sphere */
.jarvis-btn::before {
  content: '';
  position: absolute;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4,12,30,0.72) 0%, rgba(4,12,30,0.35) 55%, rgba(4,12,30,0) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: -1;
}

/* The Vision sphere image */
.jarvis-sphere {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  animation: jarvisPulse 3s 0.5s ease-in-out infinite;
}
.jarvis-btn:hover .jarvis-sphere {
  animation: none;
  filter: drop-shadow(0 6px 28px rgba(96,207,255,0.75));
}

/* Compare link inside bubble */
.jarvis-cmp-link {
  display: block;
  margin-top: 8px;
  color: #60cfff;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
}
.jarvis-cmp-link:hover { text-decoration: underline; }

/* "Vision" label under the sphere */
.jarvis-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #60cfff;
  text-shadow: 0 0 10px rgba(96,207,255,0.6);
}

/* =============================================================
   WIZARD COMPARISON MODAL  (#wizCmpModal)
   ============================================================= */
#wizCmpModal {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}
.wiz-cmp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
}
.wiz-cmp-shell {
  position: relative;
  z-index: 1;
  width: min(820px, 100vw);
  height: 100%;
  background: rgba(50, 55, 65, 0.85);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -12px 0 60px rgba(0,0,0,0.6);
  border-left: 1px solid rgba(255,255,255,0.07);
}

/* ── Header ─────────────────────────────────────────────────── */
.wiz-cmp-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 18px;
  background: rgba(35, 40, 50, 0.90);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.wiz-cmp-head-inner { flex: 1; min-width: 0; }
.wiz-cmp-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #e8f0fc;
  margin: 0 0 3px;
  letter-spacing: -0.01em;
}
.wiz-cmp-subtitle {
  font-size: 0.72rem;
  color: rgba(200,220,255,0.45);
  margin: 0;
}
.wiz-cmp-close {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 34px; height: 34px;
  color: #94a3b8;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.wiz-cmp-close:hover { background: rgba(255,255,255,0.12); color: #e2e8f0; }

/* ── Scrollable body ─────────────────────────────────────────── */
.wiz-cmp-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 0 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(96,207,255,0.25) transparent;
}
.wiz-cmp-body::-webkit-scrollbar { width: 5px; }
.wiz-cmp-body::-webkit-scrollbar-track { background: transparent; }
.wiz-cmp-body::-webkit-scrollbar-thumb { background: rgba(96,207,255,0.25); border-radius: 3px; }

/* ── Vision insights panel ──────────────────────────────────── */
.wiz-cmp-insights {
  background: rgba(26,56,120,0.25);
  border-bottom: 1px solid rgba(96,160,255,0.15);
  padding: 18px 24px 16px;
}
.wiz-cmp-vision-hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.wiz-cmp-vision-img {
  width: 80px; height: 80px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 16px rgba(96,207,255,0.4));
}
.wiz-cmp-vision-name {
  font-size: 0.85rem; font-weight: 800;
  color: #60cfff; display: block; letter-spacing: 0.01em;
}
.wiz-cmp-vision-sub { font-size: 0.7rem; color: rgba(200,220,255,0.5); margin: 3px 0 0; }

.wiz-cmp-insight {
  display: flex;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  margin-bottom: 7px;
  font-size: 0.78rem;
  line-height: 1.55;
  border-left: 3px solid transparent;
}
.wiz-cmp-insight:last-child { margin-bottom: 0; }
.wiz-cmp-insight--warn {
  background: rgba(251,191,36,0.08);
  border-left-color: #f59e0b;
  border: 1px solid rgba(251,191,36,0.2);
  border-left: 3px solid #f59e0b;
}
.wiz-cmp-insight--info {
  background: rgba(96,207,255,0.07);
  border: 1px solid rgba(96,207,255,0.18);
  border-left: 3px solid #60cfff;
}
.wiz-cmp-insight--good {
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.2);
  border-left: 3px solid #22c55e;
}
.wiz-cmp-insight-icon  { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; display: flex; align-items: flex-start; }
.wiz-cmp-insight-icon svg { width: 18px; height: 18px; flex-shrink: 0; }
.wiz-cmp-insight--warn .wiz-cmp-insight-icon { color: #f59e0b; }
.wiz-cmp-insight--info .wiz-cmp-insight-icon { color: #60cfff; }
.wiz-cmp-insight--good .wiz-cmp-insight-icon { color: #22c55e; }
.wiz-cmp-insight-body strong { color: #e2e8f0; display: block; margin-bottom: 3px; font-size: 0.8rem; }
.wiz-cmp-insight-body p      { color: rgba(200,220,255,0.6); margin: 0; }
.wiz-cmp-insight-body p strong { display: inline; color: #60cfff; }
.wiz-cmp-insight-body p em    { color: #93c5fd; font-style: normal; font-weight: 600; }

/* ── Brand column headers (sticky) ──────────────────────────── */
.wiz-cmp-col-hdrs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  position: sticky;
  top: 0;
  background: #060e1c;
  z-index: 5;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.wiz-cmp-col-hdr {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 12px 10px 10px;
  position: relative;
}
/* Colored underline accent per brand */
.wiz-cmp-col-hdr::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16%; right: 16%;
  height: 2px;
  border-radius: 2px 2px 0 0;
}
.wiz-cmp-col-hdr--ajax  { color: #60a5fa; }
.wiz-cmp-col-hdr--ajax::after  { background: #3b82f6; }
.wiz-cmp-col-hdr--pro   { color: #fbbf24; }
.wiz-cmp-col-hdr--pro::after   { background: #f59e0b; }
.wiz-cmp-col-hdr--dahua { color: #4ade80; }
.wiz-cmp-col-hdr--dahua::after { background: #22c55e; }
.wiz-cmp-tier-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
}

/* ── Category sections ──────────────────────────────────────── */
.wiz-cmp-cat {
  padding: 18px 20px 0;
}
.wiz-cmp-cat-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(200,220,255,0.35);
  margin: 0 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.wiz-cmp-pair, .wiz-cmp-triple {
  display: grid;
  gap: 10px;
}
.wiz-cmp-pair   { grid-template-columns: 1fr 1fr; }
.wiz-cmp-triple { grid-template-columns: 1fr 1fr 1fr; }

/* ── Product cards ──────────────────────────────────────────── */
.wiz-cmp-card {
  background: rgba(120, 130, 145, 0.18);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wiz-cmp-card:hover {
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
/* Colored top border per brand */
.wiz-cmp-card--ajax  { border-top: 2px solid #3b82f6; }
.wiz-cmp-card--pro   { border-top: 2px solid #f59e0b; }
.wiz-cmp-card--dahua { border-top: 2px solid #22c55e; }
.wiz-cmp-card--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.08);
}
.wiz-cmp-na { font-size: 0.72rem; color: rgba(200,220,255,0.25); letter-spacing: 0.04em; }

/* Product image */
.wiz-cmp-img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  background: rgba(255,255,255,0.03);
  padding: 10px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.wiz-cmp-img-ph {
  height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.03);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Card body */
.wiz-cmp-info { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.wiz-cmp-name { font-size: 0.76rem; font-weight: 700; color: #dde6f5; line-height: 1.35; }
.wiz-cmp-note { font-size: 0.68rem; color: #60cfff; margin: 0; }
.wiz-cmp-specs {
  margin: 0; padding: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 3px;
}
.wiz-cmp-specs li {
  font-size: 0.67rem;
  color: rgba(200,220,255,0.5);
  padding-left: 12px;
  position: relative;
  line-height: 1.4;
}
.wiz-cmp-specs li::before {
  content: '✓';
  position: absolute; left: 0;
  font-size: 0.6rem;
  line-height: 1.6;
  color: rgba(96,207,255,0.5);
}
/* Brand-tinted checkmarks */
.wiz-cmp-card--ajax  .wiz-cmp-specs li::before { color: rgba(96,165,250,0.6); }
.wiz-cmp-card--pro   .wiz-cmp-specs li::before { color: rgba(251,191,36,0.6); }
.wiz-cmp-card--dahua .wiz-cmp-specs li::before { color: rgba(74,222,128,0.6); }

.wiz-cmp-price {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.wiz-cmp-qty      { font-size: 0.62rem; color: rgba(200,220,255,0.35); }
.wiz-cmp-subtotal { font-size: 0.88rem; font-weight: 800; }
.wiz-cmp-card--ajax  .wiz-cmp-subtotal { color: #60a5fa; }
.wiz-cmp-card--pro   .wiz-cmp-subtotal { color: #fbbf24; }
.wiz-cmp-card--dahua .wiz-cmp-subtotal { color: #4ade80; }

/* ── Totals bar ──────────────────────────────────────────────── */
.wiz-cmp-totals {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin: 24px 20px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.wiz-cmp-total {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.wiz-cmp-total:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 16%; bottom: 16%;
  width: 1px;
  background: rgba(255,255,255,0.07);
}
.wiz-cmp-total--ajax  { background: rgba(59,130,246,0.12); }
.wiz-cmp-total--pro   { background: rgba(245,158,11,0.12); }
.wiz-cmp-total--dahua { background: rgba(34,197,94,0.12); }
.wiz-cmp-total-brand {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wiz-cmp-total--ajax  .wiz-cmp-total-brand { color: #60a5fa; }
.wiz-cmp-total--pro   .wiz-cmp-total-brand { color: #fbbf24; }
.wiz-cmp-total--dahua .wiz-cmp-total-brand { color: #4ade80; }
.wiz-cmp-total-amt {
  font-size: 1.3rem;
  font-weight: 800;
}
.wiz-cmp-total--ajax  .wiz-cmp-total-amt { color: #93c5fd; }
.wiz-cmp-total--pro   .wiz-cmp-total-amt { color: #fde68a; }
.wiz-cmp-total--dahua .wiz-cmp-total-amt { color: #86efac; }

.wiz-cmp-disclaimer {
  font-size: 0.65rem;
  color: rgba(200,220,255,0.25);
  text-align: center;
  padding: 14px 24px 0;
  margin: 0;
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .wiz-cmp-shell    { width: 100vw; }
  .wiz-cmp-triple   { grid-template-columns: 1fr; }
  .wiz-cmp-pair     { grid-template-columns: 1fr; }
  .wiz-cmp-col-hdrs { grid-template-columns: 1fr 1fr 1fr; }
  .wiz-cmp-totals   { grid-template-columns: 1fr; border-radius: 14px; }
  .wiz-cmp-total:not(:last-child)::after { display: none; }
}

/* =============================================================
   MODAL BASE STYLES (shared)
   ============================================================= */
[id$="Modal"]:not(button),
#vcModal,
#cfgModal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Quick Kit Modal ---------- */
#qkBackdrop, #scBackdrop, #vcBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.qk-modal {
  position: relative;
  z-index: 1001;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: min(96vw, 700px);
  max-height: 88vh;
  overflow-y: auto;
  padding: 1.5rem;
}
.qk-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.qk-modal__head h2 { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.qk-modal__head button {
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; color: var(--gray-500); padding: .25rem;
}
.qk-modal__tabs {
  display: flex; gap: .5rem; margin-bottom: 1rem;
}
.qk-modal__tabs button {
  flex: 1; padding: .55rem; border-radius: 8px;
  border: 2px solid var(--gray-200); background: none;
  font-family: inherit; font-size: .88rem; font-weight: 600;
  cursor: pointer; color: var(--gray-700); transition: .18s;
}
.qk-modal__tabs button.is-active {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.qk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .75rem;
}
.qk-item {
  background: var(--gray-100); border-radius: var(--radius);
  padding: .8rem; text-align: center; font-size: .82rem; color: var(--navy);
}
.qk-item img { width: 60px; height: 60px; object-fit: contain; margin-bottom: .4rem; }
.qk-item__name { font-weight: 700; margin-bottom: .2rem; }
.qk-item__qty  { color: var(--gray-500); font-size: .78rem; }

/* ---------- Specs Compare Modal ---------- */
.sc-modal {
  position: relative; z-index: 1001;
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl); width: min(96vw, 860px);
  max-height: 88vh; overflow-y: auto; padding: 1.5rem;
}
.sc-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.sc-modal__head h2 { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.sc-modal__head button {
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; color: var(--gray-500); padding: .25rem;
}
.sc-body { overflow-x: auto; }
.sc-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.sc-table th {
  background: var(--navy); color: var(--white);
  padding: .65rem .75rem; text-align: left; font-weight: 700; font-size: .82rem;
}
.sc-table td { padding: .55rem .75rem; border-bottom: 1px solid var(--gray-200); color: var(--gray-700); }
.sc-table tr:hover td { background: var(--gray-100); }

/* ---------- Visual Configurator Modal ---------- */
.vc-modal {
  position: relative; z-index: 1001;
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl); width: min(96vw, 900px);
  max-height: 92vh; overflow: hidden;
  display: flex; flex-direction: column;
}
.vc-modal__head {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.vc-modal__head h2 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-right: auto; }
#vcClose {
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; color: var(--gray-500); padding: .25rem;
}
.vc-modal__progress { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--gray-700); white-space: nowrap; }
.vc-progress-bar { width: 100px; height: 4px; background: var(--gray-200); border-radius: 2px; overflow: hidden; }
.vc-progress-bar__fill { height: 100%; background: var(--red); border-radius: 2px; transition: width .35s; }

.vc-modal__body {
  display: flex; flex: 1; overflow: hidden;
}
.vc-plan {
  flex: 0 0 45%; background: var(--gray-100);
  border-right: 1px solid var(--gray-200);
  overflow: auto; padding: 1rem;
}
.vc-steps {
  flex: 1; overflow-y: auto; padding: 1.5rem;
}
.vc-modal__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
}

/* ---------- VC step content ---------- */
.vc-step__title { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: .5rem; }
.vc-step__desc  { font-size: .88rem; color: var(--gray-500); margin-bottom: 1.25rem; }
.vc-options { display: flex; flex-direction: column; gap: .55rem; }
.vc-option {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; border: 2px solid var(--gray-200);
  border-radius: var(--radius); cursor: pointer; transition: .18s;
  font-size: .9rem; color: var(--navy);
}
.vc-option input[type="radio"] { accent-color: var(--red); width: 16px; height: 16px; flex-shrink: 0; }
.vc-option:has(input:checked),
.vc-option.selected { border-color: var(--red); background: #fff5f4; }

/* BOM (Bill of Materials) styles — used in vc final step */
.cfg-bom { margin-top: .75rem; }
.cfg-bom__title { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.cfg-bom__table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.cfg-bom__table th { background: var(--navy); color: var(--white); padding: .4rem .6rem; text-align: left; font-weight: 600; font-size: .8rem; }
.cfg-bom__table td { padding: .38rem .6rem; border-bottom: 1px solid var(--gray-200); color: var(--gray-700); }
.cfg-bom__total { margin-top: .6rem; text-align: right; font-size: .9rem; font-weight: 700; color: var(--navy); }
.cfg-bom-pair { display: flex; gap: .5rem; align-items: center; margin-top: .25rem; }

.cfg-preview-panel { background: var(--gray-100); border-radius: var(--radius); padding: 1rem; margin-top: .75rem; }
.cfg-preview-panel__title { font-size: .88rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.cfg-preview-thumb { width: 100%; border-radius: 8px; object-fit: cover; max-height: 140px; }

/* AI chat modal styles (fallback, vcModal takes over) */
.cfg-messages { padding: 1rem; overflow-y: auto; max-height: 50vh; }
.cfg-msg { margin-bottom: .75rem; font-size: .9rem; }
.cfg-msg--ai     { color: var(--navy); }
.cfg-msg--user   { color: var(--gray-700); text-align: right; }
.cfg-msg--system { color: var(--gray-500); font-style: italic; }
.cfg-options { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 1rem .75rem; }
.cfg-opt-btn {
  padding: .45rem .9rem; border-radius: 50px; border: 2px solid var(--navy);
  background: none; font-family: inherit; font-size: .85rem; font-weight: 600;
  color: var(--navy); cursor: pointer; transition: .18s;
}
.cfg-opt-btn:hover { background: var(--navy); color: var(--white); }
.cfg-text-row { display: flex; gap: .5rem; padding: 0 1rem .75rem; }
.cfg-text-row input { flex: 1; padding: .5rem .75rem; border: 1px solid var(--gray-200); border-radius: 8px; font-family: inherit; font-size: .88rem; }
.cfg-text-row button, #cfgRestart { padding: .5rem 1rem; border-radius: 8px; border: none; background: var(--navy); color: var(--white); font-family: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }


/* =============================================================
   SHARED SECTION CONTAINERS / HEADINGS
   ============================================================= */
.section-container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-heading .eyebrow,
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-heading h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--gray-500);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* =============================================================
   WHY WIRELESS — caption + CTA under compare grid
   ============================================================= */
.ww-caption {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  padding: 0 24px;
  color: #111;
}
.ww-caption p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 22px;
}
.ww-caption .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 700px) {
  .ww-compare                  { grid-template-columns: 1fr; }
  .ww-panel--good              { border-right: none; border-bottom: 2px solid #e0e0e0; }
  .ww-panel-img                { height: 56vw; }
  /* Mobile wireless: keep left anchor so tech + equipment visible */
  .ww-panel--good .ww-panel-img { object-position: left center; }
  /* Mobile wired: hard right to skip the empty drywall */
  .ww-panel--bad .ww-panel-img  { object-position: right center; }
  .ww-bubble                   { position: static; max-width: 100%; margin: 12px 16px 16px; }
  .ww-bubble--good,
  .ww-bubble--bad              { left: auto; right: auto; }
}

/* =============================================================
   SECTION DIVIDER — transition into bv-section
   ============================================================= */
.section-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(30px, 5vw, 60px) clamp(16px, 4vw, 48px) 0;
  background: #ffffff;
  scroll-margin-top: var(--nav-h);
}

.sd-hook {
  margin: 0;
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15), 0 4px 32px rgba(0,0,0,0.08);
}

/* =============================================================
   BLIND VS VISUAL — IMAGE RIGHT, BLACK FADE LEFT
   ============================================================= */

.bv-section {
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Right-anchored image */
.bv-image-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 62%;
}
.bv-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Headline centred across the full section */
.bv-centre-headline {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  z-index: 3;
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.0;
  text-shadow: 0 2px 40px rgba(0,0,0,0.95), 0 1px 8px rgba(0,0,0,0.8);
  pointer-events: none;
}

/* Gradient: solid black on left, fades into the image */
.bv-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #000 0%, #000 28%, rgba(0,0,0,0.65) 50%, rgba(0,0,0,0) 72%);
  z-index: 1;
}

/* Left-side text content */
.bv-text {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: clamp(80px, 12vh, 140px) clamp(32px, 6vw, 96px);
}
.bv-headline {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.08;
  margin: 0 0 32px;
  text-transform: uppercase;
}
.bv-headline strong {
  color: #fff;
  font-style: italic;
}

.bv-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bv-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}
.bv-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  margin-top: 7px;
}

.bv-blurb {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 400px;
}
.bv-text .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .bv-section {
    flex-direction: column;
    align-items: stretch;
    min-height: unset;
  }

  .bv-image-wrap {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: 55vw;
    min-height: 200px;
    flex-shrink: 0;
  }

  .bv-fade {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, #000 100%);
  }

  .bv-text {
    padding: 28px 22px 56px;
    max-width: 100%;
  }

  .bv-centre-headline {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
  }

  .bv-list li {
    font-size: 0.95rem;
  }
}

/* =============================================================
   DETECTORS SECTION
   ============================================================= */
.detectors {
  padding: 100px 0 80px;
  background: var(--white);
}
.det-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.det-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.det-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26,86,219,0.25);
  box-shadow: var(--shadow-md);
}
.det-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.det-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.det-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* =============================================================
   BRANDS SECTION
   ============================================================= */
.brands {
  padding: 100px 0 80px;
  background: #f8fafc;
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.brand-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.brand-card__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
}
.brand-card__head h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
}
.brand-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  border-left: 3px solid currentColor;
  white-space: nowrap;
}
.brand-tag--pro {
  background: rgba(26,86,219,0.06);
  color: #1a56db;
}
.brand-tag--ajax {
  background: rgba(180,83,9,0.06);
  color: #b25a00;
}
.brand-tag--dahua {
  background: rgba(22,101,52,0.07);
  color: #166534;
}
.brand-card__lead {
  font-size: 0.98rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 20px;
}
.brand-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.brand-card__list li {
  font-size: 0.92rem;
  color: var(--gray-700);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.brand-card__list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 9l3 3 6-6' stroke='%231a56db' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  margin-top: 2px;
}
/* =============================================================
   PRICING SECTION
   ============================================================= */
.pricing {
  padding: 100px 0 80px;
  background: var(--white);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.price-card--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-md);
}
.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-card__tier {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.price-card__price {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.price-card__price strong {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-left: 4px;
}
.price-card__lead {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 22px;
  line-height: 1.5;
}
.price-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.price-card li {
  font-size: 0.92rem;
  color: var(--gray-700);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 800;
}
.price-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  max-width: 720px;
  margin: 36px auto 0;
  line-height: 1.55;
}
.price-card__quick-btn {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 11px 0;
  background: var(--blue);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
  letter-spacing: 0.02em;
}
.price-card__quick-btn:hover {
  background: var(--blue-dark, #1a44c2);
  transform: translateY(-1px);
}
.price-card--featured .price-card__quick-btn {
  background: var(--blue);
  box-shadow: 0 4px 14px rgba(26,86,219,0.35);
}

/* =============================================================
   TRUST STRIP
   ============================================================= */
.trust-strip {
  padding: 50px 0;
  background: var(--navy);
  color: #fff;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-stat__num {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #60cfff;
  margin-bottom: 6px;
}
.trust-stat__lbl {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* =============================================================
   FAQ SECTION
   ============================================================= */
.faq {
  padding: 100px 0 80px;
  background: var(--white);
}
.faq-container { max-width: 820px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] {
  border-color: rgba(26,86,219,0.30);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 22px 20px;
  font-size: 0.94rem;
  color: var(--gray-700);
  line-height: 1.65;
  margin: 0;
}

/* =============================================================
   FINAL CTA
   ============================================================= */
/* =============================================================
   TRUST BANNER — between FAQ and final CTA
   ============================================================= */
.trust-banner {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 28px clamp(16px, 4vw, 48px);
}
.trust-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.tb-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 32px;
  flex: 1 1 200px;
  justify-content: center;
}
.tb-icon {
  flex-shrink: 0;
  color: #1a56db;
  display: flex;
  align-items: center;
}
.tb-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tb-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}
.tb-text span {
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.3;
}
.tb-divider {
  width: 1px;
  height: 40px;
  background: #e5e7eb;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .tb-divider { display: none; }
  .tb-item {
    justify-content: flex-start;
    padding: 10px 16px;
    flex: 1 1 48%;
  }
}

/* =============================================================
   FINAL CTA
   ============================================================= */
.final-cta {
  padding: 80px 0;
  background: var(--white);
}
.fc-card {
  background: linear-gradient(135deg, #0f1f3d 0%, #1a56db 100%);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.fc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(96,207,255,0.20) 0%, transparent 60%);
  pointer-events: none;
}
.fc-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.fc-card p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.fc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 1.02rem;
  background: #fff;
  color: var(--blue);
  position: relative;
  z-index: 1;
}
.fc-btn:hover { background: #fff; color: var(--blue-deep); }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: #0a1428;
  color: rgba(255,255,255,0.72);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}
.footer-col h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.18s;
}
.footer-col a:hover { color: #60cfff; }
.footer-col li {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-logo__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: none;
}
.footer-logo__text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}
.footer-logo__text strong {
  font-weight: 900;
}
.footer-blurb {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 360px;
}
.footer-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-creds span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #60cfff;
  background: rgba(96,207,255,0.08);
  border: 1px solid rgba(96,207,255,0.22);
  padding: 5px 11px;
  border-radius: 999px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* =============================================================
   MOBILE STICKY CTA
   ============================================================= */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 800;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 28px rgba(26,86,219,0.42);
}
.mobile-cta:hover { background: var(--blue-deep); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 980px) {
  .det-grid     { grid-template-columns: repeat(2, 1fr); }
  .price-grid   { grid-template-columns: 1fr; max-width: 480px; }
  .brands-grid  { grid-template-columns: 1fr 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-grid   { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 640px) {
  .det-grid     { grid-template-columns: 1fr; }
  .brands-grid  { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .detectors, .brands, .pricing, .faq { padding: 70px 0 50px; }
  .fc-card      { padding: 44px 22px; }
  .mobile-cta   { display: inline-flex; }
}

/* =============================================================
   AJAX NUDGE POPUP
   ============================================================= */
/* ── Ajax Nudge / Heads-Up Modal ──────────────────────────────── */
.ajax-nudge-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
  animation: nudgeOverlayIn 0.2s ease;
}
@keyframes nudgeOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.ajax-nudge-box {
  background: #fff;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: 0 28px 80px rgba(0,0,0,0.38), 0 0 0 1px rgba(0,0,0,0.06);
  overflow: hidden;
  animation: nudgeBoxIn 0.26s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes nudgeBoxIn {
  from { transform: scale(0.90) translateY(20px); opacity: 0; }
  to   { transform: scale(1)    translateY(0);    opacity: 1; }
}

/* ── Header band ── */
.ajax-nudge-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 22px 56px 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ajax-nudge-icon-wrap {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
  margin-top: 2px;
}
.ajax-nudge-heading {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.45;
  padding-top: 5px;
}

/* ── Close button inside header ── */
.ajax-nudge-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}
.ajax-nudge-close:hover {
  background: rgba(255,255,255,0.28);
  color: #fff;
}

/* ── Body wrap ── */
.ajax-nudge-body-wrap {
  padding: 22px 22px 20px;
}
.ajax-nudge-body {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* ── ProSeries callout card ── */
.ajax-nudge-pro-callout {
  background: linear-gradient(135deg, #eef5ff 0%, #e8f2ff 100%);
  border: 1px solid #c3d8f7;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.ajax-nudge-pro-callout-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--blue);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.ajax-nudge-pro-callout p {
  font-size: 0.85rem;
  color: var(--navy);
  line-height: 1.6;
  margin: 0;
}

/* ── Price comparison ── */
.ajax-nudge-compare {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
}
.ajax-nudge-col {
  flex: 1;
  padding: 14px 16px;
  text-align: center;
  background: var(--gray-100);
}
.ajax-nudge-col--pro {
  background: linear-gradient(160deg, #eef4ff 0%, #e6efff 100%);
  border-left: 1px solid #c3d8f7;
}
.ajax-nudge-col-label {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.ajax-nudge-col-label--rec {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 6px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ajax-nudge-brand {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ajax-nudge-col--pro .ajax-nudge-brand { color: var(--blue); }
.ajax-nudge-price {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy);
}
.ajax-nudge-col--pro .ajax-nudge-price {
  font-size: 1.28rem;
  color: var(--blue-deep);
}
.ajax-nudge-diff {
  font-size: 0.74rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ── Actions ── */
.ajax-nudge-actions {
  display: flex;
  gap: 10px;
}
.ajax-nudge-btn {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.01em;
}
.ajax-nudge-btn:active { transform: scale(0.97) !important; box-shadow: none !important; }
.ajax-nudge-btn--secondary {
  background: #fff;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
}
.ajax-nudge-btn--secondary:hover {
  background: var(--gray-100);
  border-color: var(--gray-500);
  color: var(--navy);
}
.ajax-nudge-btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26,86,219,0.38);
}
.ajax-nudge-btn--primary:hover {
  box-shadow: 0 6px 20px rgba(26,86,219,0.52);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  /* Slide up from bottom like a sheet on mobile */
  .ajax-nudge-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .ajax-nudge-box {
    border-radius: 20px 20px 0 0;
    max-height: 92dvh;
    max-height: 92vh; /* fallback */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    /* drag handle hint */
    padding-top: 6px;
  }
  /* Drag handle pill */
  .ajax-nudge-box::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    background: rgba(255,255,255,0.35);
    border-radius: 2px;
    margin: 0 auto 6px;
  }

  .ajax-nudge-header {
    padding: 14px 48px 14px 16px;
    gap: 10px;
  }
  .ajax-nudge-icon-wrap {
    width: 32px;
    height: 32px;
  }
  .ajax-nudge-heading {
    font-size: 0.93rem;
    padding-top: 3px;
  }
  .ajax-nudge-close {
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
  }

  .ajax-nudge-body-wrap {
    padding: 16px 14px 20px;
  }
  .ajax-nudge-body {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
  .ajax-nudge-pro-callout {
    padding: 10px 12px;
    gap: 9px;
    margin-bottom: 16px;
  }
  .ajax-nudge-pro-callout p {
    font-size: 0.82rem;
  }

  /* Stack compare columns vertically on very narrow screens */
  .ajax-nudge-compare {
    flex-direction: column;
    margin-bottom: 16px;
  }
  .ajax-nudge-col--pro {
    border-left: none;
    border-top: 1px solid #c3d8f7;
  }
  .ajax-nudge-col {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
  }
  .ajax-nudge-col-label,
  .ajax-nudge-col-label--rec {
    margin-bottom: 0;
    flex-shrink: 0;
    min-width: 80px;
  }
  .ajax-nudge-brand {
    flex: 1;
  }
  .ajax-nudge-price {
    font-size: 1.05rem;
    margin-left: auto;
  }
  .ajax-nudge-col--pro .ajax-nudge-price {
    font-size: 1.1rem;
  }
  .ajax-nudge-diff {
    display: none; /* shown inline via label on mobile */
  }

  .ajax-nudge-actions {
    flex-direction: column;
    gap: 8px;
  }
  .ajax-nudge-btn {
    padding: 13px 14px;
    font-size: 0.88rem;
  }
}

/* ── Button loading spinner ── */
.btn-spin {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
  flex-shrink: 0;
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-spin { animation: none; opacity: 0.6; }
}
