/* ==========================================================================
   Roomgenix — Premium Design System v3
   roomgenix.com — virtual staging for listing photos
   ========================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
[hidden] { display: none !important; }

:root {
  /* Colors — warm paper and ink, like a listing packet */
  --white:       #faf8f4;
  --bg:          #f7f4ee;
  --bg-alt:      #efeae2;
  --bg-dark:     #1c1915;
  --border:      #ddd6cb;
  --border-light:#e8e2d8;

  --text:        #1c1915;
  --text-2:      #2a261f;
  --text-muted:  #5e574e;
  --text-faint:  #8a8176;

  --accent:      #1c1915;
  --primary:     #1c1915;
  --accent-d:    #000000;
  --accent-dd:   #1c1915;
  --accent-light:#efeae2;
  --accent-ring: rgba(28,25,21,.14);

  --green:       #3f5c46;
  --green-bg:    #e7efe8;
  --green-border:#c5d4c8;
  --amber:       #9a6230;
  --red:         #9b3d32;

  /* Radii */
  --r-sm:  4px;
  --r:     6px;
  --r-md:  6px;
  --r-lg:  8px;
  --r-xl:  8px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(0,0,0,.04);
  --sh-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --sh:    0 2px 8px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.05);
  --sh-md: 0 6px 20px rgba(0,0,0,.07);
  --sh-lg: 0 16px 48px rgba(0,0,0,.09);
  --sh-xl: 0 24px 64px rgba(0,0,0,.1), 0 8px 24px rgba(0,0,0,.06);

  /* Typography */
  --font: 'Source Sans 3', 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --t-fast: 150ms ease;
  --t-med:  220ms ease;
  --t-slow: 350ms ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
section[id],
.persona-tab,
.gallery-tab,
.persona-selector-wrap,
.style-chip,
button,
a {
  scroll-margin-top: 88px;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
h1, h2, .hero-title, .section-title, .faq-title, .metric-val, .price-num,
.gallery-impact-title, .final-cta h2, .modal-title, #checkoutModalTitle,
#legalModalTitle, #brokerageModalTitle, #loginModalTitle {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; }

/* --- Layout --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.215,.61,.355,1),
              transform .65s cubic-bezier(.215,.61,.355,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ==========================================================================
   SECTION SHARED
   ========================================================================== */
.section-eyebrow {
  display: inline-block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.028em;
  text-align: center;
  margin-bottom: 14px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 200;
  background: #faf8f4;
  border-bottom: 1px solid transparent;
  height: 62px;
  transition: border-color .3s, box-shadow .3s;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,.05);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 62px;
  gap: 28px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--text);
}
.brand-ai {
  color: var(--amber);
  letter-spacing: -.03em;
}
.footer-logo .brand-mark { width: 30px; height: 30px; }
.footer-logo .brand-name { font-size: 20px; }
.footer-logo .brand-ai { color: #e7c7a2; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  inset-inline: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}
.nav-login {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.nav-login:hover { color: var(--text); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 62px;
  inset-inline: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 199;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--sh-lg);
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 12px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}
.mobile-drawer a:last-of-type { border-bottom: none; }
.mobile-drawer a.btn {
  color: #fff;
  justify-content: center;
  margin-top: 8px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--t-med);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .15s ease;
}
.btn:hover::after { background: rgba(255,255,255,.07); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 11px 22px;
  box-shadow: 0 1px 3px var(--accent-ring), 0 0 0 0 var(--accent-ring);
}
.btn-primary:hover {
  background: var(--accent-d);
  box-shadow: 0 4px 14px rgba(28,25,21,.18);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 10px 22px;
}
.btn-outline:hover {
  background: var(--bg-alt);
  border-color: #c8d3e0;
}
.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 11px 18px;
}
.btn-secondary:hover { background: var(--bg-alt); border-color: #c8d3e0; }
.btn-large { padding: 15px 32px; font-size: 15px; border-radius: var(--r-md); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 11px 22px;
}
.btn-ghost:hover { background: var(--bg-alt); }

.btn-hero { padding: 11px 18px; font-size: 14px; border-radius: var(--r-md); }
.btn-nav  { padding: 8px 16px; font-size: 13px; }
.btn-lg   { padding: 15px 32px; font-size: 15px; border-radius: var(--r-md); }
.btn-sm   { padding: 9px 18px; font-size: 13px; }
.full-w   { width: 100%; }

.btn-white {
  background: #fff;
  color: var(--text);
  padding: 15px 32px;
  font-size: 15px;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
}
.btn-white:hover { background: #f8fafc; box-shadow: var(--sh-lg); transform: translateY(-1px); }

.btn-white-outline {
  background: transparent;
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.35);
  padding: 15px 32px;
  font-size: 15px;
  border-radius: var(--r-md);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
}

/* ==========================================================================
   HERO — SPLIT LAYOUT
   ========================================================================== */
.hero {
  padding: 84px 0 40px;
  background: var(--white);
  position: relative;
}

.hero::before { content: none; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

/* Hero Copy */
.hero-copy { animation: fadeInUp .6s ease both; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.eyebrow-dot { display: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.85); }
}

.hero-title {
  font-size: clamp(48px, 5.2vw, 68px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.038em;
  color: var(--text);
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 440px;
}
.hero-desc strong { color: var(--text); font-weight: 700; }

.hero-cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.trust-item svg { color: var(--green); flex-shrink: 0; }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-avatars { display: flex; }
.proof-avatars img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  margin-left: -7px;
  box-shadow: 0 0 0 1.5px rgba(0,0,0,.07);
}
.proof-avatars img:first-child { margin-left: 0; }

.proof-text {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.proof-stars { color: #f59e0b; letter-spacing: 1px; }
.proof-text strong { color: var(--text); }

/* Hero Visual */
.hero-visual {
  animation: fadeInUp .7s .15s ease both;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-image-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(0,0,0,.04);
  aspect-ratio: 4/3;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.hero-image-card:hover img { transform: scale(1.02); }

.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #faf8f4;
  padding: 6px 10px;
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--sh-md);
}
.hero-badge-time { bottom: 16px; left: 16px; }
.hero-badge-mls  { top: 16px; right: 16px; font-size: 11.5px; color: var(--green); }
.hero-badge-mls svg { color: var(--green); }
.badge-dot { display: none; }

/* Mini before/after */
.hero-mini-pair {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-card {
  flex: 1;
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--sh);
}
.mini-card img { width: 100%; height: 100%; object-fit: cover; }
.mini-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  color: #fff;
}
.mini-label-after { background: var(--green); }
.mini-arrow {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 300;
  flex-shrink: 0;
}

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

/* ==========================================================================
   PRESS BAR
   ========================================================================== */
.press-bar {
  padding: 18px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
}
.press-bar .container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.press-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.press-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.press-logo {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  opacity: .65;
  letter-spacing: -.2px;
  transition: opacity .2s;
}
.press-logo:hover { opacity: 1; }
.press-sep { color: var(--border); font-weight: 300; }

/* ==========================================================================
   BROKERAGE BAR
   ========================================================================== */
.brokerage-bar {
  padding: 40px 0 44px;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}
.brokerage-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 24px;
}
.brokerage-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 48px;
  opacity: .5;
  transition: opacity .4s;
}
.brokerage-grid:hover { opacity: .8; }
.brokerage-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: -.1px;
  transition: opacity .2s;
}
.brokerage-item svg { opacity: .45; }

