/* ============================================
   ROB RELIABILITY — shared styles
   ============================================ */

:root {
  /* Rob Reliability — Field-Grade Daylight palette */
  /* Raw tokens */
  --rr-paper:       #F5F8FB;
  --rr-surface:     #FFFFFF;
  --rr-mist:        #E5EBF2;
  --rr-steel:       #C7D2E0;
  --rr-fog:         #6B8DB5;
  --rr-hull:        #1A2438;
  --rr-deep:        #0A1220;
  --rr-midnight:    #050810;
  --rr-cyan:        #00DCFF;
  --rr-cyan-shade:  #00B8D6;

  /* Primaries — mapped to RR design system */
  --blue-primary:   #00B8D6;     /* cyan-shade for light surfaces */
  --blue-dark:      #0A1220;     /* deep ink */
  --blue-secondary: #00DCFF;     /* signature cyan */

  /* Accent (single cyan, no purple) */
  --purple: #00DCFF;             /* alias kept so legacy refs still work */
  --purple-light: #00DCFF;
  --accent-a: var(--rr-cyan-shade);
  --accent-b: var(--rr-deep);
  --gradient: linear-gradient(90deg, var(--rr-cyan-shade) 0%, var(--rr-deep) 100%);
  --gradient-135: linear-gradient(135deg, var(--rr-cyan-shade) 0%, var(--rr-deep) 100%);

  /* Text-only gradient — cyan-shade → deep navy (one accent only) */
  --text-grad-a: #00B8D6;
  --text-grad-b: #0A1220;
  --gradient-text: linear-gradient(90deg, var(--text-grad-a) 0%, var(--text-grad-b) 100%);

  /* Neutres */
  --bg-main: #F5F8FB;            /* rr-paper */
  --white: #FFFFFF;
  --grey-light: #E5EBF2;         /* rr-mist */
  --grey-border: #E5EBF2;

  /* Texte */
  --text-primary: #0A1220;       /* rr-deep — headlines & ink */
  --text-secondary: #1A2438;     /* rr-hull — body */
  --text-muted: #6B8DB5;         /* rr-fog — captions */

  /* Accents secondaires */
  --green: #22C55E;
  --orange: #F59E0B;

  /* Ombres */
  --shadow-sm: 0 0.5px 0 rgba(10, 18, 32, 0.04), 0 1px 2px rgba(10, 18, 32, 0.04);
  --shadow-md: 0 1px 0 rgba(10, 18, 32, 0.04), 0 2px 8px rgba(10, 18, 32, 0.06);
  --shadow-lg: 0 12px 28px rgba(10, 18, 32, 0.08), 0 4px 10px rgba(10, 18, 32, 0.04);
  --shadow-xl: 0 24px 60px rgba(10, 18, 32, 0.12), 0 12px 20px rgba(10, 18, 32, 0.06);
  --shadow-cyan-halo: 0 0 0 4px rgba(0, 220, 255, 0.18), 0 0 24px rgba(0, 220, 255, 0.35);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;

  /* Fonts — Rob Reliability: Inter (display), Geist (body), Geist Mono (labels) */
  --font-sans: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

/* Font pairing tweaks */
:root[data-font="inter"] {
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;
}
:root[data-font="geist"] {
  --font-sans: 'Geist', system-ui, sans-serif;
  --font-display: 'Geist', system-ui, sans-serif;
}
:root[data-font="serif"] {
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;
}

/* Accent color tweaks */
:root[data-accent="blue"] {
  --accent-a: #00B8D6;
  --accent-b: #0A1220;
}
:root[data-accent="teal"] {
  --accent-a: #0EA5B7;
  --accent-b: #2563EB;
}
:root[data-accent="violet"] {
  --accent-a: #7C3AED;
  --accent-b: #EC4899;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "ss03";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  font-weight: 700;
}
h1 { font-size: clamp(36px, 5.4vw, 68px); letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2vw, 24px); }
p { margin: 0; color: var(--text-secondary); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* ============= NAV ============= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--grey-border);
  background: rgba(255,255,255,0.9);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(31,42,68,0.04); }
.nav-links a.active { color: var(--text-primary); }

.nav-right { display: flex; align-items: center; gap: 16px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ============= NAV DROPDOWN ============= */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  cursor: pointer;
  background: none;
  transition: color .2s, background .2s;
}
.nav-dropdown-toggle:hover { color: var(--text-primary); background: rgba(31,42,68,0.04); }
.nav-dropdown-toggle.active { color: var(--rr-cyan-shade); }
.nav-dropdown-toggle .nav-caret {
  width: 10px; height: 10px;
  transition: transform .2s;
}
.nav-dropdown:hover .nav-caret,
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 320px;
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: 14px;
  box-shadow: var(--shadow-xl);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 60;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-primary);
  transition: background .15s;
}
.nav-dropdown-menu a:hover { background: var(--bg-main); }
.nav-dropdown-menu a strong { font-size: 14px; font-weight: 600; }
.nav-dropdown-menu a span { font-size: 12px; color: var(--text-muted); }
.nav-dropdown-menu a.active strong { color: var(--rr-cyan-shade); }

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; stroke-width: 2; }

