/* sections-a: nav, hero, marquee, pain, how-it-works, bento */

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav.scrolled {
  background: rgba(255,255,255,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-light); box-shadow: var(--shadow-xs);
}
.brand { display: flex; align-items: center; font-weight: 700; color: var(--text-primary); }
.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.brand img { height: 50px; width: auto; }
.brand-byline {
  font-size: 10px; font-weight: 500; letter-spacing: 0.03em;
  color: var(--text-tertiary); line-height: 1; padding-left: 2px;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-secondary); transition: color .2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-md); color: var(--text-primary); }
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: var(--surface); border-bottom: 1px solid var(--border-light);
  padding: 20px 24px 28px; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-md); transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.mobile-menu.show { display: flex; opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { font-size: 17px; font-weight: 500; padding: 8px 0; color: var(--text-primary); }
.mobile-menu .btn { width: 100%; margin-top: 8px; }

/* Hero */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 72px));
  padding-bottom: 0;
  background: linear-gradient(180deg, #fff 0%, var(--background) 100%);
  overflow: hidden;
}
.hero-map-net {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .48;
  mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 90%);
}
.hero-map-svg { width: 100%; height: 100%; display: block; }
.hero-map-signals { opacity: .85; }
@media (prefers-reduced-motion: reduce) {
  .hero-map-signals, .hero-map-pulses, .hero-map-flow { visibility: hidden; }
}
.hero .aurora-indigo { top: -120px; left: -100px; z-index: 0; }
.hero .aurora-violet { top: 12%; right: -80px; z-index: 0; }
.hero-head {
  position: relative; z-index: 2;
  text-align: center;
  padding-bottom: clamp(36px, 5vw, 56px);
}
.hero-copy {
  width: 100%; max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-copy h1 { width: 100%; margin-bottom: 20px; max-width: 720px; }
.hero-copy .lead { width: 100%; max-width: 640px; margin: 0 auto; }
@media (min-width: 901px) {
  .hero-copy { max-width: 1200px; }
  .hero-copy h1 { max-width: none; font-size: clamp(40px, 5.5vw, 68px); }
  .hero-copy h1 br { display: none; }
  .hero-title-line { display: block; white-space: nowrap; }
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.hero-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; margin-top: 28px;
  font-size: 14px; color: var(--text-secondary);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }

.hero-stage {
  position: relative; z-index: 2;
  width: min(1280px, 94vw);
  margin: 0 auto;
  padding: 0 16px clamp(48px, 7vw, 88px);
}

/* Laptop mockup and platform highlights */
.hero-visual { position: relative; }
.hero-shot-wrap { position: relative; z-index: 2; width: min(100%, 1180px); margin: 0 auto; }
.hero-shot { display: block; width: 100%; height: auto; }
.hero-insights { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-insight {
  --accent: #4F46E5; --tint: #EEF2FF;
  position: absolute; display: flex; align-items: center; gap: 9px;
  max-width: 260px; padding: 9px 13px;
  background: rgba(255,255,255,.97); border: 1px solid var(--border-light);
  border-radius: 14px; box-shadow: var(--shadow-md);
  color: var(--text-primary); font-size: 13px; font-weight: 600; line-height: 1.3;
  white-space: nowrap;
}
.hero-insight-icon {
  flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 9px; background: var(--tint); color: var(--accent);
}
.hero-insight-icon svg { width: 18px; height: 18px; }
.hi-status { --accent: #16A34A; --tint: #DCFCE7; top: 3%; right: 5%; }
.hi-reviews { --accent: #D97706; --tint: #FEF3C7; bottom: 7%; left: 4%; }
.hi-posts { --accent: #4F46E5; --tint: #EEF2FF; top: 25%; left: 0; }
.hi-audit { --accent: #E11D48; --tint: #FFE4E6; top: 34%; right: 0; }
.hi-bulk { --accent: #0891B2; --tint: #CFFAFE; bottom: 32%; left: 0; }
.hi-analytics { --accent: #7C3AED; --tint: #F3E8FF; bottom: 24%; right: 0; }

/* Marquee */
.marquee-band {
  background: var(--surface); border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light); padding: 56px 0 44px; overflow: hidden;
}
.marquee-title {
  font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.3; text-align: left; max-width: 520px; margin-bottom: 40px;
}
.marquee-wrap { position: relative; }
.marquee-wrap::before, .marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(270deg, var(--surface), transparent); }
.marquee-row { display: flex; gap: 16px; width: max-content; margin-bottom: 14px; }
.marquee-row:last-child { margin-bottom: 0; }
.marquee-row.left { animation: marquee-left 70s linear infinite; }
.marquee-row.right { animation: marquee-right 70s linear infinite; }
.marquee-row:hover { animation-play-state: paused; }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.eyebrow-warm { background: #FEF3C7; color: #B45309; }

/* Pain */
.pain { position: relative; background: var(--background); }
.pain-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 600px 300px at 50% 0%, rgba(79, 70, 229, 0.05), transparent 70%);
}
.pain .container { position: relative; z-index: 1; }
.pain-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.pain-card {
  --c: var(--primary); --c-bg: var(--primary-light);
  position: relative; display: flex; gap: 20px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--r-xl);
  padding: 30px; box-shadow: var(--shadow-xs);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pain-card--hours { --c: #EF4444; --c-bg: #FEE2E2; }
.pain-card--reviews { --c: #F59E0B; --c-bg: #FEF3C7; }
.pain-card--google { --c: #E11D48; --c-bg: #FFE4E6; }
.pain-card--apple { --c: #3B82F6; --c-bg: #DBEAFE; }
.pain-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--c) 30%, var(--border-light));
}
.pain-icon {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: var(--r-md);
  display: grid; place-items: center; background: var(--c-bg); color: var(--c);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.pain-icon svg { width: 26px; height: 26px; }
.pain-card:hover .pain-icon { background: var(--c); color: #fff; transform: scale(1.06); }
.pain-body { min-width: 0; }
.pain-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c); margin-bottom: 10px;
}
.pain-kicker::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c);
}
.pain-card h3 {
  font-size: clamp(17px, 1.6vw, 19px); font-weight: 700; line-height: 1.35;
  margin-bottom: 10px; color: var(--text-primary);
}
.pain-card p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.65; }
.pain-bridge {
  margin-top: 44px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.pain-bridge-text {
  max-width: 640px; margin: 0 auto;
  font-size: clamp(17px, 2vw, 20px); font-weight: 600; color: var(--text-primary);
  line-height: 1.5;
}
.pain-bridge-text strong {
  font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* How it works */
.how { background: var(--surface); }
.steps-wrap { position: relative; }
.steps-connector {
  position: absolute; top: 52px; left: 12%; right: 12%; height: 2px; z-index: 0;
  overflow: visible; pointer-events: none;
}
.steps-connector path {
  fill: none; stroke: var(--border); stroke-width: 2; stroke-dasharray: 8 6;
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; }
.step {
  padding: 28px 22px; background: var(--background); border: 1px solid var(--border-light);
  border-radius: var(--r-xl); text-align: center;
}
.step-num {
  width: 48px; height: 48px; border-radius: var(--r-full); margin: 0 auto 18px;
  display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #fff;
  background: var(--gradient); box-shadow: 0 0 0 4px var(--primary-light);
}
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Bento */
.bento {
  display: grid; gap: 20px; align-items: stretch;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.bento-card {
  background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--r-xl);
  padding: 28px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s; overflow: hidden;
  min-width: 0;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bento-card .ico-chip { margin-bottom: 18px; }
.bento-card h3 { font-size: 18px; margin-bottom: 8px; }
.bento-card > p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.bento-card .vignette { margin-top: 22px; flex-shrink: 0; }
.bento-listings .vignette,
.bento-reviews .vignette { width: 100%; flex: 1; display: flex; flex-direction: column; min-height: 0; }
/* Row 1: 7 + 5 | Row 2: 4 + 4 + 4 | Row 3: 6 + 6 */
.bento-listings { grid-column: 1 / span 7; }
.bento-reviews { grid-column: 8 / span 5; }
.bento-posts { grid-column: 1 / span 4; }
.bento-analytics { grid-column: 5 / span 4; }
.bento-audit { grid-column: 9 / span 4; }
.bento-reports { grid-column: 1 / span 6; }
.bento-bulk { grid-column: 7 / span 6; }
.bento-listings .listing-editor-demo {
  border: 1px solid var(--border-light); border-radius: var(--r-md);
  background: var(--secondary); overflow: hidden;
}
.led-tabs {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 10px 10px 0;
  border-bottom: 1px solid var(--border-light); background: var(--surface);
}
.led-tab {
  border: none; background: transparent; color: var(--text-secondary);
  font: 600 11px/1 'Figtree', sans-serif; padding: 8px 12px;
  border-radius: var(--r-sm) var(--r-sm) 0 0; cursor: pointer;
  transition: color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.led-tab:hover { color: var(--text-primary); }
.led-tab.active {
  color: var(--primary); background: var(--secondary);
  box-shadow: inset 0 -2px 0 var(--primary);
  transform: translateY(-1px);
}
.led-panels {
  position: relative; min-height: 260px; padding: 14px;
}
.led-panel {
  position: absolute; left: 14px; right: 14px; top: 14px;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .45s cubic-bezier(.4, 0, .2, 1), transform .45s cubic-bezier(.4, 0, .2, 1), visibility .45s;
  pointer-events: none; z-index: 1;
}
.led-panel.active {
  opacity: 1; visibility: visible; transform: none;
  pointer-events: auto; z-index: 2;
}
.led-panel-head { margin-bottom: 12px; }
.led-panel-head b { display: block; font-size: 13px; color: var(--text-primary); }
.led-panel-head span { font-size: 11px; color: var(--text-tertiary); }
.led-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.led-field {
  display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px;
  padding: 8px 10px; background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--r-sm);
}
.led-field label { font-size: 10px; font-weight: 600; color: var(--text-secondary); }
.led-field i { font-size: 11px; color: var(--text-primary); font-style: normal; line-height: 1.4; }
.led-status {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px; background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--r-sm);
  font-size: 11px; color: var(--text-secondary);
}
.led-pill {
  font-size: 10px; font-weight: 700; font-style: normal; padding: 3px 8px; border-radius: var(--r-full);
  background: var(--border-light); color: var(--text-secondary);
}
.led-pill--ok { background: var(--success-light); color: #15803D; }
.led-pill--muted { background: transparent; color: var(--text-tertiary); }
.led-hours-list { display: grid; gap: 6px; }
.led-hours-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px; background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--r-sm);
  font-size: 11px;
}
.led-hours-row span { font-weight: 600; color: var(--text-primary); }
.led-hours-row i { font-style: normal; color: var(--text-secondary); }
.led-progress { margin-bottom: 10px; padding: 10px; background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--r-sm); }
.led-progress span { font-size: 10px; font-weight: 600; color: var(--text-secondary); }
.led-progress i { float: right; font-size: 10px; font-style: normal; color: var(--text-tertiary); }
.led-bar { clear: both; margin-top: 8px; height: 6px; background: var(--border-light); border-radius: var(--r-full); overflow: hidden; }
.led-bar b { display: block; height: 100%; background: var(--primary); border-radius: inherit; }
.led-accordion { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--r-sm); overflow: hidden; }
.led-accordion-head {
  display: flex; justify-content: space-between; padding: 8px 10px;
  font-size: 11px; font-weight: 700; color: var(--text-primary); border-bottom: 1px solid var(--border-light);
}
.led-accordion-head em { font-size: 10px; font-style: normal; color: var(--text-tertiary); font-weight: 600; }
.led-attr-row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 7px 10px; font-size: 10px; color: var(--text-secondary); border-bottom: 1px solid var(--border-light);
}
.led-attr-row:last-child { border-bottom: none; }
.led-actions { display: flex; gap: 6px; margin-bottom: 10px; }
.led-btn {
  font-size: 10px; font-weight: 600; padding: 6px 10px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--surface); color: var(--text-primary);
}
.led-btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.led-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.led-tags em {
  font-size: 9px; font-style: normal; font-weight: 600; padding: 4px 8px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border-light); color: var(--text-secondary);
}
.led-tags em.active { background: var(--primary-light); border-color: #C7D2FE; color: var(--primary); }
.led-upload {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 72px;
  border: 1.5px dashed var(--border); border-radius: var(--r-sm); background: var(--surface);
  font-size: 10px; color: var(--text-tertiary);
}
.led-upload svg { width: 18px; height: 18px; flex-shrink: 0; }
.led-toggle-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px; margin-bottom: 6px; background: var(--surface);
  border: 1px solid var(--border-light); border-radius: var(--r-sm); font-size: 11px; color: var(--text-primary);
}
.led-switch {
  width: 32px; height: 18px; border-radius: var(--r-full); background: var(--border);
  position: relative; flex-shrink: 0;
}
.led-switch::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; transition: transform .2s;
}
.led-switch.on { background: var(--primary); }
.led-switch.on::after { transform: translateX(14px); }