/* ==========================================================================
   METRICS BAR
   ========================================================================== */
.metrics-bar {
  padding: 28px 0;
  background: var(--bg);
  color: var(--text);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.metrics-bar::before { content: none; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 24px;
  position: relative;
}
.metric { padding: 8px; }
.metric-val {
  display: block;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.metric-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-section {
  padding: 64px 0;
  background: var(--bg-alt);
}
.gallery-header {
  text-align: center;
  margin-bottom: 36px;
}

/* Tabs & Top Controls */
.gallery-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.gallery-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 100%;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-tabs::-webkit-scrollbar { display: none; }
.gallery-tab { flex-shrink: 0; white-space: nowrap; }
.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s ease;
}
.gallery-tab:hover { color: var(--text); border-color: #c8d3e0; }
.gallery-tab.active {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
  box-shadow: var(--sh-sm);
}
.gallery-tab svg { opacity: .7; }
.gallery-tab.active svg { opacity: 1; }

/* View Mode Switcher (Slider / Side-by-Side / Toggle) */
.gallery-mode-switcher {
  display: inline-flex;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px;
  gap: 3px;
}
.gallery-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s ease;
}
.gallery-mode-btn:hover { color: var(--text); }
.gallery-mode-btn.active {
  background: var(--white);
  color: var(--text);
  box-shadow: var(--sh-xs);
}

/* Slider Theater Wrap */
.gallery-slider-wrap { max-width: 1100px; margin: 0 auto; }

.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gallery-shot {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #1c1915;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(0,0,0,.04);
}
.gallery-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.gallery-shot figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(15,23,42,.85);
  color: #fff;
  pointer-events: none;
}
.gallery-shot-after figcaption {
  left: auto;
  right: 12px;
  background: rgba(255,255,255,.94);
  color: var(--text);
  box-shadow: var(--sh-sm);
}
.gallery-help {
  margin: 14px 0 18px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.gallery-help-kicker {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
#galleryBuyerLine {
  display: block;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text);
}

/* Slider Container */
.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(0,0,0,.04);
  background: #0f172a;
  margin-bottom: 16px;
  touch-action: pan-y;
}
.image-after, .image-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.image-before {
  clip-path: inset(0 50% 0 0);
  -webkit-clip-path: inset(0 50% 0 0);
  z-index: 2;
}

/* Overlays on Slider */
.slider-badge-overlay-left {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  background: rgba(15,23,42,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.15);
  pointer-events: none;
}
.slider-badge-overlay-right {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  background: rgba(5,150,105,.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.2);
  pointer-events: none;
}
.slider-drag-hint {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: rgba(15,23,42,.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  transition: opacity .35s ease, transform .35s ease;
  animation: pulseHint 2.4s infinite ease-in-out;
}
.slider-drag-hint.hidden {
  opacity: 0;
  transform: translateX(-50%) scale(.9);
}
@keyframes pulseHint {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.04); }
}

.slider-label {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  z-index: 6;
  letter-spacing: .5px;
  text-transform: uppercase;
  pointer-events: none;
}
.slider-label-before {
  left: 16px;
  background: rgba(15,23,42,.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
}
.slider-label-after {
  right: 16px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text);
  box-shadow: var(--sh-md);
  border: 1px solid rgba(0,0,0,.08);
}
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: rgba(255,255,255,.95);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,0,0,.3);
  touch-action: none;
}
.handle-pill {
  width: 46px;
  height: 46px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  cursor: ew-resize;
  transition: transform .15s ease, box-shadow .15s ease;
  border: 2.5px solid var(--accent);
}
.handle-pill:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.handle-pill svg { color: var(--accent); flex-shrink: 0; }

/* Side by Side Mode */
.slider-container.mode-side {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  cursor: default;
  background: #0f172a;
}
.slider-container.mode-side .image-before {
  order: 1 !important;
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
}
.slider-container.mode-side .image-after {
  order: 2 !important;
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
}
.slider-container.mode-side .slider-handle { display: none !important; }
.slider-container.mode-side .slider-drag-hint { display: none !important; }

/* Toggle Mode */
.slider-container.mode-toggle {
  cursor: default;
}
.slider-container.mode-toggle .slider-handle { display: none !important; }
.slider-container.mode-toggle .slider-label { display: none !important; }
.slider-container.mode-toggle .image-before {
  clip-path: none !important;
  -webkit-clip-path: none !important;
  transition: opacity .18s ease;
  opacity: 0;
}
.btn-hold-compare {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: var(--text);
  color: #fff;
  border: 2px solid rgba(255,255,255,.3);
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  display: none;
  align-items: center;
  gap: 8px;
  transition: transform .15s, background .15s;
  user-select: none;
}
.btn-hold-compare:active { transform: translateX(-50%) scale(.96); background: var(--accent); }

/* Gallery Thumbnail Quick-Ribbon */
.gallery-thumb-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.gallery-thumb-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 7px;
  cursor: pointer;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  user-select: none;
}
.gallery-thumb-card:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}
.gallery-thumb-card.active {
  border-color: var(--accent);
  background: #f0f7ff;
  box-shadow: 0 0 0 2.5px rgba(37,99,235,.25);
}
.gallery-thumb-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.gallery-thumb-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.gallery-thumb-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}