.btn-primary {
  background: var(--rr-deep);
  color: white;
  box-shadow: 0 1px 0 rgba(10,18,32,0.04), 0 2px 8px rgba(10,18,32,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform .15s var(--ease-instrument, cubic-bezier(.2,.6,.2,1)), box-shadow .18s var(--ease-instrument, cubic-bezier(.2,.6,.2,1));
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(0,220,255,0.18), 0 0 24px rgba(0,220,255,0.35), 0 2px 8px rgba(10,18,32,0.18); background: var(--rr-midnight); }

.btn-outline {
  background: var(--white);
  color: var(--text-primary);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--text-muted); transform: translateY(-1px); }

.btn-ghost { color: var(--text-primary); padding: 10px 14px; }
.btn-ghost:hover { background: var(--grey-light); }

.btn-lg { padding: 16px 26px; font-size: 15px; border-radius: 12px; }

/* ============= UTILITIES ============= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(0,184,214,0.08);
  color: var(--rr-cyan-shade);
  border: 1px solid rgba(0,184,214,0.22);
  font-family: var(--font-mono);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rr-cyan);
  box-shadow: 0 0 8px rgba(0,220,255,0.6);
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } }

.grad-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--grey-light);
  color: var(--text-secondary);
}
.tag-soon { background: rgba(138,148,166,0.14); color: var(--text-muted); }

/* ============= REVEAL ON SCROLL ============= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

/* Hero section reveals are immediately visible — no animation delay */
.hero .reveal,
.hero .trust-strip.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* ============= CARDS ============= */
.card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(0,184,214,0.35); }

/* ============= STICKY CTA (pill bar) ============= */
.cta-sticky {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 20px;
  background: rgba(31, 42, 68, 0.95);
  color: white;
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(31,42,68,0.35), 0 0 0 1px rgba(255,255,255,0.06) inset;
  backdrop-filter: blur(12px);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .3s;
  font-size: 14px;
  font-weight: 500;
}
.cta-sticky.show { transform: translateX(-50%) translateY(0); }
.cta-sticky .cta-sticky-text { opacity: .9; }
.cta-sticky .cta-sticky-text strong { color: white; font-weight: 600; }
.cta-sticky .cta-sticky-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--gradient);
  color: white;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: transform .15s;
}
.cta-sticky .cta-sticky-btn:hover { transform: scale(1.03); }
.cta-sticky .cta-sticky-btn svg { width: 14px; height: 14px; }

@media (max-width: 640px) {
  .cta-sticky { padding: 6px 6px 6px 14px; font-size: 12px; max-width: calc(100vw - 24px); }
  .cta-sticky .cta-sticky-text { display: none; }
  .cta-sticky .cta-sticky-btn { padding: 10px 16px; }
}

/* ============= FOOTER ============= */
.footer {
  padding: 72px 0 40px;
  border-top: 1px solid var(--grey-border);
  background: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--text-secondary); font-size: 14px; transition: color .2s; }
.footer a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-border);
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 12.5px;
}
.footer-legal a {
  color: var(--text-muted);
  transition: color .2s;
}
.footer-legal a:hover { color: var(--text-primary); }

/* ============= TWEAKS PANEL ============= */
.tweaks-panel {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 280px;
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: 14px;
  box-shadow: var(--shadow-xl);
  padding: 18px;
  z-index: 95;
  display: none;
  font-size: 13px;
}
.tweaks-panel.show { display: block; }
.tweaks-panel h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 8px; }
.tweaks-panel .tweak-group { margin-bottom: 18px; }
.tweaks-panel .tweak-group:last-child { margin-bottom: 0; }
.tweaks-options { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks-options button {
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 500;
  background: var(--grey-light);
  color: var(--text-primary);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all .15s;
}
.tweaks-options button[aria-pressed="true"] {
  background: var(--white);
  border-color: var(--text-primary);
  box-shadow: inset 0 0 0 1px var(--text-primary);
}
.swatch { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--grey-border); padding: 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--blue-primary); }

