/* =================================================================
   Scouq - Landing Page
   ================================================================= */

html {
  scroll-behavior: smooth;
}

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

/* Marketing pages (landing, pricing) are intentionally always dark regardless of scouq-theme.
   The theme toggle has no effect here. Do not add data-theme overrides to these pages. */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  height: 100vh;
  overflow: hidden;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -----------------------------------------------------------------
   Map background
   ----------------------------------------------------------------- */
#mapBg {
  /* Premium map: dataviz-dark style is already monochrome; no CSS filter band-aid. */
  position: fixed;
  inset: 0;
  z-index: 0;
}

#mapBg.hero-photo {
  background:
    linear-gradient(180deg, rgba(8, 9, 14, 0.04) 0%, rgba(8, 9, 14, 0.14) 38%, rgba(0, 0, 0, 0.5) 100%),
    url("marketing/hero/scouq-hero-city.jpg") center 44% / cover no-repeat;
  filter: saturate(0.82) contrast(1.12) brightness(0.88);
  transform: scale(1.01);
}

/* Subtle vignette on the hero map for visual focus on overlay content. */
#mapBg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 92% 78% at 50% 48%, transparent 30%, rgba(0,0,0,0.12) 70%, rgba(0,0,0,0.36) 100%);
  z-index: 1;
}

/* Static dark gradient that renders instantly while MapLibre is deferred.
   Removed once the map fires the "load" event (see landing.js). Matches the
   #0a0a0a body so first paint is silent and consistent with the overlay. */
#mapBg.map-placeholder {
  background:
    radial-gradient(ellipse at 50% 35%, #16161a 0%, #0a0a0a 60%, #060607 100%);
}
#mapBg.map-placeholder.hero-photo {
  background:
    linear-gradient(180deg, rgba(8, 9, 14, 0.04) 0%, rgba(8, 9, 14, 0.14) 38%, rgba(0, 0, 0, 0.5) 100%),
    url("marketing/hero/scouq-hero-city.jpg") center 44% / cover no-repeat;
}
#mapBg.map-placeholder.map-loaded {
  background: none;
}
#mapBg.map-placeholder.hero-photo.map-loaded {
  background:
    linear-gradient(180deg, rgba(8, 9, 14, 0.04) 0%, rgba(8, 9, 14, 0.14) 38%, rgba(0, 0, 0, 0.5) 100%),
    url("marketing/hero/scouq-hero-city.jpg") center 44% / cover no-repeat;
}
#mapBg .maplibregl-canvas {
  opacity: 0;
  transition: opacity 600ms ease;
}
#mapBg.map-loaded .maplibregl-canvas {
  opacity: 1;
}

.map-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 5, 8, 0.24) 0%, rgba(4, 5, 8, 0.04) 30%, rgba(4, 5, 8, 0.2) 58%, rgba(0, 0, 0, 0.44) 100%),
    radial-gradient(ellipse 88% 64% at 50% 55%, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.38) 100%);
  opacity: 1;
  pointer-events: none;
}

.map-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 512px 512px;
  mix-blend-mode: normal; opacity: 0;
  pointer-events: none;
}

/* -----------------------------------------------------------------
   Header
   ----------------------------------------------------------------- */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  animation: fadeDown 800ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.landing-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  color: #ffffff;
  text-decoration: none;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 150ms ease, background 150ms ease;
  letter-spacing: 0;
}

.landing-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.landing-nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
  background: #ffffff;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 150ms ease, transform 100ms ease;
  letter-spacing: 0;
}

.landing-nav-cta:hover {
  background: #f0f0f0;
}

.landing-nav-cta:active {
  transform: scale(0.97);
}

/* -----------------------------------------------------------------
   Hero
   ----------------------------------------------------------------- */
.landing-hero {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 88px 24px 48px;
  text-align: center;
}

.landing-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(980px, 92vw);
  height: min(560px, 64vh);
  pointer-events: none;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.34) 38%, rgba(0, 0, 0, 0.12) 66%, transparent 100%);
  filter: blur(18px);
  z-index: -1;
}

.landing-title {
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 20px;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.58), 0 1px 2px rgba(0, 0, 0, 0.32);
  animation: fadeUp 800ms cubic-bezier(0.22, 1, 0.36, 1) 100ms backwards;
}