/* Live Room Impact & Metrics Card (Below Slider) */
.gallery-impact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: var(--sh-sm);
}
.gallery-impact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.gallery-impact-titles {
  display: flex;
  flex-direction: column;
}
.gallery-impact-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--accent);
}
.gallery-impact-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-top: 2px;
  letter-spacing: -.3px;
}
.gallery-buyer-line {
  margin-top: 8px;
  max-width: 640px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
  font-weight: 500;
}
.compete-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 12px;
}
.compete-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 14px 12px;
  background: var(--bg-alt);
}
.compete-card-us {
  background: var(--accent-light);
  border-color: #bfdbfe;
}
.compete-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.compete-card-us .compete-tag { color: var(--accent); }
.compete-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.compete-price {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.compete-price span { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.compete-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.compete-card li {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.4;
}
.compete-card-us li { color: var(--text); }
.compete-edge {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.gallery-impact-badge {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-border);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.gallery-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}
.gallery-metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.metric-num-val {
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.5px;
}
.metric-num-lbl {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  flex-direction: column;
}
.metric-num-lbl small {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 1px;
}
.text-green { color: var(--green); }
.text-accent { color: var(--accent); }

/* Aesthetic Preset Studio Card */
.gallery-style-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: var(--sh-xs);
}
.style-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.style-row-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 4px;
}
.style-chip {
  padding: 6px 14px;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s ease;
}
.style-chip:hover { border-color: #c8d3e0; color: var(--text); }
.style-chip.active {
  background: var(--accent-light);
  color: var(--accent);
  border-color: #bfdbfe;
  font-weight: 700;
}
.style-preset-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.style-preset-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.style-preset-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}
.palette-swatches {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.palette-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.style-preset-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}
.style-preset-best {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

/* Realtor Case Study / Testimonial Box */
.gallery-quote-card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 16px 0 0;
  margin-bottom: 20px;
  box-shadow: none;
}
.gallery-quote-mark { display: none; }
.gallery-quote-text {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
  color: var(--text-2);
  font-style: italic;
  margin-bottom: 0;
}
.gallery-agent-bar {
  display: none;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.agent-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.agent-info {
  display: flex;
  flex-direction: column;
}
.agent-info strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.agent-info span {
  font-size: 12px;
  color: var(--text-muted);
}
.agent-mls-verified {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
}

/* High-Converting Action Bar */
.gallery-action-bar {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  box-shadow: var(--sh-sm);
  margin-bottom: 40px;
}
.action-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-gallery-stage {
  padding: 12px 26px;
  font-size: 14.5px;
  font-weight: 700;
}
.btn-gallery-download {
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
}
.gallery-action-trust {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

/* 8-ROOM BENTO SHOWCASE SECTION */
.gallery-showcase-section {
  margin-top: 48px;
  padding-top: 44px;
  border-top: 1.5px solid var(--border);
}
.showcase-header {
  text-align: center;
  margin-bottom: 32px;
}
.showcase-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--accent);
  margin-bottom: 6px;
}
.showcase-title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.5px;
}
.showcase-subtitle {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-top: 6px;
}
.gallery-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.showcase-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: #cbd5e1;
}
.showcase-card.active-in-theater {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(37,99,235,.25);
}
.showcase-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  background: #0f172a;
  touch-action: pan-y;
}
.showcase-after, .showcase-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.showcase-before {
  clip-path: inset(0 50% 0 0);
  -webkit-clip-path: inset(0 50% 0 0);
  z-index: 2;
}
.showcase-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ffffff;
  z-index: 4;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0,0,0,.35);
}
.showcase-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--accent);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.showcase-badge-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(15,23,42,.85);
  padding: 3px 8px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.15);
}
.showcase-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.showcase-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.showcase-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.showcase-loc {
  font-size: 11.5px;
  color: var(--text-muted);
}
.showcase-outcome {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  padding: 3px 8px;
  border-radius: 6px;
  width: fit-content;
}
.showcase-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.showcase-btn {
  flex: 1;
  padding: 7px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--r-sm);
  text-align: center;
  cursor: pointer;
  font-family: var(--font);
  transition: all .2s;
  border: 1px solid transparent;
}
.showcase-btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.showcase-btn-primary:hover { background: var(--accent-d); }
.showcase-btn-ghost {
  background: var(--bg-alt);
  color: var(--text);
  border-color: var(--border);
}
.showcase-btn-ghost:hover { background: var(--border); }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how-section {
  padding: 64px 0;
  background: var(--white);
  text-align: center;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto 28px;
  text-align: left;
}
.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px 20px;
}
.step-num {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--text);
  color: #faf8f4;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 14px;
}
.step-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  color: var(--text);
}
.step-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}
.steps-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.steps-guide-link {
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
}
.steps-guide-link:hover { border-bottom-color: var(--text); }

/* ==========================================================================
   STUDIO (DEMO)
   ========================================================================== */
.studio-section {
  padding: 64px 0;
  background: var(--bg-alt);
  text-align: center;
}
.studio-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 20px;
  align-items: start;
  text-align: left;
  max-width: 1040px;
  margin: 0 auto;
}
.studio-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--sh-sm);
}
.sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-faint);
}
.sidebar-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.pill {
  padding: 8px 12px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.pill:hover { color: var(--text); border-color: #c8d3e0; }
.pill.active {
  background: var(--accent-light);
  color: var(--accent);
  border-color: #bfdbfe;
  font-weight: 600;
}
.style-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.style-option {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  padding: 10px 12px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all .2s;
}
.style-option strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.style-option span {
  font-size: 11.5px;
  color: var(--text-muted);
}
.style-option:hover { border-color: #c8d3e0; background: var(--white); }
.style-option.active {
  background: var(--accent-light);
  border-color: #bfdbfe;
}
.style-option.active strong { color: var(--accent); }

.mls-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 10px 12px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  transition: all .2s ease;
  user-select: none;
}
.mls-check:hover {
  background: var(--white);
  border-color: #c8d3e0;
}
.mls-check.active {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.mls-check input { width: 16px; height: 16px; cursor: pointer; accent-color: #059669; }

.upload-zone.drag-active {
  border-color: var(--accent) !important;
  background: var(--accent-light) !important;
  transform: scale(1.01);
}

.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px;
  border: 2px dashed var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  background: var(--bg-alt);
  min-height: 88px;
}
.upload-zone:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}
.upload-zone svg { color: var(--text-muted); }
.upload-zone strong { font-size: 13px; color: var(--text); }
.upload-hint { font-size: 11.5px; color: var(--text-faint); }

.btn-stage {
  padding: 13px 20px;
  font-size: 14.5px;
  border-radius: var(--r);
  letter-spacing: -.01em;
}

/* Canvas */
.studio-canvas { position: relative; }
.canvas-frame {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  position: relative;
  aspect-ratio: 4/3;
}

/* Render overlay */
.render-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(4px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 10;
  border-radius: var(--r-lg);
}
.render-overlay.active { display: flex; }

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.render-status {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}
.render-bar {
  width: 200px;
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.render-bar-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  border-radius: 4px;
  transition: width .4s ease;
}

/* Image wrap */
.canvas-image-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.canvas-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .3s cubic-bezier(0.16, 1, 0.3, 1), opacity .25s ease;
}
.canvas-image-wrap img,
#afterImage {
  filter: none;
}