/* ============= HERO terminal ============= */
.terminal {
  background: #0E1220;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 40px 80px rgba(10,18,32,0.22), 0 0 0 1px rgba(0,184,214,0.1);
  overflow: hidden;
  font-family: var(--font-mono);
  color: #D9DEEC;
  font-size: 13px;
  line-height: 1.65;
  position: relative;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #161B2E;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #6B8DB5;
  font-size: 12px;
}
.terminal-bar .dot-r { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.terminal-bar .dot-y { width: 10px; height: 10px; border-radius: 50%; background: #FEBC2E; }
.terminal-bar .dot-g { width: 10px; height: 10px; border-radius: 50%; background: #28C840; }
.terminal-bar .title { margin-left: 12px; font-family: var(--font-mono); }

.terminal-body {
  padding: 22px 22px 28px;
  min-height: 360px;
  max-height: 420px;
  overflow: hidden;
  position: relative;
}
.t-line { display: flex; gap: 10px; margin-bottom: 6px; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.t-line.on { opacity: 1; transform: none; }
.t-line .t-prefix { color: #6B8DB5; }
.t-line .t-muted { color: #6B8DB5; }
.t-line .t-blue { color: #6CA3FF; }
.t-line .t-green { color: #5BD88A; }
.t-line .t-purple { color: #B496FF; }
.t-line .t-white { color: #F2F4F9; }
.t-line .t-yellow { color: #FFD166; }

.t-progress {
  display: inline-flex; align-items: center; gap: 8px;
  color: #6B8DB5; font-size: 12px;
}
.t-bar {
  width: 160px; height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.t-bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, #00B8D6, #00DCFF);
  width: 0%;
  transition: width .3s ease;
}

.pmi-preview {
  margin-top: 14px;
  background: #F5F8FB;
  border-radius: 10px;
  padding: 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s, transform .5s;
  border: 1px solid rgba(255,255,255,0.1);
}
.pmi-preview.on { opacity: 1; transform: none; }
.pmi-preview-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 8px; margin-bottom: 8px;
  border-bottom: 1px solid var(--grey-border);
}
.pmi-preview-head strong { font-size: 13px; }
.pmi-row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dashed var(--grey-border); }
.pmi-row:last-child { border: 0; }
.pmi-row span:first-child { color: var(--text-muted); }

.hero-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: white;
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.hero-badge .bolt {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gradient);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ============= HERO IMAGE ============= */
.hero-video-wrap {
  position: relative;
  background: transparent;
  aspect-ratio: 4/3;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  filter: drop-shadow(0 18px 36px rgba(15, 23, 42, 0.10));
}

.hero-video-wrap::after { content: none; }

.hero-video-wrap video,
.hero-video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
}

/* Mask divs no longer needed */
.hv-mask { display: none; }

/* Dark hero variant */
.hero.dark .hero-video-wrap {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.4));
}

/* Live agent badge on video */
.hv-live {
  position: absolute;
  bottom: 8%;
  right: -64px;
  z-index: 3;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--grey-border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.hv-live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34,197,94,0.55);
  animation: abPulse 1.8s ease-out infinite;
}

/* ============= PLANT DIAGRAM ============= */
.plant {
  position: relative;
  width: 100%;
  aspect-ratio: 1.1 / 1;
  max-width: 560px;
  margin: 0 auto;
}
.plant svg { width: 100%; height: 100%; overflow: visible; }

.plant .pulse-dot {
  offset-rotate: 0deg;
  animation: plantFlow 4s linear infinite;
}
.plant .pulse-dot.d2 { animation-delay: -1s; }
.plant .pulse-dot.d3 { animation-delay: -2s; }
.plant .pulse-dot.d4 { animation-delay: -3s; }
.plant .pulse-dot.d5 { animation-delay: -0.5s; }
.plant .pulse-dot.d6 { animation-delay: -2.8s; }

@keyframes plantFlow {
  to { motion-offset: 100%; offset-distance: 100%; }
  from { motion-offset: 0%; offset-distance: 0%; }
}

.plant .sensor-ring {
  transform-origin: center;
  animation: plantRing 2.4s ease-out infinite;
}
.plant .sensor-ring.r2 { animation-delay: 0.8s; }
.plant .sensor-ring.r3 { animation-delay: 1.6s; }
@keyframes plantRing {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.plant .plant-blink {
  animation: plantBlink 1.8s ease-in-out infinite;
}
.plant .plant-blink.b2 { animation-delay: 0.6s; }
.plant .plant-blink.b3 { animation-delay: 1.2s; }
@keyframes plantBlink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.plant .plant-steam {
  animation: plantSteam 3.5s ease-out infinite;
  transform-origin: center bottom;
}
.plant .plant-steam.s2 { animation-delay: -1.2s; }
.plant .plant-steam.s3 { animation-delay: -2.4s; }
@keyframes plantSteam {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  25% { opacity: 0.7; }
  100% { transform: translateY(-32px) scale(1.4); opacity: 0; }
}

.plant .gauge-needle {
  transform-origin: 50% 100%;
  animation: plantGauge 4s ease-in-out infinite;
}
@keyframes plantGauge {
  0%, 100% { transform: rotate(-60deg); }
  50% { transform: rotate(55deg); }
}

.plant .agent-badge {
  position: absolute;
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: var(--shadow-lg);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.96);
}
.plant .agent-badge .ab-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34,197,94,0.55);
  animation: abPulse 1.8s ease-out infinite;
}
@keyframes abPulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.plant .agent-badge .ab-label { color: var(--text-muted); font-weight: 500; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.plant .agent-badge .ab-val { color: var(--text-primary); font-family: var(--font-mono); }

.plant .ab-1 { top: 8%; left: 2%; }
.plant .ab-2 { bottom: 12%; right: 0%; }
.plant .ab-3 { top: 42%; right: 4%; }

@media (max-width: 640px) {
  .plant .agent-badge { font-size: 10px; padding: 6px 9px; }
  .plant .ab-3 { display: none; }
}

/* ============= GRID PATTERNS / BG ============= */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(to right, rgba(31,42,68,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,42,68,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image:
    linear-gradient(to bottom, black 0%, black 70%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(to bottom, black 0%, black 70%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,220,255,0.10), transparent 65%);
  pointer-events: none;
  filter: blur(20px);
}
.hero-glow-2 {
  position: absolute;
  bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(107,141,181,0.10), transparent 65%);
  pointer-events: none;
  filter: blur(20px);
}

.hero.dark {
  background: #050810;
  color: #F2F4F9;
}
.hero.dark .hero-grid-bg {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  mask-image:
    linear-gradient(to bottom, black 0%, black 70%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(to bottom, black 0%, black 70%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}
.hero.dark h1 { color: #F2F4F9; }
.hero.dark p { color: #A6B0C2; }
.hero.dark .eyebrow { background: rgba(0,220,255,0.14); color: #7DE6F6; border-color: rgba(0,220,255,0.25); }
.hero.dark .btn-outline { background: rgba(255,255,255,0.06); color: white; border-color: rgba(255,255,255,0.12); }
.hero.dark .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.hero.dark .trust-strip { color: #6B8DB5; border-color: rgba(255,255,255,0.08); }
.hero.dark .trust-strip span { color: #6B8DB5; }
.hero.dark .grad-text {
  background: linear-gradient(90deg, #00DCFF 0%, #7DE6F6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust-strip {
  margin-top: 56px;
  padding: 24px 0 0;
  border-top: 1px solid var(--grey-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.trust-strip .lbl { font-weight: 600; color: var(--text-secondary); margin-right: 4px; }

/* Hero layout */
.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-layout h1 { margin: 20px 0 22px; }
.hero-layout .hero-sub { font-size: 18px; line-height: 1.55; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
@media (max-width: 820px) {
  .hero-layout { grid-template-columns: 1fr; gap: 48px; }
  .hero-video-wrap { width: 100%; margin: 0; }
}

/* ============= STATS BAND ============= */
.stats-band {
  background: var(--rr-midnight);
  color: white;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(0,220,255,0.10), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(0,220,255,0.06), transparent 50%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--rr-paper);
}
.stat-item .stat-num::after {
  content: "";
  display: block;
  width: 28px; height: 2px;
  background: var(--rr-cyan);
  margin-top: 14px;
}
.stat-item .stat-label {
  margin-top: 12px;
  font-size: 14px;
  color: #A6B0C2;
  max-width: 260px;
  line-height: 1.45;
}

/* ============= SECTION HEADS ============= */
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { margin-top: 16px; color: var(--rr-deep); }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--rr-hull); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ============= PROBLEM / SOLUTION ============= */
.problem-wrap {
  padding: 48px;
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.problem-wrap .pw-quote {
  font-size: 22px;
  line-height: 1.4;
  color: var(--text-primary);
  font-weight: 500;
}
.problem-wrap .pw-quote strong { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.problem-visual {
  background: #F5F8FB;
  border-radius: 12px;
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid var(--grey-border);
}
.problem-visual .bar-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.problem-visual .bar-label { width: 120px; color: var(--text-primary); font-weight: 500; }
.problem-visual .bar {
  flex: 1; height: 8px; background: var(--grey-light);
  border-radius: 4px; overflow: hidden;
}
.problem-visual .bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, #F59E0B, #EF4444);
}
.problem-visual .bar.good > span { background: linear-gradient(90deg, #00B8D6, #00DCFF); }
.problem-visual .bar-val { width: 60px; text-align: right; color: var(--text-primary); font-weight: 600; }

@media (max-width: 820px) { .problem-wrap { grid-template-columns: 1fr; padding: 32px; gap: 32px; } }

/* ============= SOLUTION STEPS ============= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: 14px;
  position: relative;
  transition: all .25s;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(0,184,214,0.3); }
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--rr-cyan-shade);
  text-transform: uppercase;
}
.step-card h3 { font-size: 22px; margin: 14px 0 10px; }
.step-card p { font-size: 15px; }
.step-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0,184,214,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--rr-cyan-shade);
  border: 1px solid rgba(0,184,214,0.18);
}
.step-icon svg { width: 22px; height: 22px; stroke-width: 1.75; }

/* ============= WHY US ============= */
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 960px) { .why-layout { grid-template-columns: 1fr; } }

.why-feature {
  background: var(--rr-midnight);
  border-radius: 18px;
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}
.why-feature::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(0,220,255,0.14), transparent 60%),
    radial-gradient(rgba(107,141,181,0.08) 1px, transparent 1px);
  background-size: auto, 32px 32px;
  pointer-events: none;
}
.why-feature .why-num {
  font-family: var(--font-display);
  font-size: 72px; font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  color: var(--rr-paper);
  position: relative;
}
.why-feature .why-num::after {
  content: "/";
  color: var(--rr-cyan);
  font-weight: 900;
  margin-left: 0.08em;
}
.why-feature p { margin-top: 20px; font-size: 17px; color: #D9DEEC; }
.why-feature strong { color: white; }

.why-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.why-bullets li {
  display: flex; gap: 16px;
  padding: 20px;
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: 12px;
  transition: all .2s;
}
.why-bullets li:hover { border-color: rgba(0,184,214,0.3); box-shadow: var(--shadow-md); }
.why-bullets .chk {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-bullets strong { display: block; margin-bottom: 4px; color: var(--text-primary); font-size: 15px; }
.why-bullets p { font-size: 14.5px; line-height: 1.55; }

.pull-quote {
  margin-top: 48px;
  padding: 32px 40px;
  background: var(--white);
  border-left: 3px solid transparent;
  border-image: var(--gradient) 1;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
  font-style: italic;
}

/* ============= USE CASE GRID ============= */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1080px) { .uc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .uc-grid { grid-template-columns: 1fr; } }

.uc-card {
  padding: 24px;
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: 14px;
  transition: all .25s;
  display: block;
  color: inherit;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.uc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,184,214,0.4); }
.uc-card.featured { background: var(--rr-midnight); color: white; border-color: var(--rr-deep); grid-column: span 2; min-height: 260px; }
.uc-card.featured p { color: #C7D2E0; }
.uc-card.featured:hover { border-color: rgba(0,220,255,0.5); }

.uc-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(0,184,214,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--rr-cyan-shade);
  margin-bottom: 16px;
  border: 1px solid rgba(0,184,214,0.18);
}
.uc-card.featured .uc-icon { background: rgba(0,220,255,0.14); color: var(--rr-cyan); border-color: rgba(0,220,255,0.28); }
.uc-icon svg { width: 20px; height: 20px; stroke-width: 1.75; }
.uc-card h3 { font-size: 17px; margin-bottom: 8px; }
.uc-card.featured h3 { color: white; font-size: 24px; }
.uc-card p { font-size: 13.5px; line-height: 1.5; flex: 1; }
.uc-card.featured p { font-size: 15px; }
.uc-card .uc-foot {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--rr-cyan-shade);
}
.uc-card.featured .uc-foot { color: var(--rr-cyan); }
.uc-card .uc-foot.muted { color: var(--text-muted); }
.uc-card .uc-foot svg { width: 14px; height: 14px; transition: transform .2s; }
.uc-card:hover .uc-foot svg { transform: translateX(3px); }

/* ============= COMPARISON TABLE ============= */
.compare-tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--grey-light);
  border-radius: 12px;
  margin-bottom: 24px;
  width: fit-content;
}
.compare-tabs button {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all .2s;
}
.compare-tabs button[aria-pressed="true"] {
  background: white;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.compare-table {
  width: 100%;
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: 16px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}
.compare-table th, .compare-table td {
  padding: 18px 22px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--grey-border);
  vertical-align: middle;
}
.compare-table th {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-main);
}
.compare-table th.rob-col, .compare-table td.rob-col {
  background: rgba(0,184,214,0.04);
  border-left: 1px solid rgba(0,184,214,0.18);
  border-right: 1px solid rgba(0,184,214,0.18);
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
}
.compare-table th.rob-col {
  background: var(--rr-deep);
  color: white;
  border: 0;
}
.compare-table td.rob-col strong { color: var(--rr-cyan-shade); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table tr:last-child td.rob-col { border-bottom: 1px solid rgba(0,184,214,0.18); }
.compare-table td.criteria { font-weight: 600; color: var(--text-primary); }

.compare-table tr.highlight-animate td {
  animation: rowPulse 1.2s ease;
}
@keyframes rowPulse {
  0%, 100% { background-color: transparent; }
  40% { background-color: rgba(0,184,214,0.05); }
}
.compare-table tr.highlight-animate td.rob-col {
  animation: robRowPulse 1.2s ease;
}
@keyframes robRowPulse {
  0%, 100% { background: linear-gradient(180deg, rgba(0,184,214,0.04), rgba(107,141,181,0.04)); }
  40% { background: linear-gradient(180deg, rgba(0,184,214,0.14), rgba(0,220,255,0.10)); }
}

.compare-punchline {
  margin-top: 32px;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.compare-punchline strong { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 820px) {
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 13px; }
}

/* ============= SECURITY / GUARANTEE ============= */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sec-grid { grid-template-columns: 1fr; } }

.sec-card {
  padding: 24px;
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: 14px;
  transition: all .2s;
}
.sec-card:hover { border-color: rgba(0,184,214,0.3); transform: translateY(-2px); }
.sec-card .sec-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(0,184,214,0.08);
  color: var(--rr-cyan-shade);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(0,184,214,0.18);
}
.sec-card h3 { font-size: 16px; margin-bottom: 8px; }
.sec-card p { font-size: 13.5px; line-height: 1.55; }

.guarantee {
  padding: 56px;
  background: var(--rr-midnight);
  color: white;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.guarantee::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(0,220,255,0.16), transparent 60%),
    radial-gradient(rgba(107,141,181,0.08) 1px, transparent 1px);
  background-size: auto, 32px 32px;
}
.guarantee-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) { .guarantee { padding: 40px 32px; } .guarantee-inner { grid-template-columns: 1fr; gap: 24px; } }
.guarantee-seal {
  width: 140px; height: 140px;
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.guarantee-seal img { border-radius: 24px !important; }
.guarantee-seal::before { content: none; }
.guarantee-seal span {
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  line-height: 1.15;
  letter-spacing: 0.04em;
  z-index: 2;
  padding: 0 10px;
}
.guarantee h2 { color: white; font-size: clamp(26px, 3vw, 36px); }
.guarantee .grad-text {
  background: linear-gradient(90deg, #00DCFF 0%, #7DE6F6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.guarantee p { color: #D9DEEC; font-size: 16px; margin-top: 12px; }
.guarantee .gsub { margin-top: 16px; font-size: 13px; color: #6B8DB5; }

/* ============= TIMELINE ============= */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px; top: 12px; bottom: 12px;
  width: 2px;
  background: var(--rr-mist);
}
.timeline-fill {
  content: "";
  position: absolute;
  left: 11px; top: 12px;
  width: 2px;
  height: 0;
  background: var(--rr-cyan-shade);
  transition: height .8s var(--ease-instrument, cubic-bezier(.2,.6,.2,1));
}
.tl-item {
  position: relative;
  padding: 0 0 40px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--grey-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all .3s;
}
.tl-item.active .tl-dot {
  background: var(--rr-deep);
  color: white;
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(0,220,255,0.18);
}
.tl-item h3 { font-size: 19px; margin-bottom: 6px; }
.tl-item .tl-meta { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rr-cyan-shade); margin-bottom: 6px; }
.tl-item p { font-size: 15px; }

/* ============= TIMELINE — ZIGZAG VARIANT ============= */
.timeline-zigzag {
  max-width: 1080px;
  padding-left: 0;
  padding: 20px 0 0;
}
.timeline-zigzag::before {
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  width: 3px;
}
.timeline-zigzag .timeline-fill {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 3px;
}
.timeline-zigzag .tl-item {
  position: relative;
  padding: 0 0 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.timeline-zigzag .tl-item:last-child { padding-bottom: 0; }
.timeline-zigzag .tl-dot {
  position: static;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: 56px; height: 56px;
  font-size: 18px;
  font-weight: 800;
  background: white;
  border: 3px solid var(--grey-border);
  color: var(--text-muted);
  z-index: 2;
  box-shadow: 0 8px 24px rgba(10,18,32,0.06);
}
.timeline-zigzag .tl-card {
  align-self: center;
  grid-row: 1;
}
.timeline-zigzag .tl-item.active .tl-dot {
  background: var(--rr-deep);
  color: white;
  border-color: var(--rr-cyan);
  box-shadow: 0 0 0 6px rgba(0,220,255,0.18), 0 8px 24px rgba(10,18,32,0.12);
  transform: scale(1.05);
}
.timeline-zigzag .tl-card {
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
}
.timeline-zigzag .tl-card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--grey-border);
  transform: translateY(-50%);
}
.timeline-zigzag .tl-left .tl-card {
  grid-column: 1;
  text-align: right;
}
.timeline-zigzag .tl-left .tl-card::before { right: -24px; }
.timeline-zigzag .tl-right .tl-card {
  grid-column: 3;
  text-align: left;
}
.timeline-zigzag .tl-right .tl-card::before { left: -24px; }
.timeline-zigzag .tl-item.active .tl-card {
  border-color: rgba(0,184,214,0.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.timeline-zigzag .tl-item.active .tl-card::before {
  background: var(--rr-cyan-shade);
}
.timeline-zigzag .tl-card h3 { font-size: 22px; margin-bottom: 8px; }
.timeline-zigzag .tl-card p { font-size: 15px; line-height: 1.55; }

@media (max-width: 820px) {
  .timeline-zigzag::before,
  .timeline-zigzag .timeline-fill {
    left: 28px;
    transform: none;
  }
  .timeline-zigzag .tl-item {
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 0 0 36px;
  }
  .timeline-zigzag .tl-dot { grid-column: 1; }
  .timeline-zigzag .tl-left .tl-card,
  .timeline-zigzag .tl-right .tl-card {
    grid-column: 2;
    text-align: left;
  }
  .timeline-zigzag .tl-left .tl-card::before,
  .timeline-zigzag .tl-right .tl-card::before {
    left: -20px;
    right: auto;
  }
}

/* ============= FAQ ============= */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(0,184,214,0.35); box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-weight: 300;
  font-size: 24px;
  color: var(--rr-cyan-shade);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============= CUSTOM CTA ============= */
.custom-cta {
  padding: 48px;
  background: white;
  border: 1px dashed var(--grey-border);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.custom-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 100%, rgba(0,184,214,0.05), transparent 60%),
    radial-gradient(circle at 90% 0%, rgba(107,141,181,0.05), transparent 60%);
  pointer-events: none;
}
.custom-cta > * { position: relative; }
.custom-cta p { max-width: 620px; margin: 16px auto 0; font-size: 16px; }

/* ============= FINAL CTA ============= */
.final-cta {
  padding: 96px 56px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    url("cta-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-primary);
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--grey-border);
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.45) 100%);
  pointer-events: none;
}
.final-cta > * { position: relative; }
.final-cta h2 { color: var(--text-primary); max-width: 720px; margin: 0 auto; }
.final-cta p { color: var(--text-secondary); max-width: 620px; margin: 18px auto 32px; font-size: 17px; }
.final-cta .btn-outline {
  background: var(--text-primary);
  color: white;
  border: 0;
}
.final-cta .btn-outline:hover { background: #2a364f; }

@media (max-width: 720px) { .final-cta { padding: 48px 28px; } }

/* ============= LOGOS / TESTIMONIALS PLACEHOLDER ============= */
.logos-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
}
@media (max-width: 820px) { .logos-row { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.logo-slot {
  height: 48px;
  border-radius: 8px;
  background: repeating-linear-gradient(45deg, var(--grey-light), var(--grey-light) 8px, white 8px, white 16px);
  border: 1px dashed var(--grey-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 820px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  padding: 28px;
  background: white;
  border: 1px dashed var(--grey-border);
  border-radius: 14px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.testi-card .placeholder-tag {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.testi-card blockquote { font-size: 15px; color: var(--text-muted); margin: 0; font-style: italic; line-height: 1.55; }
.testi-card .testi-who { display: flex; align-items: center; gap: 12px; }
.testi-card .testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grey-light);
}
.testi-card .testi-meta { font-size: 13px; color: var(--text-muted); }

/* ============= USE CASE PAGE specific ============= */
.breadcrumb {
  padding: 32px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb .sep { margin: 0 8px; color: var(--text-muted); }

.uc-hero .hero-layout { grid-template-columns: 1.1fr 1fr; }
.uc-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 820px) { .uc-pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  padding: 28px;
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: 14px;
  border-top: 3px solid #F59E0B;
}
.pain-card .pc-num { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--orange); letter-spacing: 0.14em; }
.pain-card h3 { font-size: 17px; margin: 8px 0; }
.pain-card p { font-size: 14.5px; }

.workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  position: relative;
  align-items: stretch;
}
@media (max-width: 960px) { .workflow { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 520px) { .workflow { grid-template-columns: 1fr; } }
.wf-step {
  padding: 24px;
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: 12px;
  position: relative;
}
.wf-step .wf-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-primary);
  font-weight: 600;
  letter-spacing: 0.14em;
}
.wf-step h4 { font-size: 15px; margin: 10px 0 8px; }
.wf-step p { font-size: 13px; line-height: 1.5; }
.wf-step .wf-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0,184,214,0.1), rgba(107,141,181,0.08));
  color: var(--blue-primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.wf-step .wf-icon svg { width: 18px; height: 18px; }

/* ============= WHAT YOU GET ============= */
.wyg-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 820px) { .wyg-layout { grid-template-columns: 1fr; } }
.wyg-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.wyg-list li {
  display: flex; gap: 14px;
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: 10px;
}
.wyg-list li:hover { border-color: rgba(0,184,214,0.3); }
.wyg-list .wyg-chk {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex; align-items: center; justify-content: center;
}
.wyg-list .wyg-chk svg { width: 12px; height: 12px; stroke-width: 3; }
.wyg-list strong { display: block; color: var(--text-primary); font-size: 14px; margin-bottom: 2px; }
.wyg-list p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ============= SIDE BY SIDE ============= */
.sbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) { .sbs { grid-template-columns: 1fr; } }
.sbs-col {
  padding: 32px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--grey-border);
}
.sbs-col.manual {
  background: #FFF8ED;
  border-color: #F8E2B2;
}
.sbs-col.robx {
  background: var(--rr-midnight);
  color: white;
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.sbs-col.robx::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(0,220,255,0.16), transparent 60%);
  pointer-events: none;
}
.sbs-col h3 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.sbs-col.manual h3 { color: var(--orange); }
.sbs-col.robx h3 { color: white; }
.sbs-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.sbs-col li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(31,42,68,0.1);
  font-size: 14.5px;
  line-height: 1.4;
}
.sbs-col.robx li { border-bottom-color: rgba(255,255,255,0.12); color: #D9DEEC; }
.sbs-col li:last-child { border-bottom: 0; }
.sbs-col li strong { font-weight: 600; color: inherit; }
.sbs-col.manual li strong { color: var(--text-primary); }
.sbs-col.robx li strong { color: white; }

/* ============= PILL / MISC ============= */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--grey-light);
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Other-use-cases mini-strip */
.other-uc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 820px) { .other-uc { grid-template-columns: 1fr; } }
.other-uc a {
  padding: 20px;
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: 12px;
  transition: all .2s;
  display: block;
}
.other-uc a:hover { border-color: rgba(0,184,214,0.3); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.other-uc .other-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--text-muted); text-transform: uppercase; }
.other-uc h4 { font-size: 17px; margin: 6px 0 6px; }
.other-uc p { font-size: 13px; color: var(--text-muted); }

