/* ═══════════════════════════════════════════
   DATADRIVEN — MARKETING SITE STYLES
   Imports shared foundation from /shared/styles/
   ═══════════════════════════════════════════ */

@import './shared/styles/index.css';
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.10); border-radius: 2px; }

/* ─── GRAIN OVERLAY ─── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px 256px;
}



/* ─── LAYOUT ─── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
.section { padding: 160px 0; position: relative; overflow: hidden; }
.section--border { border-top: none; }
.section--tight-bottom { padding-bottom: 80px; }
@media (max-width: 768px) { .wrap { padding: 0 20px; } .section { padding: 100px 0; } }

/* ─── NAV ─── */
.nav {
  position: relative; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,0.0);
  backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}
.nav--scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.nav__logo { font-size: 15px; font-weight: 900; letter-spacing: -0.03em; color: var(--text); display: flex; align-items: center; gap: 10px; }
.nav__logo-tag { font-size: 10px; font-weight: 400; letter-spacing: 0.02em; color: var(--pop); }
.nav__right { display: flex; align-items: center; gap: 12px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 13px; font-weight: 400;
  letter-spacing: 0.01em; border-radius: 10px; padding: 6px 14px;
  transition: all 0.25s var(--ease); white-space: nowrap; position: relative;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--pop); }
.btn--ghost { background: transparent; border: 1px solid var(--line-hi); color: var(--body); }
.btn--ghost:hover { border-color: var(--line-hi2); color: var(--text); }
.btn--primary {
  background: var(--text); border: 1px solid var(--text); color: var(--bg); font-weight: 500;
}
.btn--primary:hover { background: rgba(255,255,255,0.85); }
.btn--large { padding: 14px 32px; font-size: 15px; }
@media (max-width: 768px) { .btn--large { padding: 12px 24px; font-size: 14px; } }

/* ─── HERO ─── */
.hero {
  padding: 140px 0 0; position: relative; overflow: hidden;
}
.hero__top {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end;
  margin-bottom: 64px;
}
.hero__left { position: relative; z-index: 2; }
.hero__right { position: relative; z-index: 2; }
.hero__label {
  font-family: var(--font-display); font-size: 10px; letter-spacing: 0.14em;
  color: var(--dim); margin-bottom: 24px; opacity: 0;
}
.hero__headline {
  font-size: clamp(36px, 5.5vw, 60px); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.12; color: var(--text);
}
.hero__headline .word { display: inline-block; opacity: 0; transform: translateY(30px); }
.hero__headline .word--accent { color: var(--text); }
.hero__sub {
  font-size: 15px; line-height: 1.7; color: var(--body);
  margin-bottom: 32px; opacity: 0; transform: translateY(20px);
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); }
.hero__proof { margin-top: 20px; font-size: 11px; color: rgba(255,255,255,0.4); opacity: 0; }
.hero__proof span { color: var(--pop); font-weight: 600; }