.landing-subtitle {
  font-size: clamp(16px, 1.7vw, 20px);
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
  line-height: 1.45;
  margin-bottom: 34px;
  letter-spacing: 0;
  font-weight: 400;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
  animation: fadeUp 800ms cubic-bezier(0.22, 1, 0.36, 1) 200ms backwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -----------------------------------------------------------------
   Search bar
   ----------------------------------------------------------------- */
.landing-search-wrap {
  width: 100%;
  max-width: 620px;
  position: relative;
  animation: fadeUp 800ms cubic-bezier(0.22, 1, 0.36, 1) 300ms backwards;
}

.landing-search {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 16, 18, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 8px 10px 8px 20px;
  backdrop-filter: blur(24px) saturate(1.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.landing-search:focus-within {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(18, 18, 20, 0.68);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.landing-search-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.52);
}

.landing-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

.landing-search input:focus,
.landing-search input:focus-visible {
  outline: none;
  box-shadow: none;
}

.landing-search input::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.landing-search-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: none;
  color: #0a0a0a;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 150ms ease, transform 100ms ease;
}

.landing-search-btn:hover {
  background: #e8e8e8;
}

.landing-search-btn:active {
  transform: scale(0.95);
}

.landing-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 12;
  padding: 6px;
  max-height: 260px;
  overflow-y: auto;
  background: rgba(15, 15, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
}

.landing-suggestions.visible {
  display: block;
}

.landing-suggestion {
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: 12px 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.landing-suggestion:hover,
.landing-suggestion.active,
.landing-suggestion:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
}

.landing-suggestion-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.landing-suggestion-main {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-suggestion-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-suggestion-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

.landing-suggestion-tag--residential {
  background: rgba(59, 130, 246, 0.15);
  color: rgba(96, 165, 250, 0.9);
}

.landing-suggestion-tag--multifamily {
  background: rgba(168, 85, 247, 0.15);
  color: rgba(192, 132, 252, 0.9);
}

.landing-suggestion-tag--commercial {
  background: rgba(245, 158, 11, 0.15);
  color: rgba(251, 191, 36, 0.9);
}

.landing-suggestion-tag--industrial {
  background: rgba(107, 114, 128, 0.15);
  color: rgba(156, 163, 175, 0.9);
}

.landing-suggestion-tag--land {
  background: rgba(34, 197, 94, 0.15);
  color: rgba(74, 222, 128, 0.9);
}

.landing-suggestion-tag--special {
  background: rgba(239, 68, 68, 0.15);
  color: rgba(252, 129, 129, 0.9);
}

.hero-trial-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
  animation: fadeUp 800ms cubic-bezier(0.22, 1, 0.36, 1) 420ms backwards;
}

/* Hints */
.landing-search-hints {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.landing-search-hints > span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.landing-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0 10px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  transition: color 150ms ease, background 150ms ease;
  letter-spacing: -0.1px;
}

.landing-hint:hover {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

/* -----------------------------------------------------------------
   Feature pills
   ----------------------------------------------------------------- */
.landing-features {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  animation: fadeUp 800ms cubic-bezier(0.22, 1, 0.36, 1) 500ms backwards;
}

.landing-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: -0.1px;
}

.landing-feature svg {
  opacity: 0.5;
}

/* -----------------------------------------------------------------
   Auth modal
   ----------------------------------------------------------------- */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal {
  width: 100%;
  max-width: 380px;
  padding: 32px 28px;
  margin: 0 20px;
  border-radius: 18px;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  text-align: center;
  transform: translateY(16px) scale(0.97);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-modal-overlay.visible .auth-modal {
  transform: translateY(0) scale(1);
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 150ms ease, background 150ms ease;
}

.auth-modal-close:hover {
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.auth-modal-close:focus,
.auth-modal-close:focus-visible {
  outline: none;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.07);
}

.auth-modal-brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.auth-modal-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.auth-modal-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  letter-spacing: -0.1px;
  line-height: 1.5;
}

.auth-modal-desc-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0;
}

/* Google button */
.auth-modal-google {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  background: #ffffff;
  border: none;
  color: #1f1f1f;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 150ms ease, transform 100ms ease;
}

.auth-modal-google:hover {
  background: #f0f0f0;
}

.auth-modal-google:active {
  transform: scale(0.98);
}

/* Divider */
.auth-modal-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
}

.auth-modal-divider::before,
.auth-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-modal-divider span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  text-transform: lowercase;
}

/* Email form */
.auth-modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-modal-input {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 150ms ease, background 150ms ease;
}

.auth-modal-input:focus {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.auth-modal-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.auth-modal-submit {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: background 150ms ease, transform 100ms ease;
}

.auth-modal-submit:hover {
  background: rgba(255, 255, 255, 0.14);
}

.auth-modal-submit:active {
  transform: scale(0.98);
}

/* Error */
.auth-modal-error {
  font-size: 13px;
  color: #ef4444;
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  display: none;
  margin-top: 10px;
}

.auth-modal-error.visible {
  display: block;
}

/* Email success state */
.auth-email-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
  animation: fadeIn 250ms ease;
}

