/* TrackToPaid - Executive Attribution SaaS Design System */
:root {
  --bg-obsidian: #0b1113;
  --bg-obsidian-2: #111a1d;
  --bg-obsidian-3: #162226;
  --bg-canvas: #f6f8f7;
  --bg-surface: #ffffff;
  --bg-emerald-tint: #eef7f1;
  --bg-emerald-soft: #ecfdf5;
  --bg-amber-soft: #fffbeb;
  --bg-slate-soft: #f1f5f9;

  --ink-primary: #0d1614;
  --ink-secondary: #3f504a;
  --ink-muted: #5d6f68;
  --ink-on-dark: #f4f8f6;
  --ink-on-dark-muted: #98aba4;

  --brand-forest: #126a34;
  --brand-forest-hover: #0e562a;
  --brand-emerald: #10b981;
  --brand-vivid: #22c55e;
  --brand-amber: #b45309;
  --brand-red: #dc2626;

  --border-light: #e2e8e4;
  --border-strong: #cdd7d1;
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-emerald: #b8e3c9;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-sm: 0 1px 2px rgba(11, 17, 19, 0.04), 0 1px 3px rgba(11, 17, 19, 0.05);
  --shadow-md: 0 8px 24px -6px rgba(11, 17, 19, 0.08), 0 2px 6px rgba(11, 17, 19, 0.04);
  --shadow-lg: 0 24px 56px -16px rgba(11, 17, 19, 0.28);
  --shadow-dark: 0 30px 70px -20px rgba(0, 0, 0, 0.65);

  --container: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg-canvas);
  color: var(--ink-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

button, input, summary {
  font-family: inherit;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Accessibility focus */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--brand-emerald);
  outline-offset: 2px;
}

/* =========================================
   1. STICKY EXECUTIVE NAV
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 17, 19, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.025em;
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
}

.brand-wordmark span {
  color: var(--brand-emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #c3d1cb;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 0.96rem;
  border-radius: 10px;
}

.btn-primary {
  background: var(--brand-forest);
  color: #ffffff;
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background: var(--brand-forest-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.45);
}

.btn-vivid {
  background: var(--brand-emerald);
  color: #052214;
  font-weight: 700;
  border-color: #34d399;
}

.btn-vivid:hover {
  background: #22c55e;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(34, 197, 94, 0.45);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #e7f0ec;
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.btn-outline-light {
  background: #ffffff;
  color: var(--ink-primary);
  border-color: var(--border-strong);
}

.btn-outline-light:hover {
  border-color: var(--brand-forest);
  color: var(--brand-forest);
  background: #f9fcfb;
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  background: #0e1619;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px 24px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-drawer-links a {
  color: #dce7e2;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 6px 0;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* =========================================
   2. HERO + INTERACTIVE PRODUCT PREVIEW
   ========================================= */
.hero {
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(16, 185, 129, 0.18), transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(18, 106, 52, 0.14), transparent 60%),
    var(--bg-obsidian);
  color: var(--ink-on-dark);
  padding: 64px 0 84px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: #6ee7b7;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-vivid);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
  flex-shrink: 0;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.15rem, 4.4vw, 3.55rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero h1 .accent-text {
  background: linear-gradient(120deg, #6ee7b7 0%, #22c55e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 auto 30px;
  max-width: 680px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: #b4c6bf;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  font-size: 0.82rem;
  color: #8da29a;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-item svg {
  color: var(--brand-emerald);
  flex-shrink: 0;
}

/* Interactive Hero Product Showcase */
.hero-showcase {
  background: #10191c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-dark), 0 0 0 1px rgba(16, 185, 129, 0.08);
  overflow: hidden;
}

.showcase-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #0c1315;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 15px 18px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  color: #8fa39b;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.showcase-tab:last-child {
  border-right: none;
}

.showcase-tab:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #d9e6e0;
}

.showcase-tab.active {
  background: rgba(16, 185, 129, 0.08);
  color: #ffffff;
}

.showcase-tab-title {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.showcase-tab-sub {
  font-size: 0.74rem;
  color: #799087;
}

.showcase-tab.active .showcase-tab-sub {
  color: #7ee2b8;
}

.showcase-tab-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.showcase-tab-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-emerald), var(--brand-vivid));
}

.showcase-tab.active .showcase-tab-progress-bar {
  width: 100%;
  transition: width 6.5s linear;
}