/* ============= Mobile fine-tune ============= */
@media (max-width: 640px) {
  .hero { padding: 32px 0 64px; }
  .hero-layout .hero-sub { font-size: 16px; }
  .problem-wrap { padding: 28px; }
  .guarantee { padding: 36px 24px; }
  .guarantee-seal { display: none; }
}

/* ============= RCA Case Study responsive ============= */
@media (max-width: 960px) {
  .case-grid { grid-template-columns: 1fr !important; }
}

/* ============= Bad Actors Dashboard responsive ============= */
@media (max-width: 900px) {
  .dash-row { grid-template-columns: 1fr !important; }
}

/* ============= RCA Action Tracker responsive ============= */
@media (max-width: 900px) {
  .action-grid { grid-template-columns: 1fr !important; }
}

/* ============= LEGAL PAGES ============= */
.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}
.legal-wrap .legal-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rr-cyan-shade);
  margin-bottom: 12px;
}
.legal-wrap h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.legal-wrap .legal-updated {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 32px;
}
.legal-wrap h2 {
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.legal-wrap h3 {
  font-size: 16px;
  margin-top: 22px;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.legal-wrap p, .legal-wrap li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 8px 0;
}
.legal-wrap ul, .legal-wrap ol {
  padding-left: 20px;
}
.legal-wrap a { color: var(--rr-cyan-shade); text-decoration: underline; }
.legal-wrap a:hover { color: var(--text-primary); }
.legal-wrap .legal-callout {
  margin: 24px 0;
  padding: 16px 20px;
  background: rgba(245,158,11,0.06);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
}
.legal-wrap .legal-callout strong { color: var(--text-primary); }
.legal-wrap .legal-toc {
  padding: 18px 22px;
  background: var(--bg-main);
  border: 1px solid var(--grey-border);
  border-radius: 12px;
  margin-bottom: 32px;
}
.legal-wrap .legal-toc h4 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.legal-wrap .legal-toc ol { margin: 0; padding-left: 20px; }
.legal-wrap .legal-toc li { font-size: 14px; margin: 4px 0; }

/* ============= Other use cases — 4 cards responsive ============= */
@media (max-width: 980px) {
  .other-uc[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 520px) {
  .other-uc[style*="repeat(4"] { grid-template-columns: 1fr !important; }
}
