/* ========================================================================
   DAVNOOT — Shared design system
   ======================================================================== */

:root {
  --bg: #e8eee9;
  --bg-elev: #eff4ef;
  --bg-elev-2: #dde5de;
  --bg-card: #ffffff;
  --border: #d4ddd5;
  --border-hover: #c1ccc2;
  --text: #0a0a0a;
  --text-muted: #545b55;
  --text-dim: #8d958e;
  --accent: #0a0a0a;
  --accent-dim: #000000;
  --accent-text: #ffffff;
  --font-sans: 'Inter Tight', sans-serif;
  --font-serif: 'Fraunces', serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
@media (hover: none) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none !important; }
}

::selection { background: var(--accent); color: var(--accent-text); }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* === CUSTOM CURSOR === */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--text-muted);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s, background 0.3s;
}
.cursor.is-hovering { width: 0; height: 0; }
.cursor-ring.is-hovering {
  width: 64px; height: 64px;
  background: rgba(10, 10, 10, 0.1);
  border-color: var(--accent);
}

#ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* === WORDMARK === */
.wordmark {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.028em;
  color: var(--text);
}
.wordmark em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

/* === NAV === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(232, 238, 233, 0.85);
  border-bottom: 1px solid var(--border);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  height: 44px;
  width: auto;
  display: block;
}
.footer-logo-mark {
  height: 52px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}
.nav-cta {
  background: var(--accent);
  color: var(--accent-text);
  padding: 11px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); background: #3a3a3a; }
/* Hamburger — hidden on desktop, shown ≤1000px */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

/* === BUTTONS === */
.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  padding: 18px 30px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  transition: transform 0.2s, background 0.2s;
  font-family: var(--font-sans);
  letter-spacing: -0.005em;
  cursor: none;
}
.btn-primary:hover { background: #3a3a3a; transform: translateY(-2px); }
.btn-primary .arrow { transition: transform 0.25s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 18px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border-hover);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, border-color 0.2s;
  cursor: none;
}
.btn-secondary:hover { background: var(--bg-elev); border-color: var(--text-muted); }

/* === HERO (HOMEPAGE) === */
.hero {
  min-height: 100vh;
  padding: 200px 40px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--accent);
  animation: pulse 2s infinite;
}
.hero-eyebrow .sep { width: 1px; height: 12px; background: var(--text-dim); }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(56px, 11vw, 184px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 500;
  margin-bottom: 40px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: slideUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.35s; }
@keyframes slideUp { to { transform: translateY(0); } }

.rotator {
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  display: inline-block;
  position: relative;
}
.rotator-word {
  display: inline-block;
  transition: opacity 0.45s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s;
}
.rotator-word.out { opacity: 0; transform: translateY(-30%); filter: blur(8px); }
.rotator::after {
  content: '.';
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 56px;
  line-height: 1.5;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}
.hero-stats {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 1.3s forwards;
}
.hero-stat {
  text-align: right;
  border-right: 1px solid var(--accent);
  padding-right: 16px;
}
.hero-stat .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--text);
  margin-bottom: 6px;
}
.hero-stat .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
@media (max-width: 1100px) {
  .hero-stats { display: none; }
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 40px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 1s 1.6s forwards;
}
.scroll-hint::after {
  content: '';
  width: 48px; height: 1px;
  background: var(--text-dim);
  animation: scrollLine 2.2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleX(0.2); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  100% { transform: scaleX(0.2); transform-origin: right; }
}

/* === HERO INTERACTIVE VISUAL (homepage) === */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-content { min-width: 0; }
.hero-stats-row {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.3s forwards;
}
.hero-stats-row .hero-stat {
  text-align: left;
  border-right: none;
  border-left: 1px solid var(--accent);
  padding: 2px 0 2px 16px;
}
.hero-visual {
  position: relative;
  width: 100%;
  min-height: 460px;
  display: flex;
  align-items: center;
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -12%;
  background: radial-gradient(ellipse at 58% 45%, rgba(10, 10, 10, 0.10), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}
.hero-metric {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.hero-metric:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(10, 10, 10, 0.10);
}
.hm-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--accent);
}
.hm-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.hero-dots {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 2;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  border: none;
  padding: 0;
  cursor: none;
  transition: background 0.3s, width 0.3s, box-shadow 0.3s;
}
.hero-dot:hover { background: var(--text-muted); }
.hero-dot.active {
  width: 22px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(10, 10, 10, 0.6);
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 320px; order: 2; }
  .hero-stats-row { gap: 24px; margin-top: 40px; }
}

/* === SERVICE HERO (per-service pages) === */
.service-hero {
  padding: 180px 40px 80px;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .crumb-sep { color: var(--text-dim); }
.breadcrumb .crumb-current { color: var(--accent); }

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(48px, 7.5vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin-bottom: 32px;
}
.service-hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.service-hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 540px;
}
.service-num-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: 100px;
}