.auth-email-success svg {
  color: #22c55e;
  flex-shrink: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Switch link */
.auth-modal-switch {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.auth-modal-switch a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 4px;
  transition: opacity 150ms ease;
}

.auth-modal-switch a:hover {
  opacity: 0.7;
}

/* -----------------------------------------------------------------
   Footer
   ----------------------------------------------------------------- */
.landing-footer {
  position: relative;
  z-index: 5;
  padding: 32px 32px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: -0.1px;
}

.landing-footer a {
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  margin-left: 16px;
  transition: color 150ms ease;
}

.landing-footer a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* -----------------------------------------------------------------
   Shared section layout
   ----------------------------------------------------------------- */
.landing-section {
  position: relative;
  z-index: 5;
  padding: 100px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -1.5px;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.15;
}

.section-subheading {
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
  letter-spacing: -0.2px;
  margin-bottom: 56px;
}

/* -----------------------------------------------------------------
   How It Works
   ----------------------------------------------------------------- */
.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 300px;
  padding: 32px 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  text-align: center;
  transition: background 200ms ease, border-color 200ms ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: #8b5cf6;
}

.step-number {
  font-size: 12px;
  font-weight: 600;
  color: rgba(179, 148, 255, 0.9);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.55;
  letter-spacing: -0.1px;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 60px;
  color: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  padding-left: 8px;
  padding-right: 8px;
}

/* -----------------------------------------------------------------
   Pricing
   ----------------------------------------------------------------- */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  margin-top: -24px;
}

.pricing-toggle-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: -0.1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-toggle-label.active {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-save-badge {
  font-size: 11px;
  font-weight: 600;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.2);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: -0.1px;
}

.pricing-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 200ms ease;
  padding: 0;
}

.pricing-toggle.yearly {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.4);
}

.pricing-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.pricing-toggle.yearly .pricing-toggle-knob {
  transform: translateX(20px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

.pricing-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  display: flex;
  flex-direction: column;
  transition: background 200ms ease, border-color 200ms ease;
}

.pricing-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card-popular {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.08);
}

.pricing-card-popular:hover {
  background: rgba(139, 92, 246, 0.09);
  border-color: rgba(139, 92, 246, 0.35);
}

.pricing-popular-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  background: #8b5cf6;
  padding: 3px 14px;
  border-radius: 20px;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 24px;
}

.pricing-tier {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 6px;
}

.pricing-amount {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: -0.1px;
}

.pricing-period-once {
  font-size: 13px;
}

.pricing-card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: -0.1px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.1px;
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-cta {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: background 150ms ease, transform 100ms ease, border-color 150ms ease;
}

.pricing-cta:active {
  transform: scale(0.97);
}

.pricing-cta-outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.pricing-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-cta-solid {
  background: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.6);
  color: #ffffff;
}

.pricing-cta-solid:hover {
  background: #7c4fe0;
}

/* -----------------------------------------------------------------
   Social Proof
   ----------------------------------------------------------------- */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 56px;
  padding: 28px 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #ffffff;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: -0.1px;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.testimonial-card {
  padding: 28px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 200ms ease, border-color 200ms ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.testimonial-quote {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  letter-spacing: -0.2px;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #8b5cf6;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.testimonial-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: -0.1px;
}

