/* ============================================================
   Shopreviews.com — Shared Stylesheet
   ============================================================ */

/* ---- Variables ---- */
:root {
  --red:        #FB3B39;
  --navy:       #1E204F;
  --light-bg:   #FAFAFB;
  --border:     #F1F1F4;
  --muted:      #5A5C7A;
  --text-muted: #52525B;
  --dark-bg:    #0B0B11;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --max-w:      1280px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html {
  background:
    radial-gradient(ellipse 900px 700px at 12% 0%, rgba(251,59,57,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 700px 600px at 88% 8%,  rgba(30,32,79,0.055) 0%, transparent 65%),
    radial-gradient(ellipse 800px 700px at 55% 55%, rgba(251,59,57,0.038) 0%, transparent 65%),
    radial-gradient(ellipse 600px 500px at 5%  88%, rgba(30,32,79,0.04)  0%, transparent 65%),
    #fff;
  background-attachment: fixed;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--navy);
  background: transparent;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(251,59,57,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(251,59,57,0.45);
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #E4E4E7;
  transition: border-color 0.15s;
}
.btn-secondary:hover { border-color: var(--navy); }
.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid rgba(241,241,244,0.8);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { height: 48px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: #3F3F46;
}
.nav-links a {
  text-decoration: none;
  color: #3F3F46;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); font-weight: 600; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-signin {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #27272A;
  padding: 8px 12px;
}
.nav-cta {
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(251,59,57,0.35);
  transition: transform 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); }

/* Sources dropdown */
.sources-dropdown {
  position: relative;
}
.sources-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #3F3F46;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  transition: color 0.15s;
}
.sources-btn:hover { color: var(--red); }
.sources-btn svg { transition: transform 0.15s; }
.sources-btn.open svg { transform: rotate(180deg); }
.sources-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(30,32,79,0.14);
  padding: 10px;
  width: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.15s, transform 0.15s;
}
.sources-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.sources-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.12s;
}
.sources-menu-item:hover { background: var(--light-bg); }
.sources-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--light-bg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 5px;
}
.sources-icon-wrap img { max-width: 100%; max-height: 100%; }
.sources-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.sources-desc { font-size: 11px; color: var(--muted); }
.sources-footer {
  grid-column: span 2;
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 6px;
}
.sources-footer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.12s;
}
.sources-footer a:hover { background: var(--light-bg); }

/* Mobile menu toggle */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--navy);
}

/* ================================================================
   BREADCRUMB
   ================================================================ */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 32px 0;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .current { color: var(--navy); font-weight: 600; }

/* ================================================================
   EYEBROW / BADGE
   ================================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251,59,57,0.09);
  color: var(--red);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--red);
  animation: pulse 2s ease-in-out infinite;
}

/* ================================================================
   HOMEPAGE HERO
   ================================================================ */
.hero {
  background: transparent;
  padding: 100px 0 88px;
  overflow: hidden;
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.hero-eyebrow-wrap { display: flex; justify-content: center; margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -2.5px;
  font-weight: 800;
  text-align: center;
  margin: 0 auto 26px;
  max-width: 1100px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--red); }
.hero-sub {
  font-size: 20px;
  color: var(--text-muted);
  text-align: center;
  max-width: 660px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-trust {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 64px;
}

/* Three-column visual */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  background: var(--light-bg);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  border: 1px solid var(--border);
  position: relative;
  min-height: 460px;
}
.hero-col-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Left col: scattered sources */
.hero-left { position: relative; }
.hero-left-content { position: relative; height: 440px; }
.platform-bubble {
  position: absolute;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  padding: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.platform-bubble img { display: block; object-fit: contain; }
.messy-card {
  position: absolute;
  width: 232px;
  background: #fff;
  border-radius: 12px;
  padding: 13px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.messy-card.featured {
  border: 2px solid var(--red);
  box-shadow: 0 12px 32px rgba(251,59,57,0.15);
}
.messy-card-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}
.messy-card-header img { width: 16px; height: 16px; object-fit: contain; }
.featured-badge {
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.messy-card-text { font-size: 11px; line-height: 1.4; color: var(--navy); margin-bottom: 7px; }
.messy-card-author { font-size: 10px; color: var(--muted); font-weight: 500; }

/* Stars */
.stars { display: inline-flex; gap: 2px; }
.star { color: #FFB800; font-size: 11px; }
.star.empty { color: #E5E7EB; }

/* Middle col: pipeline */
.hero-pipeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.pipeline-line-top {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, transparent, rgba(251,59,57,0.3));
}
.pipeline-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
}
.pipeline-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(251,59,57,0.4);
  animation: bob 3s ease-in-out infinite;
  flex-shrink: 0;
}
.pipeline-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--red);
  text-transform: uppercase;
}
.pipeline-steps {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.2px;
}
.pipeline-line-bottom {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.pipeline-line-bottom-bar {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, rgba(251,59,57,0.3), var(--red));
}
.pipeline-arrow { display: block; margin-top: -1px; }