@media (max-width: 768px) {
  .hero__top { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
  .hero { padding: 120px 0 0; }
}

/* ─── HERO CARDS ─── */
.hero__cards {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  overflow: visible;
}
.hcard {
  background: #f2f2f0; border: none; border-radius: 12px;
  padding: 0; position: relative; overflow: hidden;
  transition: background 0.25s;
  opacity: 0; transform: translateY(20px);
  color: #1a1a1a;
}
.hcard:hover { background: #e8e8e6; }

/* Card visual area */
.hcard__visual {
  height: 340px; padding: 28px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: #e8e8e6;
}

/* Browser mockup — light */
.hcard__browser {
  width: 100%; max-width: 240px; background: #fff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px; overflow: hidden;
}
.hcard__browser-bar {
  display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hcard__browser-bar span {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,0.12);
}
.hcard__browser-body { padding: 12px; }
.hcard__bar-row { margin-bottom: 6px; }
.hcard__bar {
  height: 4px; background: rgba(0,0,0,0.08); border-radius: 2px;
}
.hcard__bar--accent { background: rgba(0,0,0,0.15); }
.hcard__ab {
  display: flex; gap: 8px; margin-top: 14px;
}
.hcard__ab-col {
  flex: 1; text-align: center;
}
.hcard__ab-col span {
  font-family: var(--font-display); font-size: 8px; color: rgba(0,0,0,0.35); letter-spacing: 0.1em;
}
.hcard__ab-block {
  height: 28px; background: rgba(0,0,0,0.06); border-radius: 4px; margin-bottom: 4px;
}
.hcard__ab-col--win .hcard__ab-block {
  height: 40px; background: #1a1a1a;
}

/* Search results mockup — light */
.hcard__search { width: 100%; max-width: 240px; }
.hcard__search-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 20px;
  padding: 7px 12px; margin-bottom: 12px;
}
.hcard__search-bar span {
  font-size: 10px; color: rgba(0,0,0,0.4); font-family: var(--font-display);
}
.hcard__search-bar svg { width: 12px; height: 12px; color: rgba(0,0,0,0.3); }
.hcard__search-result {
  background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 6px;
  padding: 10px 12px; margin-bottom: 6px;
}
.hcard__search-result--you { border-color: rgba(0,0,0,0.15); }
.hcard__search-ad {
  font-family: var(--font-display); font-size: 7px; letter-spacing: 0.1em;
  color: rgba(0,0,0,0.35); margin-bottom: 3px;
}
.hcard__search-result--you .hcard__search-ad { color: rgba(0,0,0,0.5); }
.hcard__search-title { font-size: 11px; font-weight: 600; color: #1a1a1a; margin-bottom: 2px; }
.hcard__search-result--you .hcard__search-title { color: #1a1a1a; }
.hcard__search-url { font-size: 9px; color: rgba(0,0,0,0.35); }

/* Mini phone / SMS mockup — light */
.hcard__mini-phone {
  width: 100%; max-width: 220px;
  display: flex; flex-direction: column; gap: 6px;
}
.hcard__mini-msg {
  max-width: 85%; padding: 6px 10px; font-size: 9px; line-height: 1.4;
  border-radius: 10px;
}
.hcard__mini-msg--in {
  align-self: flex-end; background: #1a1a1a; color: #fff;
  border-bottom-right-radius: 3px;
}
.hcard__mini-msg--out {
  align-self: flex-start; background: #fff; color: #1a1a1a; border: 1px solid rgba(0,0,0,0.08);
  border-bottom-left-radius: 3px;
}

/* Card bottom text area */
.hcard__meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 0;
}
.hcard__meta svg { width: 20px; height: 20px; color: rgba(0,0,0,0.35); }
.hcard__meta span {
  font-family: var(--font-display); font-size: 10px; letter-spacing: 0.1em; color: var(--pop);
}
.hcard__title {
  font-size: 16px; font-weight: 700; color: #1a1a1a; letter-spacing: -0.02em;
  padding: 12px 24px 0;
}
.hcard__desc {
  font-size: 13px; color: rgba(0,0,0,0.55); line-height: 1.5;
  padding: 6px 24px 24px;
}

/* Flow particles canvas behind cards */
.hero__flow-canvas {
  position: absolute; top: -60px; left: -60px;
  width: calc(100% + 120px); height: calc(100% + 120px);
  z-index: 2; pointer-events: none;
}
.hcard { z-index: 3; position: relative; }

@media (max-width: 768px) {
  .hero__cards { grid-template-columns: 1fr; padding: 0 20px; gap: 10px; }
  .hcard__visual { height: 260px; }
  .nav__right .btn:last-child { display: none; }
  .nav__inner { padding: 0 20px; }
}

/* ─── RIGHT PLACE ─── */
.rightplace { }
.rightplace__label {
  font-family: var(--font-display); font-size: 11px;
  letter-spacing: 0.01em;
  color: var(--dim); margin-bottom: 24px;
}
.rightplace__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px;
  background: none; border: none;
}
.rightplace__item {
  background: var(--surface); padding: 16px 18px; border-radius: 10px;
  transition: background 0.25s;
}
.rightplace__item:hover { background: var(--surface); }
.rightplace__icon {
  width: 28px; height: 28px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center;
}
.rightplace__icon svg { width: 18px; height: 18px; color: var(--pop); }
.rightplace__item p {
  font-size: 13px; line-height: 1.5; color: var(--body); font-weight: 400;
}
@media (max-width: 768px) { .rightplace__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .rightplace__grid { grid-template-columns: 1fr; } }

/* ─── LAYER SECTIONS (static) ─── */
.layer-section { background: #0a0a0a; }
.layer-section__mockup {
  display: flex; justify-content: center;
  padding: 0 40px 48px;
}
.layer-section__mockup .j-browser {
  max-width: 700px; width: 100%;
}

/* ── Ads split (two-column) ── */
.ads-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  padding: 48px 40px 48px; max-width: 1100px; margin: 0 auto;
}
.ads-split__panel { display: flex; flex-direction: column; gap: 12px; }
.ads-split__panel .j-browser { width: 100%; }
.ads-split__badge {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); text-align: center;
}
.ads-split__badge--scan { color: var(--pop); }
.ads-scan {
  background: #141414; border-radius: 16px; padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 12px;
}
.ads-scan__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
}
.ads-scan__icon {
  width: 28px; height: 28px; flex-shrink: 0;
  color: rgba(255,255,255,0.25);
}
.ads-scan__icon svg { width: 100%; height: 100%; }
.ads-scan__info { flex: 1; min-width: 0; }
.ads-scan__name {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ads-scan__detail {
  font-size: 11px; color: rgba(255,255,255,0.25);
  font-family: var(--font-display); letter-spacing: 0.02em;
}
.ads-scan__status {
  font-family: var(--font-display); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 100px;
  flex-shrink: 0;
}
.ads-scan__status--scanned {
  color: #16a34a; background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.15);
}
.ads-scan__status--scanning {
  color: var(--pop); background: rgba(255,85,0,0.1); border: 1px solid rgba(255,85,0,0.15);
}
.ads-scan__item--hidden { opacity: 0; transform: translateY(8px); }
.ads-scan__item--visible { opacity: 1; transform: translateY(0); transition: opacity 0.4s ease, transform 0.4s ease; }
.ads-scan__divider--hidden { opacity: 0; }
.ads-scan__divider--visible { opacity: 1; transition: opacity 0.4s ease; }
.ads-scan__finding--hidden { opacity: 0; transform: translateX(-6px); }
.ads-scan__finding--visible { opacity: 1; transform: translateX(0); transition: opacity 0.35s ease, transform 0.35s ease; }
.ads-scan__finding-title--hidden { opacity: 0; }
.ads-scan__finding-title--visible { opacity: 1; transition: opacity 0.3s ease; }
.ads-scan__divider {
  height: 1px; background: rgba(255,255,255,0.06); margin: 4px 0;
}
.ads-scan__findings { display: flex; flex-direction: column; gap: 8px; }
.ads-scan__finding-title {
  font-family: var(--font-display); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 2px;
}
.ads-scan__finding {
  font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.4;
  display: flex; align-items: flex-start; gap: 8px;
}
.ads-scan__dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 5px;
}
.ads-scan__dot--green { background: #16a34a; }
.ads-scan__dot--orange { background: var(--pop); }
@media (max-width: 768px) {
  .ads-split { grid-template-columns: 1fr; gap: 24px; padding: 0 20px 32px; }
}

/* Legacy journey kept for compat */
.journey { position: relative; height: 200vh; }
.journey__pin {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  perspective: 1200px;
}
.journey__zoom {
  position: relative;
  width: 88vw; max-width: 1100px;
  height: 78vh; min-height: 560px;
  transform-origin: center center;
  will-change: transform;
}


/* Shared browser chrome */
.j-browser {
  width: 100%; height: 100%;
  background: #f2f2f0; border-radius: 16px;
  overflow: hidden; color: #1a1a1a;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.05);
}
.j-browser__chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #e8e8e6;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
}
.j-browser__dots { display: flex; gap: 6px; }
.j-browser__dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,0.1); }
.j-browser__url {
  font-family: var(--font-display); font-size: 10px; color: rgba(0,0,0,0.35);
  margin-left: auto; background: #f2f2f0; border: 1px solid rgba(0,0,0,0.06);
  padding: 4px 12px; border-radius: 6px;
}
.j-browser__body {
  flex: 1; overflow: hidden; position: relative;
  padding: 0;
}
.j-browser__body--search { padding: 24px; }