.showcase-tab.active.paused .showcase-tab-progress-bar {
  transition: none;
  width: 100%;
}

.showcase-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
  gap: 0;
  align-items: stretch;
}

.showcase-stage {
  padding: 20px;
  background: linear-gradient(180deg, #131e22 0%, #0d1518 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.browser-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  background: #0a1012;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px 10px 0 0;
  border-bottom: none;
}

.chrome-dots {
  display: flex;
  gap: 6px;
}

.chrome-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.chrome-url {
  font-size: 0.76rem;
  color: #93a7a0;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chrome-zoom-btn {
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.chrome-zoom-btn:hover {
  background: rgba(16, 185, 129, 0.24);
}

.showcase-frame-wrap {
  position: relative;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #f6f8f7;
  aspect-ratio: 1440 / 1020;
  cursor: zoom-in;
}

.showcase-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.showcase-frame-img.swapping {
  opacity: 0.35;
  transform: scale(1.01);
}

.showcase-sample-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: #8ea39b;
}

.showcase-sample-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a9bdb5;
}

.showcase-inspector {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: #10191c;
}

.inspector-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sig-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  width: fit-content;
}

.sig-pill-dark-green {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.36);
  color: #6ee7b7;
}

.sig-pill-light-green {
  background: #e8f7ee;
  border: 1px solid #b5e4c7;
  color: #0e5a2c;
}

.sig-pill-light-amber {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
}

.sig-pill-light-slate {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
}

.inspector-heading {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.inspector-desc {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.55;
  color: #a6bab2;
}

.inspector-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.inspector-kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 13px;
}

.inspector-kpi-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #82978f;
  margin-bottom: 4px;
}

.inspector-kpi-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.inspector-kpi-sub {
  font-size: 0.71rem;
  color: #7ee2b8;
  margin-top: 2px;
}

.inspector-maths {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 10px;
  padding: 11px 13px;
}

.inspector-maths summary {
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  color: #6ee7b7;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inspector-maths summary::-webkit-details-marker {
  display: none;
}

.inspector-maths-body {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid rgba(16, 185, 129, 0.18);
  font-size: 0.76rem;
  line-height: 1.5;
  color: #bfd1c9;
}

.inspector-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auto-cycle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #82978f;
}

.text-toggle-btn {
  background: none;
  border: none;
  color: #6ee7b7;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

/* =========================================
   SECTION COMMONS
   ========================================= */
.section {
  padding: 84px 0;
}

.section-white {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-dark {
  background:
    radial-gradient(ellipse 65% 50% at 15% 0%, rgba(16, 185, 129, 0.13), transparent 60%),
    var(--bg-obsidian);
  color: var(--ink-on-dark);
}

.section-header {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-forest);
  margin-bottom: 10px;
}

.section-dark .section-kicker {
  color: #6ee7b7;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}

.section-dark .section-title {
  color: #ffffff;
}

.section-lead {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.62;
  color: var(--ink-secondary);
}

.section-dark .section-lead {
  color: var(--ink-on-dark-muted);
}

/* =========================================
   3. 42S HD ANIMATED VIDEO TOUR + SCREENSHOT GALLERY
   ========================================= */
#product-tour.section-header {
  margin-bottom: 24px;
}

.video-cinema-card {
  max-width: 940px;
  margin: 0 auto 64px;
  background: var(--bg-obsidian);
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(7, 15, 12, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  color: #ffffff;
}

.video-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 20px;
  background: #0d1518;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.video-hd-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 5px 11px;
  border-radius: 999px;
}

.tour-time {
  font-size: 0.82rem;
  color: #9bb0a8;
  font-weight: 600;
}

.video-topbar-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #6ee7b7;
  text-decoration: none;
  transition: color 0.15s ease;
}

.video-topbar-link:hover {
  color: #ffffff;
}

.video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #070c0e;
  overflow: hidden;
}

.tour-video-el {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #070c0e;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  padding: 20px;
  background: radial-gradient(circle at center, rgba(7, 13, 15, 0.14) 0%, rgba(7, 13, 15, 0.48) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.video-play-overlay:hover {
  background: radial-gradient(circle at center, rgba(7, 13, 15, 0.14) 0%, rgba(7, 13, 15, 0.46) 100%);
}

.video-play-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.video-play-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-emerald), var(--brand-vivid));
  color: #041d11;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.22), 0 16px 36px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}