/* hero demo container (large showpiece) */
.hero-demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.hero-demo-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-demo-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@media (max-width: 1000px) {
  .service-hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* === TICKER === */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  background: var(--bg);
  position: relative;
  z-index: 2;
}
.ticker-track {
  display: flex;
  gap: 72px;
  animation: ticker 50s linear infinite;
  width: max-content;
}
.ticker-item {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.ticker-item .num {
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: 28px;
}
.ticker-item .lbl { color: var(--text-muted); }
.ticker-item::after {
  content: '';
  width: 6px; height: 6px;
  background: var(--text-dim);
  border-radius: 50%;
  margin-left: 72px;
  align-self: center;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === SECTIONS === */
section {
  padding: clamp(80px, 14vh, 180px) 40px;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-sans);
  font-size: clamp(36px, 6.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin-bottom: 28px;
  max-width: 1100px;
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 80px;
  line-height: 1.5;
}

/* === SERVICES GRID (HOMEPAGE) === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.service-card {
  background: var(--bg-card);
  padding: 36px;
  min-height: 360px;
  position: relative;
  isolation: isolate;
  transition: background 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.3s ease,
              filter 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.services-grid:hover .service-card:not(:hover) { opacity: 0.4; filter: saturate(0.9); }
.service-card:hover { background: var(--bg-elev); }
.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  transition: color 0.3s;
  text-transform: uppercase;
}
.service-card:hover .service-num { color: var(--accent); }
.service-name {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.service-name em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-variation-settings: "opsz" 144;
}
.service-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: auto;
}

/* Demos inside cards (smaller versions) */
.demo {
  margin-top: 24px;
  height: 130px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
}

/* --- SEO ranking demo --- */
.seo-results { padding: 10px; display: flex; flex-direction: column; gap: 6px; height: 100%; }
.seo-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; padding: 6px 10px;
  background: var(--bg-elev-2);
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.seo-row .rank {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 10px;
  width: 18px;
}
.seo-row .domain { color: var(--text-muted); flex: 1; font-family: var(--font-mono); }
.seo-row.ours { border-color: var(--accent); background: rgba(10, 10, 10,0.08); }
.seo-row.ours .rank, .seo-row.ours .domain { color: var(--accent); }
.service-card:hover .seo-row.ours { order: -1; }
.seo-row.ours { order: 2; }

/* --- Meta Ads --- */
.ads-row { display: flex; gap: 8px; padding: 10px; height: 100%; align-items: stretch; }
.ad-card {
  flex: 1; background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  transition: all 0.5s;
}
.ad-thumb { height: 30px; border-radius: 3px; background: linear-gradient(135deg, #e4e7e0, #cfd4ca); }
.ad-card:nth-child(2) .ad-thumb { background: linear-gradient(135deg, #e9ece5, #d4d8ce); }
.ad-card:nth-child(3) .ad-thumb { background: linear-gradient(135deg, #e6e9e2, #d0d4ca); }
.ad-label { font-family: var(--font-mono); font-size: 9px; color: var(--text-muted); letter-spacing: 0.05em; }
.ad-metric { font-family: var(--font-mono); font-size: 10px; color: var(--text); }
.ad-winner {
  position: absolute; inset: -1px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.4s 0.3s;
  pointer-events: none;
}
.ad-winner-badge {
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 0.4s 0.4s, transform 0.4s 0.4s;
}
.service-card:hover .ad-card.winner .ad-winner { opacity: 1; }
.service-card:hover .ad-card.winner .ad-winner-badge { opacity: 1; transform: translateX(-50%) translateY(-4px); }
.service-card:hover .ad-card:not(.winner) { opacity: 0.4; }

/* --- Email --- */
.emails { padding: 8px; display: flex; flex-direction: column; gap: 4px; height: 100%; }
.email-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 10px;
  transform: translateX(110%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .email-row { transform: translateX(0); opacity: 1; }
.service-card:hover .email-row:nth-child(1) { transition-delay: 0.05s; }
.service-card:hover .email-row:nth-child(2) { transition-delay: 0.2s; }
.service-card:hover .email-row:nth-child(3) { transition-delay: 0.35s; }
.service-card:hover .email-row:nth-child(4) { transition-delay: 0.5s; }
.email-icon {
  width: 16px; height: 16px;
  background: var(--accent);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--accent-text);
  font-weight: 600;
  flex-shrink: 0;
}
.email-subj { color: var(--text); font-weight: 500; }
.email-meta { color: var(--text-muted); margin-left: auto; font-family: var(--font-mono); }

/* --- AI SEO --- */
.ai-demo { padding: 12px; height: 100%; display: flex; flex-direction: column; gap: 8px; }
.ai-query {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ai-query::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
}
.ai-answer { font-size: 11px; color: var(--text); line-height: 1.45; font-family: var(--font-sans); }
.ai-cite {
  background: rgba(10, 10, 10,0.18);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  border: 1px solid rgba(10, 10, 10,0.3);
}

/* --- ChatGPT --- */
.gpt-demo { padding: 12px; height: 100%; display: flex; flex-direction: column; gap: 8px; }
.gpt-bubble {
  background: var(--bg-elev-2);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 10px;
  line-height: 1.4;
  color: var(--text);
  border-left: 2px solid var(--accent);
}
.gpt-bubble.sponsored { background: rgba(10, 10, 10,0.06); position: relative; }
.gpt-tag {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

/* --- AI SEO demo: reveal on hover (query → answer → citation glows) --- */
.ai-query, .ai-answer {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .ai-query { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.service-card:hover .ai-answer { opacity: 1; transform: translateY(0); transition-delay: 0.24s; }
.ai-cite { transition: box-shadow 0.45s ease, background 0.45s ease; }
.service-card:hover .ai-cite {
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.18);
  background: rgba(10, 10, 10, 0.28);
  transition-delay: 0.55s;
}

/* --- ChatGPT demo: the sponsored answer composes in on hover --- */
.gpt-bubble {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease;
}
.service-card:hover .gpt-bubble { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
.service-card:hover .gpt-bubble.sponsored { box-shadow: 0 0 26px rgba(10, 10, 10, 0.14); }

/* --- Terminal --- */
.term {
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  height: 100%;
  color: var(--text-muted);
  overflow: hidden;
}
.term .prompt { color: var(--accent); }
.term .str { color: #bdf0cf; }
.term .kw { color: var(--text); }
.term .com { color: var(--text-dim); }
.term .line { opacity: 0; transform: translateY(8px); transition: all 0.4s; }
.service-card:hover .term .line { opacity: 1; transform: translateY(0); }
.service-card:hover .term .line:nth-child(1) { transition-delay: 0.05s; }
.service-card:hover .term .line:nth-child(2) { transition-delay: 0.18s; }
.service-card:hover .term .line:nth-child(3) { transition-delay: 0.32s; }
.service-card:hover .term .line:nth-child(4) { transition-delay: 0.45s; }
.service-card:hover .term .line:nth-child(5) { transition-delay: 0.6s; }

.service-card-bottom {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-link {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s, transform 0.3s;
}
.service-card:hover .service-link {
  color: var(--accent);
  transform: translateX(4px);
}

/* --- premium card polish: spotlight glow + draw-in accent edge --- */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(130% 90% at 50% 0%, rgba(10, 10, 10, 0.08), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) {
  .service-card:hover::before { opacity: 1; }
  .service-card:hover::after { transform: scaleX(1); }
}

/* staggered entrance once the grid scrolls into view */
@keyframes cardReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.services-grid.visible .service-card {
  animation: cardReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.services-grid.visible .service-card:nth-child(1) { animation-delay: 0.05s; }
.services-grid.visible .service-card:nth-child(2) { animation-delay: 0.13s; }
.services-grid.visible .service-card:nth-child(3) { animation-delay: 0.21s; }
.services-grid.visible .service-card:nth-child(4) { animation-delay: 0.29s; }
.services-grid.visible .service-card:nth-child(5) { animation-delay: 0.37s; }
.services-grid.visible .service-card:nth-child(6) { animation-delay: 0.45s; }

/* === PROCESS (horizontal scroll) === */
.process-wrap {
  height: 400vh;
  position: relative;
  max-width: none;
  padding: 0;
  margin: 0;
}
.process-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-track {
  display: flex;
  will-change: transform;
  padding-left: 40px;
}
.process-intro {
  flex-shrink: 0;
  width: 50vw;
  padding-right: 40px;
}
.process-step {
  flex-shrink: 0;
  width: 70vw;
  padding: 0 60px;
  display: flex;
  align-items: center;
  gap: 80px;
}
.process-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: clamp(160px, 22vw, 360px);
  color: var(--accent);
  line-height: 0.85;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.process-content { max-width: 480px; }
.process-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}
.process-title {
  font-family: var(--font-sans);
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-bottom: 20px;
}
.process-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.55;
}
.process-progress {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: var(--border);
}
.process-progress-bar {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s linear;
}

/* === CAPABILITIES GRID (service pages) === */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.cap-card {
  background: var(--bg-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.4s;
  min-height: 220px;
}
.cap-card:hover { background: var(--bg-elev); }
.cap-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cap-title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cap-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
}
.cap-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: auto;
}

/* === APPROACH STEPS (service pages) === */
.approach-list {
  display: flex;
  flex-direction: column;
}
.approach-step {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  padding: 60px 0;
  border-top: 1px solid var(--border);
  align-items: start;
  position: relative;
}
.approach-step:last-child { border-bottom: 1px solid var(--border); }
.approach-step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: 96px;
  color: var(--accent);
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.approach-step-content { max-width: 700px; }
.approach-step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.approach-step-title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.approach-step-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === CASE STUDY SPOTLIGHT === */
.case-spotlight {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.case-meta { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.case-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 5px 11px;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
}
.case-metric-big {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(80px, 11vw, 168px);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 8px;
}
.case-metric-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.case-narrative {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 32px;
}
.case-narrative em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
}
.case-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-detail-num {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.case-detail-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

@media (max-width: 1000px) {
  .case-spotlight { grid-template-columns: 1fr; padding: 40px; gap: 40px; }
  .approach-step { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
}

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  cursor: none;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.faq-toggle {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}
.faq-item.open .faq-toggle {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 800px;
}
.faq-item.open .faq-a { max-height: 320px; margin-top: 24px; }

/* === RESULTS GRID === */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.result-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(10, 10, 10,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.result-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.result-card:hover::before { opacity: 1; }
.result-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 36px;
  padding: 5px 11px;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  display: inline-block;
}
.result-metric {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(48px, 6vw, 88px);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 18px;
}
.result-desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 24px;
}
.result-client {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.result-client::after { content: '→'; font-family: var(--font-sans); }

/* === LOGOS === */
.logos-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: none;
  margin: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.logos-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 56px;
}
.logos-track {
  display: flex;
  gap: 100px;
  animation: ticker 70s linear infinite;
  width: max-content;
  align-items: center;
}
.logo-item {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: 30px;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color 0.3s;
  opacity: 0.5;
}
.logo-item.sans {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.logo-item.mono {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0;
}
.logo-item:hover { color: var(--text); opacity: 1; }

/* === TESTIMONIAL === */
.testimonial { text-align: left; max-width: 1300px; position: relative; }
.testimonial-quote {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 56px;
}
.testimonial-quote em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.big-quote {
  position: absolute;
  top: -60px; left: -20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 220px;
  color: var(--accent);
  opacity: 0.15;
  line-height: 0.6;
  pointer-events: none;
  font-variation-settings: "opsz" 144;
}
.testimonial-author { display: flex; align-items: center; gap: 18px; }
.testimonial-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  font-weight: 500;
  color: var(--accent);
}
.testimonial-meta { display: flex; flex-direction: column; gap: 2px; }
.testimonial-name { font-size: 15px; font-weight: 500; }
.testimonial-role { font-size: 13px; color: var(--text-muted); }

/* === FINAL CTA === */
.final-cta {
  padding: clamp(120px, 20vh, 240px) 40px;
  text-align: left;
  max-width: 1600px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  position: relative;
}
.final-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.final-cta-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.final-cta-title {
  font-family: var(--font-sans);
  font-size: clamp(56px, 11vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 500;
  margin-bottom: 56px;
}
.final-cta-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.final-cta-sub {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 56px;
  max-width: 540px;
  line-height: 1.5;
}

/* === RELATED SERVICES (cross-sell) === */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 160px;
}
.related-card:hover { border-color: var(--accent); background: var(--bg-elev); transform: translateY(-3px); }
.related-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.related-card:hover .related-num { color: var(--accent); }
.related-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: auto;
}
.related-title em { font-family: var(--font-serif); font-style: italic; color: var(--accent); }
.related-arrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s, transform 0.3s;
}
.related-card:hover .related-arrow { color: var(--accent); transform: translateX(4px); }

/* === FOOTER === */
footer {
  padding: 80px 40px 40px;
  border-top: 1px solid var(--border);
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 96px;
}
.footer-tagline {
  font-family: var(--font-sans);
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 20px;
  color: var(--text-muted);
  max-width: 280px;
}
.footer-tagline em { font-family: var(--font-serif); font-style: italic; color: var(--accent); }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-col a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-big {
  font-family: var(--font-sans);
  font-size: clamp(80px, 18vw, 280px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.85;
  margin: 60px 0 40px;
  color: var(--text);
  overflow: hidden;
}
.footer-big em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === HERO DEMO VISUALIZATIONS (per service page) === */

/* SEO Hero Demo */
.seo-hero-demo .seo-results-big { display: flex; flex-direction: column; gap: 8px; }
.seo-results-big .seo-row { padding: 12px 16px; font-size: 13px; }
.seo-results-big .seo-row .rank { font-size: 12px; width: 24px; }
.seo-traffic-line {
  margin-top: 20px;
  height: 80px;
  position: relative;
  border-top: 1px dashed var(--border-hover);
  padding-top: 16px;
}
.seo-traffic-line .label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.seo-traffic-line svg { width: 100%; height: 50px; }

/* Meta Ads Hero Demo */
.meta-hero-demo .ads-grid-big {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.meta-hero-demo .ad-card-big {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  position: relative;
}
.meta-hero-demo .ad-card-big.winner {
  border-color: var(--accent);
  background: rgba(10, 10, 10,0.05);
}
.meta-hero-demo .ad-thumb-big {
  height: 90px;
  border-radius: 6px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #e4e7e0, #cfd4ca);
}
.meta-hero-demo .ad-card-big:nth-child(2) .ad-thumb-big { background: linear-gradient(135deg, #eaede6, #d4d8ce); }
.meta-hero-demo .ad-card-big:nth-child(3) .ad-thumb-big { background: linear-gradient(135deg, #e6e9e2, #d0d4ca); }
.meta-hero-demo .ad-card-big.winner .ad-thumb-big { background: linear-gradient(135deg, var(--accent-dim), #111111); }
.meta-hero-demo .ad-meta-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
}
.meta-hero-demo .ad-name { color: var(--text-muted); }
.meta-hero-demo .ad-num { color: var(--text); font-weight: 500; }
.meta-hero-demo .ad-card-big.winner .ad-num { color: var(--accent); }
.meta-hero-demo .winner-pill {
  position: absolute;
  top: -10px; right: 12px;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.meta-hero-summary {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px dashed var(--border-hover);
}
.meta-hero-summary .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.meta-hero-summary .val {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  font-variation-settings: "opsz" 144;
}

/* Paid Ads Hero Demo — Google + Meta side by side */
.paid-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.paid-channel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pc-head { display: flex; flex-direction: column; gap: 3px; }
.pc-name { font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.pc-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
/* Google: ROAS bars */
.pc-bars { display: flex; flex-direction: column; gap: 9px; }
.pc-bar { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10px; }
.pc-bar-l { color: var(--text-muted); width: 52px; flex-shrink: 0; }
.pc-bar-track { flex: 1; height: 6px; background: var(--bg-elev-2); border-radius: 3px; overflow: hidden; }
.pc-bar-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  border-radius: 3px;
  transform-origin: left;
  animation: pcGrow 1.1s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.pc-bar:nth-child(2) .pc-bar-track i { animation-delay: 0.12s; }
.pc-bar:nth-child(3) .pc-bar-track i { animation-delay: 0.24s; }
.pc-bar-v { color: var(--text); font-weight: 500; width: 30px; text-align: right; flex-shrink: 0; }
@keyframes pcGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Meta: variant rows */
.pc-variants { display: flex; flex-direction: column; gap: 7px; }
.pc-var {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
}
.pc-var-l { color: var(--text-muted); }
.pc-var-v { color: var(--text); font-weight: 500; }
.pc-var.winner { border-color: var(--accent); background: rgba(10, 10, 10, 0.08); }
.pc-var.winner .pc-var-v { color: var(--accent); }
.pc-var-pill {
  position: absolute;
  top: -8px; right: 8px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 7px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: 3px;
}
.pc-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border-hover);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.pc-val {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 0;
  text-transform: none;
}
@media (max-width: 1000px) {
  .paid-channels { grid-template-columns: 1fr; }
}

/* Email Hero Demo */
.email-hero-demo .email-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.email-flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.email-flow-step .step-num {
  width: 28px; height: 28px;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  flex-shrink: 0;
}
.email-flow-step .step-info { flex: 1; }
.email-flow-step .step-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}
.email-flow-step .step-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.email-flow-step .step-metric {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

/* AI SEO Hero Demo */
.ai-hero-demo .ai-query-big {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  padding: 12px 16px;
  background: var(--bg-elev-2);
  border-radius: 8px;
  border-left: 2px solid var(--accent);
  margin-bottom: 16px;
}
.ai-hero-demo .ai-answer-big {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 16px;
}
.ai-hero-demo .ai-answer-big .ai-cite {
  font-family: inherit;
  font-size: inherit;
  padding: 2px 8px;
}
.ai-hero-demo .ai-sources {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ai-source {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
}
.ai-source.our { color: var(--accent); border-color: var(--accent); background: rgba(10, 10, 10,0.08); }

/* ChatGPT Ads Hero Demo */
.chatgpt-hero-demo .gpt-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gpt-msg {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.gpt-msg.user {
  background: var(--bg-elev-2);
  align-self: flex-end;
  max-width: 75%;
  color: var(--text-muted);
}
.gpt-msg.assistant {
  background: var(--bg);
  border: 1px solid var(--border);
  align-self: flex-start;
  max-width: 90%;
}
.gpt-msg.assistant.sponsored {
  border-color: var(--accent);
  background: rgba(10, 10, 10,0.04);
  position: relative;
}
.gpt-msg.assistant.sponsored::before {
  content: 'Sponsored';
  position: absolute;
  top: -10px; left: 16px;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.gpt-msg strong { color: var(--accent); font-weight: 500; }

/* Software Hero Demo */
.software-hero-demo {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}
.software-hero-demo .hero-demo-label { margin: 28px 28px 16px; }
.software-hero-demo .term {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 24px 28px;
  font-size: 12px;
  height: auto;
  line-height: 1.7;
}
.software-hero-demo .term .line { opacity: 1; transform: none; }
.software-hero-demo .term .line.typing {
  border-right: 2px solid var(--accent);
  animation: caret 0.8s step-end infinite;
}
@keyframes caret {
  0%, 100% { border-color: var(--accent); }
  50% { border-color: transparent; }
}
.dashboard-preview {
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--border);
}
.dash-stat {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}
.dash-stat .lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}
.dash-stat .val {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  color: var(--accent);
  font-variation-settings: "opsz" 144;
}

/* === RESPONSIVE === */
@media (max-width: 1000px) {
  nav { padding: 16px 20px; }
  /* Hamburger menu */
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 9px; margin-left: 12px; flex: none; order: 3;
  }
  .nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease; }
  nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-cta { margin-left: auto; order: 2; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; order: 4;
    display: flex; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 6px 20px 16px;
    box-shadow: 0 18px 32px rgba(0,0,0,0.07);
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: transform 0.32s ease, opacity 0.32s ease;
  }
  nav.nav-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 15px 2px; font-size: 17px; border-bottom: 1px solid var(--border); }
  .nav-links a.active::after { display: none; }
  .hero { padding: 140px 20px 60px; }
  section { padding: 80px 20px; }
  .services-grid { grid-template-columns: 1fr; border-radius: 12px; }
  .service-card { padding: 28px; min-height: auto; }
  .results-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .scroll-hint { left: 20px; bottom: 24px; }
  .ticker-item { font-size: 16px; }
  .ticker-item .num { font-size: 20px; }
  .ticker-track { gap: 48px; }
  .process-step { width: 90vw; padding: 0 30px; gap: 30px; flex-direction: column; align-items: flex-start; }
  .process-num { font-size: clamp(120px, 30vw, 200px); }
  .process-intro { width: 90vw; padding: 0 30px; }
  .final-cta { padding: 100px 20px; }
  .big-quote { display: none; }
  .cap-grid { grid-template-columns: 1fr; border-radius: 12px; }
  .cap-card { padding: 28px; min-height: auto; }
  .related-grid { grid-template-columns: 1fr; }
  .service-hero { padding: 130px 20px 60px; }
  .meta-hero-demo .ads-grid-big { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .form-row-grid { grid-template-columns: 1fr; }
  .sc-meta-waterfall { grid-template-columns: 1fr; }
  .demo { height: 110px; }
  .approach-step-num { font-size: 64px; }
  .case-details { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   v2 — Service page additions
   ========================================================= */

/* === v2: SHOWCASE (big interactive proof section) === */
.showcase {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 50%, var(--bg) 100%);
  max-width: none;
  margin: 0;
  padding: clamp(100px, 16vh, 180px) 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.showcase-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}
.showcase-frame {
  margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-card);
  padding: 56px;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}
.showcase-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.showcase-corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 16px 20px;
}
.showcase-corner.tl { top: 0; left: 0; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); border-bottom-right-radius: 12px; }
.showcase-corner.tr { top: 0; right: 0; border-left: 1px solid var(--border); border-bottom: 1px solid var(--border); border-bottom-left-radius: 12px; display: flex; align-items: center; gap: 8px; }
.showcase-corner.tr::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent); animation: pulse 2s infinite; }

/* SEO showcase */
.sc-seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 32px;
}
.sc-seo-block {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.sc-seo-block-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sc-seo-block-label .month { color: var(--accent); }
.sc-rank-list { display: flex; flex-direction: column; gap: 10px; }
.sc-rank {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
}
.sc-rank .pos {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  width: 28px;
}
.sc-rank .url { font-family: var(--font-mono); flex: 1; color: var(--text-muted); }
.sc-rank.ours { border-color: var(--accent); background: rgba(10, 10, 10,0.06); }
.sc-rank.ours .pos, .sc-rank.ours .url { color: var(--accent); }
.sc-rank .trend {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.sc-rank.ours .trend { color: var(--accent); }

/* Meta showcase: creative waterfall */
.sc-meta-waterfall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.sc-creative {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1),
              filter 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}
.sc-creative .thumb {
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e4e6eb;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
}
/* Realistic Facebook/Instagram feed-ad recreation — CSS/SVG, evokes Meta UI.
   Product/avatar photos drop into images/ads/; CSS illustration is the fallback. */
.fbad { display: flex; flex-direction: column; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; }
.fbad svg { display: block; }
.fbad-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.fbad-head { display: flex; align-items: center; gap: 7px; padding: 10px 10px 8px; }
.fbad-pfp {
  width: 26px; height: 26px; border-radius: 50%; flex: none; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #b9c7e6, #8a6fce);
}
.fbad-pfp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 26% 62%; }
.sc-creative:nth-child(2) .fbad-pfp { background: linear-gradient(135deg, #e6b98a, #c47f5a); }
.sc-creative:nth-child(4) .fbad-pfp { background: linear-gradient(135deg, #e69ab0, #b85c8a); }
.sc-creative.winner .fbad-pfp { background: linear-gradient(135deg, #8a8a8a, #1a1a1a); }
.fbad-id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fbad-page { font-size: 11px; font-weight: 600; color: #1c1e21; line-height: 1.1; letter-spacing: -0.01em; }
.fbad-sub { display: flex; align-items: center; gap: 3px; font-size: 8px; color: #65676b; }
.fbad-i { width: 8px; height: 8px; color: #65676b; }
.fbad-more { width: 15px; height: 15px; margin-left: auto; color: #65676b; flex: none; }
.fbad-copy { padding: 0 10px 8px; font-size: 10px; line-height: 1.35; color: #1c1e21; }
.fbad-media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.h-lifestyle { background: linear-gradient(150deg, #ffe9d6, #ffd2b0 55%, #f3b98f); }
.h-founder { background: linear-gradient(150deg, #e7ded3, #cdbfa9); }
.h-ugc { background: linear-gradient(150deg, var(--accent-dim), #111111); }
.h-problem { background: #d9d4cd; }
.fbad-bottle { width: 26px; height: 52px; color: #ffffff; opacity: 0.92; filter: drop-shadow(0 5px 12px rgba(0,0,0,0.18)); }
.h-lifestyle .fbad-bottle { color: #c47a45; }
.fbad-person { width: 46px; height: 46px; color: #a89a86; }
.fbad-play {
  position: absolute; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.92); box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.fbad-play::after {
  content: ''; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%);
  border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #1c1e21;
}
.fbad-stars { position: absolute; z-index: 2; bottom: 8px; font-size: 14px; letter-spacing: 2px; color: #ffce4a; text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.fbad-ba { display: flex; width: 100%; height: 100%; }
.fbad-ba-l, .fbad-ba-r { flex: 1; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.fbad-ba-l { background: linear-gradient(160deg, #b9b1a8, #8f867b); }
.fbad-ba-r { background: linear-gradient(160deg, #6a6a6a, #1a1a1a); }
.fbad-link { display: flex; align-items: center; gap: 8px; background: #f0f2f5; padding: 8px 10px; }
.fbad-link-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.fbad-domain { font-size: 7.5px; letter-spacing: 0.05em; text-transform: uppercase; color: #65676b; }
.fbad-headline { font-size: 9.5px; font-weight: 600; color: #1c1e21; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fbad-btn {
  flex: none; font-family: var(--font-sans); font-size: 8.5px; font-weight: 600; color: #1c1e21;
  background: #e4e6eb; padding: 6px 10px; border-radius: 6px; white-space: nowrap;
}
.sc-creative.winner .fbad-btn { background: var(--accent); color: #fff; }
.fbad-engage { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px 5px; }
.fbad-reacts { display: flex; align-items: center; }
.fbad-rb { width: 13px; height: 13px; }
.fbad-rb:nth-child(2) { margin-left: -4px; }
.fbad-rc { margin-left: 5px; font-size: 8.5px; color: #65676b; }
.fbad-cc { font-size: 8.5px; color: #65676b; }
.fbad-actions { display: flex; border-top: 1px solid #e4e6eb; }
.fbad-act { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 6px 0; font-size: 8.5px; font-weight: 600; color: #65676b; }
.fbad-ai { width: 14px; height: 14px; color: #65676b; }

/* Budget reallocation bar — the "platform shifts spend to the winner" beat */
.sc-meta-budget {
  margin-top: 24px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.sc-meta-budget.anim-show { opacity: 1; transform: none; }
.scb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.scb-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.scb-caption { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--text-muted); opacity: 0; transition: opacity 0.5s ease 0.3s; }
.sc-meta-budget.anim-reallocate .scb-caption { opacity: 1; }
.scb-bar { display: flex; gap: 4px; margin-top: 10px; height: 12px; }
.scb-seg {
  flex-basis: 25%; background: var(--bg-elev-2); border-radius: 3px;
  transition: flex-basis 1.1s cubic-bezier(0.65,0,0.35,1), background 0.6s ease;
}
.scb-seg.scb-win { background: var(--accent); }
.sc-meta-budget.anim-reallocate .scb-seg { flex-basis: 8%; }
.sc-meta-budget.anim-reallocate .scb-seg.scb-win { flex-basis: 76%; box-shadow: 0 0 20px rgba(22,163,74,0.4); }

/* Capabilities merged into "What's included" as compact chips */
.deliv-caps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.deliv-caps-label { width: 100%; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.deliv-cap { font-size: 13px; color: var(--text); background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: 100px; padding: 6px 13px; }

/* Google Search (SERP) showcase — recreates a real Google results page */
.serp-layout { display: flex; gap: 24px; align-items: flex-start; margin-top: 32px; }
.sc-serp {
  flex: 1.6; min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 22px 24px 26px;
  font-family: arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
/* Right-rail Google Shopping ads */
.sc-serp-shop { flex: 1; min-width: 0; padding-top: 4px; font-family: arial, -apple-system, sans-serif; }
.shop-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px; }
.shop-spons { font-size: 12px; font-weight: 700; color: #202124; }
.shop-more { font-size: 12px; color: #1a73e8; }
.shop-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.shop-card {
  position: relative; display: flex; gap: 12px; padding: 10px; background: #fff;
  border: 1px solid #ebebeb; border-radius: 12px;
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1),
              filter 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}
.shop-img { width: 76px; height: 76px; border-radius: 8px; overflow: hidden; flex: none; background: #f1f3f4; }
.shop-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-info { display: flex; flex-direction: column; min-width: 0; }
.shop-name { font-size: 13px; line-height: 1.3; color: #202124; }
.shop-price { font-size: 15px; font-weight: 700; color: #202124; margin-top: 3px; }
.shop-store { font-size: 11px; color: #5f6368; margin-top: auto; }
.shop-rating { font-size: 11px; color: #fbbc05; margin-top: 3px; }
.shop-rating span { color: #70757a; }
.shop-card.winner { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.shop-card.winner .shop-price { color: var(--accent); }
@media (max-width: 900px) {
  .serp-layout { flex-direction: column; }
  .sc-serp-shop { width: 100%; }
}

/* SEO showcase — Google organic results + rank tracker */
.serp-org-list { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.serp-org { position: relative;
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.5s ease, border-color 0.5s ease; }
.serp-org-top { display: flex; align-items: center; gap: 10px; }
.serp-org-id { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.serp-org-name { font-size: 13px; color: #202124; }
.serp-org-url { font-size: 12px; color: #4d5156; }
.serp-org-h { display: block; font-size: 19px; line-height: 1.3; color: #1a0dab; margin-top: 5px; }
.serp-org-d { font-size: 13px; line-height: 1.5; color: #4d5156; margin-top: 3px; }
.serp-org.ours { position: relative; padding: 12px 14px; margin: 0 -14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-elev); }
.serp-org.ours.climbing { z-index: 5; border-color: var(--text-muted); box-shadow: 0 14px 34px rgba(0,0,0,0.16); }
.serp-org.ours.ranked { border-color: var(--accent); background: rgba(22,163,74,0.05); }
.serp-org.ours .serp-fav { background: linear-gradient(135deg,#8a8a8a,#1a1a1a); }
.serp-org .serp-fav.alt { background: linear-gradient(135deg,#c4c9d0,#9aa1ab); }
.serp-org .serp-fav.alt2 { background: linear-gradient(135deg,#e6b98a,#c47f5a); }
.serp-org.ours::before {
  content: 'WAS #38 · PAGE 4'; position: absolute; top: -10px; left: 14px;
  background: var(--text-muted); color: #fff; font-family: var(--font-mono); font-size: 9px; font-weight: 600;
  letter-spacing: 0.1em; padding: 4px 9px; border-radius: 3px;
  opacity: 0; transform: translateY(8px) scale(0.7);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.34,1.56,0.64,1), background 0.4s ease;
}
.serp-org.ours.climbing::before { opacity: 1; transform: none; }
.serp-org.ours.ranked::before { content: '↑ 37 · NOW #1'; background: var(--accent); opacity: 1; transform: none; }
.sc-rank-panel { flex: 0.85; min-width: 0; align-self: stretch; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.rank-head { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.rank-big { display: flex; align-items: baseline; gap: 5px; margin-top: 12px; }
.rank-hash { font-family: var(--font-serif); font-size: 26px; color: var(--text-muted); }
.rank-pos { font-family: var(--font-serif); font-size: 58px; font-weight: 500; line-height: 1; color: var(--text); }
.rank-arrow { color: var(--accent); font-size: 22px; font-weight: 600; }
.rank-label { font-size: 12px; line-height: 1.4; color: var(--text-muted); margin-top: 8px; }
.rank-spark { height: 64px; margin-top: 18px; }
.rank-spark-svg { width: 100%; height: 100%; }
.rank-spark-svg .grid { stroke: var(--border); stroke-width: 1; }
.rank-spark-svg .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1.7s cubic-bezier(0.4,0,0.2,1); }
.sc-rank-panel.anim-draw .rank-spark-svg .line { stroke-dashoffset: 0; }
.rank-kw-list { display: flex; flex-direction: column; gap: 9px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.rank-kw { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.rank-kw > span:first-child { font-size: 12.5px; color: var(--text-muted); }
.rank-kw-pos { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--accent); background: rgba(22,163,74,0.1); padding: 3px 8px; border-radius: 4px; flex: none; }
@media (max-width: 900px) { .sc-rank-panel { width: 100%; } }

/* Email showcase — automation flow builder + phone preview */
.sc-email-layout { display: flex; gap: 28px; align-items: flex-start; margin-top: 32px; }
.sc-flow { flex: 1.2; min-width: 0; }
.flow-node {
  position: relative; display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px;
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.5s ease, border-color 0.5s ease;
}
.flow-ico { width: 36px; height: 36px; border-radius: 9px; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--bg-elev-2); color: var(--text-muted); }
.flow-node.trigger .flow-ico { background: rgba(22,163,74,0.12); color: var(--accent); }
.flow-body { flex: 1; min-width: 0; }
.flow-t { font-size: 14px; font-weight: 500; color: var(--text); }
.flow-s { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.flow-metric { flex: none; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); background: var(--bg-elev-2); padding: 4px 9px; border-radius: 6px; }
.flow-metric b { font-weight: 600; color: var(--text); }
.flow-node.convert { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.flow-node.convert .flow-metric { background: rgba(22,163,74,0.12); }
.flow-node.convert .flow-metric b { color: var(--accent); }
.flow-conn {
  position: relative; display: flex; justify-content: center; padding: 9px 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.flow-conn::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed var(--border); }
.flow-wait { position: relative; background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: 100px;
  padding: 3px 11px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; color: var(--text-muted); }
/* phone email preview */
.sc-email-side { flex: 0.92; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.email-phone { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: 0 12px 34px rgba(0,0,0,0.09);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.email-phone-bar { display: flex; gap: 5px; padding: 10px 14px; background: #f0f2f5; }
.ep-dot { width: 7px; height: 7px; border-radius: 50%; background: #cdd2d8; }
.email-client { padding: 14px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.ec-row { display: flex; align-items: center; gap: 10px; }
.ec-avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; background: linear-gradient(135deg,#8a8a8a,#1a1a1a); }
.ec-meta { flex: 1; min-width: 0; }
.ec-from { font-size: 13px; font-weight: 600; color: #1c1e21; }
.ec-subj { font-size: 12px; color: #65676b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-time { font-size: 11px; color: #9aa0a6; flex: none; }
.ec-hero { margin-top: 12px; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: #f1f3f4; }
.ec-hero img { width: 100%; height: 100%; object-fit: cover; }
.ec-body { padding-top: 13px; }
.ec-h { font-size: 15px; font-weight: 600; color: #1c1e21; }
.ec-body p { font-size: 12.5px; line-height: 1.5; color: #4d5156; margin-top: 5px; }
.ec-cta { display: inline-block; margin-top: 13px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 8px 16px; border-radius: 8px; }
.email-rev { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.er-lbl { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.er-val { font-family: var(--font-serif); font-size: 40px; font-weight: 500; line-height: 1; color: var(--accent); margin-top: 6px; }
.er-trend { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
@media (max-width: 900px) { .sc-email-layout { flex-direction: column; } .sc-email-side { width: 100%; } }

/* AI SEO showcase — ChatGPT-style chat citing the brand + engine confirmations */
.sc-chat { flex: 1.5; min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #ececec; }
.chat-logo { width: 24px; height: 24px; border-radius: 7px; background: #10a37f; color: #fff; flex: none; display: flex; align-items: center; justify-content: center; }
.chat-title { font-size: 13px; font-weight: 600; color: #1c1e21; }
.chat-model { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: #8e8ea0; }
.chat-body { padding: 18px; min-height: 240px; }
.chat-msg { transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.chat-msg.user { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.chat-bubble { background: #f0f2f5; color: #1c1e21; font-size: 14px; padding: 10px 14px; border-radius: 16px 16px 4px 16px; max-width: 78%; }
.chat-msg.ai { display: flex; gap: 12px; }
.chat-avatar { width: 28px; height: 28px; border-radius: 8px; background: #10a37f; color: #fff; flex: none; display: flex; align-items: center; justify-content: center; }
.chat-resp { flex: 1; min-width: 0; }
.chat-typing { display: flex; gap: 4px; padding: 7px 0; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: #c5c5d2; animation: chatDot 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatDot { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-answer { font-size: 14px; line-height: 1.6; color: #1c1e21; }
.chat-answer .cite { color: var(--accent); font-weight: 600; background: rgba(22,163,74,0.1); border-radius: 4px; padding: 0 3px; }
.chat-answer sup { color: var(--accent); font-weight: 600; font-size: 10px; }
.chat-sources { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; transition: opacity 0.5s ease, transform 0.5s ease; }
.src-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #8e8ea0; }
.src-chip { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #1c1e21; background: #f0f2f5; border-radius: 100px; padding: 5px 11px; }
.src-fav { width: 13px; height: 13px; border-radius: 50%; background: linear-gradient(135deg,#8a8a8a,#1a1a1a); }
.src-fav.alt { background: linear-gradient(135deg,#9bb0e6,#5b6fce); }
.src-fav.alt2 { background: linear-gradient(135deg,#e6b98a,#c47f5a); }
.sc-engines { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.eng-head { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }
.eng-card { display: flex; align-items: center; gap: 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px;
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1), border-color 0.4s ease, box-shadow 0.4s ease; }
.eng-logo { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.eng-logo.cg { background: #10a37f; }
.eng-logo.px { background: #20808d; }
.eng-logo.gl { background: linear-gradient(135deg,#4285F4,#34A853); }
.eng-info { flex: 1; min-width: 0; }
.eng-name { font-size: 13px; font-weight: 500; color: var(--text); }
.eng-q { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.eng-badge { flex: none; font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); background: var(--bg-elev-2); padding: 4px 9px; border-radius: 6px; }
.eng-card.cited { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.eng-card.cited .eng-badge { color: #fff; background: var(--accent); }
.eng-card.cited .eng-badge::before { content: '✓ '; }
@media (max-width: 900px) { .sc-chat, .sc-engines { width: 100%; } }

/* AI SEO — three platform-authentic chats (ChatGPT + Perplexity top, Claude centered) */
.sc-ai-engines { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 32px; }
.aichat { flex: 0 1 calc(50% - 10px); min-width: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 22px rgba(0,0,0,0.06);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1); }
.aichat-bar { display: flex; align-items: center; gap: 9px; padding: 11px 15px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.aichat-logo { width: 24px; height: 24px; border-radius: 6px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; }
.aichat-name { font-size: 13px; font-weight: 600; }
.aichat-tag { margin-left: auto; font-family: var(--font-mono); font-size: 10px; opacity: 0.55; }
.aichat-body { padding: 18px; display: flex; flex-direction: column; min-height: 248px; }
.aichat-resp { display: block; }
.aichat-typing { display: none; gap: 5px; padding: 5px 0; }
.aichat-typing span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.4; animation: chatDot 1.2s infinite; }
.aichat-typing span:nth-child(2) { animation-delay: 0.2s; }
.aichat-typing span:nth-child(3) { animation-delay: 0.4s; }
.aichat-answer { font-size: 13.5px; line-height: 1.6; }
.aichat-answer sup { font-size: 9px; font-weight: 600; }
/* ChatGPT */
.cg-chat { background: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.cg-chat .aichat-name { color: #202123; }
.cg-logo, .cg-ava { background: #000; }
.cg-user { align-self: flex-end; background: #f0f2f5; color: #202123; font-size: 13.5px; padding: 9px 13px; border-radius: 14px 14px 4px 14px; max-width: 82%; margin-bottom: 14px; }
.cg-ai { display: flex; gap: 10px; }
.cg-ava { width: 26px; height: 26px; border-radius: 50%; color: #fff; flex: none; display: flex; align-items: center; justify-content: center; }
.cg-chat .aichat-answer { color: #202123; }
.cg-chat .cite { color: #10a37f; font-weight: 600; }
/* Perplexity */
.px-chat { background: #fcfcfa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.px-chat .aichat-name { color: #1f1f1f; }
.px-logo { background: #20808d; }
.px-q { font-size: 15px; font-weight: 600; color: #1f1f1f; line-height: 1.3; }
.px-sources { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.px-src { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #4a4a4a; background: #f0efe9; border: 1px solid #e6e4db; border-radius: 7px; padding: 4px 8px; }
.px-num { width: 14px; height: 14px; border-radius: 4px; background: #20808d; color: #fff; font-size: 9px; display: flex; align-items: center; justify-content: center; flex: none; }
.px-answer-head { font-size: 12px; font-weight: 600; color: #20808d; margin-top: 14px; }
.px-chat .aichat-resp { margin-top: 6px; }
.px-chat .aichat-answer { color: #1f1f1f; }
.px-chat .cite, .px-chat .aichat-answer sup { color: #20808d; font-weight: 600; }
/* Claude */
.cl-chat { background: #f0eee6; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.cl-chat .aichat-bar { border-bottom-color: rgba(0,0,0,0.07); }
.cl-chat .aichat-name { color: #3d3929; }
.cl-logo, .cl-ava { background: #d97757; }
.cl-user { align-self: flex-end; background: #e6e1d4; color: #3d3929; font-size: 13.5px; padding: 9px 13px; border-radius: 14px 14px 4px 14px; max-width: 82%; margin-bottom: 14px; }
.cl-ai { display: flex; gap: 10px; }
.cl-ava { width: 26px; height: 26px; border-radius: 7px; color: #fff; flex: none; display: flex; align-items: center; justify-content: center; }
.cl-chat .aichat-answer { color: #3d3929; font-family: var(--font-serif); }
.cl-chat .cite { color: #bd5d3a; font-weight: 600; }
/* ChatGPT Ads — Google AI (Gemini) engine + sponsored-placement treatment */
.gm-chat { background: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.gm-chat .aichat-name { color: #202123; }
.gm-logo, .gm-ava { background: linear-gradient(135deg, #4285F4, #9b72cb 55%, #d96570); }
.gm-user { align-self: flex-end; background: #f0f2f5; color: #202123; font-size: 13.5px; padding: 9px 13px; border-radius: 14px 14px 4px 14px; max-width: 82%; margin-bottom: 14px; }
.gm-ai { display: flex; gap: 10px; }
.gm-ava { width: 26px; height: 26px; border-radius: 50%; color: #fff; flex: none; display: flex; align-items: center; justify-content: center; }
.gm-chat .aichat-answer { color: #202123; }
.gm-chat .cite, .gm-chat .ad-cta { color: #4285F4; font-weight: 600; }
.ad-tag { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #70757a; background: rgba(0,0,0,0.06); border-radius: 4px; padding: 1px 6px; margin-right: 6px; vertical-align: middle; }
.ad-cta { font-weight: 600; white-space: nowrap; }
.cg-chat .ad-cta { color: #10a37f; }
.px-chat .ad-cta { color: #20808d; }
.px-spons { display: flex; align-items: center; font-size: 11px; color: #70757a; margin-top: 12px; }
@media (max-width: 760px) { .aichat { flex-basis: 100%; } }

/* Software showcase — a VS Code-style editor writing the app, then deploying */
.sc-ide { margin-top: 32px; background: #1e1e1e; border: 1px solid #2b2b2b; border-radius: 12px; overflow: hidden;
  box-shadow: 0 16px 42px rgba(0,0,0,0.2); font-family: var(--font-mono); }
.sc-ide-bar { display: flex; align-items: center; gap: 12px; padding: 9px 14px; background: #323233; border-bottom: 1px solid #252526; }
.sc-ide-dots { display: flex; gap: 7px; }
.sc-ide-dots span { width: 11px; height: 11px; border-radius: 50%; }
.sc-ide-dots span:nth-child(1) { background: #ff5f57; }
.sc-ide-dots span:nth-child(2) { background: #febc2e; }
.sc-ide-dots span:nth-child(3) { background: #28c840; }
.sc-ide-tab { font-size: 12px; color: #d4d4d4; background: #1e1e1e; padding: 6px 14px; border-radius: 6px 6px 0 0; margin-bottom: -9px; }
.sc-ide-meta { margin-left: auto; font-size: 11px; color: #7a7a7a; }
.sc-ide-body { display: flex; min-height: 440px; }
.sc-files { width: 170px; flex: none; background: #252526; border-right: 1px solid #1b1b1b; padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; }
.sc-file { font-size: 12px; color: #9da0a6; padding: 4px 8px; border-radius: 5px;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1); }
.sc-file.ind { padding-left: 22px; }
.sc-file.fold { color: #cdd0d6; }
.sc-file.on { background: #2d2d2e; color: #fff; }
.sc-editor { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sc-code-wrap { flex: 1; display: flex; padding: 14px 0; overflow: hidden; }
.sc-gutter, .sc-code { margin: 0; font-family: var(--font-mono); font-size: 14px; line-height: 1.75; }
.sc-gutter { padding: 0 18px; color: #5a5a5a; text-align: right; user-select: none; white-space: pre; }
.sc-code { padding-right: 18px; color: #d4d4d4; white-space: pre; overflow: hidden; }
.sc-code .k { color: #569cd6; }
.sc-code .s { color: #ce9178; }
.sc-code .f { color: #dcdcaa; }
.sc-code .c { color: #6a9955; font-style: italic; }
.sc-code .n { color: #b5cea8; }
.sc-term { border-top: 1px solid #2b2b2b; background: #181818; padding: 11px 16px; }
.sc-tln { font-size: 12px; color: #cfcfcf; padding: 2px 0;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1); }
.sc-tln .p { color: #569cd6; }
.sc-tln.ok { color: #4ec9b0; }
@media (max-width: 760px) { .sc-files { display: none; } }

/* Full-screen intro takeover (plays on load, then fades into the page) */
.ai-intro-overlay { position: fixed; inset: 0; z-index: 10000; perspective: 1000px; perspective-origin: 50% 35%; }
.ai-intro-panel { position: absolute; inset: 0; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transform-origin: center bottom; backface-visibility: hidden; opacity: 0;
  transition: opacity 0.5s ease, transform 1s cubic-bezier(0.5, 0, 0.25, 1); }
.ai-intro-overlay.show .ai-intro-panel { opacity: 1; }
/* 3D exit: the panel tilts back on its base and falls away into depth */
.ai-intro-overlay.out .ai-intro-panel { transform: rotateX(55deg) translateY(108%) scale(0.96); }
.ai-intro-stage { width: min(1040px, 92vw); }
.ai-intro-stage .sc-ai-engines { margin-top: 0; }
/* present the cloned showcase frame cleanly inside the intro (no card chrome) */
.ai-intro-panel .showcase-frame { border: none; background: transparent; box-shadow: none; padding: 0; }
.ai-intro-panel .showcase-frame::before { display: none; }
.ai-intro-panel .showcase-corner { display: none; }
.ai-intro-panel .sc-ai-engines, .ai-intro-panel .sc-email-layout { margin-top: 0; }
.ai-intro-eyebrow { text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 26px; }
.ai-intro-skip { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: none; border: 1px solid var(--border); color: var(--text-muted);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; padding: 8px 16px; border-radius: 100px; cursor: pointer; }
.ai-intro-skip:hover { color: var(--text); border-color: var(--text-muted); }
html.intro-lock, html.intro-lock body { overflow: hidden; }
.serp-bar { display: flex; align-items: center; gap: 16px; }
.serp-g { font-size: 22px; font-weight: 500; letter-spacing: -1px; }
.serp-g .g-b { color: #4285F4; } .serp-g .g-r { color: #EA4335; } .serp-g .g-y { color: #FBBC05; } .serp-g .g-g { color: #34A853; }
.serp-input {
  flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0;
  border: 1px solid #dfe1e5; border-radius: 24px; padding: 8px 16px;
  box-shadow: 0 1px 4px rgba(32,33,36,0.08); color: #202124; font-size: 14px;
}
.serp-query { white-space: nowrap; overflow: hidden; }
.serp-caret { width: 1px; height: 16px; background: #4285F4; flex: none; animation: serpCaret 1s steps(1) infinite; }
@keyframes serpCaret { 50% { opacity: 0; } }
.serp-search { width: 16px; height: 16px; margin-left: auto; color: #4285F4; flex: none; }
.serp-tabs { display: flex; gap: 22px; margin-top: 16px; border-bottom: 1px solid #ebebeb; font-size: 12.5px; color: #5f6368; }
.serp-tabs span { padding-bottom: 10px; }
.serp-tabs .on { color: #1a73e8; border-bottom: 2px solid #1a73e8; font-weight: 500; }
.serp-stats { font-size: 11px; color: #70757a; margin-top: 12px; }
.serp-ads { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.serp-ad { position: relative; padding: 12px 14px; border-radius: 10px; border: 1px solid transparent;
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1),
              filter 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease; }
.serp-ad-top { display: flex; align-items: center; gap: 8px; }
.serp-spons { font-size: 12px; font-weight: 700; color: #202124; }
.serp-site { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #202124; }
.serp-fav { width: 16px; height: 16px; border-radius: 50%; flex: none; background: linear-gradient(135deg,#8a8a8a,#1a1a1a); }
.serp-fav.alt { background: linear-gradient(135deg,#c4c9d0,#9aa1ab); }
.serp-fav.alt2 { background: linear-gradient(135deg,#e6b98a,#c47f5a); }
.serp-h { display: block; font-size: 18px; line-height: 1.3; color: #1a0dab; margin-top: 4px; }
.serp-d { font-size: 13px; line-height: 1.5; color: #4d5156; margin-top: 3px; }
.serp-sitelinks { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.serp-sitelinks span { font-size: 13px; color: #1a0dab; }
.serp-metrics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px dashed #e4e6eb; }
.serp-m { display: flex; align-items: center; gap: 6px; background: #f1f3f4; border-radius: 6px; padding: 4px 9px; }
.serp-m-l { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; color: #5f6368; }
.serp-m-v { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: #202124; }
.serp-ad.winner { border-color: var(--accent); background: rgba(22,163,74,0.045); }
.serp-ad.winner .serp-m { background: rgba(22,163,74,0.1); }
.serp-ad.winner .serp-m-v { color: var(--accent); }
.serp-ad.winner::before {
  content: 'TOP OF PAGE · #1'; position: absolute; top: -10px; left: 14px;
  background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 9px; font-weight: 600;
  letter-spacing: 0.1em; padding: 4px 9px; border-radius: 3px;
  opacity: 0; transform: translateY(8px) scale(0.7);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
.serp-ad.winner.anim-win::before { opacity: 1; transform: none; }
.serp-ad.anim-scan { border-color: var(--accent); box-shadow: 0 6px 22px rgba(22,163,74,0.12); transform: translateX(3px); }
.serp-ad.anim-win { transform: translateY(-2px) scale(1.01); }
@media (max-width: 720px) {
  .sc-serp { padding: 18px; }
  .serp-h { font-size: 16px; }
}
.sc-creative .stats { display: flex; flex-direction: column; gap: 6px; }
.sc-stat-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
}
.sc-stat-row .l { color: var(--text-muted); }
.sc-stat-row .v { color: var(--text); }
.sc-creative.winner .sc-stat-row .v { color: var(--accent); font-weight: 500; }
.sc-creative.winner { border-color: var(--accent); }
.sc-creative.winner::before {
  content: 'WINNER';
  position: absolute;
  top: -10px; left: 16px;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 3px;
  letter-spacing: 0.1em;
}

/* Email showcase: dashboard */
.sc-email-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-top: 32px;
}
.sc-email-flow-card {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.sc-email-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sc-stat-tile {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sc-stat-tile .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.sc-stat-tile .val {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 38px;
  color: var(--accent);
  font-variation-settings: "opsz" 144;
  line-height: 1;
  margin-top: 6px;
}
.sc-stat-tile .trend {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.sc-stat-tile .trend.up { color: var(--accent); }

/* AI showcase: multi-platform */
.sc-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.sc-ai-card {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sc-ai-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.sc-ai-platform {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.sc-ai-rank {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  font-variation-settings: "opsz" 144;
}
.sc-ai-q {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  padding: 8px 10px;
  background: var(--bg);
  border-radius: 4px;
}
.sc-ai-a {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}
.sc-ai-a strong { color: var(--accent); font-weight: 500; }

/* Software showcase: split */
.sc-soft-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}
.sc-soft-term {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  min-height: 320px;
}
.sc-soft-term .ln { display: block; color: var(--text-muted); }
.sc-soft-term .ln.kw { color: var(--text); }
.sc-soft-term .ln.com { color: var(--text-dim); }
.sc-soft-term .ln.ok { color: var(--accent); }
.sc-soft-dash {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  align-content: start;
}
.sc-soft-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}
.sc-soft-stat .l {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.sc-soft-stat .v {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  font-variation-settings: "opsz" 144;
}

/* === v2: DELIVERABLES MATRIX === */
.deliv-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.deliv-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.deliv-item {
  background: var(--bg-card);
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 22px;
  align-items: start;
  transition: background 0.3s;
}
.deliv-item:hover { background: var(--bg-elev); }
.deliv-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  position: relative;
  flex-shrink: 0;
}
.deliv-check::after {
  content: '';
  width: 10px;
  height: 5px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg) translate(1px, -1px);
}
.deliv-text { display: flex; flex-direction: column; gap: 4px; }
.deliv-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.deliv-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.deliv-freq {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 11px;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  white-space: nowrap;
  align-self: start;
  margin-top: 2px;
}

/* === v2: HOW WE COMPARE === */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.compare-col { padding: 56px; }
.compare-col.them { background: var(--bg); }
.compare-col.us { background: var(--bg-card); position: relative; }
.compare-col.us::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
}
.compare-col-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.compare-col-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.compare-col.us .compare-col-label { color: var(--accent); }
.compare-col-name {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.compare-col.us .compare-col-name em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
}
.compare-items { display: flex; flex-direction: column; gap: 22px; }
.compare-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 16px;
  align-items: start;
}
.compare-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 4px;
  position: relative;
  flex-shrink: 0;
}
.compare-col.them .compare-mark { border: 1.5px solid var(--text-dim); }
.compare-col.them .compare-mark::after {
  content: '×';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1;
}
.compare-col.us .compare-mark { background: var(--accent); }
.compare-col.us .compare-mark::after {
  content: '';
  position: absolute;
  top: 5px; left: 4px;
  width: 10px; height: 5px;
  border-left: 1.5px solid var(--accent-text);
  border-bottom: 1.5px solid var(--accent-text);
  transform: rotate(-45deg);
}
.compare-text { font-size: 16px; line-height: 1.5; }
.compare-col.them .compare-text { color: var(--text-muted); }
.compare-text em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
}

/* === v2: ENGAGEMENT TIERS === */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.tier-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.tier-card.featured {
  background: var(--bg-elev);
  border-color: var(--accent);
}
.tier-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px; left: 36px;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.tier-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.tier-name {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  line-height: 1.1;
}
.tier-name em { font-family: var(--font-serif); font-style: italic; color: var(--accent); }
.tier-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.tier-meta { display: flex; flex-direction: column; gap: 18px; }
.tier-row { display: flex; flex-direction: column; gap: 6px; }
.tier-row-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.tier-row-value { font-size: 14px; color: var(--text); line-height: 1.4; }
.tier-includes { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.tier-includes li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.tier-includes li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 1px;
  background: var(--accent);
}
.tier-cta { margin-top: auto; }
.tier-cta a {
  display: block;
  text-align: center;
  padding: 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.tier-card:not(.featured) .tier-cta a { border: 1px solid var(--border-hover); color: var(--text); }
.tier-card:not(.featured) .tier-cta a:hover { border-color: var(--accent); color: var(--accent); }
.tier-card.featured .tier-cta a { background: var(--accent); color: var(--accent-text); }
.tier-card.featured .tier-cta a:hover { background: #3a3a3a; }

/* === v2: TESTIMONIALS GRID === */
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.t-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  transition: border-color 0.3s;
}
.t-card:hover { border-color: var(--border-hover); }
.t-card-quote-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 64px;
  color: var(--accent);
  line-height: 0.5;
  height: 22px;
  font-variation-settings: "opsz" 144;
}
.t-card-quote {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}
.t-card-quote em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
}
.t-card-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.t-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  flex-shrink: 0;
}
.t-card-meta { display: flex; flex-direction: column; gap: 2px; }
.t-card-name { font-size: 14px; font-weight: 500; }
.t-card-role { font-size: 12px; color: var(--text-muted); }

/* === v2: TOOLS GRID === */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tool-chip {
  padding: 13px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
}
.tool-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.tool-chip .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
}

/* === v2 mobile === */
@media (max-width: 1000px) {
  .showcase-frame { padding: 32px; }
  .sc-seo-grid, .sc-email-grid, .sc-soft-grid { grid-template-columns: 1fr; gap: 20px; }
  .sc-meta-waterfall { grid-template-columns: 1fr 1fr; }
  .sc-ai-grid { grid-template-columns: 1fr; }
  .deliv-layout { grid-template-columns: 1fr; gap: 36px; }
  .compare-grid { grid-template-columns: 1fr; border-radius: 12px; }
  .compare-col { padding: 36px; }
  .tier-grid { grid-template-columns: 1fr; gap: 14px; }
  .t-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   v2.1 — Showcase animations
   ========================================================= */

/* Base animation transition properties */
.sc-rank,
.sc-creative,
.sc-ai-card,
.email-flow-step,
.sc-stat-tile,
.sc-soft-term .ln,
.sc-soft-stat {
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1),
              transform 0.55s cubic-bezier(0.22,1,0.36,1),
              filter 0.5s ease,
              box-shadow 0.5s ease,
              border-color 0.5s ease;
}

/* Hidden initial state */
.anim-hidden {
  opacity: 0 !important;
  transform: translateY(14px) !important;
}

/* Dimmed (losing variants) */
.anim-dim {
  opacity: 0.35;
  filter: saturate(0.3) brightness(0.8);
}

/* Glow (winner) */
.anim-glow {
  box-shadow: 0 0 60px rgba(10, 10, 10, 0.25);
  animation: scGlowPulse 2.4s ease-in-out infinite;
}
@keyframes scGlowPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(10, 10, 10, 0.18); }
  50% { box-shadow: 0 0 70px rgba(10, 10, 10, 0.45); }
}

/* Meta showcase — narration scan + winner verdict */
.sc-creative.anim-scan {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 10px 32px rgba(10, 10, 10, 0.14);
  transform: translateY(-3px);
  z-index: 2;
}
.sc-creative.anim-scan .fbad-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.6) 50%, transparent 65%);
  animation: advScan 0.45s ease;
}
@keyframes advScan {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}
.sc-creative.anim-win {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--accent);
  z-index: 3;
}
.sc-creative.winner::before {
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sc-meta-waterfall.anim-judging .sc-creative.winner::before {
  opacity: 0;
  transform: translateY(8px) scale(0.7);
}

/* Flash (climb-in) */
.anim-flash {
  animation: scFlash 1s cubic-bezier(0.22,1,0.36,1);
}
@keyframes scFlash {
  0% {
    box-shadow: 0 0 0 0 rgba(10, 10, 10, 0);
    transform: translateY(14px) scale(0.96);
    opacity: 0;
  }
  40% {
    box-shadow: 0 0 50px 4px rgba(10, 10, 10, 0.55);
    transform: translateY(0) scale(1.02);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(10, 10, 10, 0);
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Typing cursor for typewriter effects */
.anim-typing::after {
  content: '▍';
  color: var(--accent);
  margin-left: 2px;
  animation: scTypeCursor 0.7s steps(1) infinite;
}
@keyframes scTypeCursor {
  50% { opacity: 0; }
}

/* Terminal line — initial blank */
.sc-soft-term .ln.anim-hidden {
  display: block;
  height: 0;
  overflow: hidden;
  margin: 0;
  opacity: 0;
}

/* "Replay" affordance label */
.showcase-frame {
  cursor: pointer;
}
.showcase-frame[data-played]::after {
  content: '↻ Replay';
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.showcase-frame[data-played]:hover::after {
  opacity: 1;
}

/* Status indicator for typing terminal */
.sc-soft-term {
  position: relative;
}
.sc-soft-term::before {
  content: '● ● ●';
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 8px;
  color: var(--text-dim);
  letter-spacing: 4px;
}

/* =========================================================
   v2.2 — Text & box reveal animations
   ========================================================= */

/* Split word reveal — for headlines */
.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1), transform 0.85s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
.split-word.in {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-up — for eyebrows, subheads, num badges, narrative copy */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

/* Box reveal — for cards, items, chips */
.box-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.box-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Card hover lift — gives boxes a subtle interactive feel */
.cap-card,
.tier-card,
.t-card,
.related-card {
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1),
              border-color 0.35s ease,
              box-shadow 0.45s ease;
}
.cap-card:hover,
.related-card:hover,
.t-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(10, 10, 10, 0.07);
}
.tool-chip {
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.4s cubic-bezier(0.22,1,0.36,1),
              border-color 0.3s, background 0.3s, color 0.3s;
}

/* Make sure .in overrides hover transform for initial reveal */
.box-reveal:not(.in) { pointer-events: none; }

/* =========================================================
   v2.3 — Book a call page
   ========================================================= */

.call-hero {
  min-height: 70vh;
  padding: clamp(120px, 18vh, 200px) 40px clamp(60px, 10vh, 120px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid var(--border);
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  z-index: 2;
}
.call-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.call-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(50px, 7vw, 100px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-bottom: 32px;
  max-width: 1200px;
}
.call-hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
}
.call-hero-sub {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.5;
}

/* CALL AGENDA SHOWCASE */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.agenda-card {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: border-color 0.4s, transform 0.4s;
}
.agenda-card .timestamp {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.agenda-card .agenda-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.agenda-card .agenda-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.agenda-card .agenda-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  opacity: 0.35;
  font-variation-settings: "opsz" 144;
}

/* FORM + CALENDAR LAYOUT */
.book-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.book-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}
.book-form h3 {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.book-form h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
}
.book-form p.intro {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.form-row label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.form-row input,
.form-row textarea,
.form-row select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.3s, background 0.3s;
  outline: none;
  width: 100%;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--accent);
  background: var(--bg-elev);
}
.form-row textarea {
  min-height: 110px;
  resize: vertical;
  font-family: var(--font-sans);
}
.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
.form-row-grid .form-row { margin-bottom: 0; }

.book-form button {
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  border-radius: 100px;
  padding: 16px 32px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  width: 100%;
  margin-top: 10px;
  position: relative;
}
.book-form button:hover { background: #3a3a3a; transform: translateY(-2px); }
.book-form button .arrow {
  display: inline-block;
  transition: transform 0.3s;
  margin-left: 8px;
}
.book-form button:hover .arrow { transform: translateX(5px); }
.form-success {
  background: rgba(10, 10, 10, 0.08);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 24px;
  color: var(--accent);
  display: none;
  margin-top: 16px;
}
.form-success.show { display: block; animation: fadeInPop 0.5s; }
/* Calendar date navigation */
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-nav-range { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-muted); }
.cal-nav-btn { width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card);
  color: var(--text); font-size: 18px; line-height: 1; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; }
.cal-nav-btn:hover:not(:disabled) { background: var(--bg-elev); border-color: var(--text-muted); }
.cal-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* Single booking CTA — lives in the calendar, enables once a slot is chosen */
.cal-cta { margin-top: 18px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-elev); }
.cal-cta-text { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.cal-cta-text strong { color: var(--text); font-weight: 600; }
.cal-cta-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--accent-text); border: none; border-radius: 100px; padding: 14px 22px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease; }
.cal-cta-btn:hover:not(:disabled) { background: #3a3a3a; transform: translateY(-1px); }
.cal-cta-btn:disabled { background: var(--bg-elev-2); color: var(--text-dim); cursor: not-allowed; }
.cal-cta-btn .arrow { transition: transform 0.2s ease; }
.cal-cta-btn:hover:not(:disabled) .arrow { transform: translateX(3px); }
.form-note { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
@keyframes fadeInPop {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* CALENDAR WIDGET */
.cal-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: sticky;
  top: 100px;
}
.cal-widget h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.cal-widget h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
}
.cal-widget p.cal-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.cal-day {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.cal-day:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.cal-day.active {
  border-color: var(--accent);
  background: rgba(10, 10, 10,0.06);
}
.cal-day .dow {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.cal-day .dom {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--text);
  margin: 6px 0 2px;
  font-variation-settings: "opsz" 144;
}
.cal-day.active .dom { color: var(--accent); }
.cal-day .mon {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cal-slots-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cal-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cal-slot {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.cal-slot:hover { border-color: var(--accent); color: var(--accent); }
.cal-slot.active {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}
.cal-tz {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}

/* WHAT HAPPENS NEXT */
.next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.next-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-card);
  position: relative;
}
.next-card .next-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 56px;
  color: var(--accent);
  line-height: 0.8;
  font-variation-settings: "opsz" 144;
}
.next-card .next-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.next-card .next-desc {
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 14px;
}

/* HOST CARD */
.host-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}
.host-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-elev-2);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 48px;
  color: var(--accent);
  font-variation-settings: "opsz" 144;
}
.host-info h3 {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.host-info h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
}
.host-info p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.host-bio-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.host-bio-meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* book page mobile */
@media (max-width: 1000px) {
  .book-layout { grid-template-columns: 1fr; gap: 32px; }
  .cal-widget { position: static; }
  .agenda-grid { grid-template-columns: 1fr 1fr; }
  .next-grid { grid-template-columns: 1fr; }
  .host-card { grid-template-columns: 1fr; text-align: center; padding: 32px; }
  .host-avatar { margin: 0 auto; }
  .host-bio-meta { justify-content: center; }
  .book-form { padding: 32px; }
}
