/* FrameForgeX — Enhanced Components */

/* ═══════════════════════════════════════════════════
   0a. HERO ENTRANCE ANIMATION + MOVING GRADIENT + PARTICLES
   ═══════════════════════════════════════════════════ */

@keyframes heroGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 25%, #1a1a3e 50%, #0c4a6e 75%, #0f172a 100%);
  background-size: 300% 300%;
  animation: heroGradientShift 15s ease infinite;
  position: relative;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__geometric {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  filter: blur(1px);
}

@keyframes floatShape1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -40px) rotate(90deg); }
  50% { transform: translate(-20px, -80px) rotate(180deg); }
  75% { transform: translate(50px, -30px) rotate(270deg); }
}

@keyframes floatShape2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 30px) scale(1.2); }
  66% { transform: translate(40px, -50px) scale(0.8); }
}

@keyframes floatShape3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-40px, 60px) rotate(180deg); }
}

.hero__shape--1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  top: -50px; right: 10%;
  animation: floatShape1 20s ease-in-out infinite;
}

.hero__shape--2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  bottom: 10%; left: 5%;
  animation: floatShape2 25s ease-in-out infinite;
}

.hero__shape--3 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  top: 40%; left: 30%;
  animation: floatShape3 18s ease-in-out infinite;
}

.hero__shape--4 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  top: 20%; right: 30%;
  animation: floatShape2 22s ease-in-out infinite reverse;
}

.hero__shape--5 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  bottom: -30px; right: 25%;
  animation: floatShape1 28s ease-in-out infinite reverse;
}

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

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

.hero__badge   { animation: heroFadeUp 0.7s ease 0.1s both; }
.hero h1       { animation: heroFadeUp 0.7s ease 0.25s both; }
.hero > .container > .hero__content > p { animation: heroFadeUp 0.7s ease 0.4s both; }
.hero__actions { animation: heroFadeUp 0.7s ease 0.55s both; }
.hero__stats   { animation: heroFadeUp 0.7s ease 0.7s both; }

/* ═══════════════════════════════════════════════════
   0b-pre. INTERACTIVE SCORING DEMO
   ═══════════════════════════════════════════════════ */

.scoring-demo {
  max-width: 1000px;
  margin: 0 auto;
}

.scoring-demo__gallery {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.scoring-demo__thumb {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.scoring-demo__thumb:hover {
  border-color: rgba(99,102,241,0.5);
  background: rgba(99,102,241,0.08);
  color: white;
}

.scoring-demo__thumb--active {
  border-color: #6366f1;
  background: rgba(99,102,241,0.12);
  color: white;
}

/* Filmstrip */
.scoring-demo__filmstrip {
  display: flex;
  gap: 4px;
  margin-bottom: 1.5rem;
  justify-content: center;
  overflow: hidden;
}

.scoring-demo__frame {
  width: 72px;
  height: 48px;
  border-radius: 4px;
  background: #111827;
  background-size: 160%;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  flex-shrink: 0;
}

.scoring-demo__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.15));
  pointer-events: none;
}

.scoring-demo__frame--selected {
  border: 2px solid #06b6d4;
  box-shadow: 0 0 0 3px rgba(6,182,212,0.4), 0 0 20px rgba(6,182,212,0.5);
  transform: scale(1.2);
  z-index: 2;
}

.scoring-demo__frame--selected::after {
  background: none;
}

.scoring-demo--burst .scoring-demo__frame {
  animation: burstFlicker 0.15s ease infinite alternate;
}

.scoring-demo--burst .scoring-demo__frame--selected {
  animation: none;
}