.studio-status-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  box-shadow: var(--sh);
  z-index: 10;
  border: 1px solid rgba(0,0,0,.08);
}

.watermark {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  pointer-events: none;
  z-index: 5;
  white-space: nowrap;
}

.mls-stamp {
  position: absolute;
  bottom: 58px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 6px 12px;
  border-radius: 6px;
  background: #059669;
  color: #fff;
  z-index: 25;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.5);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.mls-stamp.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  display: inline-flex !important;
}

.canvas-toolbar {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(15,23,42,.7) 0%, transparent 100%);
  z-index: 5;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: all .2s ease;
}
.toolbar-btn:hover { background: rgba(255,255,255,.22); }
.toolbar-btn.active { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.5); }

.account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}
.account-bar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.account-bar-actions a { color: var(--text-muted); font-size: 15px; }
body[data-page="dashboard"] { scroll-padding-top: 96px; }
.account-page { max-width: 1120px; margin: 0 auto; padding: 28px 20px 64px; }
.account-page .btn,
.account-page .form-field-input { scroll-margin-top: 96px; }
.account-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.account-plan, .account-identity {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.account-kicker {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.account-plan h1, .account-identity h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.15;
}
.account-credits { text-align: right; }
.account-credits span:last-child { display: block; color: var(--text-muted); font-size: 14px; }
.account-profile { display: flex; flex-direction: column; gap: 14px; }
.account-profile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.account-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.account-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-muted); }
.account-profile .btn { align-self: flex-start; }
.account-email { color: var(--text-muted); font-size: 14px; margin-top: 4px; }
.account-stats { display: flex; gap: 22px; flex-shrink: 0; padding-top: 4px; }
.account-stats strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1; }
.account-stats span { color: var(--text-muted); font-size: 13px; }
.account-studio {
  padding: 8px 0 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 16px;
  align-items: start;
}
.editor-photo { position: sticky; top: 76px; }
.account-studio .canvas-frame { aspect-ratio: 4/3; max-height: none; }
.account-studio .sidebar-textarea { min-height: 64px; }
.editor-panel {
  margin-top: 0;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#editorStatus { font-size: 16px; }
.editor-field { display: flex; flex-direction: column; gap: 8px; }
.editor-label { font-size: 13px; color: var(--text-muted); }
.editor-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.account-studio .style-grid.editor-choices,
.account-studio .sidebar-pills.editor-choices {
  flex-direction: row;
  flex-wrap: wrap;
}
.account-studio .style-option,
.account-studio .pill {
  flex: 1 1 calc(33.33% - 8px);
  width: auto;
  padding: 8px 6px;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.account-studio .style-option.active,
.account-studio .pill.active {
  background: var(--bg-dark);
  color: var(--white);
  border-color: var(--bg-dark);
}
.account-studio .style-option.active strong,
.account-studio .pill.active { color: var(--white); }
.editor-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.editor-actions .btn-stage { flex: 1 1 140px; }
.account-studio .btn-stage { width: 100%; }
.editor-upload {
  min-height: 52px;
  padding: 14px;
  justify-content: center;
  border-width: 1px;
}
.job-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.job-choice {
  padding: 10px 8px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.job-choice.active {
  background: var(--bg-dark);
  color: var(--white);
  border-color: var(--bg-dark);
}
.studio-download { width: 100%; margin-top: 10px; }
#stageOptions { display: flex; flex-direction: column; gap: 14px; }
#stageOptions[hidden],
.style-chip[hidden],
.style-option[hidden] { display: none; }
.account-history .dashboard-renders-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.account-history .render-history-card {
  flex: 0 0 220px;
  cursor: pointer;
}
.account-history .render-history-card.is-open {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
.account-history .render-history-card > img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
#studio { scroll-margin-top: 84px; }
.account-history, .account-billing { margin-top: 12px; }
.account-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  overflow-x: auto;
}
.account-credits .balance-num {
  color: var(--text);
  font-family: var(--serif);
  font-weight: 500;
}
.account-page .dash-plan-badge { display: none; }
@media (max-width: 800px) {
  .account-plan { flex-direction: column; align-items: flex-start; }
  .account-credits { text-align: left; }
  .account-profile-top { flex-direction: column; }
  .account-fields { grid-template-columns: 1fr; }
  .account-studio { grid-template-columns: 1fr; }
  .editor-photo { position: static; }
}

.studio-history { margin-top: 18px; }
.studio-history-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.studio-history-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.studio-history-card {
  flex: 0 0 92px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.studio-history-card img {
  width: 100%;
  height: 64px;
  object-fit: cover;
}
.studio-history-card span,
.studio-history-card em {
  display: block;
  padding: 0 6px;
  font-size: 11px;
  font-style: normal;
  color: var(--text-muted);
}
.studio-history-card span { color: var(--text); padding-top: 4px; }

.btn-unlock-cta {
  margin-left: auto;
  background: var(--accent);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(37,99,235,.4);
}
.btn-unlock-cta:hover { background: var(--accent-d); }

/* ==========================================================================
   FEATURES GRID
   ========================================================================== */
.features-section {
  padding: 64px 0;
  background: var(--white);
  text-align: center;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.feature {
  padding: 28px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
}
.feature:hover {
  border-color: #c8d3e0;
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all .25s ease;
  flex-shrink: 0;
}
.feature:hover .feature-icon {
  background: var(--accent);
  color: #fff;
}
.feature-body h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.feature-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */
.comparison-section {
  padding: 64px 0;
  background: var(--bg-alt);
  text-align: center;
}
.compare-board {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin: 8px auto 36px;
  max-width: 920px;
}
.compare-row {
  display: grid;
  grid-template-columns: minmax(108px, 0.9fr) 1.25fr 1fr 1.05fr;
  align-items: stretch;
}
.compare-row + .compare-row { border-top: 1px solid var(--border-light); }
.compare-label,
.compare-cell {
  padding: 15px 18px;
  min-width: 0;
}
.compare-label {
  font-size: 14px;
  font-weight: 650;
  color: var(--text);
  display: flex;
  align-items: center;
}
.compare-cell {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.compare-head-row .compare-cell {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--text);
  padding-top: 18px;
  padding-bottom: 18px;
}
.compare-us {
  background: #1c1915;
  color: #faf8f4;
}
.compare-head-row .compare-us { color: #faf8f4; }
.compare-row:not(.compare-head-row) .compare-us {
  background: #f3efe6;
  color: var(--text);
  font-weight: 650;
}
.compare-main { display: block; }
.compare-sub {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--amber);
}
.comparison-cta { display: flex; justify-content: center; }

/* ==========================================================================
   WHY NOT CHATGPT / GEMINI
   ========================================================================== */
.why-chat-section {
  padding: 64px 0;
  background: var(--white);
  text-align: center;
}
.why-chat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}
.why-chat-card {
  padding: 28px 28px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-alt);
}
.why-chat-card h3 {
  font-family: "Newsreader", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}
.why-chat-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.why-chat-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.why-chat-card li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-muted);
}
.why-chat-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.why-chat-card-us {
  background: var(--white);
  border-color: var(--green-border);
  box-shadow: var(--sh-md);
}
.why-chat-card-us li { color: var(--text); }
.why-chat-card-us li::before { background: var(--green); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-section {
  padding: 64px 0;
  background: var(--bg-alt);
  text-align: center;
}
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto 40px;
}
.price-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all .25s ease;
  position: relative;
}
.price-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
}
.price-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.08), var(--sh-lg);
  transform: scale(1.02);
}
.price-card-featured:hover { transform: scale(1.02) translateY(-4px); }

.featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37,99,235,.35);
}
.featured-badge svg { color: #fbbf24; fill: #fbbf24; }

.price-card-header { margin-bottom: 20px; }
.price-card-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.price-desc { font-size: 13.5px; color: var(--text-muted); }

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.price-dollar { font-size: 22px; font-weight: 700; color: var(--text); }
.price-num    { font-size: 54px; font-weight: 900; letter-spacing: -.04em; color: var(--text); line-height: 1; }
.price-per    { font-size: 14px; color: var(--text-muted); font-weight: 500; }

.price-unit {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.price-unit-savings strong { color: var(--green); }

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
  text-align: left;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.price-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: var(--green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
  border-radius: 50%;
  margin-top: 1px;
}
.price-list li strong { color: var(--text); font-weight: 600; }

.price-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  color: var(--green);
  margin-top: 10px;
  font-weight: 500;
}

/* Payment trust strip */
.payment-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 16px 0 0;
}
.payment-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.payment-trust-item svg { color: var(--text-faint); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  padding: 64px 0;
  background: var(--white);
  text-align: center;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
  margin-bottom: 52px;
}
.testimonial {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all .25s ease;
  position: relative;
}
.testimonial:hover {
  border-color: var(--text-faint);
}
.testimonial h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
}
.testimonial p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.test-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.test-stars { color: #f59e0b; letter-spacing: 2px; font-size: 14px; }
.test-verified {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-bg);
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid var(--green-border);
}
.test-verified svg { color: var(--green); }

.testimonial blockquote {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
  font-style: normal;
  flex: 1;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.test-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid #bfdbfe;
}
.test-author strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
}
.test-author span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.test-result-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid #bfdbfe;
  align-self: flex-start;
}

/* Rating summary */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 36px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  max-width: 700px;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: wrap;
}
.rating-number {
  font-size: 56px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.04em;
  line-height: 1;
}
.rating-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rating-stars { font-size: 22px; color: #f59e0b; letter-spacing: 2px; }
.rating-details p { font-size: 13px; color: var(--text-muted); }
.rating-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.rating-bar { flex: 1; height: 6px; background: var(--border); border-radius: 6px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: #f59e0b; border-radius: 6px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  padding: 64px 0;
  background: var(--bg-alt);
}
.faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.faq-left {
  position: sticky;
  top: 90px;
}
.faq-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 14px;
  color: var(--text);
}
.faq-left p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-email-link { color: var(--accent); font-weight: 600; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  text-align: left;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-arrow {
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .3s ease;
  line-height: 1;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-a p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-bottom: 18px;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-item.open .faq-a { max-height: 400px; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  padding: 88px 0;
  background: var(--bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 50%, rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner { position: relative; }
.final-cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 18px;
}
.final-cta p {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 36px;
  line-height: 1.65;
}
.final-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.final-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1e293b;
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #64748b;
  margin-top: 14px;
  max-width: 240px;
}
.footer-contact {
  font-size: 13px;
  color: #64748b;
  margin-top: 8px;
}
.footer-logo .brand-name { color: var(--white); }
.footer-logo .brand-icon { color: var(--accent); }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13.5px;
  color: #64748b;
  transition: color .2s;
}
.footer-col a:hover { color: #94a3b8; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 12.5px;
  color: #374151;
  flex-wrap: wrap;
}
.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid #1e293b;
  color: #475569;
  letter-spacing: .3px;
}

/* ==========================================================================
   STICKY BOTTOM CTA (mobile)
   ========================================================================== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 150;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
}
.sticky-cta-copy strong { display: block; font-size: 14px; color: var(--text); font-weight: 700; }
.sticky-cta-copy span  { display: block; font-size: 12px; color: var(--text-muted); }

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active { display: flex; }

/* Checkout Modal */
.modal-box {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(0,0,0,.05);
  position: relative;
  animation: modalIn .2s ease both;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-box h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  padding-right: 32px;
}
.modal-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

