/* ============================================================
   Evoris — Global Design System
   White/gold + dark text. Inter font. Scroll animations.
   ============================================================ */
:root {
  --bg:      #FFFFFF;
  --bg2:     #F5F5F5;
  --bg3:     #F0F0F0;
  --bg-subtle: #EBEBEB;
  --surface: rgba(0,0,0,0.03);
  --card:    rgba(0,0,0,0.04);
  --card2:   rgba(0,0,0,0.06);
  --border:  rgba(0,0,0,0.08);
  --border2: rgba(0,0,0,0.12);
  --border-gold: rgba(212,175,55,0.20);
  --text:    #0A0A0A;
  --muted:   rgba(0,0,0,0.65);
  --muted2:  rgba(0,0,0,0.45);
  --accent:  #D4AF37;
  --accent2: #D4AF37;
  --accent-bright: #E8C847;
  --accent-gradient: linear-gradient(135deg, #D4AF37, #E8C847, #D4AF37);
  --accent-glow: rgba(212,175,55,0.15);
  --radius:  14px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow:  0 1px 2px rgba(0,0,0,0.4);
  --shadow2: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-gold: 0 4px 20px rgba(212,175,55,0.1);
  --max:     1100px;
  --font:    'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(rgba(0,0,0,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.012) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px;
  background-attachment: fixed;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
.link { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

/* Smooth page transitions */
body { transition: opacity .18s ease; }
html.evoris-leaving body { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { transition: none; }
  html.evoris-leaving body { opacity: 1; }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 800px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 { color: var(--text); margin: 0; }
h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

.muted { color: var(--muted); }
.muted2 { color: var(--muted2); }
.small { font-size: 14px; }
.tiny { font-size: 13px; color: var(--muted2); }
.mono { font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace; }
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 640px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: var(--accent-gradient);
  color: #000;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  line-height: 1.4;
  box-shadow: 0 2px 12px rgba(212,175,55,0.15);
}
.btn:hover {
  background: linear-gradient(135deg, #E8C847, #F0D860, #E8C847);
  box-shadow: 0 4px 24px rgba(212,175,55,0.25);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(1px); box-shadow: 0 1px 6px rgba(212,175,55,0.1); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn.full { width: 100%; }
.btn.lg { padding: 16px 32px; font-size: 17px; }

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border2);
  box-shadow: none;
}
.btn.ghost:hover {
  background: rgba(0,0,0,0.05);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

/* ============================================================
   TOPBAR / HEADER
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(85,75,45,0.95);
  border-bottom: none;
  transition: background 0.3s ease;
}
.topbar.scrolled {
  background: rgba(85,75,45,0.75);
}
.topbar-inner {
  display: flex;
  align-items: center;
  padding: 14px 0 18px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-left { justify-content: flex-end; flex: 1; }
.nav-right { justify-content: flex-start; gap: 28px; flex: 1; }
.navlink {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: color .2s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.navlink:hover { color: #fff; }

/* ============================================================
   PORTAL PILL (marketing pages)
   ============================================================ */
.portal-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  transition: all .2s ease;
}
.portal-pill:hover {
  background: rgba(0,0,0,0.07);
  color: var(--text);
  border-color: var(--border2);
}

/* ============================================================
   BANNER
   ============================================================ */
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.banner form {
  display: flex;
  gap: 6px;
  align-items: center;
}
.banner input {
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 6px;
  border: 1px solid var(--border2);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  width: 160px;
  outline: none;
}
.banner button[type="submit"] {
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 6px;
  background: var(--accent);
  color: #000;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  box-shadow: none;
  transform: none;
}
.banner-dismiss {
  background: none !important;
  border: none !important;
  color: var(--muted2);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  box-shadow: none !important;
  transform: none !important;
}
.banner-dismiss:hover { color: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 100px 0 48px;
  text-align: center;
}
.hero-inner {
  max-width: 860px;
  margin: 0 auto;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-text {
  text-align: center;
}
.hero-video {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video .demo-video-wrap {
  width: 100%;
}
.hero-proof {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.hero h1 { margin-bottom: 16px; }
.hero .lead { margin: 0 auto 24px; }
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-actions .btn {
  animation: btn-glow-once 2s ease-out 1;
}
@keyframes btn-glow-once {
  0% { box-shadow: 0 0 20px rgba(232,200,71,0.4); }
  100% { box-shadow: 0 2px 12px rgba(212,175,55,0.15); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 80px 0; }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header p { margin-top: 12px; }
.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.15), transparent);
  margin: 0;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.02) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: border-color .25s cubic-bezier(0.16, 1, 0.3, 1),
              transform .25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Value prop cards (homepage hero section) */
.value-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(212,175,55,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.value-title {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.card.soft {
  background: rgba(0,0,0,0.02);
  border-color: var(--border);
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.card-title { font-weight: 700; font-size: 16px; }

.panel {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
}

/* ============================================================
   HOW IT WORKS — 3-column grid
   ============================================================ */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.how-card h3 { margin: 14px 0 8px; }

.kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  background: var(--accent-glow);
  color: var(--accent2);
  font-weight: 700;
  font-size: 14px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: rgba(0,0,0,0.04);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   FEATURE ROWS (index page)
   ============================================================ */
.feature-row { max-width: 800px; margin: 0 auto; }
.feature-text h3 { font-size: 22px; margin-bottom: 10px; }
.feature-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}
.feature-list li { margin: 6px 0; }

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.mini-card {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(0,0,0,0.02);
  border: 1px solid var(--border);
}
.mini-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }

.theme-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}
.theme-chip {
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.theme-chip:hover {
  background: rgba(212,175,55,0.18);
  border-color: rgba(212,175,55,0.4);
}
.chip.chip-active {
  background: linear-gradient(135deg, rgba(212,175,55,0.25), rgba(232,185,35,0.18));
  border-color: var(--accent);
  color: #0A0A0A;
}

/* ============================================================
   PRICING
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.price-grid.centered { max-width: 800px; margin-left: auto; margin-right: auto; }

.price-card .price-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.price-name { font-weight: 800; font-size: 20px; }
.price-amt { font-weight: 800; font-size: 40px; letter-spacing: -0.03em; }
.price-amt span { font-size: 14px; color: var(--muted); margin-left: 2px; font-weight: 500; }
.price-list { margin: 20px 0 0; padding-left: 20px; color: var(--muted); }
.price-list li { margin: 10px 0; }

.featured {
  background: linear-gradient(180deg, rgba(212,175,55,0.08), rgba(212,175,55,0.02));
  border-color: rgba(212,175,55,0.3);
}
.featured:hover { border-color: rgba(212,175,55,0.5); }

.onboard h3 { margin: 0 0 10px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq details {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0;
  margin: 8px 0;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--border2); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 18px 20px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
/* chevron handled in utility section below */
.faq details div {
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FORMS (shared between portal + onboard)
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 6px; }
.label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.input {
  width: 100%;
  display: block;
  font-family: var(--font);
  color: var(--text);
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:hover { border-color: var(--border2); }
.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: rgba(0,0,0,0.05);
}
.input::placeholder { color: var(--muted2); }
textarea.input, .textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
select.input { cursor: pointer; }
select.input option { background: #F0F0F0; color: #0A0A0A; }

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

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* helper rows */
.row { display: flex; align-items: center; }
.setup-check { display: flex; gap: 8px; align-items: center; }

/* ============================================================
   CODE / SNIPPETS
   ============================================================ */
.code, pre.code {
  margin: 0;
  padding: 16px;
  border-radius: 10px;
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  overflow: auto;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  white-space: pre;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Stagger delays for grid children */
[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   UTILITIES — visual depth helpers
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.text-gradient {
  background: linear-gradient(135deg, #B8860B 30%, #E8C847 60%, #D4AF37 80%, #B8860B 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-gold 4s ease-in-out infinite;
}
@keyframes shimmer-gold {
  0%   { background-position: 100% 50%; }
  50%  { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
/* ============================================================
   DASHBOARD SLIDESHOW
   ============================================================ */
.dash-slideshow-section { padding: 56px 0; }
.dash-carousel {
  position: relative;
  user-select: none;
  /* Fixed height — container never resizes when slides switch */
  height: 750px;
}

/* All slides are always absolute — NOTHING ever joins/leaves normal flow */
.dash-slide {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.dash-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Dots sit below the slides */
.dash-dots {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
}
.dash-frame {
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  background: transparent;
  position: relative;
}
.dash-frame::before {
  content: '';
  display: block;
  height: 0;
  background: none;
}
.dash-frame img {
  display: block;
  width: 100%;
  /* Fixed height: all screenshots centered & fitted — no clipping, no layout shift */
  height: 625px;
  object-fit: contain;
  object-position: center;
}
.dash-label {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}
.dash-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 4px;
}
.dash-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.18);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.dash-dot.active {
  background: var(--accent);
  transform: scale(1.25);
}

.section-alt {
  background-color: #F5F5F5;
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(rgba(0,0,0,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.012) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px;
}
.section-proof { padding-top: 48px; }
.section-proof .section-header { margin-bottom: 32px; }
.demo-showcase-single {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   HERO STATS ROW
   ============================================================ */
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hero-stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-bright);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* Buzz chips — compact social-proof pills below hero stats */
.buzz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
  padding: 0 8px;
}
.buzz-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(212,175,55,0.07);
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
}
.buzz-chip .buzz-val {
  font-weight: 800;
  color: var(--accent);
}

.feature-demo-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  background: transparent;
}
/* Video zoom overlay */
.video-zoom-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.video-zoom-overlay.active { display: flex; }
.video-zoom-overlay video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

/* ============================================================
   FEATURE BLOCKS — alternating layout
   ============================================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
}
.feature-block:nth-child(even) .feature-block-text { order: 2; }
.feature-block:nth-child(even) .feature-visual { order: 1; }
.feature-visual {
  border-radius: var(--radius-lg);
  background: none;
  border: none;
  box-shadow: none;
  overflow: hidden;
  color: var(--muted2);
  font-size: 14px;
}
@media (max-width: 980px) {
  .feature-block { grid-template-columns: 1fr; gap: 24px; }
  .feature-block:nth-child(even) .feature-block-text { order: 1; }
  .feature-block:nth-child(even) .feature-visual { order: 2; }
}

/* ============================================================
   HOW-IT-WORKS — gold connecting lines
   ============================================================ */
.how-grid-wrap { position: relative; }
.how-grid-wrap .kicker {
  background: var(--accent-gradient);
  color: #000;
  border: none;
  font-weight: 800;
}

/* ============================================================
   PRICING — badges & enhancements
   ============================================================ */
.price-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-gradient);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-card.featured {
  transform: scale(1.05);
  padding: 32px 28px;
}
.price-list li::marker { color: var(--accent); }

/* ============================================================
   FAQ — enhanced
   ============================================================ */
.faq details[open] {
  border-color: var(--border-gold);
  border-left: 3px solid var(--accent);
  background: rgba(212,175,55,0.02);
}
.faq summary::after {
  content: '';
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.faq details[open] summary::after {
  transform: rotate(180deg);
}

/* ============================================================
   FOOTER — 3-column grid
   ============================================================ */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.footer-grid a { transition: color .15s ease; }
.footer-grid a:hover { color: var(--accent); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  transition: all .2s ease;
}
.footer-social:hover {
  color: var(--accent-bright, #E8C847);
  border-color: rgba(212,175,55,0.4);
  background: rgba(212,175,55,0.08);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-links { align-items: center; }
}

/* ============================================================
   PILL STATUS (portal bot status)
   ============================================================ */
.pill.on {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.3);
  color: #4ade80;
}
.pill.off {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.2);
  color: #f87171;
}

/* ============================================================
   STATUS INDICATORS (onboard-paid)
   ============================================================ */
.on-status.ok { color: rgba(74,222,128,0.9); }
.on-status.bad { color: rgba(248,113,113,0.9); }

/* ============================================================
   PORTAL SECTION TABS (inside topbar, visible after login)
   ============================================================ */
.portal-topnav {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin-left: auto;
  margin-right: auto;
}
.topnav-tab {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 48px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
  transition: color 0.15s, border-color 0.15s;
}
.topnav-tab:hover { color: var(--text); }
.topnav-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ============================================================
   KPIs
   ============================================================ */
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.kpi {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(0,0,0,0.02);
  border: 1px solid var(--border);
}
.kpiTop { font-size: 13px; color: var(--muted); font-weight: 500; }
.kpiVal { font-size: 28px; font-weight: 800; margin-top: 4px; letter-spacing: -0.02em; }

/* ============================================================
   PROBLEM / STORY SECTION
   ============================================================ */
.section-story { text-align: center; }
.story-block { margin-bottom: 32px; }
.story-text {
  font-size: 20px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 8px;
}
.story-kicker {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-top: 24px;
}

/* ============================================================
   PROOF / DEMO SECTION
   ============================================================ */
.demo-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.demo-video-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: none;
}
.demo-video-wrap::before {
  display: none;
}
.demo-cta {
  text-align: center;
  margin-top: 32px;
}
.transcript-block {
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  padding: 24px;
}
.transcript {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.transcript-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.transcript-msg.visitor .transcript-role { color: var(--muted2); }
.transcript-msg.bot .transcript-role { color: var(--accent); }
.transcript-role {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.transcript-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius);
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
}
.transcript-msg.bot .transcript-text {
  background: rgba(212,175,55,0.06);
  border-color: var(--border-gold);
}

/* ============================================================
   MOCK INQUIRY CARD (feature visual)
   ============================================================ */
.feature-visual-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.mock-inquiry {
  width: 100%;
  max-width: 360px;
  padding: 20px;
}
.mock-inquiry-header {
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.mock-inquiry-row {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.mock-inquiry-row strong {
  color: var(--text);
}

/* ============================================================
   OBJECTION HANDLING
   ============================================================ */
.objection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.objection-card { padding: 24px; }
.objection-q {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 10px;
  font-style: italic;
}
.objection-a {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ============================================================
   TRADES SECTION + TRUST GRID
   ============================================================ */
.trades-layout {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 32px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.trades-img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,175,55,0.15);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 12px rgba(212,175,55,0.06);
}
.trades-center {
  text-align: center;
}
.trades-heading {
  font-size: clamp(28px, 4vw, 42px);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 480px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-glow);
  border: 1px solid rgba(212,175,55,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.trust-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 16px;
}
.testimonial-stars {
  font-size: 16px;
  color: var(--accent-bright);
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
  font-style: italic;
}
.testimonial-author {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.testimonial-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.testimonial-role {
  font-size: 12px;
  color: var(--muted2);
  margin-top: 2px;
}

/* ============================================================
   PRICING ROI LINE
   ============================================================ */
.roi-line {
  text-align: center;
  font-size: 16px;
  color: var(--accent);
  margin-top: 24px;
  font-weight: 500;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero { padding: 70px 0 36px; }
  .hero h1 { font-size: clamp(36px, 6vw, 56px); }
  .section { padding: 60px 0; }
  .grid3 { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr !important; }
  .form-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr; }
  .demo-showcase { grid-template-columns: 1fr; }
  .objection-grid { grid-template-columns: 1fr; }
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-video .demo-video-wrap { max-width: 400px; margin: 0 auto; }
  .trades-layout { grid-template-columns: 1fr 2.5fr 1fr; gap: 20px; }
}

/* ============================================================
   MOBILE HAMBURGER MENU
   ============================================================ */
.mobile-menu-btn {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  font-size: 24px;
  line-height: 1;
}
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity .25s ease;
}
.mobile-nav-overlay.open {
  display: flex;
  opacity: 1;
}
.mobile-nav-overlay a,
.mobile-nav-overlay button {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  padding: 14px 32px;
  text-decoration: none;
  transition: color .15s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.mobile-nav-overlay a:hover,
.mobile-nav-overlay button:hover { color: var(--accent); }
.mobile-nav-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 720px) {
  :root { --max: 100%; }
  html { scroll-padding-top: 70px; }
  .wrap { padding: 0 16px; }

  /* Header: logo left, hamburger right */
  .topbar-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
    padding: 10px 0;
  }
  .brand { order: 0; width: auto; }
  .nav-left, .nav-right { display: none; }
  .mobile-menu-btn { display: flex; align-items: center; }

  /* Hero */
  .hero { padding: 48px 0 24px; }
  .hero h1 { font-size: clamp(28px, 8vw, 42px); }
  .hero .lead { font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 20px; margin-top: 24px; }
  .hero-stat-value { font-size: 18px; }
  .hero-stat-label { font-size: 12px; }
  .hero-video .demo-video-wrap { max-width: 320px; }

  /* Sections */
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: clamp(22px, 5vw, 32px); }

  /* Feature blocks */
  .feature-block { gap: 20px; padding: 32px 0; }
  .feature-block-text h3 { font-size: 18px; }
  .feature-list { font-size: 14px; padding-left: 18px; }

  /* Feature visual — videos on mobile */
  .feature-visual {
    overflow: hidden;
  }

  /* Value cards */
  .grid2 { gap: 12px; }
  .value-card { padding: 18px; }
  .value-icon { width: 40px; height: 40px; margin-bottom: 12px; }
  .value-title { font-size: 15px; }

  /* How it works */
  .how-card { padding: 18px; }
  .how-card h3 { font-size: 16px; }

  /* Pricing */
  .price-card { padding: 20px; }
  .price-amt { font-size: 32px; }
  .price-name { font-size: 17px; }
  .price-card.featured { transform: none; padding: 24px 20px; order: -1; }

  /* FAQ */
  .faq summary { padding: 14px 16px; font-size: 14px; }
  .faq details div { padding: 0 16px 14px; font-size: 14px; }

  /* Banner */
  .banner { font-size: 11px; padding: 6px 12px; }
  .banner form { flex-wrap: wrap; justify-content: center; }
  .banner input { width: 130px; }

  /* Buttons: only full-width in hero */
  .btn { width: auto; }
  .hero-actions .btn { width: 100%; }

  /* Forms */
  input, select, textarea, button { font-size: 16px; }
  body { background-attachment: scroll !important; }

  /* Footer */
  .footer { padding: 24px 0 0; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .footer-grid > div:first-child p { margin: 0 auto; }
  .footer-links { align-items: center; }
  .footer-social { margin: 0 auto; }
  #footerSubscribe {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  #footerSubscribe input { width: 100%; max-width: 240px; }
  .footer-cta { justify-content: center; gap: 8px; flex-wrap: wrap; }
  .footer-cta .btn { flex: 1; min-width: 120px; text-align: center; }

  /* Theme chips wrap nicely */
  .theme-chips { gap: 6px; }
  .chip { font-size: 12px; padding: 5px 11px; }

  /* Mini cards in feature blocks */
  .mini-card { padding: 12px; }
  .mini-title { font-size: 14px; }

  /* Story / problem section */
  .story-text { font-size: 17px; }
  .story-kicker { font-size: 16px; }

  /* Demo showcase */
  .demo-showcase { grid-template-columns: 1fr; }
  .transcript-block { padding: 16px; }
  .transcript-text { font-size: 13px; padding: 10px 12px; }

  /* Objections */
  .objection-grid { grid-template-columns: 1fr; }
  .objection-card { padding: 18px; }
  .objection-q { font-size: 15px; }

  /* Trust */
  .testimonial-grid { grid-template-columns: 1fr; }
  .trades-layout { grid-template-columns: 1fr; gap: 24px; }
  .trades-img { max-width: 200px; margin: 0 auto; }
  .trades-img-left { order: -1; }
  .trades-img-right { order: 1; }
  .trades-center { order: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-icon { width: 48px; height: 48px; }
  .trust-label { font-size: 13px; }
}

/* ============================================================
   COMPETITOR COMPARISON TABLE
   ============================================================ */
.compare-table {
  max-width: 800px;
  margin: 32px auto 0;
  overflow-x: auto;
}
.compare-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  border-bottom: 1px solid var(--border2);
}
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.compare-price {
  color: var(--text);
  font-weight: 600;
}
.compare-highlight {
  background: rgba(212,175,55,0.06);
}
.compare-highlight td {
  color: var(--accent-bright);
  border-bottom: none;
  font-weight: 600;
}

/* ============================================================
   GUARANTEE CARD
   ============================================================ */
.guarantee-card {
  background: linear-gradient(135deg, rgba(212,175,55,0.06), rgba(212,175,55,0.02));
  border: 1px solid rgba(212,175,55,0.25);
  padding: 40px;
}

/* ============================================================
   WIFE SECTION — Decision-maker summary card
   ============================================================ */
.wife-card {
  border: 1px solid var(--border-gold);
  padding: 28px 24px;
}
.wife-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.wife-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.wife-card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 2px;
}
.wife-card-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.wife-card-testimonial {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
}
.wife-card-testimonial p {
  margin: 0 0 6px;
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-gold);
  z-index: 90;
  text-align: center;
}
@media (max-width: 720px) {
  .sticky-cta { display: block; }

  /* ── Comparison table → stacked cards on mobile ── */
  .compare-table table,
  .compare-table thead,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td { display: block; }
  .compare-table thead { display: none; }
  .compare-table tr {
    margin-bottom: 8px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    padding: 12px 14px;
  }
  .compare-table tr.compare-highlight {
    border-color: var(--accent);
    background: rgba(212,175,55,0.06);
  }
  .compare-table td {
    border-bottom: none;
    padding: 2px 0;
    font-size: 13px;
  }
  .compare-table td:first-child {
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 4px;
  }
  .compare-table td:not(:first-child)::before {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted2);
    margin-right: 8px;
  }
  .compare-table td:nth-child(2)::before { content: "Cost: "; }
  .compare-table td:nth-child(3)::before { content: "24/7: "; }
  .compare-table td:nth-child(4)::before { content: "Leads: "; }
  .compare-table td:nth-child(5)::before { content: "Setup: "; }

  /* ── Testimonials: show only first 3 on mobile ── */
  .testimonial-grid .testimonial-card:nth-child(n+4) { display: none; }

  /* ── Wife card grid → 1 column on mobile ── */
  .wife-card-grid { grid-template-columns: 1fr; }
  .wife-card { padding: 20px 16px; }

  /* ── Guarantee card mobile ── */
  .guarantee-card { padding: 24px 18px; }
  .guarantee-card h2 { font-size: clamp(20px, 5vw, 28px); }

  /* ── Lead analysis form → stack on mobile ── */
  #leadAnalysisForm { flex-direction: column; align-items: center; }
  #leadAnalysisForm input { max-width: 100% !important; width: 100%; }
  #leadAnalysisForm button { width: 100%; }
}

/* ============================================================
   MISSED CALL CALCULATOR — POPUP MODAL
   ============================================================ */
.calc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: calc-overlay-in 0.25s ease;
}
.calc-overlay.active { display: flex; }
@keyframes calc-overlay-in { from { opacity: 0; } to { opacity: 1; } }

.calc-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,175,55,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 40px rgba(212,175,55,0.08);
  padding: 32px;
  text-align: center;
  animation: calc-modal-in 0.3s cubic-bezier(0.16,1,0.3,1);
}
@keyframes calc-modal-in { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

.calc-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--muted2);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.15s;
  z-index: 1;
}
.calc-modal-close:hover { color: var(--text); }
.calc-fields { display: flex; flex-direction: column; gap: 20px; }
.calc-field { display: flex; flex-direction: column; gap: 6px; }
.calc-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
/* Use site's .input base — just override sizing */
.calc-input {
  padding: 10px 14px;
  font-size: 15px;
}
.calc-slider-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.calc-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--border2);
  outline: none;
  transition: background 0.2s;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(212,175,55,0.3);
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.calc-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 2px 12px rgba(212,175,55,0.5);
}
.calc-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(212,175,55,0.3);
  cursor: pointer;
}
.calc-slider-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-bright);
  min-width: 32px;
  text-align: center;
}