@keyframes burstFlicker {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Terminal */
.scoring-demo__terminal {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0a0a14;
}

.scoring-demo__terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.scoring-demo__terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.scoring-demo__terminal-dot:first-child { background: #ef4444; opacity: 0.7; }
.scoring-demo__terminal-dot:nth-child(2) { background: #f59e0b; opacity: 0.7; }
.scoring-demo__terminal-dot:nth-child(3) { background: #10b981; opacity: 0.7; }

.scoring-demo__terminal-title {
  margin-left: auto;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.scoring-demo__terminal-body {
  padding: 1rem;
  height: 260px;
  overflow-y: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  line-height: 1.7;
  scrollbar-width: none;
}

.scoring-demo__terminal-body::-webkit-scrollbar { display: none; }

.scoring-demo__terminal-line {
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  overflow: hidden;
}

.scoring-demo__terminal-line--dim {
  color: rgba(255,255,255,0.3);
}

.scoring-demo__terminal-cursor::after {
  content: '█';
  animation: termBlink 1s step-end infinite;
  margin-left: 4px;
  color: rgba(255,255,255,0.5);
}

@keyframes termBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.scoring-demo__terminal-line--green {
  color: #10b981;
}

.scoring-demo__terminal-line--cyan {
  color: #06b6d4;
}

.scoring-demo__terminal-line--yellow {
  color: #f59e0b;
}

.scoring-demo__terminal-line--bold {
  color: white;
  font-weight: 700;
}

/* Display grid */
.scoring-demo__display {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

/* Results panel */
.scoring-demo__results {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.scoring-demo__gauge {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.scoring-demo__gauge-svg {
  width: 100%;
  height: 100%;
}

.scoring-demo__gauge-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.scoring-demo__score-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.scoring-demo__score-label {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.scoring-demo__breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.scoring-demo__bar-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.scoring-demo__bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.scoring-demo__bar-value {
  font-weight: 700;
  color: white;
  font-size: 0.72rem;
  font-family: 'Courier New', monospace;
}

.scoring-demo__bar-track {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}

.scoring-demo__bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scoring-demo__bar-fill--composition { background: linear-gradient(90deg, #6366f1, #818cf8); }
.scoring-demo__bar-fill--action { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.scoring-demo__bar-fill--brand { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.scoring-demo__bar-fill--emotion { background: linear-gradient(90deg, #10b981, #34d399); }

.scoring-demo__verdict {
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.5s ease;
}

.scoring-demo__verdict--visible {
  opacity: 1;
  transform: translateY(0);
}

.scoring-demo__verdict-badge {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: white;
  font-weight: 700;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.scoring-demo__verdict-text {
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
}

@media (max-width: 768px) {
  .scoring-demo__display {
    grid-template-columns: 1fr;
  }
  .scoring-demo__filmstrip {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .scoring-demo__frame {
    scroll-snap-align: center;
  }
  .scoring-demo__terminal-body {
    height: 200px;
  }
}

/* ═══════════════════════════════════════════════════
   0b. EXECUTIVE TESTIMONIALS
   ═══════════════════════════════════════════════════ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial__quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--primary-light);
  opacity: 0.3;
  font-family: Georgia, serif;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.testimonial__text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.testimonial__avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), transparent 60%);
}

.testimonial__avatar--blue    { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.testimonial__avatar--cyan    { background: linear-gradient(135deg, #0e7490, #22d3ee); }
.testimonial__avatar--emerald { background: linear-gradient(135deg, #047857, #34d399); }

.testimonial__name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--dark);
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* ═══════════════════════════════════════════════════
   0c. ENTERPRISE TRUST / COMPLIANCE STRIP
   ═══════════════════════════════════════════════════ */

.trust-strip {
  padding: 4rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: white;
}

.trust-strip__heading {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 2rem;
}

.trust-strip__badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  text-align: center;
  min-width: 100px;
}

.trust-badge__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgb(99 102 241 / 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
}

.trust-badge:hover .trust-badge__icon {
  background: var(--primary);
  color: white;
  transform: scale(1.08);
}

.trust-badge__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark);
}

.trust-badge__sub {
  font-size: 0.6875rem;
  color: var(--gray-400);
  margin-top: -0.25rem;
}

/* ═══════════════════════════════════════════════════
   0d. SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children delay */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════════
   1. ANIMATED PIPELINE
   ═══════════════════════════════════════════════════ */

.pipeline-live {
  position: relative;
  padding: 3rem 0;
}

.pipeline-live__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  flex-wrap: wrap;
}

.pipeline-live__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.25rem;
  background: white;
  border-radius: 16px;
  border: 2px solid var(--gray-200);
  min-width: 150px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.pipeline-live__node.active {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgb(99 102 241 / 0.25), 0 4px 12px rgb(99 102 241 / 0.15);
  transform: scale(1.05);
}

.pipeline-live__node.completed {
  border-color: var(--success);
}

.pipeline-live__node.completed .pipeline-live__icon {
  background: rgb(16 185 129 / 0.1);
  color: var(--success);
}

.pipeline-live__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgb(99 102 241 / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.4s ease;
}

.pipeline-live__node.active .pipeline-live__icon {
  background: var(--primary);
  color: white;
  animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(99 102 241 / 0.4); }
  50% { box-shadow: 0 0 0 8px rgb(99 102 241 / 0); }
}

.pipeline-live__label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
}

.pipeline-live__meta {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-family: 'Courier New', monospace;
  min-height: 1rem;
}

.pipeline-live__connector {
  width: 60px;
  height: 3px;
  background: var(--gray-200);
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.pipeline-live__connector::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transition: left 0.6s ease;
}

.pipeline-live__connector.pulse::after {
  animation: connectorPulse 1s ease forwards;
}

@keyframes connectorPulse {
  0% { left: -100%; }
  100% { left: 100%; }
}

.pipeline-live__connector.filled {
  background: var(--success);
}

/* Live ticker */
.pipeline-live__ticker {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: var(--dark);
  border-radius: 12px;
  flex-wrap: wrap;
}

.pipeline-live__ticker-item {
  text-align: center;
}

.pipeline-live__ticker-value {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: 'Courier New', monospace;
  color: var(--primary-light);
}

.pipeline-live__ticker-label {
  font-size: 0.6875rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.125rem;
}

/* ═══════════════════════════════════════════════════
   2. ROI CALCULATOR
   ═══════════════════════════════════════════════════ */

.roi-calc {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.roi-calc__inputs {
  padding: 2rem;
}

.roi-calc__slider-group {
  margin-bottom: 1.5rem;
}

.roi-calc__slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.roi-calc__slider-header label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--dark);
}

.roi-calc__slider-header output {
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--primary);
}

.roi-calc__slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--gray-200);
  border-radius: 3px;
  outline: none;
}

.roi-calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgb(99 102 241 / 0.3);
}

.roi-calc__slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgb(99 102 241 / 0.3);
}

.roi-calc__results {
  background: var(--dark);
  color: white;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.roi-calc__result {
  text-align: center;
}

.roi-calc__result-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 0.25rem;
}

.roi-calc__result-label {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* ── ROI methodology — shows executives exactly where the figures come from ── */
.roi-method {
  max-width: 900px;
  margin: 2.5rem auto 0;
}

/* Collapsed by default — the summary is the toggle */
.roi-method__summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.25rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  list-style: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

/* Hide the native disclosure triangle */
.roi-method__summary::-webkit-details-marker { display: none; }
.roi-method__summary::marker { content: ""; }

.roi-method__summary:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.roi-method__summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.roi-method__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

/* Label is decorative — <summary> already conveys expanded/collapsed state */
.roi-method__hint {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
}

.roi-method__hint::after { content: "Show the math"; }
.roi-method[open] .roi-method__hint { color: var(--gray-500); }
.roi-method[open] .roi-method__hint::after { content: "Hide"; }

.roi-method__chevron {
  color: var(--gray-500);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.roi-method[open] .roi-method__chevron { transform: rotate(180deg); }

.roi-method__body {
  padding-top: 1.75rem;
  animation: roiMethodIn 0.25s ease;
}

@keyframes roiMethodIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .roi-method__body { animation: none; }
  .roi-method__chevron { transition: none; }
}

.roi-method__intro {
  font-size: 0.9375rem;
  color: var(--gray-500);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.roi-method__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.roi-method__item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.roi-method__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.625rem;
}

.roi-method__desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.roi-method__formula {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: var(--dark);
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.75rem;
  margin-bottom: 0.625rem;
  line-height: 1.5;
  /* Hold two lines so the formula rows align across all three cards */
  display: flex;
  align-items: center;
  min-height: 3.5rem;
}

/* The live worked example, filled in by enhancements.js */
.roi-method__math {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.6;
  /* Reserve two lines so the formula rows above stay aligned card to card */
  min-height: 2.6rem;
}

.roi-method__math strong {
  color: var(--dark);
  font-weight: 700;
}

.roi-method__assumptions {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.roi-method__assumptions-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 0.875rem;
}

.roi-method__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.roi-method__list li {
  font-size: 0.875rem;
  color: var(--gray-600);
  padding-left: 1.125rem;
  position: relative;
  line-height: 1.5;
}

.roi-method__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.roi-method__list strong {
  color: var(--dark);
  font-weight: 700;
}

.roi-method__note {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.65;
  border-left: 3px solid var(--warning);
  padding-left: 0.875rem;
}

.roi-method__note strong { color: var(--gray-600); }
.roi-method__note a { color: var(--primary); font-weight: 600; }
.roi-method__note a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════
   3. PARTNER LOGOS
   ═══════════════════════════════════════════════════ */

.partners {
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.partners__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.partners__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.partners__grid:hover {
  opacity: 0.8;
}

.partners__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-500);
  white-space: nowrap;
}

.partners__item svg,
.partners__item img {
  width: 24px;
  height: 24px;
}

/* ═══════════════════════════════════════════════════
   3b. ARCHITECTURE FLYTHROUGH
   ═══════════════════════════════════════════════════ */

.arch-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}

.arch-flow__layer {
  width: 100%;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.arch-flow__layer.revealed {
  opacity: 1;
  transform: translateY(0);
}

.arch-flow__layer--edge {
  background: linear-gradient(135deg, rgba(16,185,129,0.05), rgba(6,182,212,0.05));
  border-color: rgba(16,185,129,0.2);
}

.arch-flow__layer--cloud {
  background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(139,92,246,0.05));
  border-color: rgba(99,102,241,0.2);
}

.arch-flow__layer--delivery {
  background: linear-gradient(135deg, rgba(245,158,11,0.05), rgba(239,68,68,0.05));
  border-color: rgba(245,158,11,0.2);
}

.arch-flow__layer-label {
  position: absolute;
  top: -0.6rem;
  left: 1.5rem;
  background: white;
  padding: 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}

.arch-flow__nodes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.arch-flow__node {
  text-align: center;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--gray-200);
  min-width: 140px;
  transition: all 0.4s ease;
  position: relative;
}

.arch-flow__node.active {
  border-color: #6366f1;
  box-shadow: 0 0 20px rgba(99,102,241,0.2), 0 4px 12px rgba(0,0,0,0.08);
  transform: scale(1.05);
}

.arch-flow__node-icon {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.arch-flow__node-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.arch-flow__node-detail {
  font-size: 0.7rem;
  color: var(--gray-500);
}

.arch-flow__connector--h {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gray-300), var(--gray-200));
  position: relative;
  flex-shrink: 0;
}

.arch-flow__connector--h::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 0; height: 0;
  border-left: 6px solid var(--gray-300);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.arch-flow__connector--v.arch-flow__connector--main {
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, rgba(99,102,241,0.3), rgba(6,182,212,0.3));
  position: relative;
}

.arch-flow__connector--v.arch-flow__connector--main::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: -3px;
  width: 0; height: 0;
  border-top: 6px solid rgba(99,102,241,0.4);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

.arch-flow__pulse {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 12px rgba(99,102,241,0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 10;
}

@media (max-width: 768px) {
  .arch-flow__nodes {
    flex-direction: column;
    gap: 0.5rem;
  }
  .arch-flow__connector--h {
    width: 2px;
    height: 20px;
    transform: rotate(0deg);
  }
  .arch-flow__connector--h::after {
    right: auto;
    top: auto;
    bottom: -4px;
    left: -3px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--gray-300);
  }
  .arch-flow__node {
    min-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════
   4. DASHBOARD MOCKUP
   ═══════════════════════════════════════════════════ */

.dashboard-mockup {
  background: var(--dark);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--dark-light);
}

.dashboard-mockup__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}

.dashboard-mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard-mockup__dot--red { background: #ef4444; }
.dashboard-mockup__dot--yellow { background: #f59e0b; }
.dashboard-mockup__dot--green { background: #10b981; }

.dashboard-mockup__title {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-left: 0.5rem;
  flex: 1;
  text-align: center;
}

.dashboard-mockup__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.dashboard-mockup__metric {
  background: var(--dark-mid);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--dark-light);
}

.dashboard-mockup__metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-light);
  font-family: 'Courier New', monospace;
}

.dashboard-mockup__metric-label {
  font-size: 0.6875rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dashboard-mockup__chart-area {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.75rem;
}

.dashboard-mockup__chart {
  background: var(--dark-mid);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid var(--dark-light);
  min-height: 140px;
  position: relative;
  overflow: hidden;
}

.dashboard-mockup__chart-title {
  font-size: 0.6875rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

/* SVG chart bars */
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--primary), var(--primary-light));
  border-radius: 3px 3px 0 0;
  min-width: 8px;
  animation: barGrow 1s ease forwards;
  transform-origin: bottom;
}