/* -----------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------- */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #mapBg.hero-photo,
  #mapBg.map-placeholder.hero-photo,
  #mapBg.map-placeholder.hero-photo.map-loaded {
    background:
      linear-gradient(180deg, rgba(8, 9, 14, 0.08) 0%, rgba(8, 9, 14, 0.22) 42%, rgba(0, 0, 0, 0.58) 100%),
      url("marketing/hero/scouq-hero-city.jpg") center 45% / cover no-repeat;
  }

  .map-overlay {
    background:
      linear-gradient(180deg, rgba(4, 5, 8, 0.24) 0%, rgba(4, 5, 8, 0.06) 28%, rgba(4, 5, 8, 0.2) 56%, rgba(0, 0, 0, 0.46) 100%),
      radial-gradient(ellipse 90% 64% at 50% 55%, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0.4) 100%);
  }

  .landing-header {
    padding: 16px 20px;
  }

  .landing-hero {
    padding: 84px 20px 36px;
  }

  .landing-hero::before {
    top: 54%;
    width: 96vw;
    height: 58vh;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.38) 40%, rgba(0, 0, 0, 0.14) 68%, transparent 100%);
  }

  .landing-subtitle {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .landing-features {
    flex-direction: column;
    gap: 10px;
    margin-top: 36px;
  }

  .landing-search-hints {
    display: none;
  }

  .auth-modal {
    padding: 28px 24px;
  }

  .landing-section {
    padding: 72px 20px;
  }

  .section-subheading {
    margin-bottom: 36px;
  }

  .steps-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .step-card {
    max-width: 100%;
    width: 100%;
  }

  .step-connector {
    padding: 0;
    transform: rotate(90deg);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    gap: 20px;
    padding: 24px 16px;
  }

  .stat-value {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Wave 2: visible keyboard focus on landing controls. */
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid rgba(255,255,255,0.45); outline-offset: 2px; }

/* Visually-hidden utility for screen-reader-only labels. WCAG 1.3.1 / 3.3.2. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   PWA install prompt (landing)
   ============================================================ */
.pwa-install-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  margin-right: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #f5f5f5;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}
.pwa-install-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.pwa-install-btn svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.pwa-install-sheet {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  transform: translateY(140%);
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), opacity 240ms ease;
  opacity: 0;
  pointer-events: none;
}
.pwa-install-sheet.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.pwa-install-sheet-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 44px 16px 16px;
  border-radius: 16px;
  background: rgba(20, 20, 22, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  color: #f5f5f5;
}
.pwa-install-illus {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f5f5;
}
.pwa-install-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.pwa-install-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}
.pwa-install-body {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(245, 245, 245, 0.78);
}
.pwa-install-icon-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -2px;
  margin: 0 2px;
  color: #6ea8ff;
}
.pwa-install-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: rgba(245, 245, 245, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.pwa-install-close:hover {
  color: #f5f5f5;
  background: rgba(255, 255, 255, 0.06);
}
@media (min-width: 640px) {
  .pwa-install-sheet {
    left: auto;
    right: 16px;
    bottom: 16px;
    max-width: 380px;
  }
}

/* =========================================================
   Mobile Responsive Deep-Pass (phone + tablet)
   ========================================================= */

/* Phone + tablet: enforce 44px tap targets on landing nav */
@media (max-width: 1024px) {
  .landing-nav-link,
  .landing-nav-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
  }
  .landing-logo {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Phone overrides for landing header and auth modal */
@media (max-width: 640px) {

  /* Auth modal on landing: ensure it never escapes the viewport */
  .auth-modal-overlay {
    padding: 16px;
    align-items: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .auth-modal {
    width: 100%;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 24px 20px;
    box-sizing: border-box;
  }
  .auth-modal-close {
    width: 40px;
    height: 40px;
  }
  .auth-modal-input,
  .auth-modal-submit,
  .auth-modal-google {
    min-height: 44px;
  }

  /* Landing search row should stay single-column on phone */
  .landing-search { width: 100%; box-sizing: border-box; }
  .landing-search-btn { min-width: 44px; min-height: 44px; }
}

/* Tablet: keep auth modal centered but constrained */
@media (min-width: 641px) and (max-width: 1024px) {
  .auth-modal {
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }
}

/* Phone + tablet: extra tap-target enforcement */
@media (max-width: 1024px) {
  .landing-search-btn,
  #heroSearchBtn {
    min-width: 44px !important;
    min-height: 44px !important;
    width: 44px !important;
    height: 44px !important;
  }
  .landing-hint {
    min-height: 44px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
  }
  .auth-modal-close {
    width: 40px !important;
    height: 40px !important;
  }
  .auth-modal-switch a,
  #authSwitchLink {
    display: inline-block;
    padding: 8px 4px;
    min-height: 36px;
  }
  .pwa-install-close {
    width: 44px !important;
    height: 44px !important;
  }
}

/* =================================================================
   CRO sections (added by Landing Hero Perf + CRO agent)
   - Value tiles
   - How it works (uses existing .steps-row .step-card)
   - Social proof scaffolding
   - Pricing teaser
   - FAQ accordion
   - Bottom CTA
   ================================================================= */

/* Landing is now a single-screen hero. Keep the marketing homepage fixed so
   the first impression is the product search, not a long-scroll brochure. */
body { overflow-y: hidden; }

/* Make sure new sections sit on a solid background so the fixed flythrough
   doesn't bleed through (and so CPU can rest while scrolled past). */
.cro-values,
.cro-how,
.cro-proof,
.cro-pricing,
.cro-faq,
.cro-cta {
  background: #0a0a0a;
}
.cro-values { padding-top: 120px; }

/* Value tiles ------------------------------------------------------ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.value-tile {
  padding: 28px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.value-tile:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.value-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  display: grid;
  place-items: center;
  color: #8b5cf6;
  margin-bottom: 18px;
}
.value-tile-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
  color: #fff;
}
.value-tile-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.1px;
}

/* How it works horizontal row ------------------------------------- */
.how-row {
  gap: 8px;
}

/* Social proof scaffolding ---------------------------------------- */
.cro-proof { padding: 64px 24px; }
.proof-line {
  text-align: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.2px;
  margin-bottom: 28px;
}
.proof-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.52);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.proof-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 40px;
}
.proof-logo {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.52);
  padding: 8px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  letter-spacing: -0.1px;
}