.modal-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.modal-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: all .2s;
}
.modal-opt:hover { border-color: #c8d3e0; }
.modal-opt.selected { border-color: var(--accent); background: var(--accent-light); }
.modal-opt input { width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; }
.modal-opt-body { flex: 1; }
.modal-opt-body strong { display: block; font-size: 14px; color: var(--text); }
.modal-opt-body span  { font-size: 12.5px; color: var(--text-muted); }
.modal-opt-price { font-size: 16px; font-weight: 800; color: var(--text); }
.val-badge,
.modal-opt-body .val-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  padding: 2px 7px;
  background: var(--amber);
  color: #fff;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 4px;
}

.bump-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  margin-bottom: 16px;
}
.bump-box input { width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.bump-box strong { display: block; font-size: 13.5px; color: var(--text); }
.bump-box span   { display: block; font-size: 12px; color: var(--text-muted); }

.modal-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1.5px solid var(--border-light);
  border-bottom: 1.5px solid var(--border-light);
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.modal-total-amount {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.02em;
}
.modal-trust {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

.modal-x {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  color: var(--text-muted);
}
.modal-x:hover { background: var(--border); color: var(--text); }

/* Legal Modal */
.legal-modal {
  background: var(--white);
  border-radius: var(--r-xl);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(0,0,0,.05);
  animation: modalIn .2s ease both;
  overflow: hidden;
}
.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.legal-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.legal-tab {
  padding: 6px 14px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all .2s;
}
.legal-tab:hover { background: var(--bg-alt); color: var(--text); }
.legal-tab.active { background: var(--bg-alt); color: var(--text); border-color: var(--border); font-weight: 600; }

.legal-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.legal-ext {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  transition: opacity .2s;
}
.legal-ext:hover { opacity: .7; }

.legal-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
}
.legal-scroll h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.legal-meta { font-size: 12.5px; color: var(--text-muted); margin-bottom: 20px; }
.legal-body h3 { font-size: 14.5px; font-weight: 700; margin: 18px 0 6px; color: var(--text); }
.legal-body p, .legal-body li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.legal-body ul, .legal-body ol {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 4px 0;
}
.legal-body a { color: var(--accent); }

.legal-note {
  font-size: 13.5px;
  line-height: 1.65;
  padding: 14px 16px;
  border-radius: var(--r);
  margin-bottom: 8px;
  border-left: 3px solid;
}
.note-green { background: var(--green-bg); border-color: var(--green); color: var(--text-2); }
.note-blue  { background: var(--accent-light); border-color: var(--accent); color: var(--text-2); }

.legal-tab-pane { display: none; }
.legal-tab-pane.active { display: block; }

/* ==========================================================================
   TOAST
   ========================================================================== */
.vs-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  padding: 12px 20px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #0f172a;
  z-index: 1400;
  max-width: min(520px, calc(100% - 32px));
  text-align: center;
  white-space: normal;
  box-shadow: var(--sh-lg);
  opacity: 0;
  transition: opacity .3s ease, transform .3s cubic-bezier(.215,.61,.355,1);
  pointer-events: none;
}
.vs-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.vs-toast--success { background: #065f46; }
.vs-toast--error { background: #991b1b; }
.vs-toast--info { background: #1e3a8a; }
/* Persona Quick-Selector (5 Roles) */
.persona-selector-wrap {
  max-width: 960px;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.persona-selector-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-muted);
  text-align: center;
}
.persona-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.persona-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 2px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: var(--sh-xs);
}
.persona-tab:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}
.persona-tab.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  box-shadow: 0 4px 14px rgba(15,23,42,.18);
}
.persona-tab.active .persona-icon {
  transform: scale(1.15);
}
.persona-icon {
  font-size: 14px;
  transition: transform .2s ease;
}
.persona-benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.persona-benefit-highlight {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.persona-benefit-highlight strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.persona-benefit-highlight span {
  font-size: 12.5px;
  color: var(--text-2);
}
.persona-rec-pill {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid #bfdbfe;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

/* MLS Board Directory Ticker */
.mls-board-ticker-wrap {
  margin-top: 36px;
  padding: 24px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  text-align: center;
}
.mls-board-ticker-header {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mls-board-grid {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mls-board-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.mls-board-chip-check {
  color: var(--green);
  font-weight: 800;
}

/* Brokerage Modal Styles */
.modal-team-seats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.team-seat-btn {
  padding: 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all .2s;
}
.team-seat-btn.active {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
}
.form-field-group {
  margin-bottom: 14px;
  text-align: left;
}
.form-field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.form-field-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-family: var(--font);
  color: var(--text);
  box-sizing: border-box;
}
.form-field-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hamburger { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; max-width: 560px; margin: 0 auto; }
  .hero-cta-row, .hero-trust-row, .hero-proof { justify-content: center; }
  .hero-desc { margin-inline: auto; }
  .hero-title { font-size: clamp(40px, 11vw, 52px); line-height: 1.05; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .why-chat-grid { grid-template-columns: 1fr; }
  .pricing-row { grid-template-columns: 1fr; max-width: 420px; }
  .price-card-featured { transform: scale(1); }
  .price-card-featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .nav-login { display: none; }
  .hamburger { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .nav-actions { margin-left: auto; }

  .hero { padding: 90px 0 56px; }
  .hero-mini-pair { display: none; }
  .gallery-section, .how-section, .studio-section, .features-section,
  .comparison-section, .why-chat-section, .pricing-section, .testimonials-section,
  .faq-section, .final-cta { padding: 72px 0; }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .metric-val { font-size: 30px; }

  .steps-grid { grid-template-columns: 1fr; gap: 10px; }
  .step-card {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 16px;
  }
  .step-num { margin: 2px 0 0; }
  .step-body h3 { font-size: 20px; margin-bottom: 4px; }

  .studio-layout { grid-template-columns: 1fr; }
  .studio-section { text-align: left; }

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

  .why-chat-grid { grid-template-columns: 1fr; }

  .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .faq-left { position: static; }

  .compare-board {
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: none;
  }
  .compare-head-row { display: none; }
  .compare-row {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 14px 6px;
  }
  .compare-board .compare-head-row { display: none; }
  .compare-row + .compare-row { border-top: 1px solid var(--border); }
  .compare-label {
    display: block;
    padding: 0 2px 8px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
  }
  .compare-cell {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 2px;
    border-top: 1px solid var(--border-light);
    font-size: 15px;
    text-align: right;
  }
  .compare-cell::before {
    content: attr(data-who);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13.5px;
    text-align: left;
    flex-shrink: 0;
  }
  .compare-row:not(.compare-head-row) .compare-us {
    background: transparent;
  }
  .compare-us::before { color: var(--text); }
  .compare-sub { margin-top: 1px; }

  .persona-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .persona-tabs::-webkit-scrollbar { display: none; }
  .persona-tab { flex-shrink: 0; white-space: nowrap; }

  .gallery-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 4px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
  }
  .gallery-tabs::-webkit-scrollbar { display: none; }
  .gallery-tab {
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 13px;
    scroll-snap-align: start;
  }
  .style-chip { min-height: 40px; padding: 8px 14px; }

  /* Hero Slider Badges: avoid 3-way collision on mobile */
  .slider-badge-overlay-right { display: none; }
  .slider-badge-overlay-left { font-size: 11px; padding: 4px 8px; top: 10px; left: 10px; }
  .slider-drag-hint { font-size: 11px; padding: 4px 10px; top: 10px; }
  .slider-label { font-size: 10px; padding: 4px 10px; bottom: 10px; }
  .slider-label-before { left: 10px; }
  .slider-label-after { right: 10px; }

  .gallery-metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .compete-row { grid-template-columns: 1fr; }
  .gallery-thumb-ribbon { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .gallery-impact-card { padding: 18px 20px; }
  .gallery-quote-card { padding: 18px 20px; }
  .gallery-agent-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .agent-mls-verified { margin-left: 0; }

  .gallery-showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .gallery-pair { grid-template-columns: 1fr; gap: 10px; }
  .gallery-help { margin-top: 12px; }
  #galleryBuyerLine { font-size: 14.5px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .sticky-cta {
    display: block;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  body:not(.legal-page-body) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .vs-toast { bottom: 88px; }

  /* Mobile bottom sheet modal experience with full scrolling support */
  .modal-overlay { padding: 12px 8px; align-items: flex-end; }
  .modal-box {
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 28px 20px 36px;
  }
  .modal-box h2 { font-size: 20px; }
  .modal-options { gap: 8px; }
  .modal-opt { padding: 10px 12px; }
  .modal-opt-body strong { font-size: 13px; }
  .modal-opt-body span { font-size: 11.5px; }

  .zillow-sniper-card { padding: 24px 18px; }

  .rating-summary { flex-direction: column; gap: 16px; text-align: center; padding: 24px; }
  .payment-trust-row { gap: 14px; }

  .press-bar .container { flex-direction: column; gap: 10px; }
  .press-logos, .gallery-action-trust {
    flex-direction: column;
    gap: 6px;
  }
  .press-sep, .gallery-action-trust span:empty { display: none; }
  .gallery-action-trust span:nth-child(even) { display: none; }

  .account-bar { padding: 12px 16px; gap: 10px; }
  .account-bar-actions { gap: 8px; }
  .account-bar-actions > a { display: none; }
  .account-bar .brand-name { font-size: 18px; }
  .account-bar .nav-user-badge > span:nth-child(2) { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-container { padding: 0 12px 0 14px; gap: 8px; }
  .hero-cta-row { flex-direction: column; }
  .btn-hero { width: 100%; justify-content: center; }
  .hero-trust-row { flex-direction: column; gap: 10px; align-items: center; }
  .gallery-metrics-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-showcase-grid { grid-template-columns: 1fr; gap: 14px; }
  .gallery-thumb-ribbon {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .gallery-thumb-card {
    min-width: 130px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .price-card { padding: 24px 18px; }
  .action-btn-group { width: 100%; flex-direction: column; }
  .btn-gallery-stage, .btn-gallery-download { width: 100%; justify-content: center; }
  .sidebar-pills { grid-template-columns: repeat(2, 1fr); }
  .final-cta-buttons { flex-direction: column; align-items: center; }
  .btn-white, .btn-white-outline { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .brokerage-grid { gap: 14px 24px; }
  .traffic-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   COMPLETION: legal pages, account, prompts, modal chrome
   ========================================================================== */
.legal-page-body { background: var(--bg-alt); }
.legal-page-body .navbar { border-bottom-color: var(--border); }
.legal-page-content { padding: 110px 0 72px; }
@media (max-width: 640px) {
  .legal-page-body .nav-actions .btn-outline { display: none; }
  .legal-page-body .brand-name { font-size: 18px; }
  .legal-page-body .nav-container { padding-left: 16px; padding-right: 16px; gap: 10px; }
}
.legal-page-hero { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.legal-page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin: 12px 0;
}
.legal-page-hero > p { color: var(--text-muted); font-size: 16px; }
.legal-shield-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  background: var(--accent-light);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 100px;
}
.legal-switcher-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.legal-pill-link {
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.legal-pill-link.active, .legal-pill-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.legal-card-standalone {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--sh);
  margin-bottom: 28px;
}
.legal-doc-header h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.legal-doc-meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-muted); }
.btn-icon-link {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 8px 14px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font);
  color: var(--text);
}
.legal-prose h3 { margin: 28px 0 8px; font-size: 18px; }
.legal-prose h4 { margin: 16px 0 6px; font-size: 15px; }
.legal-prose p, .legal-prose li { color: var(--text-2); line-height: 1.7; font-size: 15px; }
.legal-prose ul, .legal-prose ol { padding-left: 20px; margin: 8px 0 12px; }
.legal-prose a { color: var(--accent); font-weight: 600; }
.legal-callout { padding: 16px 18px; border-radius: var(--r); margin: 16px 0; border-left: 3px solid; }
.callout-green { background: var(--green-bg); border-color: var(--green); }
.callout-blue { background: var(--accent-light); border-color: var(--accent); }
.callout-amber { background: #fffbeb; border-color: var(--amber); }
.legal-table-wrapper { overflow-x: auto; margin: 16px 0; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--bg-alt); }
.legal-bottom-cta { margin-top: 8px; text-align: center; }
.traffic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.traffic-card { padding: 16px; border-radius: var(--r); border: 1px solid var(--border); background: #fff; }
.traffic-card h3, .traffic-card h4 { margin: 8px 0; }
.traffic-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.green-card { background: var(--green-bg); border-color: var(--green-border); }
.yellow-card { background: #fffbeb; border-color: #fde68a; }
.red-card { background: #fef2f2; border-color: #fecaca; }
.modal-head { margin-bottom: 8px; }
.modal-head h2 { padding-right: 36px; }
.checkout-guarantee {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: #065f46;
  background: var(--green-bg);
  padding: 10px 12px;
  border-radius: var(--r);
  margin-bottom: 14px;
}
.pay-note { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 10px; }
.sidebar-textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 13px;
  color: var(--text);
}
.sidebar-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.sidebar-optional { font-weight: 500; color: var(--text-faint); text-transform: none; letter-spacing: 0; }
.account-credits { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .concierge-pulse-dot, .slider-drag-hint { animation: none; }
}

/* ==========================================================================
   SAAS DOMINANCE ENHANCEMENTS: PRICING TOGGLE, MLS CERT & ZILLOW SNIPER
   ========================================================================== */

/* --- PRICING TOGGLE --- */
.pricing-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px auto 36px;
}
.pricing-toggle-wrap {
  display: inline-flex;
  background: #f1f5f9;
  padding: 5px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}
.pricing-toggle-btn {
  background: transparent;
  border: none;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  outline: none;
}
.pricing-toggle-btn.active {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0,0,0,0.09);
}
.save-badge {
  background: #10b981;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.2px;
}

/* --- ORDER BUMPS IN CHECKOUT --- */
.bump-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 12px 14px;
  margin-top: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  text-align: left;
}
.bump-box:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.bump-box input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--accent);
  cursor: pointer;
}
.bump-tag {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

/* --- MLS CERTIFICATE MODAL & SHEET --- */
.cert-modal-box {
  max-width: 680px;
  background: #ffffff;
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: var(--sh-xl);
  position: relative;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
}
.cert-sheet {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: var(--r);
  padding: 28px 24px;
  position: relative;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
}
.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 16px;
  margin-bottom: 18px;
}
.cert-title-group h3 {
  font-family: 'Newsreader', serif;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.cert-title-group p {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
}
.cert-seal {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #f59e0b;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: 2px solid #fbbf24;
}
.cert-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid #e2e8f0;
}
.cert-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 2px;
}
.cert-field span, .cert-field input {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
}
.cert-field input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 4px 8px;
  font-family: inherit;
}
.cert-body-clauses {
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 18px;
}
.cert-body-clauses ul {
  padding-left: 20px;
  margin: 8px 0;
}
.cert-body-clauses li {
  margin-bottom: 4px;
}
.cert-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1.5px dashed #cbd5e1;
  padding-top: 14px;
  font-size: 11px;
  color: #64748b;
}