@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* Camera status dots */
.dashboard-mockup__cameras {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dashboard-mockup__camera {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--gray-300);
}

.dashboard-mockup__camera-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: camBlink 2s infinite;
}

.dashboard-mockup__camera-dot--warn {
  background: var(--warning);
}

@keyframes camBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ═══════════════════════════════════════════════════
   5. BEFORE / AFTER TIMELINE
   ═══════════════════════════════════════════════════ */

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.comparison__side {
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.comparison__side--before {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.comparison__side--after {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.comparison__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.comparison__side--before .comparison__badge {
  background: #fecaca;
  color: #991b1b;
}

.comparison__side--after .comparison__badge {
  background: #a7f3d0;
  color: #065f46;
}

.comparison__time {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.comparison__side--before .comparison__time { color: #dc2626; }
.comparison__side--after .comparison__time { color: #059669; }

.comparison__subtitle {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}

.comparison__steps {
  list-style: none;
}

.comparison__steps li {
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comparison__side--before .comparison__steps li::before {
  content: '⏱';
  font-size: 0.75rem;
}

.comparison__side--after .comparison__steps li::before {
  content: '⚡';
  font-size: 0.75rem;
}

/* ═══════════════════════════════════════════════════
   6. ANIMATED COUNTERS
   ═══════════════════════════════════════════════════ */

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.counter {
  padding: 1.5rem;
}

.counter__value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-light);
  font-family: 'Inter', sans-serif;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.counter__label {
  font-size: 0.9375rem;
  color: var(--gray-400);
}

/* ═══════════════════════════════════════════════════
   7. USE CASE / SPORT CARDS
   ═══════════════════════════════════════════════════ */

.sport-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.sport-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.sport-card__banner {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.sport-card__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sport-card__banner--soccer { background: linear-gradient(135deg, #065f46, #10b981); }
.sport-card__banner--basketball { background: linear-gradient(135deg, #92400e, #f59e0b); }
.sport-card__banner--football { background: linear-gradient(135deg, #1e3a5f, #3b82f6); }

.sport-card__body {
  padding: 1.5rem;
}

.sport-card__sport {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.sport-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.sport-card__text {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.sport-card__stats {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.sport-card__stat-value {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--dark);
}

.sport-card__stat-label {
  font-size: 0.6875rem;
  color: var(--gray-400);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .dashboard-mockup__grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-mockup__chart-area { grid-template-columns: 1fr; }
  .roi-calc__results { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .pipeline-live__track { flex-direction: column; }
  .pipeline-live__connector {
    width: 3px;
    height: 30px;
  }
  .pipeline-live__connector::after {
    width: 100%;
    height: 100%;
  }
  @keyframes connectorPulse {
    0% { top: -100%; left: 0; }
    100% { top: 100%; left: 0; }
  }
  .comparison { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-mockup__grid { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .trust-strip__badges { gap: 1.5rem; }
}

/* ═══════════════════════════════════════════════════
   EXECUTIVE URGENCY BANNER
   Sits between the dark hero and the light partners strip, so it uses a
   tinted panel rather than a full dark section — two dark bands back to
   back would visually merge.
   ═══════════════════════════════════════════════════ */
.urgency {
  padding: 5rem 0;
}

.urgency__panel {
  position: relative;
  background: linear-gradient(135deg, #f5f6ff 0%, #eef2ff 45%, #ecfeff 100%);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 3.5rem;
  overflow: hidden;
}

/* Accent rail keys the panel to the brand gradient */
.urgency__panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.urgency__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

/* Centre the header block — left-aligning it left a large dead zone on the
   right of the panel, and every other section on the page centres its header. */
.urgency__header { text-align: center; }

.urgency__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgb(16 185 129 / 0.6);
  animation: urgencyPulse 2s infinite;
}

@keyframes urgencyPulse {
  70%  { box-shadow: 0 0 0 8px rgb(16 185 129 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0); }
}

.urgency__title {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--dark);
  max-width: 800px;
  margin: 0 auto 1rem;
}

.urgency__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gray-600);
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.urgency__grid {
  display: grid;
  /* min() guard: a bare minmax(300px,...) overflows viewports narrower than
     300px + container/panel padding, forcing horizontal scroll on phones. */
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
}

.urgency__card {
  background: rgb(255 255 255 / 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.urgency__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Capability vs. risk — colour-coded so executives read them as a pair */
.urgency__card--now  { border-top-color: var(--success); }
.urgency__card--risk { border-top-color: var(--warning); }

.urgency__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.urgency__card--now  .urgency__icon { background: rgb(16 185 129 / 0.12); color: var(--success); }
.urgency__card--risk .urgency__icon { background: rgb(245 158 11 / 0.14); color: var(--warning); }

.urgency__card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.urgency__card-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-600);
}

@media (max-width: 768px) {
  .urgency { padding: 3.5rem 0; }
  .urgency__panel { padding: 2rem 1.5rem; border-radius: 16px; }
  .urgency__lead { margin-bottom: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .urgency__pulse { animation: none; }
  .urgency__card:hover { transform: none; }
}


/* Restored from server — was lost in the 2026-08-16 deploy */
.partners__collab {
  text-align: center;
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--gray-400);
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

/* ═══════════════════════════════════════════════════
   COOKIE CONSENT BANNER
   Injected by js/main.js, which shipped without any styling — the markup
   was rendering as bare text and unstyled buttons at the foot of the page.
   ═══════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: var(--dark);
  border: 1px solid var(--dark-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  /* Hidden until js adds --visible, so it slides up rather than snapping in */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner--visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-300);
  margin: 0;
  max-width: none;
}

.cookie-banner__text a {
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover { color: white; }

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.cookie-banner__btn--decline {
  background: transparent;
  border-color: var(--dark-light);
  color: var(--gray-300);
}

.cookie-banner__btn--decline:hover {
  border-color: var(--gray-400);
  color: white;
}

.cookie-banner__btn--accept {
  background: var(--primary);
  color: white;
}

.cookie-banner__btn--accept:hover { background: var(--primary-light); }

.cookie-banner__btn:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.875rem;
    text-align: center;
  }
  .cookie-banner__actions { justify-content: center; }
  .cookie-banner__btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}