/* Calculator result */
.calc-result { text-align: center; animation: calc-fade-in 0.4s ease; }
.calc-result-label { font-size: 15px; color: var(--muted); font-weight: 500; }
.calc-result-amount {
  font-size: 48px;
  font-weight: 900;
  /* Same gold shimmer as hero .text-gradient */
  background: linear-gradient(135deg, #B8860B 30%, #E8C847 60%, #D4AF37 80%, #B8860B 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-gold 4s ease-in-out infinite;
  letter-spacing: -0.03em;
  margin: 8px 0;
  line-height: 1.1;
}
.calc-result-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.calc-breakdown {
  text-align: left;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-gold, rgba(232,185,35,0.15));
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 8px;
}
.calc-breakdown-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.calc-break-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 3px 0;
  color: var(--text);
}
.calc-break-row.dim {
  color: var(--muted);
}
.calc-break-row.highlight {
  font-weight: 700;
  color: var(--accent, #E8B923);
  border-top: 1px solid rgba(232,185,35,0.2);
  padding-top: 6px;
  margin-top: 3px;
}
.calc-break-val {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.calc-email-wrap p {
  color: var(--text);
}
.calc-email-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
}
.calc-email-form .input {
  max-width: 260px;
  padding: 10px 14px;
  font-size: 14px;
}
@keyframes calc-fade-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 720px) {
  .calc-modal { padding: 24px 20px; max-height: 85vh; }
  .calc-result-amount { font-size: 36px; }
  .calc-email-form { flex-direction: column; }
  .calc-email-form .input { max-width: 100%; }
}