/* --- ZILLOW SNIPER ENGINE UI --- */
.zillow-sniper-section {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
}
.zillow-sniper-card {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.zillow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: left;
  margin-top: 24px;
}
.zillow-inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.zillow-input-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.zillow-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
}
.zillow-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.zillow-output-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.zillow-email-preview {
  font-family: monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #1e293b;
  white-space: pre-wrap;
  margin-bottom: 16px;
  background: #fff;
  padding: 14px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  max-height: 220px;
  overflow-y: auto;
}
.btn-copy-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .zillow-grid { grid-template-columns: 1fr; gap: 20px; }
  .cert-details-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   USER AUTHENTICATION, USAGE TRACKING & USER DASHBOARD STYLES
   ========================================================================== */

/* --- NAVBAR USER PROFILE BADGE --- */
.nav-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  padding: 5px 12px 5px 8px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.nav-user-badge:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(37,99,235,0.12);
  transform: translateY(-1px);
}
.nav-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.nav-credits-chip {
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 7px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.nav-credits-chip svg { color: #f59e0b; fill: #f59e0b; }

/* --- AUTH MODAL TABS --- */
.auth-tabs {
  display: flex;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 20px;
}
.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 10px 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
}
.auth-tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.demo-quick-auth-btn {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  width: 100%;
  margin-top: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease;
}
.demo-quick-auth-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* --- USER DASHBOARD MODAL --- */
.dashboard-modal-box {
  max-width: 900px;
  width: 95%;
  background: #ffffff;
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: var(--sh-xl);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1.5px solid #f1f5f9;
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.dash-user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.dash-avatar-large {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash-user-text h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}
.dash-user-text p {
  font-size: 13.5px;
  color: var(--text-muted);
}
.dash-plan-badge {
  display: inline-block;
  background: #ede9fe;
  color: #6d28d9;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
}

/* KPI CARDS */
.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.kpi-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--r);
  padding: 16px 14px;
  text-align: left;
}
.kpi-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.kpi-value {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}
.kpi-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