.video-play-overlay:hover .video-play-circle {
  transform: scale(1.07);
  box-shadow: 0 0 0 14px rgba(16, 185, 129, 0.3), 0 20px 44px rgba(0, 0, 0, 0.5);
}

.video-overlay-label {
  position: absolute;
  bottom: 62px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ecfdf5;
  background: rgba(11, 17, 19, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.45);
  padding: 6px 16px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.video-chapters-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 20px 20px;
  background: #0d1518;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-chapter-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd8d3;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.video-chapter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.video-chapter-btn.active {
  background: rgba(16, 185, 129, 0.16);
  border-color: var(--brand-emerald);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.25) inset;
}

.chapter-time {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: #34d399;
  font-variant-numeric: tabular-nums;
}

.video-chapter-btn.active .chapter-time {
  color: #6ee7b7;
}

.chapter-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f3f7f5;
  line-height: 1.25;
}

/* Real Production Screenshot Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.gallery-card {
  grid-column: span 2;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gallery-card.featured {
  grid-column: span 3;
}

.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-emerald);
}

.gallery-thumb-btn {
  position: relative;
  padding: 0;
  border: none;
  background: #eef3f0;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  width: 100%;
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-thumb-btn img {
  transform: scale(1.02);
}

.gallery-zoom-chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(11, 17, 19, 0.85);
  color: #ffffff;
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.gallery-meta {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.gallery-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.gallery-tag {
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-forest);
}

.sample-pill {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: 999px;
}

.gallery-meta h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

.gallery-meta p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* =========================================
   4. REAL MATHS, NOT AI FLUFF
   ========================================= */
.maths-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}

.maths-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.pillar-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--bg-emerald-tint);
  border: 1px solid var(--border-emerald);
  color: var(--brand-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.9rem;
}