/* Pricing teaser --------------------------------------------------- */
.pricing-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.pricing-teaser-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  transition: background 200ms ease, border-color 200ms ease;
}
.pricing-teaser-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
}
.pricing-teaser-popular {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.08);
}
.pricing-teaser-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.pricing-teaser-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pricing-teaser-price {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1.2px;
  color: #fff;
  margin-bottom: 12px;
}
.pricing-teaser-per {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: -0.2px;
}
.pricing-teaser-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.1px;
}
.pricing-teaser-link-wrap {
  text-align: center;
  margin-top: 32px;
}
.pricing-teaser-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.pricing-teaser-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

/* FAQ accordion ---------------------------------------------------- */
.faq-inner { max-width: 760px; }
.inline-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 150ms ease, border-color 150ms ease;
}
.inline-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: border-color 200ms ease, background 200ms ease;
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}
.faq-item.open {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(139, 92, 246, 0.25);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.2px;
  text-align: left;
  cursor: pointer;
  min-height: 56px;
}
.faq-chevron {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.5);
  display: inline-flex;
  transition: transform 200ms ease, color 200ms ease;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: #8b5cf6;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: -0.1px;
  transition: max-height 240ms ease, padding 240ms ease;
}
.faq-item.open .faq-a {
  max-height: 320px;
  padding: 0 22px 20px;
}

/* Bottom CTA ------------------------------------------------------- */
.cro-cta { padding: 96px 24px 120px; }
.cta-inner { text-align: center; }
.cta-headline {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 10px;
}
.cta-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
  letter-spacing: -0.1px;
}
.cta-button {
  display: inline-block;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
  transition: transform 150ms ease, box-shadow 200ms ease, filter 150ms ease;
}
.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(139, 92, 246, 0.4);
  filter: brightness(1.05);
}
.cta-button:active { transform: scale(0.98); }

/* CRO responsive --------------------------------------------------- */
@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .pricing-teaser { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .how-row { flex-direction: column; align-items: stretch; }
  .how-row .step-connector { transform: rotate(90deg); padding: 4px 0; align-self: center; }
  .proof-logos { gap: 14px 18px; }
  .proof-logo { font-size: 12px; padding: 6px 12px; }
}
@media (max-width: 640px) {
  .cro-values { padding-top: 88px; }
  .faq-q { padding: 16px 18px; font-size: 14px; }
  .faq-item.open .faq-a { padding: 0 18px 18px; }
  .cta-button { width: 100%; max-width: 360px; padding: 16px 24px; }
}



/* ============================================================
   Accessibility utilities appended by a11y-audit agent.
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100000;
  padding: 10px 14px;
  background: #0b0b0d;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 8px;
  font: 600 13px/1 'Inter', system-ui, sans-serif;
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  outline: 2px solid rgba(255,255,255,0.8);
  outline-offset: 2px;
}

/* -----------------------------------------------------------------
   Hero social proof + trust strip (Q64 CRO)
   ----------------------------------------------------------------- */
.hero-scan-count {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: -0.1px;
}

.hero-quiz-link {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: -0.1px;
}

.hero-quiz-anchor {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 150ms ease;
}

.hero-quiz-anchor:hover {
  color: #ffffff;
}

.hero-trust-strip {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: -0.1px;
}

/* -----------------------------------------------------------------
   Mobile sticky CTA (Q64 CRO)
   ----------------------------------------------------------------- */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-sticky-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, rgba(10, 10, 10, 0.98) 60%, transparent);
    pointer-events: none;
    transition: opacity 250ms ease, transform 250ms ease;
  }

  .mobile-sticky-bar.hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
  }

  .mobile-sticky-bar.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-sticky-btn {
    display: block;
    width: 100%;
    padding: 15px 24px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
    transition: filter 150ms ease;
  }

  .mobile-sticky-btn:hover {
    filter: brightness(1.08);
  }
}