/* Search bar */
.j-search__bar {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 28px;
  padding: 14px 20px; margin-bottom: 20px;
  border: 1px solid rgba(0,0,0,0.08);
}
.j-search__query { font-size: 15px; color: #1a1a1a; }
.j-search__cursor {
  font-size: 16px; color: var(--pop); font-weight: 300;
  animation: jCursorBlink 0.8s step-end infinite;
}
@keyframes jCursorBlink { 50% { opacity: 0; } }
.j-search__results { }
.j-result {
  background: #fff; border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px; padding: 14px 18px; margin-bottom: 10px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s, box-shadow 0.3s, border-color 0.3s;
}
.j-result.visible { opacity: 1; transform: none; }
.j-result--you.highlight {
  border-color: var(--pop);
  box-shadow: 0 0 0 2px var(--pop), 0 8px 24px rgba(255,85,0,0.15);
}
.j-result__ad {
  font-family: var(--font-display); font-size: 9px; letter-spacing: 0.1em;
  color: rgba(0,0,0,0.35); margin-bottom: 4px; text-transform: uppercase;
}
.j-result__title { font-size: 15px; font-weight: 600; color: #1a1a1a; margin-bottom: 3px; }
.j-result__url { font-size: 11px; color: rgba(0,0,0,0.35); margin-bottom: 4px; }
.j-result__desc { font-size: 12px; color: rgba(0,0,0,0.5); line-height: 1.5; }

/* ── Layer 2: Website section ── */
.layer-section--website {
  background: #0a0a0a;
}
.site-section__label {
  background: #0a0a0a;
  padding: 24px 40px 0;
  text-align: center;
}
.site-section__label .journey__label-desc {
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px; max-width: 520px; margin-left: auto; margin-right: auto;
}
.site-section__label .journey__label-pills {
  justify-content: center;
}
/* ── Before / After split ── */
.site-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  padding: 48px 40px; max-width: 1100px; margin: 0 auto;
}
.site-split__panel { display: flex; flex-direction: column; gap: 12px; }
.site-split__badge {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); text-align: center;
}
.site-split__badge--after { color: var(--pop); }
.site-split__card {
  background: #e8e8e6; border-radius: 16px; padding: 24px; display: flex;
  flex-direction: column; gap: 20px; border: 1px solid rgba(0,0,0,0.06);
}
.site-split__card--after {
  background: #fff; border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.site-split__nav { display: flex; align-items: center; gap: 16px; }
.site-split__logo { width: 60px; height: 8px; border-radius: 4px; background: rgba(0,0,0,0.1); }
.site-split__nav-links { display: flex; gap: 12px; margin-left: auto; }
.site-split__nav-links span { width: 32px; height: 5px; border-radius: 3px; background: rgba(0,0,0,0.07); display: block; }
.site-split__hero { text-align: center; }
.site-split__stars { font-size: 13px; color: #f5a623; margin-bottom: 8px; opacity: 0; transition: opacity 0.5s; }
.site-split__stars span { font-size: 11px; color: rgba(0,0,0,0.4); margin-left: 4px; }
.site-split__card { transition: background 0.4s, box-shadow 0.4s, border-color 0.4s; }
.site-split__badge { transition: color 0.4s; }
.site-split__cta { transition: background 0.4s, color 0.4s, box-shadow 0.4s; }
.site-split__h {
  font-size: clamp(16px, 2vw, 22px); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.2; color: #1a1a1a; margin-bottom: 8px;
}
.site-split__before .site-split__h { color: rgba(0,0,0,0.4); }
.site-split__desc {
  font-size: 13px; line-height: 1.5; color: rgba(0,0,0,0.5); margin-bottom: 12px;
}
.site-split__before .site-split__desc { color: rgba(0,0,0,0.25); }
.site-split__cta {
  display: inline-block; border: none; border-radius: 10px;
  padding: 12px 28px; font-size: 14px; font-weight: 600;
  cursor: default; margin: 0 auto;
}
.site-split__cta--dull {
  background: rgba(0,0,0,0.08); color: rgba(0,0,0,0.3);
}
.site-split__cta--hot {
  background: var(--pop); color: #fff;
  box-shadow: 0 4px 16px rgba(255,85,0,0.3);
}
.site-split__metrics {
  display: flex; justify-content: center; gap: 24px;
  padding-top: 16px; border-top: 1px solid rgba(0,0,0,0.06);
}
.site-split__metric { text-align: center; }
.site-split__metric strong {
  display: block; font-size: 18px; font-weight: 700; color: rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
}
.site-split__card--after .site-split__metric strong { color: #1a1a1a; }
.site-split__metric span {
  font-family: var(--font-display); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(0,0,0,0.3);
}
.site-split__metric em {
  display: block; font-style: normal; font-size: 11px; font-weight: 600;
  color: #16a34a; margin-top: 2px;
}
.site-split__metrics--after .site-split__metric strong { color: #1a1a1a; }
.j-site__stars {
  font-size: 14px; color: #f5a623; margin-bottom: 12px;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.5s, transform 0.5s;
}
.j-site__stars.show { opacity: 1; transform: none; }
.j-site__stars span { font-size: 12px; color: rgba(0,0,0,0.4); margin-left: 6px; }
.j-site__h1 {
  font-size: clamp(24px, 3.5vw, 42px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.15;
  color: #1a1a1a; margin-bottom: 12px;
  min-height: 1.2em;
}
.j-site__desc {
  font-size: clamp(14px, 1.4vw, 17px); color: rgba(0,0,0,0.5);
  line-height: 1.6; margin-bottom: 24px;
  transition: opacity 0.3s;
}
.j-site__trust {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s;
}
.j-site__trust.show { opacity: 1; transform: none; }
.j-site__cta-wrap {
  display: flex; align-items: center; justify-content: center; gap: 0;
  transition: gap 0.5s;
}
.j-site__cta-wrap.expanded { gap: 14px; }
.j-site__cta {
  background: #1a1a1a; color: #fff; border: none;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  padding: 14px 32px; border-radius: 10px; cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  text-align: center; display: inline-flex; align-items: center; justify-content: center;
}
.j-site__cta span { display: inline; text-align: center; }
.j-site__cta.glow {
  background: var(--pop);
  box-shadow: 0 0 0 3px rgba(255,85,0,0.2), 0 8px 24px rgba(255,85,0,0.25);
  transform: scale(1.05);
}
.j-site__uplift {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: #16a34a; opacity: 0; transform: translateX(-8px);
  transition: opacity 0.5s, transform 0.5s;
  white-space: nowrap;
  width: 0; overflow: hidden;
}
.j-site__uplift.show { opacity: 1; transform: none; width: auto; overflow: visible; }

/* Typing cursor */
.typing-cursor {
  display: inline-block; width: 2px; height: 0.85em;
  background: var(--pop); margin-left: 1px;
  vertical-align: text-bottom;
  animation: jCursorBlink 0.6s step-end infinite;
}
.j-site__trust {
  display: flex; gap: 32px; max-width: 500px; /* layout handled here, visibility transitions above */
}
.j-site__trust-item {
  font-size: 13px; color: rgba(0,0,0,0.45); text-align: center;
}
.j-site__trust-item strong {
  display: block; font-size: 22px; font-weight: 700;
  color: #1a1a1a; margin-bottom: 2px;
}

/* Chat widget bubble */

/* Label overlay for full-screen stages */
.journey__label {
  position: absolute; bottom: -120px; left: 0; right: 0;
  text-align: center;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.6s 0.2s, transform 0.6s 0.2s;
  pointer-events: none;
}
.journey__label-tag {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.01em;
  color: var(--pop); margin-bottom: 6px;
}
.journey__label-title {
  font-size: clamp(20px, 2.2vw, 28px); font-weight: 500;
  letter-spacing: -0.03em; color: var(--text); margin-bottom: 10px;
}
.journey__label-pills {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.journey__label-pills span {
  font-family: var(--font-display); font-size: 11px;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  padding: 5px 12px; border-radius: 100px;
}
.journey__label-pills strong { color: var(--text); font-weight: 600; margin-left: 4px; }

/* ── Stage 3: SMS ── */
.sms-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.sms-grid__text {
  text-align: left;
}
.sms-grid__text .sh__title {
  text-align: left;
}
.sms-grid__text .sh__desc {
  text-align: left; margin: 0;
}
/* Standalone SMS section */
.sms-demo .phone-shell {
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06);
}

/* SMS messages */
.j-msg {
  max-width: 82%; padding: 8px 11px;
  font-size: 11.5px; line-height: 1.45; border-radius: 12px;
  margin-bottom: 6px; opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.j-msg.visible { opacity: 1; transform: none; }
.j-msg--agent { background: #161616; color: rgba(255,255,255,0.7); align-self: flex-start; border-bottom-left-radius: 4px; }
.j-msg--user { background: #fff; color: #1a1a1a; font-weight: 500; align-self: flex-end; border-bottom-right-radius: 4px; }
.j-msg--ts { align-self: center; background: none; font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.2); max-width: 100%; }
.j-msg--qualified { align-self: center; max-width: 100%; background: rgba(255,85,0,0.08); border: 1px solid rgba(255,85,0,0.15); border-radius: 8px; text-align: center; font-size: 10px; color: var(--pop); font-weight: 600; }

@media (max-width: 768px) {
  .journey { height: 350vh; }
  .journey__zoom { width: 92vw; height: 60vh; min-height: 400px; }
  .journey__label { bottom: -100px; }
  .journey__label-pills span { font-size: 10px; padding: 4px 10px; }
  .journey__screen--sms .phone-shell { transform: scale(1); }
  .j-site__page { padding: 20px 16px; gap: 16px; }
  .j-site__h1 { font-size: 22px; }
  .j-site__desc { font-size: 13px; margin-bottom: 12px; }
  .j-site__stars { font-size: 12px; margin-bottom: 8px; }
  .j-site__stars span { font-size: 10px; }
  .j-site__cta { font-size: 13px; padding: 10px 22px; border-radius: 8px; }
  .j-site__cta.glow { transform: scale(1.02); }
  .j-site__uplift { font-size: 11px; }
  .j-site__trust { gap: 16px; }
  .j-site__trust-item { font-size: 12px; }
  .j-site__trust-item strong { font-size: 18px; }
  .sms-grid { grid-template-columns: 1fr; gap: 32px; justify-items: center; }
  .sms-grid__phone { display: flex; justify-content: center; }
  .sms-grid__text { text-align: center; }
  .sms-grid__text .sh__title,
  .sms-grid__text .sh__desc { text-align: center; }
  .sms-grid__text .sms-pills { justify-content: center; }
  .sms-grid__text .sh__desc { margin: 0 auto; }
  .site-split { grid-template-columns: 1fr; gap: 24px; padding: 32px 20px; }
  .site-split__h { font-size: 16px; }
  .site-split__metric strong { font-size: 16px; }
}

/* ─── FEATURE SPLIT SECTIONS ─── */
.feat {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  max-width: var(--max-w); margin: 0 auto;
}
.feat--reverse { direction: rtl; }
.feat--reverse > * { direction: ltr; }
.feat__text { }
.feat__label {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.01em;
  color: var(--pop); margin-bottom: 20px;
}
.feat__title {
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.1; color: var(--text); margin-bottom: 20px;
}
.feat__desc {
  font-size: 15px; line-height: 1.7; color: var(--body); margin-bottom: 36px;
}
.feat__stats { border-top: 1px solid var(--line); }
.feat__stat {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--body);
}
.feat__stat-val {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-hi);
  padding: 4px 10px; border-radius: 4px;
}

/* Feature visual mockups — LIGHT cards for contrast */
.feat__visual {
  background: #f2f2f0; border: none;
  border-radius: 12px; overflow: hidden; position: relative;
  color: #1a1a1a;
}
.feat__visual--site { overflow: visible; }

/* Browser mockup — light theme */
.feat__browser { border-bottom: 1px solid rgba(0,0,0,0.08); }
.feat__visual--site { display: flex; flex-direction: column; }
.feat__browser-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.feat__browser-bar span { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,0.1); }
.feat__browser-url {
  font-family: var(--font-display); font-size: 8px; color: rgba(0,0,0,0.35);
  margin-left: auto; background: #fff; border: 1px solid rgba(0,0,0,0.06);
  padding: 3px 10px; border-radius: 4px;
}
.feat__browser-body { padding: 0; position: relative; overflow: hidden; height: 420px; }

/* A/B Float badge */
.ab-float {
  position: absolute; top: -14px; right: 20px; z-index: 10;
  background: #111; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 10px 14px; min-width: 150px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: all 0.5s ease;
}
.ab-float__indicator { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.ab-float__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); transition: background 0.4s; }
.ab-float__dot--winning { background: var(--pop); }
.ab-float__label { font-family: var(--font-display); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); transition: color 0.4s; }
.ab-float__score { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1; opacity: 0; transform: translateY(4px); transition: all 0.4s ease; }
.ab-float__score.show { opacity: 1; transform: none; }
.ab-float__score span { font-size: 8px; font-weight: 400; color: rgba(255,255,255,0.35); letter-spacing: 0.1em; display: block; margin-top: 3px; }

/* Site variant system */
.site-variant { position: absolute; top: 0; left: 0; right: 0; transition: opacity 0.6s ease; }
#variant-a { opacity: 1; z-index: 2; }
#variant-b { opacity: 0; z-index: 1; }
#variant-a.hide { opacity: 0; z-index: 1; }
#variant-b.show { opacity: 1; z-index: 2; }

/* Mini site wireframe elements */
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; border-bottom: 1px solid rgba(0,0,0,0.04); }
.site-nav__logo { width: 50px; height: 6px; background: rgba(0,0,0,0.15); border-radius: 2px; }
.site-nav__links { display: flex; gap: 10px; align-items: center; }
.site-nav__links span { width: 28px; height: 4px; background: rgba(0,0,0,0.08); border-radius: 2px; }
.site-nav__cta { width: 40px !important; height: 16px !important; background: rgba(0,0,0,0.12) !important; border-radius: 3px !important; }

.site-hero { display: grid; grid-template-columns: 1fr 0.8fr; gap: 16px; padding: 20px 16px 16px; align-items: start; }
.site-hero--b { grid-template-columns: 1fr; }
.site-hero__tag { font-family: var(--font-display); font-size: 6px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(0,0,0,0.3); margin-bottom: 6px; }
.site-hero__stars { font-size: 8px; color: rgba(0,0,0,0.5); margin-bottom: 6px; }
.site-hero__stars span { font-size: 7px; color: rgba(0,0,0,0.3); }
.site-hero__h1 { font-size: 12px; font-weight: 700; color: rgba(0,0,0,0.75); line-height: 1.3; margin-bottom: 8px; letter-spacing: -0.02em; }
.site-hero__p { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.site-hero__p span { height: 4px; background: rgba(0,0,0,0.07); border-radius: 2px; display: block; }
.site-hero__btn { display: inline-block; background: rgba(0,0,0,0.8); color: #fff; font-size: 7px; font-weight: 600; padding: 5px 12px; border-radius: 3px; letter-spacing: 0.02em; }
.site-hero__btn--ghost { background: transparent; color: rgba(0,0,0,0.5); border: 1px solid rgba(0,0,0,0.15); }
.site-hero__btns { display: flex; gap: 6px; align-items: center; }
.site-hero__img { background: rgba(0,0,0,0.05); border-radius: 6px; min-height: 80px; border: 1px solid rgba(0,0,0,0.06); }

.site-trust { display: flex; gap: 1px; background: rgba(0,0,0,0.06); margin: 0 16px; border-radius: 4px; overflow: hidden; }
.site-trust__item { flex: 1; background: #f2f2f0; text-align: center; padding: 8px 6px; font-size: 7px; color: rgba(0,0,0,0.4); }
.site-trust__item strong { display: block; font-size: 12px; font-weight: 700; color: rgba(0,0,0,0.7); margin-bottom: 1px; }

.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 16px; }
.site-card { background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 5px; padding: 10px; }
.site-card__icon { width: 20px; height: 20px; border-radius: 4px; background: rgba(0,0,0,0.06); margin-bottom: 8px; }
.site-card__lines { display: flex; flex-direction: column; gap: 4px; }
.site-card__lines span { height: 3px; background: rgba(0,0,0,0.06); border-radius: 2px; display: block; }
}
.feat__ab-badge strong { color: #fff; display: block; font-size: 16px; letter-spacing: -0.02em; margin-bottom: 2px; }

/* Search/ads mockup — light theme */
.feat__search-body { padding: 20px; min-height: 320px; }
.feat__search-input {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid rgba(0,0,0,0.12); border-radius: 24px;
  padding: 10px 16px; margin-bottom: 20px;
}
.feat__search-input span { font-size: 12px; color: rgba(0,0,0,0.45); }
.feat__search-input svg { width: 14px; height: 14px; color: rgba(0,0,0,0.3); margin-left: auto; }
.feat__ad-result {
  background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 8px;
  padding: 14px 16px; margin-bottom: 8px;
}
.feat__ad-result--top { border-color: rgba(0,0,0,0.15); }
.feat__ad-tag {
  font-family: var(--font-display); font-size: 8px; letter-spacing: 0.1em;
  color: rgba(0,0,0,0.35); margin-bottom: 4px;
}
.feat__ad-title { font-size: 13px; font-weight: 600; color: #1a1a1a; margin-bottom: 2px; }
.feat__ad-url { font-size: 10px; color: rgba(0,0,0,0.35); }
.feat__ad-desc { font-size: 11px; color: rgba(0,0,0,0.55); margin-top: 4px; line-height: 1.4; }

/* SMS/chat mockup — dark card inside light visual for contrast */
.feat__visual--chat { background: transparent; padding: 0; overflow: visible; display: flex; justify-content: center; align-items: center; }

/* ─── PHONE DEMO ─── */
.phone-shell {
  background: #111; overflow: hidden; position: relative;
  width: 280px; height: 608px; border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
  display: flex; flex-direction: column;
}
.phone-notch {
  width: 100px; height: 24px; background: #000; border-radius: 0 0 14px 14px;
  margin: 0 auto; position: relative;
}
.phone-notch::after {
  content: ''; width: 6px; height: 6px; background: rgba(255,255,255,0.06); border-radius: 50%;
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2px 20px 6px; font-family: var(--font-display); font-size: 9px; color: rgba(255,255,255,0.25);
}
.phone-status-dots { display: flex; gap: 2px; }
.phone-status-dots span { width: 3px; height: 7px; background: rgba(255,255,255,0.2); border-radius: 1px; }
.phone-hdr { background: #141414; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.phone-hdr-avatar { width: 28px; height: 28px; background: #1e1e1e; border: 1px solid rgba(255,255,255,0.06); display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; }
.phone-hdr-avatar svg { width: 14px; height: 14px; }
.phone-hdr-info { flex: 1; min-width: 0; }
.phone-hdr-name { font-size: 11px; font-weight: 600; letter-spacing: -0.01em; color: rgba(255,255,255,0.85); line-height: 1; }
.phone-hdr-status { font-family: var(--font-display); font-size: 7px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-top: 3px; display: flex; align-items: center; gap: 4px; }
.phone-hdr-status::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: var(--pop); display: inline-block; flex-shrink: 0; }
.phone-body { padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; background: #0a0a0a; position: relative; overflow-y: auto; scroll-behavior: smooth; }
.phone-body::-webkit-scrollbar { width: 0; }
.phone-footer { border-top: 1px solid rgba(255,255,255,0.06); background: #141414; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; }
.phone-footer-label { font-family: var(--font-display); font-size: 7px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.15); }

/* Chat messages */
.dd-msg-ts { text-align: center; font-family: var(--font-display); font-size: 7px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.15); margin: 2px 0; }
.dd-msg-wrap { display: flex; flex-direction: column; gap: 2px; max-width: 82%; }
.dd-msg-wrap.agent { align-self: flex-start; }
.dd-msg-wrap.user { align-self: flex-end; align-items: flex-end; }
.dd-msg-bubble { padding: 8px 12px; font-size: 11.5px; line-height: 1.5; font-weight: 400; position: relative; }
.dd-msg-wrap.agent .dd-msg-bubble { background: #161616; border: 1px solid rgba(255,255,255,0.05); color: rgba(255,255,255,0.55); border-radius: 2px 10px 10px 2px; }
.dd-msg-wrap.agent:first-of-type .dd-msg-bubble { border-radius: 10px 10px 10px 2px; }
.dd-msg-wrap.user .dd-msg-bubble { background: rgba(255,255,255,0.88); color: #000; font-weight: 500; border-radius: 10px 2px 2px 10px; }
.dd-msg-wrap.user .dd-msg-bubble:first-child { border-radius: 10px 10px 2px 10px; }

/* Typing indicator */
.dd-msg-typing { display: none; align-self: flex-start; }
.dd-msg-typing.visible { display: flex; }
.dd-msg-typing.user-typing { align-self: flex-end; }
.dd-msg-typing-inner { background: #161616; border: 1px solid rgba(255,255,255,0.05); padding: 9px 14px; display: flex; align-items: center; gap: 3px; border-radius: 10px 10px 10px 2px; }
.dd-msg-typing.user-typing .dd-msg-typing-inner { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); border-radius: 10px 10px 2px 10px; }
.dd-typing-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.25); animation: ddTypingPulse 1.4s infinite; }
.dd-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.dd-typing-dot:nth-child(3) { animation-delay: 0.3s; }
.dd-msg-typing.user-typing .dd-typing-dot { background: rgba(255,255,255,0.5); }
@keyframes ddTypingPulse { 0%,60%,100%{opacity:.3;transform:scale(1)} 30%{opacity:1;transform:scale(1.2)} }

/* Qualified banner */
.dd-msg-qualified { display: none; align-self: stretch; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 10px 12px; gap: 8px; align-items: center; border-radius: 4px; }
.dd-msg-qualified.show { display: flex; }
.dd-mq-icon { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.06); display: grid; place-items: center; flex-shrink: 0; }
.dd-mq-text { font-size: 10px; line-height: 1.5; color: rgba(255,255,255,0.4); }
.dd-mq-text strong { color: rgba(255,255,255,0.8); display: block; margin-bottom: 1px; }

/* Replay button */
.dd-replay-btn { display: none; align-items: center; gap: 4px; font-family: var(--font-display); font-size: 7px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.25); background: none; border: 1px solid rgba(255,255,255,0.06); padding: 4px 8px; cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.dd-replay-btn.show { display: flex; }
.dd-replay-btn:hover { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.12); }
.dd-replay-btn svg { width: 8px; height: 8px; }


/* Transition animations for chat messages */
.dd-msg-wrap, .dd-msg-ts, .dd-msg-typing, .dd-msg-qualified { opacity: 0; transform: translateY(8px); transition: opacity 0.35s ease, transform 0.35s ease; }
.dd-msg-wrap.visible, .dd-msg-ts.visible, .dd-msg-typing.visible, .dd-msg-qualified.show { opacity: 1; transform: none; }

@media (max-width: 768px) {
  .phone-shell { max-width: 100%; }
}

/* Side stats badges (like Supersonic) */
.feat__side-stats {
  position: absolute; top: 16px; right: -60px;
  display: flex; flex-direction: column; gap: 6px;
}
.feat__side-stat {
  background: var(--surface); border: 1px solid var(--line-hi);
  border-radius: 6px; padding: 8px 10px; text-align: center; min-width: 52px;
}
.feat__side-stat strong {
  display: block; font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--text); letter-spacing: -0.02em;
}
.feat__side-stat span {
  font-family: var(--font-display); font-size: 7px; color: var(--dim);
  letter-spacing: 0.1em; text-transform: uppercase;
}

@media (max-width: 768px) {
  .feat { grid-template-columns: 1fr; gap: 40px; }
  .feat--reverse { direction: ltr; }
  .feat__side-stats { display: none; }
}

/* ─── SECTION HEADERS ─── */
.sh { text-align: center; margin-bottom: 72px; }
.sh__label {
  font-family: var(--font-display); font-size: 11px; font-weight: 400;
  letter-spacing: 0.01em; color: var(--pop); margin-bottom: 16px;
}
.sh__title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.03em; color: var(--text); margin-bottom: 16px; }
.sh__desc { font-size: 16px; color: var(--body); max-width: 520px; margin: 0 auto; line-height: 1.6; }