/* Right col: unified widget */
.widget-preview {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(0,0,0,0.07);
}
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--border);
}
.widget-score { font-size: 24px; font-weight: 800; color: var(--navy); }
.widget-score-sub { font-size: 11px; color: var(--muted); margin-top: 3px; }
.widget-badge {
  background: var(--red);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.widget-platforms {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}
.widget-platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F4F4F5;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: var(--navy);
}
.widget-platform-tag img { width: 12px; height: 12px; object-fit: contain; }
.widget-review {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.widget-review:last-child { border-bottom: none; }
.widget-review-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}
.widget-review-header img { width: 14px; height: 14px; object-fit: contain; }
.widget-review-date { margin-left: auto; font-size: 10px; color: var(--muted); }
.widget-review-text { font-size: 11px; line-height: 1.4; color: var(--navy); margin-bottom: 3px; }
.widget-review-author { font-size: 10px; color: var(--muted); font-weight: 500; }

/* Google ribbon */
.google-ribbon {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.google-ribbon-inner {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.google-ribbon-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 3px rgba(251,59,57,0.2);
}
.google-ribbon-icon img { width: 20px; height: 20px; object-fit: contain; }
.google-ribbon-title { font-size: 14px; font-weight: 600; color: var(--navy); }
.google-ribbon-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
}
.google-ribbon-sub { font-size: 12px; color: var(--text-muted); }

/* ================================================================
   STATS SECTION
   ================================================================ */
.stats {
  background: rgba(250,250,251,0.75);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-item {
  border-left: 2px solid var(--border);
  padding-left: 20px;
}
.stat-item.accent { border-left-color: var(--red); }
.stat-value {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--navy);
  line-height: 1;
}
.stat-item.accent .stat-value { color: var(--red); }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 8px; font-weight: 500; }

/* ================================================================
   PILLAR CARDS (Home)
   ================================================================ */
.pillars { background: transparent; padding: 120px 0; }
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: -1.8px;
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 20px;
  text-wrap: balance;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}