.pillar-card h3 {
  margin: 0 0 4px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.pillar-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* Live Interactive "Show the maths" Widget */
.maths-widget {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.maths-scenario-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.maths-tab {
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  color: var(--ink-secondary);
  border-radius: 8px;
  padding: 8px 13px;
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.maths-tab:hover {
  border-color: var(--border-strong);
  color: var(--ink-primary);
}

.maths-tab.active {
  background: var(--bg-obsidian);
  border-color: var(--bg-obsidian);
  color: #ffffff;
}

.highlight-card-live {
  background: #ffffff;
  border: 1px solid #d5e5db;
  border-left: 4px solid var(--brand-forest);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: border-color 0.2s ease;
}

.highlight-card-live.tier-insufficient {
  border-color: #fde68a;
  border-left-color: #d97706;
}

.highlight-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.highlight-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-forest);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.highlight-headline {
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 750;
  color: var(--ink-primary);
  line-height: 1.38;
}

.highlight-rec {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.maths-details {
  background: #f8fbf9;
  border: 1px solid #dde9e1;
  border-radius: 10px;
  padding: 12px 15px;
}

.maths-details summary {
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--brand-forest);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eaf5ee;
  padding: 5px 11px;
  border-radius: 6px;
}

.maths-details summary::-webkit-details-marker {
  display: none;
}

.maths-details[open] summary .chev {
  transform: rotate(180deg);
}

.maths-details-content {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2ece6;
}

.maths-test-header {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 8px;
}

.maths-list {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 0.82rem;
  color: var(--ink-secondary);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.maths-caveat {
  font-size: 0.77rem;
  color: var(--ink-muted);
  line-height: 1.5;
  padding-top: 8px;
  border-top: 1px dashed #d7e3dc;
}

.maths-widget-footer {
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* =========================================
   5. WHITE-LABEL AGENCY SECTION
   ========================================= */
.agency-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.agency-feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.agency-feature-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.agency-feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #9cb0a8;
  line-height: 1.55;
}

.agency-code-pill {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.agency-previews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.agency-preview-card {
  background: #10191c;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.agency-preview-btn {
  padding: 0;
  border: none;
  background: #0a1012;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 12.2;
}

.agency-preview-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}

.agency-preview-card:hover .agency-preview-btn img {
  transform: scale(1.02);
}

.agency-preview-caption {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.agency-preview-caption h4 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
}

.agency-preview-caption p {
  margin: 0;
  font-size: 0.86rem;
  color: #9cb0a8;
  line-height: 1.5;
}

/* =========================================
   6. INTERACTIVE ROAS & SPEED-TO-LEAD CALCULATOR
   ========================================= */
.calc-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.calc-inputs {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid var(--border-light);
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-field-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.calc-field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.calc-val-badge {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--brand-forest);
  background: var(--bg-emerald-tint);
  border: 1px solid var(--border-emerald);
  padding: 4px 11px;
  border-radius: 8px;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #dce6e0;
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-forest);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(11, 17, 19, 0.25);
  cursor: pointer;
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-forest);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(11, 17, 19, 0.25);
  cursor: pointer;
}

.calc-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.calc-results {
  padding: 32px;
  background: linear-gradient(160deg, #0d1619 0%, #101e1b 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.calc-results-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 6px;
}

.calc-big-number {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 6px;
}

.calc-big-sub {
  font-size: 0.86rem;
  color: #9cb3aa;
}

.calc-breakdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.calc-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 13px 14px;
}

.calc-stat-label {
  font-size: 0.73rem;
  color: #8fa69e;
  margin-bottom: 5px;
}

.calc-stat-val {
  font-size: 1.18rem;
  font-weight: 800;
  color: #6ee7b7;
}

.calc-tier-rec {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.calc-tier-rec-text {
  font-size: 0.84rem;
  color: #dcebe4;
}

.calc-tier-rec-text strong {
  color: #6ee7b7;
}

.calc-disclaimer {
  font-size: 0.74rem;
  color: #7d938b;
  line-height: 1.45;
  margin: 0;
}

/* =========================================
   7. COMPARISON TABLE
   ========================================= */
.compare-wrap {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.89rem;
}

.compare-table th, .compare-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.compare-table thead th {
  background: #f9fbfa;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-table th.col-tracktopaid,
.compare-table td.col-tracktopaid {
  background: #f0faf4;
  border-left: 1px solid #ccebd8;
  border-right: 1px solid #ccebd8;
}

.compare-table thead th.col-tracktopaid {
  background: var(--bg-obsidian);
  color: #6ee7b7;
  border-color: var(--bg-obsidian);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-feature {
  font-weight: 600;
  color: var(--ink-primary);
}

.badge-yes {
  color: var(--brand-forest);
  font-weight: 700;
}

.badge-partial {
  color: #92400e;
  font-weight: 600;
}

.badge-no {
  color: #7e8f89;
}

.compare-footnote {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* =========================================
   8. PRICING LADDER + CURRENCY SWITCHER
   ========================================= */
.currency-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.currency-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.currency-switcher {
  display: inline-flex;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.currency-btn {
  background: transparent;
  border: none;
  border-radius: 7px;
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.currency-btn:hover {
  color: var(--ink-primary);
}

.currency-btn.active {
  background: var(--bg-obsidian);
  color: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 24px;
}

.price-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.price-card.popular {
  border: 2px solid var(--brand-forest);
  box-shadow: 0 18px 40px -16px rgba(18, 106, 52, 0.25);
}

.price-card.agency-card {
  background: var(--bg-obsidian);
  border-color: rgba(16, 185, 129, 0.35);
  color: #ffffff;
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--brand-forest);
  color: #ffffff;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.price-tier-name {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-tier-desc {
  margin: 0 0 18px;
  font-size: 0.84rem;
  color: var(--ink-muted);
  min-height: 40px;
}

.agency-card .price-tier-desc {
  color: #9bb0a8;
}

.price-amount-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.price-amount {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-period {
  font-size: 0.86rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.agency-card .price-period {
  color: #93a8a0;
}

.price-cap-pill {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-forest);
  background: var(--bg-emerald-tint);
  border: 1px solid var(--border-emerald);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.agency-card .price-cap-pill {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.agency-seat-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 8px;
}

.seat-btn {
  background: transparent;
  border: none;
  color: #9eb3ab;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 4px;
  border-radius: 6px;
  cursor: pointer;
}

.seat-btn.active {
  background: var(--brand-emerald);
  color: #052214;
}

.price-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

.agency-card .price-features {
  color: #cbd9d3;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.price-features li::before {
  content: "✓";
  color: var(--brand-emerald);
  font-weight: 800;
  flex-shrink: 0;
}

.fair-scaling-banner {
  background: #eef7f1;
  border: 1px solid #bfe3cc;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.fair-scaling-text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 820px;
}

.fair-scaling-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand-forest);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}

.fair-scaling-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-primary);
  margin-bottom: 2px;
}

.fair-scaling-text span {
  font-size: 0.86rem;
  color: var(--ink-secondary);
}

/* =========================================
   9. FAQ + FINAL CTA + FOOTER
   ========================================= */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--brand-forest);
  transition: transform 0.18s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 18px;
  font-size: 0.91rem;
  color: var(--ink-secondary);
  line-height: 1.62;
}

.final-cta-section {
  padding: 24px 0 84px;
}

.final-cta-box {
  background:
    radial-gradient(ellipse 65% 75% at 80% 10%, rgba(16, 185, 129, 0.22), transparent 65%),
    var(--bg-obsidian);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.final-cta-box h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.1vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.final-cta-box p {
  margin: 0 auto 28px;
  max-width: 600px;
  font-size: 1.02rem;
  color: #adc0b8;
}

.site-footer {
  background: #090e10;
  color: #849991;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 0;
  font-size: 0.84rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #9cb0a8;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.77rem;
  color: #6d8179;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================
   LIGHTBOX MODAL
   ========================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 11, 13, 0.9);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-panel {
  width: 100%;
  max-width: 1180px;
  max-height: 92vh;
  background: #10191c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-dark);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #0a1012;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.lightbox-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.lightbox-title {
  font-size: 0.94rem;
  font-weight: 700;
}

.lightbox-sub {
  font-size: 0.76rem;
  color: #8fa39b;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lb-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.lb-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox-img-wrap {
  overflow: auto;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #0d1518;
}

.lightbox-img-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */
@media (max-width: 1080px) {
  .showcase-body {
    grid-template-columns: 1fr;
  }
  .showcase-stage {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .maths-layout {
    grid-template-columns: 1fr;
  }
  .tour-viewport {
    grid-template-columns: 1fr;
  }
  .tour-narration {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 860px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .showcase-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-tab {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .gallery-card, .gallery-card.featured {
    grid-column: span 6;
  }
  .agency-features-grid, .agency-previews {
    grid-template-columns: 1fr;
  }
  .calc-card {
    grid-template-columns: 1fr;
  }
  .calc-inputs {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .hero {
    padding: 40px 0 56px;
  }
  .section {
    padding: 58px 0;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .showcase-stage {
    padding: 12px;
  }
  .showcase-inspector {
    padding: 18px 16px;
  }
  .showcase-tab {
    padding: 12px 12px;
  }
  .chrome-url {
    max-width: 155px;
    font-size: 0.7rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .calc-inputs, .calc-results {
    padding: 22px 18px;
  }
  .calc-breakdown {
    grid-template-columns: 1fr;
  }
  .final-cta-box {
    padding: 36px 22px;
  }
  .tour-visual {
    min-height: 240px;
  }
  .tour-narration {
    padding: 20px 18px;
  }
  .maths-widget {
    padding: 18px 16px;
  }
  .highlight-card-live {
    padding: 16px;
  }
}

/* Polish pass: scroll-margin for sticky nav + crisp single-line pills */
section[id], div[id] {
  scroll-margin-top: 84px;
}

.price-cap-pill {
  font-size: 0.73rem;
  padding: 4px 9px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .eyebrow-pill {
    font-size: 0.65rem;
    letter-spacing: 0.055em;
    padding: 6px 12px;
  }
  .price-cap-pill {
    white-space: normal;
  }
}

/* Live Phase 4B Agency Preview Badges & CTAs */
.agency-preview-caption {
  flex: 1;
}

.agency-live-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.agency-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #052214;
  background: var(--brand-vivid);
  padding: 3px 8px;
  border-radius: 999px;
}

.agency-demo-note {
  font-size: 0.74rem;
  font-weight: 600;
  color: #9cb0a8;
}

.agency-preview-actions {
  margin-top: auto;
  padding-top: 12px;
}

@media (max-width: 960px) {
  .video-chapters-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .video-topbar {
    padding: 10px 14px;
    gap: 8px;
  }
  .video-hd-pill {
    font-size: 0.66rem;
    padding: 4px 9px;
  }
  .video-play-circle {
    width: 54px;
    height: 54px;
    transform: translateY(-10px);
  }
  .video-overlay-label {
    display: none;
  }
  .video-chapters-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }
  .video-chapter-btn {
    padding: 9px 10px;
  }
  .video-chapter-btn:last-child {
    grid-column: span 2;
  }
  .chapter-label {
    font-size: 0.78rem;
  }
}