/* ─── PROBLEMS (EMPATHY) ─── */
/* ─── BEFORE/AFTER ─── */
.compare { max-width: 900px; margin: 0 auto; }
.compare__header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-bottom: none;
}
.compare__header-cell {
  background: var(--surface); padding: 16px 32px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.01em; color: var(--dim);
}
.compare__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-top: none;
}
.compare__row:first-of-type { border-top: none; }
.compare__cell { background: var(--bg); padding: 24px 32px; font-size: 14px; line-height: 1.5; display: flex; align-items: center; gap: 12px; }
.compare__cell--before { color: var(--muted); }
.compare__cell--before::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: rgba(239,68,68,0.5); box-shadow: 0 0 8px rgba(239,68,68,0.3);
}
.compare__cell--after { color: var(--body); }
.compare__cell--after::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--pop); box-shadow: 0 0 8px rgba(255,85,0,0.3);
}
@media (max-width: 768px) { .compare__row, .compare__header { grid-template-columns: 1fr; } }

/* ─── FLYWHEEL CANVAS ─── */
.flywheel { position: relative; display: flex; justify-content: center; align-items: center; }
.flywheel canvas { display: block; max-width: 100%; }

/* ─── TICKER ─── */
.ticker {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 14px 0; white-space: nowrap;
  background: linear-gradient(90deg, var(--bg), var(--surface), var(--bg));
}
.ticker__track { display: inline-flex; gap: 48px; animation: ticker 40s linear infinite; }
.ticker__item {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.02em;
  color: var(--muted); display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.ticker__dot {
  width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
  background: var(--pop); box-shadow: 0 0 6px rgba(255,85,0,0.3);
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── STATS ─── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--bg); padding: 48px 32px; text-align: center; position: relative; overflow: hidden; }
.stat:hover .stat__glow { opacity: 1; }
.stat__glow {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-subtle), transparent);
  opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.stat__value {
  font-size: clamp(36px, 5vw, 52px); font-weight: 700; color: var(--text);
  letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px;
}
.stat__label { font-size: 13px; color: var(--muted); }
@media (max-width: 768px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ─── ASSESSMENT TEASER ─── */
.teaser { max-width: 640px; margin: 0 auto; text-align: center; }
.teaser__question {
  font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: var(--text);
  letter-spacing: -0.02em; margin-bottom: 36px;
}
.teaser__options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 32px; }
.teaser__opt {
  background: var(--surface); border: 1px solid var(--line-hi); padding: 16px 20px;
  font-size: 14px; color: var(--body); text-align: center; border-radius: 8px;
  transition: all 0.25s var(--ease); cursor: pointer; position: relative; overflow: hidden;
}
.teaser__opt:hover { border-color: var(--line-hi2); color: var(--text); background: var(--surface2); }
.teaser__opt.selected { border-color: var(--line-hi2); color: var(--text); background: var(--surface2); }
.teaser__result { opacity: 0; max-height: 0; overflow: hidden; transition: opacity 0.5s, max-height 0.5s var(--ease); }
.teaser__result.visible { opacity: 1; max-height: 200px; }
.teaser__result-bar { width: 100%; height: 4px; background: var(--line); margin-bottom: 16px; overflow: hidden; border-radius: 2px; }
.teaser__result-fill {
  height: 100%; width: 0; border-radius: 2px;
  background: var(--text);
  box-shadow: none;
  transition: width 1s var(--ease);
}
.teaser__result-text { font-size: 15px; color: var(--body); line-height: 1.6; margin-bottom: 24px; }
.teaser__result-text strong { color: var(--text); }
@media (max-width: 768px) { .teaser__options { grid-template-columns: 1fr; } }