.pillars-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.pillars-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.pillar-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(30,32,79,0.1);
}
.pillar-card.featured {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 44px;
}
.pillar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.pillar-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 10px;
  text-wrap: balance;
}
.pillar-card.featured .pillar-title { font-size: 30px; letter-spacing: -1.2px; }
.pillar-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.pillar-card.featured .pillar-desc { color: #A1A1AA; }
.pillar-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}
.pillar-card.featured .pillar-link { color: #fff; }
.pillar-art { flex-shrink: 0; }

/* Pricing art */
.pricing-art {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.pricing-art-from { font-size: 11px; font-weight: 600; color: var(--muted); }
.pricing-art-price { font-size: 26px; font-weight: 800; letter-spacing: -1px; color: var(--red); line-height: 1; }
.pricing-art-per { font-size: 10px; color: var(--muted); }

/* Integration art grid */
.int-art-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  width: 90px;
  height: 90px;
}
.int-art-cell {
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

/* Builder art */
.builder-art {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.builder-art-bar { height: 5px; background: var(--red); border-radius: 3px; width: 65%; }
.builder-art-line { height: 4px; background: #E4E4E7; border-radius: 2px; }
.builder-art-line.short { width: 82%; }
.builder-art-dots { display: flex; gap: 4px; margin-top: 4px; }
.builder-art-dot { width: 13px; height: 13px; border-radius: 999px; }
.builder-art-cta { margin-top: auto; height: 16px; background: var(--navy); border-radius: 4px; }

/* Product art (featured pillar) */
.product-art {
  width: 220px;
  height: 130px;
  position: relative;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  flex-shrink: 0;
}
.product-art-row {
  position: absolute;
  height: 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
}
.product-art-dot { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; }
.product-art-line { height: 3px; flex: 1; background: rgba(255,255,255,0.2); border-radius: 2px; }
.product-art-logo {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(251,59,57,0.45);
}

/* ================================================================
   USP GRID
   ================================================================ */
.usp { background: transparent; padding: 0 0 120px; }
.usp-inner {
  max-width: calc(var(--max-w) - 64px);
  margin: 0 auto;
  background: rgba(250,250,251,0.8);
  border-radius: 28px;
  padding: 72px 64px;
  border: 1px solid var(--border);
}
.usp-header { text-align: center; margin-bottom: 52px; }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.usp-item { display: flex; gap: 14px; }
.usp-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.usp-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.usp-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ================================================================
   PAGE HERO (subpages)
   ================================================================ */
.page-hero {
  background: transparent;
  padding: 52px 0 88px;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.page-hero-inner.with-art {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.page-hero h1 {
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.04;
  letter-spacing: -2px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--navy);
  text-wrap: balance;
}
.page-hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 540px;
  text-wrap: pretty;
}
.page-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ================================================================
   PRODUCT PAGE
   ================================================================ */
.merge-diagram {
  background: var(--light-bg);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--border);
}
.merge-grid {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  gap: 16px;
  align-items: center;
}
.merge-source-row {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.merge-source-row:last-child { margin-bottom: 0; }
.merge-source-row img { width: 18px; height: 18px; object-fit: contain; }
.merge-source-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.merge-source-status { margin-left: auto; font-size: 10px; color: var(--muted); font-weight: 500; }
.merge-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
}
.merge-mid-line-top { width: 2px; height: 60px; background: linear-gradient(to bottom, transparent, rgba(251,59,57,0.3)); }
.merge-mid-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(251,59,57,0.4);
}
.merge-mid-line-bottom { width: 2px; height: 60px; background: linear-gradient(to bottom, rgba(251,59,57,0.3), transparent); }
.merge-result {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(30,32,79,0.06);
}
.merge-result-score { font-size: 22px; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.merge-result-sub { font-size: 11px; color: var(--muted); margin: 4px 0 14px; }
.merge-review-row {
  padding: 9px 0;
  border-top: 1px solid var(--border);
}
.merge-review-row-header { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.merge-review-row-header img { width: 12px; height: 12px; object-fit: contain; }
.merge-review-text { font-size: 11px; color: var(--navy); line-height: 1.4; }

/* How it works steps */
.steps { background: transparent; padding: 48px 0 104px; }
.steps-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.steps-header { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.step-row:first-child { border-top: none; }
.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251,59,57,0.09);
  color: var(--red);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.step-title { font-size: 30px; letter-spacing: -1px; font-weight: 800; margin-bottom: 14px; color: var(--navy); line-height: 1.15; }
.step-desc { font-size: 16px; color: var(--text-muted); line-height: 1.6; }
.step-platforms-grid {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.step-platform-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.step-platform-card.connected { border-color: var(--red); box-shadow: 0 0 0 2px rgba(251,59,57,0.15); }
.step-platform-card img { width: 22px; height: 22px; object-fit: contain; }
.step-platform-name { font-size: 10px; font-weight: 600; color: var(--navy); text-align: center; }
.step-platform-status { font-size: 9px; color: var(--red); font-weight: 700; }
.step-terminal {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 22px;
  font-family: ui-monospace, 'Fira Code', monospace;
  font-size: 12px;
  line-height: 1.75;
}
.step-terminal .comment { color: #A1A1AA; }
.step-terminal .ok { color: #10B981; }
.step-terminal .warn { color: #FBBF24; }
.step-terminal .err { color: #EF4444; }
.step-terminal strong { color: var(--red); }

/* Feature grid */
.feature-grid { background: transparent; padding: 100px 0; }
.feature-grid-header { text-align: center; max-width: 640px; margin: 0 auto 48px; padding: 0 32px; }
.feature-cards {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-card:hover { box-shadow: 0 12px 36px rgba(30,32,79,0.09); transform: translateY(-2px); }
.feature-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(251,59,57,0.1);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
}
.feature-card-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.feature-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ================================================================
   PRICING PAGE
   ================================================================ */
.pricing-tiers { background: transparent; padding: 24px 0 104px; }
.pricing-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tier-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.tier-card.featured {
  background: var(--navy);
  color: #fff;
  border: none;
  box-shadow: 0 24px 60px rgba(30,32,79,0.18);
}
.tier-popular {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--red);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.tier-name { font-size: 13px; font-weight: 600; color: #71717A; margin-bottom: 6px; }
.tier-card.featured .tier-name { color: #A1A1AA; }
.tier-price { font-size: 48px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; }
.tier-per { font-size: 14px; color: #71717A; }
.tier-card.featured .tier-per { color: #A1A1AA; }
.tier-desc { font-size: 14px; color: #71717A; margin: 6px 0 24px; }
.tier-card.featured .tier-desc { color: #A1A1AA; }
.tier-cta {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  margin-bottom: 24px;
  transition: opacity 0.15s;
}
.tier-cta:hover { opacity: 0.88; }
.tier-card:not(.featured) .tier-cta {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid #E4E4E7;
}
.tier-card.featured .tier-cta {
  background: var(--red);
  color: #fff;
  border: none;
}
.tier-features { display: flex; flex-direction: column; gap: 10px; }
.tier-feature { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.tier-feature-check { color: var(--red); font-weight: 600; }

/* Comparison table */
.comparison { background: transparent; padding: 100px 0; }
.comparison-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.comparison h2 { font-size: 32px; letter-spacing: -1px; font-weight: 800; margin-bottom: 32px; text-align: center; }
.comparison-table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table thead tr { background: var(--light-bg); }
.comparison-table th {
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.comparison-table th:first-child { text-align: left; }
.comparison-table th:not(:first-child) { text-align: center; }
.comparison-table th.col-featured { color: var(--red); font-size: 13px; }
.comparison-table td { padding: 14px 20px; font-size: 14px; border-top: 1px solid var(--border); }
.comparison-table td:first-child { color: var(--navy); font-weight: 500; }
.comparison-table td:not(:first-child) { text-align: center; color: var(--text-muted); }
.comparison-table td.col-featured { color: var(--navy); font-weight: 600; background: rgba(251,59,57,0.03); }

/* FAQ */
.faq { background: rgba(250,250,251,0.75); padding: 100px 0; border-top: 1px solid var(--border); }
.faq-inner { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.faq-header { text-align: center; margin-bottom: 32px; }
.faq-tag { font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.faq-title { font-size: 32px; letter-spacing: -1px; font-weight: 800; color: var(--navy); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 26px;
}
.faq-item summary {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { font-size: 20px; color: var(--muted); flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-answer { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-top: 12px; }

/* ================================================================
   INTEGRATIONS PAGE
   ================================================================ */
.integrations-grid-section { background: transparent; padding: 48px 0 104px; }
.integrations-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.integration-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.integration-card:hover { box-shadow: 0 12px 36px rgba(30,32,79,0.09); transform: translateY(-2px); }
.integration-card-header { display: flex; align-items: center; gap: 11px; }
.integration-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.integration-name { font-size: 16px; font-weight: 700; color: var(--navy); }
.integration-cat { font-size: 11px; color: var(--muted); font-weight: 500; }
.integration-popular {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  background: #FFF1F1;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}
.integration-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; flex: 1; }
.integration-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s;
}
.integration-link:hover { gap: 7px; }

/* Install steps */
.install-section {
  background: rgba(250,250,251,0.75);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.install-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.install-steps { display: flex; flex-direction: column; gap: 22px; }
.install-step { display: flex; gap: 16px; }
.install-step-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.install-step-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.install-step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.shopify-mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(30,32,79,0.08);
  overflow: hidden;
}
.shopify-mockup-header {
  background: #95BF47;
  padding: 10px 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.shopify-s {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #fff;
  color: #95BF47;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
}
.shopify-mockup-body { padding: 20px; }
.shopify-app-name { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.shopify-app-sub { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.shopify-add-btn {
  width: 100%;
  padding: 12px;
  background: #95BF47;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 16px;
  font-family: inherit;
}
.shopify-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.shopify-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--light-bg);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

/* ================================================================
   RELATED PAGES (footer nav)
   ================================================================ */
.related {
  background: rgba(250,250,251,0.75);
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.related-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.related-eyebrow { font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.related-title { font-size: 32px; letter-spacing: -1px; font-weight: 800; margin-bottom: 32px; color: var(--navy); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 24px 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(30,32,79,0.08);
}
.related-card-title { font-size: 17px; font-weight: 700; color: var(--navy); }
.related-card-desc { font-size: 14px; color: var(--text-muted); }
.related-card-link {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ================================================================
   FOOTER CTA
   ================================================================ */
.footer-cta {
  background: transparent;
  color: var(--navy);
  padding: 120px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, rgba(251,59,57,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 10% 50%,  rgba(30,32,79,0.04)  0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 90% 40%,  rgba(251,59,57,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.footer-cta h2 {
  font-size: clamp(36px, 4.5vw, 54px);
  letter-spacing: -1.8px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--navy);
}
.footer-cta h2 .accent { color: var(--red); }
.footer-cta-sub { font-size: 17px; color: var(--text-muted); max-width: 580px; margin: 0 auto 32px; line-height: 1.65; }
.footer-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #D4D4D8;
  transition: border-color 0.15s;
}
.btn-ghost:hover { border-color: var(--navy); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: transparent;
  color: var(--muted);
  padding: 72px 0 36px;
  font-size: 13px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 52px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--red);
  display: grid;
  place-items: center;
}
.footer-brand-name { font-size: 16px; font-weight: 700; color: var(--navy); }
.footer-tagline { font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 260px; }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--navy); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

/* ================================================================
   WIDGET BUILDER PAGE
   ================================================================ */
.builder-section { background: #fff; padding: 32px 0 80px; }
.builder-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.builder-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: start;
}
.builder-controls {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: sticky;
  top: 88px;
}
.builder-controls-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.control-group { margin-bottom: 20px; }
.control-label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.control-options { display: flex; flex-wrap: wrap; gap: 6px; }
.control-chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.control-chip.active { border-color: var(--red); color: var(--red); }
.embed-snippet {
  background: var(--navy);
  color: #A1A1AA;
  border-radius: 10px;
  padding: 14px 16px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 20px;
  position: relative;
}
.embed-snippet code { color: #10B981; }
.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.builder-preview {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}
.builder-preview-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ================================================================
   GOOGLE REVIEW WIDGET SOURCE PAGE
   ================================================================ */
.source-features { background: var(--light-bg); padding: 80px 0; border-top: 1px solid var(--border); }
.source-features-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.source-feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 16px;
}
.source-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(251,59,57,0.09);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.source-feature-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.source-feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes float0 {
  0%, 100% { transform: translate(0,0) rotate(-2deg); }
  50%       { transform: translate(4px,-8px) rotate(2deg); }
}
@keyframes float1 {
  0%, 100% { transform: translate(0,0) rotate(3deg); }
  50%       { transform: translate(-5px,-10px) rotate(-3deg); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0) rotate(-1deg); }
  50%       { transform: translate(6px,-6px) rotate(4deg); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .pillar-card.featured { grid-column: 1 / span 2; grid-row: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { display: block; }
  .hero-pipeline { display: none; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-inner { padding: 0 16px; }
  .nav-signin { display: none; }
  .hero { padding: 48px 20px 40px; }
  .hero h1 { font-size: clamp(36px, 10vw, 56px); letter-spacing: -1.5px; }
  .hero-sub { font-size: 17px; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-value { font-size: 36px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-card.featured { grid-column: auto; grid-row: auto; }
  .usp-grid { grid-template-columns: 1fr; }
  .usp-inner { padding: 36px 24px; }
  .page-hero-inner.with-art { grid-template-columns: 1fr; }
  .page-hero-inner.with-art > :last-child { display: none; }
  .step-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-cards { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .comparison-table-wrap { overflow-x: auto; }
  .integrations-grid { grid-template-columns: 1fr 1fr; }
  .install-inner { grid-template-columns: 1fr; }
  .install-inner > :last-child { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .builder-layout { grid-template-columns: 1fr; }
  .source-features-grid { grid-template-columns: 1fr; }
  .merge-grid { grid-template-columns: 1fr; }
  .merge-mid { display: none; }
  .footer-cta { padding: 64px 20px; }
  .breadcrumb { padding: 16px 20px 0; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { text-align: center; }
  .footer-cta-actions { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   Language Switcher
   ============================================================ */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.lang-btn:hover {
  background: var(--light-bg);
  border-color: #C4C5D4;
}
.lang-globe {
  color: var(--muted);
  flex-shrink: 0;
}
.lang-code {
  letter-spacing: 0.5px;
}

/* Dropdown panel */
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 5px;
  min-width: 164px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 300;
}
.lang-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

/* Individual language option */
.lang-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.1s;
  position: relative;
}
.lang-option:hover {
  background: var(--light-bg);
}
.lang-option[aria-current="true"],
.lang-option.active {
  font-weight: 700;
  background: var(--light-bg);
  color: var(--navy);
}
.lang-flag {
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}
.lang-name {
  flex: 1;
}
.lang-check {
  color: var(--red);
  opacity: 0;
  flex-shrink: 0;
}
.lang-option.active .lang-check {
  opacity: 1;
}

/* Mobile: left-align dropdown */
@media (max-width: 768px) {
  .lang-menu {
    right: auto;
    left: 0;
    transform-origin: top left;
  }
}
/* Hide lang code on small screens, only show globe icon */
@media (max-width: 480px) {
  .lang-code { display: none; }
}
/* Hide lang switcher text on very small screens */
@media (max-width: 380px) {
  .lang-name { display: none; }
  .lang-menu { min-width: 120px; }
}

/* ============================================================
   Legal Pages
   ============================================================ */
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.legal-doc {
  color: var(--navy);
}
.legal-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal-updated {
  font-size: 13px;
  color: var(--muted);
}
.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 10px;
}
.legal-doc h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin: 40px 0 12px;
  padding-top: 8px;
}
.legal-doc h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 8px;
}
.legal-doc p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #3A3C5E;
  margin-bottom: 14px;
}
.legal-doc ul,
.legal-doc ol {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}
.legal-doc li {
  font-size: 14.5px;
  line-height: 1.75;
  color: #3A3C5E;
  margin-bottom: 4px;
}
.legal-doc a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-doc strong {
  color: var(--navy);
  font-weight: 700;
}
.legal-doc .legal-intro {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 40px;
}
.legal-info-box {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}
.legal-info-box p {
  margin: 0;
  font-size: 13.5px;
}
/* Cookie / sub-processor table */
.legal-table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.legal-table th {
  background: var(--light-bg);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
  color: #3A3C5E;
}
.legal-table tr:last-child td {
  border-bottom: none;
}
.legal-toc {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 40px;
}
.legal-toc p {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin: 0 0 12px;
}
.legal-toc ol {
  list-style: decimal;
  margin: 0;
}
.legal-toc li {
  font-size: 13.5px;
  margin-bottom: 4px;
  color: var(--navy);
}
.legal-toc a {
  color: var(--navy);
  text-decoration: none;
}
.legal-toc a:hover {
  color: var(--red);
  text-decoration: underline;
}