/* ============================================================
   MOBILE EMAIL CAPTURE BAR
   ============================================================ */
.mobile-email-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  padding: 12px 16px 14px;
  border-top: 1px solid var(--border-gold);
  box-shadow: 0 -4px 24px rgba(212,175,55,0.08);
  z-index: 95;
  animation: slide-up 0.3s ease;
}
.mobile-email-bar-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--muted2);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.mobile-email-bar-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  padding-right: 24px;
}
.mobile-email-bar-form {
  display: flex;
  gap: 6px;
}
.mobile-email-bar-form .input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  font-size: 13px;
}
.mobile-email-bar-form .btn {
  padding: 8px 14px;
  font-size: 13px;
  white-space: nowrap;
}
@keyframes slide-up { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* Only show mobile email bar on mobile */
@media (min-width: 721px) {
  .mobile-email-bar { display: none !important; }
}

/* ============================================================
   BEFORE/AFTER CARDS
   ============================================================ */
.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto 32px;
}
.ba-card {
  padding: 20px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.7;
}
.ba-before {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.15);
  color: var(--muted);
}
.ba-after {
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.15);
  color: var(--muted);
}
.ba-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.ba-before .ba-label { color: #f87171; }
.ba-after .ba-label { color: #4ade80; }
.ba-arrow {
  font-size: 24px;
  color: var(--muted2);
}
@media (max-width: 720px) {
  .before-after { grid-template-columns: 1fr; }
  .ba-arrow { text-align: center; transform: rotate(90deg); }
}

/* ============================================================
   MOBILE — centering + layout polish
   ============================================================ */
@media (max-width: 720px) {

  /* ── Hero ── */
  .hero-text { text-align: center; }
  .hero-text .eyebrow { margin: 0 auto 12px; }
  .hero-text .lead { margin: 0 auto; max-width: 480px; }
  /* Center the hero action buttons within their column flex */
  .hero-actions { align-items: center; }

  /* ── Buzz chips ── */
  .buzz-chips { gap: 7px; margin-top: 16px; justify-content: center; }
  .buzz-chip { font-size: 11px; padding: 4px 11px; white-space: normal; text-align: center; }

  /* ── How-it-works cards ── */
  .how-card { text-align: center; }

  /* ── Feature blocks: center text on mobile ── */
  .feature-block-text { text-align: center; }
  .feature-block-text h3 { font-size: 18px; }
  .feature-list { text-align: left; display: inline-block; }

  /* ── Theme chips in feature block ── */
  .theme-chips { justify-content: center; }

  /* ── Before/after cards ── */
  .ba-card { text-align: center; }

  /* ── Demo CTA button ── */
  .demo-cta { text-align: center; }
  .demo-cta .btn { width: 100%; max-width: 360px; }

  /* ── Slideshow ── */
  .dash-slideshow-section { padding: 40px 0; }
  .dash-carousel { height: 400px; }
  .dash-frame img { height: 340px; }
  .dash-frame::before { height: 0; }
  .dash-label { font-size: 13px; margin-top: 10px; padding: 0 8px; }

  /* ── Pricing ── */
  .price-grid { max-width: 420px !important; margin-left: auto; margin-right: auto; }
  .price-card { text-align: center; }
  .price-list { text-align: left; display: inline-block; }

  /* ── ROI line ── */
  .roi-line { text-align: center; }

  /* ── Guarantee card ── */
  .guarantee-card { padding: 28px 20px; }

  /* ── Final CTA ── */
  .section .hero-actions { justify-content: center; }
}

/* ============================================================
   CHECKOUT TRUST BADGES
   ============================================================ */
.checkout-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.checkout-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.checkout-trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   CHECKOUT "WHAT HAPPENS NEXT" STEPS
   ============================================================ */
.next-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.next-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.next-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   COMPETITIVE JEALOUSY CARD
   ============================================================ */
.story-jealousy {
  max-width: 580px;
  margin: 20px auto 0;
  padding: 24px 28px;
  background: rgba(0,0,0,0.03);
}

/* ============================================================
   INVEST LINE (pricing)
   ============================================================ */
.invest-line {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}

/* Ensure no black text anywhere */
button, input, textarea, select { color: var(--text); font-family: var(--font); }
input::placeholder, textarea::placeholder { color: var(--muted2); }
* { -webkit-text-fill-color: inherit; }