/* BALANCE HERO CARD */
.dashboard-balance-bar {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: var(--r);
  padding: 20px 24px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  box-shadow: 0 4px 14px rgba(15,23,42,0.15);
}
.balance-left h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 4px;
}
.balance-num-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.balance-num {
  font-size: 32px;
  font-weight: 900;
  color: #fbbf24;
}
.balance-desc {
  font-size: 13px;
  color: #cbd5e1;
}

/* RECENT RENDERS GRID */
.dash-section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dashboard-renders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.render-history-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.render-history-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.render-thumb-box {
  height: 120px;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
}
.render-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.render-thumb-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.render-card-body {
  padding: 12px;
  text-align: left;
}
.render-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  text-transform: capitalize;
}
.render-card-meta {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 10px;
}
.render-card-actions {
  display: flex;
  gap: 6px;
}
.render-card-actions button {
  flex: 1;
  font-size: 11px;
  padding: 5px 0;
}

/* TRANSACTION TABLE */
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: left;
}
.dash-table th, .dash-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
}
.dash-table th {
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
}
.dash-status-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: #dcfce7;
  color: #15803d;
}

@media (max-width: 860px) {
  .dashboard-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-renders-grid { grid-template-columns: 1fr; }
  .dashboard-balance-bar { flex-direction: column; gap: 16px; text-align: center; }
}