/* CSS vignettes */
.vignette-alerts {
  display: grid; gap: 8px; background: var(--secondary); border: 1px solid var(--border-light);
  border-radius: var(--r-md); padding: 12px;
}
.valert-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px;
  background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--r-sm);
}
.valert-item > i {
  width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex-shrink: 0;
}
.valert-item--warn > i { background: var(--warning); box-shadow: 0 0 0 3px var(--warning-light); }
.valert-item--danger > i { background: var(--danger); box-shadow: 0 0 0 3px var(--danger-light); }
.valert-item--info > i { background: var(--info); box-shadow: 0 0 0 3px var(--info-light); }
.valert-item b { display: block; font-size: 12px; color: var(--text-primary); line-height: 1.3; }
.valert-item span { display: block; font-size: 11px; color: var(--text-secondary); margin-top: 2px; }

@media (max-width: 1199px) {
  .hero-stage { width: min(100%, 1100px); }
  .hero-insights {
    position: relative; inset: auto; display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
    max-width: 920px; margin: 12px auto 0; pointer-events: auto;
  }
  .hero-insight {
    position: static; max-width: none; min-width: 0;
    white-space: normal; transform: none !important;
  }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps-connector { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: grid; }
  .bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .bento-listings { grid-column: 1 / span 4; }
  .bento-reviews { grid-column: 5 / span 2; }
  .bento-posts { grid-column: 1 / span 2; }
  .bento-analytics { grid-column: 3 / span 2; }
  .bento-audit { grid-column: 5 / span 2; }
  .bento-reports { grid-column: 1 / span 3; }
  .bento-bulk { grid-column: 4 / span 3; }
}
@media (max-width: 640px) {
  .hero-copy .eyebrow { max-width: 100%; text-align: center; justify-content: center; }
  .hero-copy h1 { font-size: clamp(36px, 9vw, 48px); }
  .hero-actions { width: 100%; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { width: 100%; flex-direction: column; align-items: center; gap: 8px; }
  .hero-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .hero-insight { padding: 8px 9px; font-size: 12px; }
  .hero-insight-icon { flex-basis: 24px; width: 24px; height: 24px; }
  .hero-insight-icon svg { width: 16px; height: 16px; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-bridge-text { padding: 0 8px; }
  .bento { grid-template-columns: 1fr; }
  .bento-listings, .bento-reviews, .bento-posts, .bento-analytics,
  .bento-audit, .bento-reports, .bento-bulk { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .marquee-row { animation-duration: 90s; }
}
@media (max-width: 480px) {
  .hero-stage { padding-left: 8px; padding-right: 8px; }
}