/* ─── PRICING ─── */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.price-card { background: var(--bg); padding: 48px 36px; position: relative; overflow: hidden; }
.price-card:last-child {
  background: var(--surface);
  border-image: linear-gradient(180deg, var(--line-hi2), transparent) 1;
  border-left: 1px solid;
}
.price-card:last-child .price-card__badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-hi); border-radius: 20px;
  padding: 4px 12px; font-size: 10px; color: var(--muted);
  font-family: var(--font-display); letter-spacing: 0.06em; margin-bottom: 16px;
}
.price-card__label {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.01em;
  color: var(--dim); margin-bottom: 16px;
}
.price-card__name { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.price-card__price { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.price-card__features { list-style: none; margin-bottom: 32px; }
.price-card__features li {
  font-size: 13px; color: var(--body); padding: 10px 0;
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px;
}
.price-card__features li:last-child { border-bottom: none; }
.price-card__features li svg { width: 14px; height: 14px; color: var(--dim); flex-shrink: 0; }
@media (max-width: 768px) { .pricing { grid-template-columns: 1fr; } }

/* ─── FAQ ─── */
.faq { max-width: 700px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; font-size: 15px; font-weight: 500; color: var(--text);
  text-align: left; transition: color 0.2s;
}
.faq__q:hover { color: var(--body); }
.faq__q svg { width: 16px; height: 16px; color: var(--dim); flex-shrink: 0; transition: transform 0.3s var(--ease); }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__item.open .faq__a { max-height: 300px; }
.faq__a-inner { padding: 0 0 22px; font-size: 14px; line-height: 1.65; color: var(--body); }

/* ─── BIG TEXT CTA ─── */
.bigcta { text-align: center; position: relative; z-index: 1; }
.bigcta__headline {
  font-size: clamp(48px, 10vw, 120px); font-weight: 700;
  letter-spacing: -0.05em; line-height: 0.95; color: var(--text); margin-bottom: 40px;
}
.bigcta__headline .word { display: inline-block; opacity: 0.06; transition: opacity 0.6s var(--ease); }
.bigcta__headline .word.lit { opacity: 1; }
.bigcta__headline .word--accent.lit { color: var(--pop); }
.bigcta__sub { font-size: 16px; color: var(--body); margin-bottom: 36px; max-width: 440px; margin-left: auto; margin-right: auto; }
.bigcta__objections { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 20px; }
.bigcta__obj { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.bigcta__obj svg { width: 14px; height: 14px; color: var(--pop); }

/* ─── FOOTER ─── */
.footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; }
.footer__brand { font-size: 15px; font-weight: 900; letter-spacing: -0.03em; color: var(--text); margin-bottom: 8px; }
.footer__tagline { font-size: 12px; color: var(--dim); max-width: 280px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 12px; color: var(--muted); transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }
.footer__copy { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11px; color: var(--dim); text-align: center; }
@media (max-width: 768px) { .footer__inner { flex-direction: column; gap: 24px; } .footer__links { flex-wrap: wrap; gap: 16px; } }

/* ─── SCROLL REVEAL ─── */
.rev { opacity: 0; transform: translateY(30px); }

/* ─── ANIMATED LINK UNDERLINES ─── */
.link-anim { position: relative; display: inline-block; }
.link-anim::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px;
  background: var(--text); transition: width 0.3s var(--ease);
}
.link-anim:hover::after { width: 100%; }

/* ═══════════════════════════════════════════
   MARKETING ASSESSMENT QUIZ — Minimal
   ═══════════════════════════════════════════ */

/* Overlay */
#quiz-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
#quiz-overlay.open { opacity: 1; pointer-events: all; }

/* Modal shell */
.quiz-modal { background: var(--bg); border: 1px solid var(--line-hi); border-radius: 10px; width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto; position: relative; transform: translateY(20px) scale(.98); transition: transform .4s var(--ease); }
#quiz-overlay.open .quiz-modal { transform: translateY(0) scale(1); }
.quiz-modal::-webkit-scrollbar { width: 0; }

/* Header */
.qm-header { background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; border-radius: 10px 10px 0 0; }
.qm-title-block { display: flex; flex-direction: column; gap: 3px; }
.qm-eyebrow { font-family: var(--font-display); font-size: 11px; font-weight: 400; letter-spacing: 0.01em; color: var(--dim); }
.qm-title { font-size: 16px; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.qm-close { background: none; border: 1px solid var(--line-hi); border-radius: 8px; cursor: pointer; color: var(--muted); font-size: 16px; line-height: 1; padding: 6px 10px; transition: all .2s; }
.qm-close:hover { color: var(--text); border-color: var(--line-hi2); }

/* Progress */
.qm-progress-wrap { background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 28px; display: flex; align-items: center; gap: 14px; }
.qm-progress-track { flex: 1; height: 2px; background: var(--line-hi); border-radius: 2px; overflow: hidden; }
.qm-progress-fill { height: 100%; background: var(--pop); border-radius: 2px; transition: width .4s var(--ease); width: 0%; }
.qm-progress-label { font-family: var(--font-display); font-size: 12px; color: var(--dim); letter-spacing: 0.01em; white-space: nowrap; }

/* ── Intro Page ── */
.qi-intro { padding: 0; }
.qi-title { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--text); margin-bottom: 6px; }
.qi-sub { font-size: 13px; color: var(--body); line-height: 1.55; margin-bottom: 24px; }
.qi-section { margin-bottom: 20px; }
.qi-section-label { font-family: var(--font-display); font-size: 11px; font-weight: 400; color: var(--dim); margin-bottom: 8px; }
.qi-areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.qi-area-item { font-family: var(--font-display); font-size: 12px; color: var(--body); padding: 10px 14px; background: var(--surface); border-radius: 10px; display: flex; align-items: center; gap: 8px; }
.qi-area-num { font-family: var(--font-mono); font-size: 9px; color: var(--pop); }
.qi-outcomes { display: flex; flex-direction: column; gap: 5px; }
.qi-outcome { font-family: var(--font-display); font-size: 12px; color: var(--body); padding: 10px 14px; background: var(--surface); border-radius: 10px; }
.qi-meta { font-family: var(--font-display); font-size: 11px; color: var(--dim); margin-bottom: 20px; }
.qi-start { width: 100%; padding: 13px; background: var(--text); color: var(--bg); font-family: var(--font-display); font-size: 13px; font-weight: 500; border: 1px solid var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; transition: all .25s var(--ease); }
.qi-start:hover { background: rgba(255,255,255,.85); }
.qi-start svg { width: 10px; height: 10px; }

/* ── Body ── */
.qm-body { padding: 36px 32px; }
.q-panel { display: none; }
.q-panel.active { display: block; }

/* Question number */
.q-num { font-family: var(--font-display); font-size: 12px; font-weight: 400; letter-spacing: 0.01em; color: var(--dim); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.q-multi-badge { font-family: var(--font-display); font-size: 11px; font-weight: 400; color: var(--pop); border: 1px solid rgba(255,85,0,.2); padding: 2px 10px; border-radius: 100px; }

/* Question text */
.q-text { font-size: 20px; font-weight: 700; letter-spacing: -.03em; line-height: 1.25; margin-bottom: 6px; color: var(--text); }
.q-sub { font-size: 13px; color: var(--body); line-height: 1.55; margin-bottom: 22px; font-weight: 400; }

/* Options — compact rounded cards */
.q-opts { display: flex; flex-direction: column; gap: 5px; }
.q-opts-multi { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.q-opt { display: flex; align-items: center; gap: 0; padding: 11px 16px; border: 1px solid transparent; border-radius: 10px; background: var(--surface); cursor: pointer; transition: all .15s var(--ease); text-align: left; width: 100%; }
.q-opt:hover { background: var(--surface2); }
.q-opt.selected { border-color: var(--pop); background: rgba(255,85,0,.06); }
.q-opt-indicator { display: none; }
.q-opt-check { display: none; }
.q-opt-text { font-family: var(--font-display); font-size: 13px; color: var(--text); line-height: 1.4; font-weight: 500; display: block; }
.q-opt-sub { font-family: var(--font-display); font-size: 11px; color: var(--muted); margin-top: 1px; display: block; font-weight: 400; }

/* Navigation */
.qm-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.qm-back { font-family: var(--font-display); font-size: 13px; font-weight: 400; color: var(--body); background: transparent; border: 1px solid var(--line-hi); border-radius: 8px; cursor: pointer; padding: 6px 14px; transition: all .25s var(--ease); }
.qm-back:hover { border-color: var(--line-hi2); color: var(--text); }
.qm-back:empty { border: none; padding: 0; }
.qm-next { font-family: var(--font-display); font-size: 13px; font-weight: 400; color: var(--body); background: transparent; border: 1px solid var(--line-hi); border-radius: 8px; cursor: pointer; padding: 6px 14px; transition: all .25s var(--ease); opacity: .3; pointer-events: none; }
.qm-next.enabled { opacity: 1; pointer-events: all; }
.qm-next.enabled:hover { border-color: var(--line-hi2); color: var(--text); }

/* Details form — individual rounded fields */
#q-details { display: none; padding: 32px 32px; }
.qd-heading { font-size: 18px; font-weight: 700; letter-spacing: -.025em; margin-bottom: 6px; color: var(--text); }
.qd-sub { font-size: 13px; color: var(--body); line-height: 1.55; margin-bottom: 24px; font-weight: 400; }
.qd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: none; border: none; border-radius: 0; overflow: visible; margin-bottom: 8px; }
.qd-grid.full-col { grid-template-columns: 1fr; }
.qd-field { background: var(--surface); padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; transition: all .2s; border-radius: 10px; border: 1px solid transparent; }
.qd-field:focus-within { background: var(--surface2); border-color: var(--line-hi2); }
.qd-field label { font-family: var(--font-display); font-size: 11px; font-weight: 400; letter-spacing: 0.01em; color: var(--dim); }
.qd-field input, .qd-field select { background: transparent; border: none; outline: none; color: var(--text); font-family: var(--font-display); font-size: 14px; font-weight: 400; width: 100%; }
.qd-field select option { background: var(--surface); }
.qd-field input::placeholder { color: var(--dim); }
.qd-submit { width: 100%; padding: 14px; background: var(--text); color: var(--bg); font-family: var(--font-display); font-size: 14px; font-weight: 500; border: 1px solid var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; border-radius: 10px; transition: all .25s var(--ease); }
.qd-submit:hover { background: rgba(255,255,255,.85); }
.qd-submit svg { width: 10px; height: 10px; }
.qd-micro { font-family: var(--font-display); font-size: 12px; color: var(--dim); margin-top: 12px; line-height: 1.65; }

/* ── Results ── */
#q-results { display: none; padding: 32px 32px; }
.qr-score-row { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.qr-score-num { font-size: 56px; font-weight: 900; letter-spacing: -.06em; line-height: 1; color: var(--pop); }
.qr-score-right { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 4px; }
.qr-score-label { font-family: var(--font-display); font-size: 11px; font-weight: 400; color: var(--dim); margin-bottom: 4px; }
.qr-verdict { font-size: 16px; font-weight: 600; letter-spacing: -.02em; color: var(--text); line-height: 1.3; }
.qr-tier-label { font-family: var(--font-display); font-size: 11px; font-weight: 500; padding: 3px 10px; border: 1px solid rgba(255,85,0,.3); color: var(--pop); display: inline-block; margin-top: 6px; border-radius: 100px; }

/* Area score bars */
.qr-areas { margin-bottom: 24px; }
.qr-areas-title { font-family: var(--font-display); font-size: 11px; font-weight: 400; color: var(--dim); margin-bottom: 12px; }
.qr-area-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; }
.qr-area-row--weak .qr-area-label { color: var(--text); }
.qr-area-label { font-family: var(--font-display); font-size: 12px; font-weight: 400; color: var(--muted); width: 155px; flex-shrink: 0; }
.qr-area-bar-wrap { flex: 1; height: 3px; background: var(--line); border-radius: 100px; overflow: hidden; }
.qr-area-bar { height: 100%; border-radius: 100px; transition: width 0.8s var(--ease); }
.qr-bar--default { background: rgba(255,255,255,.2); }
.qr-bar--weak { background: var(--pop); }
.qr-area-score { font-family: var(--font-mono); font-size: 11px; font-weight: 400; color: var(--dim); width: 30px; text-align: right; flex-shrink: 0; }
.qr-area-pct { font-size: 9px; opacity: .5; }

/* Weakest area callout */
.qr-weak-callout { background: var(--surface); border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.qr-weak-tag { font-family: var(--font-display); font-size: 11px; font-weight: 500; color: var(--pop); margin-bottom: 6px; }
.qr-weak-area { font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: var(--text); margin-bottom: 8px; }
.qr-weak-text { font-size: 13px; color: var(--body); line-height: 1.6; margin-bottom: 12px; }
.qr-weak-fix { font-size: 12px; color: var(--body); line-height: 1.6; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,85,0,.2); }

/* Website scan */
.qr-scan { background: var(--surface); border-radius: 10px; padding: 16px 20px; margin-bottom: 20px; }
.qr-scan-header { font-family: var(--font-display); font-size: 12px; font-weight: 500; color: var(--text); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.qr-scan-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pop); animation: qr-pulse 1.2s ease infinite; flex-shrink: 0; }
.qr-scan-dot--done { background: #34c759; animation: none; }
@keyframes qr-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.qr-scan-loading { display: flex; flex-direction: column; gap: 6px; }
.qr-scan-bar { height: 2px; background: var(--line); border-radius: 100px; overflow: hidden; }
.qr-scan-bar-fill { height: 100%; width: 30%; background: var(--pop); border-radius: 100px; animation: qr-scan-slide 1.5s ease infinite; }
@keyframes qr-scan-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(400%); } }
.qr-scan-status { font-family: var(--font-display); font-size: 11px; color: var(--dim); }
.qr-scan-findings { display: flex; flex-direction: column; gap: 8px; }
.qr-scan-finding { display: flex; gap: 10px; padding: 12px 14px; background: var(--bg); border-radius: 10px; }
.qr-scan-finding-icon { flex-shrink: 0; font-size: 12px; margin-top: 1px; }
.qr-scan-finding-title { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.qr-scan-finding-text { font-size: 12px; color: var(--body); line-height: 1.5; }
.qr-scan-finding-fix { font-size: 11px; color: var(--pop); line-height: 1.5; margin-top: 4px; }

/* CTA block */
.qr-cta-block { background: var(--surface); border-radius: 10px; padding: 20px; }
.qr-cta-head { font-size: 15px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; color: var(--text); }
.qr-cta-sub { font-size: 13px; color: var(--body); line-height: 1.6; margin-bottom: 16px; font-weight: 400; }
.qr-cta-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--text); color: var(--bg); font-family: var(--font-display); font-size: 13px; font-weight: 500; padding: 11px 22px; border: 1px solid var(--text); border-radius: 10px; cursor: pointer; transition: all .25s var(--ease); text-decoration: none; }
.qr-cta-btn:hover { background: rgba(255,255,255,.85); }
.qr-restart { font-family: var(--font-display); font-size: 12px; font-weight: 400; color: var(--dim); background: none; border: none; cursor: pointer; margin-top: 12px; display: block; transition: color .2s; }
.qr-restart:hover { color: var(--text); }

/* Details field hint */
.qd-field-hint { font-family: var(--font-display); font-size: 11px; color: var(--dim); margin-top: 4px; display: block; }

/* Quiz mobile */
@media (max-width: 768px) {
  #quiz-overlay { padding: 0; align-items: flex-end; }
  .quiz-modal { max-width: 100%; max-height: 94vh; border-radius: 10px 10px 0 0; border-left: none; border-right: none; border-bottom: none; }
  .qm-header { border-radius: 10px 10px 0 0; }
  .qm-body, #q-details, #q-results { padding: 28px 20px; }
  .q-text { font-size: 19px; }
  .q-opts-multi { grid-template-columns: 1fr; }
  .qd-grid { grid-template-columns: 1fr; }
}
