/* =========================================================================
   DataRipple — ripplecore.app marketing site styles
   Static HTML version (Cloudflare Pages architecture)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&family=Lexend:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ───────────────────────────────────────────────────────────── */
:root {
  --bg: #0A0F16;
  --bg2: #0d1220;
  --card: #1a2332;
  --border: #2F3C4E;
  --text: #DFE7F4;
  --text-muted: #ADBFD6;
  --dim: #5a7a9a;
  --teal: #0ABFBC;
  --teal-secondary: #089996;
  --teal-subtle: rgba(10,191,188,0.10);
  --teal-soft: rgba(10,191,188,0.20);
  --teal-strong: rgba(10,191,188,0.35);
  --orange: #EA5428;
  --orange-light: #F7714A;
  --orange-dark: #CC3B11;
  --orange-glow: rgba(234,84,40,0.25);
  --orange-glow-strong: rgba(234,84,40,0.35);
  --font-heading: "Ubuntu", sans-serif;
  --font-body: "Lexend", sans-serif;
}

/* ── RESET ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
section[id], span[id] { scroll-margin-top: 100px; }

/* ── CONTAINER ────────────────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ── NAV ──────────────────────────────────────────────────────────────── */
.nav {
  background: rgba(10,14,23,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 4px 0;
}
.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(10,191,188,0.25));
}
@media (max-width: 640px) { .nav-logo img { height: 40px; } }

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-left: 48px;
  margin-right: auto;
}
.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }
@media (max-width: 800px) { .nav-links { display: none; } }

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

.nav-login {
  color: var(--teal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid rgba(10,191,188,0.4);
  transition: all 0.2s;
}
.nav-login:hover {
  background: rgba(10,191,188,0.1);
  border-color: var(--teal);
}

.nav-cta {
  background: linear-gradient(133deg, var(--orange-light), var(--orange-dark));
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.9; }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  padding: 56px 0 40px;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  white-space: normal;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--teal); }
.hero .lead {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 300;
}

/* ── BOS VISUALIZATION ────────────────────────────────────────────────── */
.bos-viz-section {
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.bos-viz-section .bos-intro {
  text-align: center;
  margin-bottom: 60px;
}
.bos-viz-section .bos-intro h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: -0.3px;
}
.bos-viz-section .bos-intro h2 span { color: var(--teal); font-weight: 600; }
.bos-side-by-side {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: start;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}
.bos-panel { position: relative; padding: 20px; }
.bos-panel-label {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: var(--font-heading);
}
.bos-panel-label.siloed { color: #EA5428; }
.bos-panel-label.connected { color: var(--teal); }
.bos-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-heading);
  align-self: stretch;
}
.bos-vs-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.bos-vs-text {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
}
/* Silo grid */
.bos-silo-grid-wrap { aspect-ratio: 1; max-width: 460px; margin: 0 auto; position: relative; }
.bos-silo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  height: 100%; width: 100%;
  position: absolute; inset: 0;
}
.bos-silo-grid::before { content: ''; position: absolute; top: 33.3%; left: 0; right: 0; border-top: 1px dashed rgba(234,84,40,0.3); }
.bos-silo-grid::after  { content: ''; position: absolute; top: 66.6%; left: 0; right: 0; border-top: 1px dashed rgba(234,84,40,0.3); }
.bos-silo-vline1 { position: absolute; top: 0; bottom: 0; left: 33.3%; border-left: 1px dashed rgba(234,84,40,0.3); }
.bos-silo-vline2 { position: absolute; top: 0; bottom: 0; left: 66.6%; border-left: 1px dashed rgba(234,84,40,0.3); }
.bos-silo-cell { display: flex; align-items: center; justify-content: center; }
.bos-silo-card {
  background: rgba(47,60,78,0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px 8px;
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; width: 100%; max-width: 110px; aspect-ratio: 1;
  box-sizing: border-box; justify-content: center; transition: all 0.3s;
}
.bos-silo-card:hover { border-color: rgba(234,84,40,0.3); box-shadow: 0 0 20px rgba(234,84,40,0.1); }
.bos-silo-icon { font-size: 22px; }
.bos-silo-name { font-family: var(--font-heading); font-size: 12px; font-weight: 700; color: #fff; text-align: center; line-height: 1.3; }
.bos-silo-status { font-size: 10px; font-weight: 600; color: #EA5428; text-transform: uppercase; letter-spacing: 1px; }
/* Connected OS orbital */
.bos-viz-area-sm {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.bos-viz-area-inner { position: absolute; inset: 0; }
.bos-core-hub {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 200px; height: 200px;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.bos-core-hub img {
  width: 150px; height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(10,191,188,0.4));
}
.bos-orbital-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 64%; height: 64%;
  border-radius: 50%;
  border: 1px dashed rgba(0,184,212,0.2);
}
.bos-connections { position: absolute; inset: 0; z-index: 1; }
.bos-connections line { stroke: var(--teal); stroke-width: 1; stroke-dasharray: 4,4; opacity: 0.25; }
.bos-pulse-dot { fill: var(--teal); }
.bos-node {
  position: absolute; display: flex; flex-direction: column;
  align-items: center; gap: 6px; z-index: 5;
}
.bos-node-circle {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(47,60,78,0.6); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  box-shadow: rgba(0,0,0,0.2) 2px 8px 23px 3px; transition: all 0.3s;
}
.bos-node-circle:hover { border-color: var(--teal); box-shadow: 0 0 20px rgba(0,184,212,0.2); transform: scale(1.1); }
.bos-node-icon { font-size: 18px; opacity: 0.9; }
.bos-node-label { font-size: 12px; font-weight: 700; color: #fff; text-align: center; white-space: nowrap; line-height: 1.3; font-family: var(--font-heading); }
/* Side node position adjustments */
#bn1 { right: 6% !important; } #bn2 { right: 4% !important; } #bn3 { right: 6% !important; }
#bn5 { left: 6% !important; }  #bn6 { left: 4% !important; }  #bn7 { left: 6% !important; }
@keyframes bos-float-particle {
  0%, 100% { opacity: 0; transform: translate(0,0) scale(0); }
  20% { opacity: 1; transform: scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0); }
}
.bos-particle {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 6px var(--teal);
  animation: bos-float-particle var(--duration) var(--delay) infinite ease-in-out; z-index: 2;
}
.bos-particle.orange { background: #EA5428; box-shadow: 0 0 6px #EA5428; }
.bos-particle.purple { background: #8b5cf6; box-shadow: 0 0 6px #8b5cf6; }

@media (max-width: 768px) {
  .bos-side-by-side { grid-template-columns: 1fr; gap: 20px; padding: 0 16px; }
  .bos-panel { padding: 16px 4px; }
  .bos-vs { flex-direction: row; }
  .bos-vs-line { width: 60px; height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); }
  .bos-silo-grid { gap: 8px; }
  .bos-silo-grid::before, .bos-silo-grid::after, .bos-silo-vline1, .bos-silo-vline2 { display: none; }
  .bos-silo-cell > div:not(.bos-silo-card) { width: 100% !important; max-width: 110px; height: auto !important; aspect-ratio: 1; box-sizing: border-box; }
  .bos-core-hub img { width: 80px !important; height: 80px !important; }
}

/* ── WHY / PSO SECTION ────────────────────────────────────────────────── */
.dr-section { padding: 100px 0; }
.dr-section + .dr-section { border-top: 1px solid var(--border); }
.dr-section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.dr-section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin: 12px 0 16px;
  letter-spacing: -0.3px;
}
.dr-section-head h2 .accent { color: var(--teal); }
.dr-section-head p { color: var(--text-muted); font-size: 17px; line-height: 1.7; font-weight: 300; margin: 0; }
.dr-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--teal); }
.pso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}
.pso-card {
  position: relative;
  padding: 36px 28px 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(10,191,188,0.05), rgba(10,191,188,0.01));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.pso-card:hover { transform: translateY(-2px); border-color: rgba(10,191,188,0.45); }
.pso-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--teal); }
.pso-card.pso-solution { background: linear-gradient(180deg, rgba(201,113,72,0.06), rgba(10,191,188,0.02)); }
.pso-card.pso-solution::before { background: linear-gradient(90deg, var(--teal), var(--orange)); }
.pso-card.pso-outcome { background: linear-gradient(180deg, rgba(234,84,40,0.05), rgba(234,84,40,0.01)); }
.pso-card.pso-outcome::before { background: var(--orange); }
.pso-card.pso-outcome:hover { border-color: rgba(234,84,40,0.45); }
.pso-num { position: absolute; top: 14px; right: 22px; font-family: var(--font-heading); font-size: 44px; font-weight: 700; color: var(--text); opacity: 0.10; pointer-events: none; }
.pso-icon { width: 32px; height: 32px; color: var(--teal); margin-bottom: 18px; }
.pso-card.pso-solution .pso-icon { color: #c97148; }
.pso-card.pso-outcome .pso-icon { color: var(--orange); }
.pso-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.pso-card.pso-solution .pso-eyebrow { color: #c97148; }
.pso-card.pso-outcome .pso-eyebrow { color: var(--orange); }
.pso-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--text); margin: 0 0 12px; }
.pso-card p { font-size: 14px; line-height: 1.65; font-weight: 300; color: var(--text-muted); margin: 0; }
@media (max-width: 880px) { .pso-grid { grid-template-columns: 1fr; gap: 16px; } .pso-card { padding: 28px 22px 22px; } }

/* ── USE CASE INTRO ───────────────────────────────────────────────────── */
.dr-uc-intro { padding: 70px 0 25px; text-align: center; border-top: 1px solid var(--border); }
.dr-uc-intro h2 { font-family: var(--font-heading); font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; line-height: 1.2; margin: 0 auto 16px; max-width: 780px; letter-spacing: -0.3px; }
.dr-uc-intro h2 .accent { color: var(--teal); }
.dr-uc-intro p { color: var(--text-muted); font-size: 16px; line-height: 1.7; font-weight: 300; max-width: 680px; margin: 0 auto; }

/* ── USE CASE NAV ─────────────────────────────────────────────────────── */
.uc-nav {
  position: sticky;
  top: 83px;
  z-index: 90;
  background: rgba(10,14,23,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  border-bottom: none !important;
  top: 109px !important;
}
.uc-nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 25px 24px 25px !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.uc-nav-inner::-webkit-scrollbar { display: none; }
.uc-nav-pill {
  background: rgba(10,191,188,0.05);
  border: 1.5px solid rgba(10,191,188,0.35);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}
.uc-nav-pill:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(10,191,188,0.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(10,191,188,0.4);
}
.uc-nav-pill.active {
  background: linear-gradient(180deg, var(--teal), var(--teal-secondary));
  border-color: var(--teal);
  color: #02171c;
  font-weight: 700;
  box-shadow: 0 10px 26px -8px rgba(10,191,188,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
@media (max-width: 768px) {
  .uc-nav-inner { flex-wrap: wrap; justify-content: center; overflow: visible; padding: 20px 12px 10px !important; row-gap: 6px; }
  .uc-nav-pill { font-size: 13px !important; padding: 10px 16px !important; }
}
@media (max-width: 640px) { .uc-nav { top: 89px !important; } }

/* ── USE CASES ────────────────────────────────────────────────────────── */
.use-cases { padding-top: 20px; }
.uca-use-case { padding: 20px 0 40px; }
.uca-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 24px 48px 48px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10,191,188,0.04), rgba(10,191,188,0.01));
  border: 1px solid var(--border);
}
.uca-use-case[data-flip="true"] .uca-card { grid-template-columns: 1.1fr 1fr; }
.uca-use-case[data-flip="true"] .uca-narrative { order: 2; }
.uca-use-case[data-flip="true"] .uca-mockup { order: 1; }
.uca-use-case[data-flip="true"] .uca-window { transform: rotateY(6deg) rotateX(4deg); }
.uca-narrative .uca-eyebrow { color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.uca-narrative h3 { font-family: var(--font-heading); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.18; margin: 14px 0 20px; letter-spacing: -0.015em; }
.uca-narrative .uca-sub { color: var(--text-muted); font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
.uca-outcomes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.uca-outcomes li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.uca-outcomes li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); margin-top: 8px; flex-shrink: 0; box-shadow: 0 0 10px rgba(10,191,188,0.6); }
.uca-replaces { margin-top: 26px; padding: 14px 16px; border-radius: 10px; border: 1px dashed rgba(234,84,40,0.4); background: rgba(234,84,40,0.04); font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.uca-replaces b { color: var(--orange-light); font-weight: 600; letter-spacing: 0.04em; }
/* Mockup window */
.uca-mockup { position: relative; perspective: 1200px; }
.uca-window {
  background: #0b1320;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(10,191,188,0.08);
  transform: rotateY(-6deg) rotateX(4deg);
}
.uca-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0f1826; border-bottom: 1px solid var(--border); }
.uca-chrome span.dot { width: 10px; height: 10px; border-radius: 50%; background: #2a3445; }
.uca-chrome .uca-url { margin-left: 12px; flex: 1; font-size: 11px; color: var(--text-muted); font-family: ui-monospace, Menlo, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uca-body { padding: 22px; display: grid; gap: 14px; }
.uca-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.uca-title { font-size: 15px; font-weight: 700; color: var(--text); }
.uca-meta { font-size: 11px; color: var(--text-muted); }
.uca-chip { background: var(--teal-soft); color: var(--teal); padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.uca-chip.warn { background: rgba(245,158,11,0.18); color: #fbbf24; }
.uca-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 13px; color: var(--text); }
.uca-line:last-child { border-bottom: none; }
.uca-total { display: flex; justify-content: space-between; padding-top: 10px; font-size: 15px; font-weight: 700; border-top: 1px solid var(--border); }
.uca-cta { background: linear-gradient(180deg, var(--orange), var(--orange-dark)); color: white; text-align: center; padding: 12px; border-radius: 10px; font-weight: 700; font-size: 14px; box-shadow: 0 10px 20px -8px var(--orange-glow-strong); }
.uca-sig { margin-top: 4px; padding: 14px; border: 1px dashed var(--teal-strong); border-radius: 10px; text-align: center; background: var(--teal-subtle); }
.uca-sig .uca-sig-label { font-size: 10px; color: var(--teal); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.uca-sig svg { height: 30px; margin: 6px 0 4px; width: 100%; }
.uca-sig .uca-sig-name { font-size: 12px; color: var(--text); font-weight: 600; }
.uca-toast {
  position: absolute; bottom: -18px; background: #0f1826; border: 1px solid var(--teal-strong);
  border-radius: 10px; padding: 10px 14px; display: flex; gap: 10px; align-items: center;
  font-size: 12px; color: var(--text); box-shadow: 0 10px 30px -10px rgba(10,191,188,0.3); z-index: 2;
}
.uca-toast.orange { border-color: rgba(234,84,40,0.5); box-shadow: 0 10px 30px -10px var(--orange-glow-strong); }
.uca-toast .uca-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: uca-pulse 1.8s ease-in-out infinite; }
.uca-toast.orange .uca-dot { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.uca-use-case .uca-mockup .uca-toast { right: -10px; }
.uca-use-case[data-flip="true"] .uca-mockup .uca-toast { left: -10px; right: auto; }
@keyframes uca-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
/* Receptionist chat */
.uca-chat { display: grid; gap: 8px; }
.uca-bubble { padding: 9px 12px; border-radius: 12px; font-size: 12px; line-height: 1.4; max-width: 82%; }
.uca-bubble.caller { background: rgba(255,255,255,0.05); color: var(--text); border-bottom-left-radius: 4px; justify-self: start; }
.uca-bubble.ai { background: var(--teal-soft); color: var(--text); border: 1px solid var(--teal-strong); border-bottom-right-radius: 4px; justify-self: end; }
.uca-bubble .who { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 2px; }
.uca-bubble.ai .who { color: var(--teal); }
.uca-booked { background: linear-gradient(180deg, var(--teal-subtle), transparent); border: 1px solid var(--teal-strong); border-radius: 10px; padding: 12px; display: flex; gap: 12px; align-items: center; }
.uca-booked .uca-cal { width: 40px; height: 40px; border-radius: 8px; background: var(--teal); color: #02171c; display: grid; place-items: center; font-weight: 700; font-size: 11px; line-height: 1.1; text-align: center; flex-shrink: 0; }
.uca-booked .uca-cal b { font-size: 16px; display: block; }
.uca-booked .uca-what { font-size: 12px; color: var(--text); }
.uca-booked .uca-what b { display: block; font-size: 13px; margin-bottom: 2px; }
/* Scheduling slots */
.uca-slots { display: grid; gap: 4px; }
.uca-slot { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; padding: 6px 0; }
.uca-slot .uca-time { font-size: 10px; color: var(--text-muted); font-family: ui-monospace, Menlo, monospace; letter-spacing: 0.04em; }
.uca-slot .uca-block { height: 30px; border-radius: 6px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); display: flex; align-items: center; padding: 0 10px; font-size: 11px; color: var(--text-muted); }
.uca-slot .uca-block.filled { background: rgba(255,255,255,0.06); color: var(--text); }
.uca-slot .uca-block.new { background: var(--teal-subtle); border-color: var(--teal); color: var(--teal); font-weight: 600; box-shadow: 0 0 0 2px rgba(10,191,188,0.2), 0 8px 20px -8px rgba(10,191,188,0.4); }
.uca-slot .uca-block.new::before { content: "+ "; font-weight: 700; }
.uca-window-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--teal-subtle); color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.uca-window-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); }
/* Inventory */
.uca-stock { display: grid; gap: 6px; }
.uca-stock-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); font-size: 12px; }
.uca-stock-row .uca-part { color: var(--text); font-weight: 500; }
.uca-stock-row .uca-qty { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--text-muted); }
.uca-stock-row.low { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.4); }
.uca-stock-row.low .uca-qty { color: #fbbf24; font-weight: 700; }
.uca-stock-row.ok .uca-qty { color: var(--teal); }
.uca-forecast { padding: 12px; border-radius: 10px; background: var(--teal-subtle); border: 1px solid var(--teal-strong); font-size: 12px; color: var(--text); line-height: 1.5; }
.uca-forecast b { color: var(--teal); }
/* Phone frame */
.uca-phone-frame { display: flex; justify-content: center; padding: 18px 0; }
.uca-phone { width: 240px; background: #080d17; border: 2px solid #1e2d47; border-radius: 28px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7), inset 0 0 0 1px rgba(10,191,188,0.1); position: relative; }
.uca-phone::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; background: #080d17; border-radius: 0 0 10px 10px; z-index: 2; }
.uca-phone-screen { background: linear-gradient(180deg, #0b1320, #0a1220); border-radius: 20px; padding: 28px 14px 14px; display: grid; gap: 10px; min-height: 360px; }
.uca-phone-header { display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: var(--text-muted); }
.uca-phone-header .uca-offline { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; background: rgba(245,158,11,0.15); color: #fbbf24; font-weight: 700; letter-spacing: 0.04em; }
.uca-phone-header .uca-offline::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fbbf24; }
.uca-phone h5 { margin: 2px 0 4px; font-size: 14px; letter-spacing: -0.01em; }
.uca-job-card { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); font-size: 11px; color: var(--text); }
.uca-job-card.active { border-color: var(--teal-strong); background: var(--teal-subtle); box-shadow: 0 6px 14px -6px rgba(10,191,188,0.4); }
.uca-job-card .uca-job-time { font-size: 10px; color: var(--text-muted); letter-spacing: 0.04em; font-family: ui-monospace, Menlo, monospace; }
.uca-job-card.active .uca-job-time { color: var(--teal); }
.uca-job-card .uca-job-title { font-size: 12px; font-weight: 600; margin: 2px 0; }
.uca-job-card .uca-job-detail { font-size: 10px; color: var(--text-muted); }
.uca-phone-btn { margin-top: auto; background: linear-gradient(180deg, var(--orange), var(--orange-dark)); color: white; text-align: center; padding: 9px; border-radius: 8px; font-weight: 700; font-size: 12px; }
@media (max-width: 880px) {
  .uca-card, .uca-use-case[data-flip="true"] .uca-card { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 14px 28px 28px; }
  .uca-use-case[data-flip="true"] .uca-narrative { order: 1; }
  .uca-use-case[data-flip="true"] .uca-mockup { order: 2; }
  .uca-window, .uca-use-case[data-flip="true"] .uca-window { transform: none; }
  .uca-use-case .uca-mockup .uca-toast, .uca-use-case[data-flip="true"] .uca-mockup .uca-toast { right: 8px; left: auto; bottom: -14px; }
}

/* ── INTEGRATIONS ─────────────────────────────────────────────────────── */
.dr-integrations { background: var(--bg2); }
.dr-rail { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding: 12px 0 8px; scrollbar-width: thin; max-width: 1200px; margin: 0 auto; }
.dr-rail-stage { flex: 1 0 180px; min-width: 180px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.dr-rail-stage-num { font-size: 10px; letter-spacing: 2.5px; color: var(--teal); font-weight: 600; }
.dr-rail-stage-name { font-size: 15px; font-weight: 700; color: var(--text); font-family: var(--font-heading); }
.dr-rail-stage-blurb { color: var(--text-muted); font-size: 12px; line-height: 1.5; margin: 0 0 2px; font-weight: 300; }
.dr-rail-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.dr-rail-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; padding: 3px 8px 3px 6px; border-radius: 999px; background: rgba(10,191,188,0.08); border: 1px solid rgba(10,191,188,0.22); color: var(--text); line-height: 1.3; max-width: 100%; overflow-wrap: anywhere; }
.dr-rail-chip-icon { width: 11px; height: 11px; display: inline-flex; color: var(--teal); }
.dr-rail-chip-icon svg { width: 100%; height: 100%; }
.dr-rail-arrow { display: flex; align-items: center; padding: 0 4px; flex: 0 0 auto; }
.dr-rail-arrow svg { width: 36px; height: 18px; }
.dr-rail-summary-head { text-align: center; margin: 44px 0 16px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }
.dr-rail-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 980px; margin: 0 auto; }
.dr-rail-summary-tile { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); transition: border-color 0.2s; }
.dr-rail-summary-tile:hover { border-color: rgba(10,191,188,0.45); }
.dr-rail-summary-icon { flex: 0 0 auto; width: 22px; height: 22px; color: var(--teal); display: inline-flex; padding: 2px; border-radius: 6px; background: rgba(10,191,188,0.12); }
.dr-rail-summary-icon svg { width: 100%; height: 100%; }
.dr-rail-summary-title { font-size: 12.5px; font-weight: 500; color: var(--text); line-height: 1.25; font-family: var(--font-heading); }
@media (max-width: 900px) { .dr-rail-summary-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dr-rail-summary-grid { grid-template-columns: 1fr; } }

/* Pipe arrow */
.dr-rail-arrow-inline { display: flex; align-items: center; padding: 0 4px; flex: 0 0 auto; }
.dr-rail-arrow-inline svg { width: 36px; height: 18px; }

/* ── SECURITY ─────────────────────────────────────────────────────────── */
.dr-security { background: var(--bg); }
.sec-ribbon-wrap {
  position: relative; padding: 64px 48px 56px; border-radius: 24px;
  background: radial-gradient(ellipse at top, rgba(10,191,188,0.1), transparent 62%), #0a1220;
  border: 1px solid var(--border); max-width: 1180px; margin: 0 auto; overflow: hidden;
}
.sec-ribbon { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; z-index: 1; }
.sec-ribbon::before { content: ""; position: absolute; top: 42px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--teal), #3ab5b3 40%, #c97148 70%, var(--orange)); opacity: 0.55; z-index: 0; }
.sec-step { position: relative; z-index: 1; text-align: center; padding: 0 14px; }
.sec-node { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #12223a, #0a1220); border: 2px solid var(--teal); box-shadow: 0 0 30px -5px rgba(10,191,188,0.4), inset 0 0 20px rgba(10,191,188,0.1); position: relative; }
.sec-step:nth-child(2) .sec-node { border-color: #3ab5b3; }
.sec-step:nth-child(3) .sec-node { border-color: #c97148; box-shadow: 0 0 30px -5px rgba(201,113,72,0.35), inset 0 0 20px rgba(234,84,40,0.08); }
.sec-step:nth-child(4) .sec-node { border-color: var(--orange); box-shadow: 0 0 30px -5px var(--orange-glow-strong), inset 0 0 20px rgba(234,84,40,0.15); }
.sec-num { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 4px 10px -2px var(--orange-glow); }
.sec-icon { width: 36px; height: 36px; color: var(--teal); }
.sec-step:nth-child(2) .sec-icon { color: #3ab5b3; }
.sec-step:nth-child(3) .sec-icon { color: #c97148; }
.sec-step:nth-child(4) .sec-icon { color: var(--orange); }
.sec-step h4 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; margin: 0 0 6px; color: var(--text); }
.sec-step > p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; font-weight: 300; }
.sec-summary-head { text-align: center; margin: 52px 0 18px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }
.sec-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 980px; margin: 0 auto; }
.sec-summary-tile { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(234,84,40,0.04); border: 1px solid rgba(234,84,40,0.25); transition: border-color 0.2s, background 0.2s; }
.sec-summary-tile:hover { border-color: rgba(234,84,40,0.55); background: rgba(234,84,40,0.07); }
.sec-summary-icon { flex: 0 0 auto; width: 22px; height: 22px; color: var(--orange-light); display: inline-flex; padding: 2px; border-radius: 6px; background: rgba(234,84,40,0.12); }
.sec-summary-icon svg { width: 100%; height: 100%; }
.sec-summary-title { font-size: 12.5px; font-weight: 500; color: var(--text); line-height: 1.25; font-family: var(--font-heading); }
@media (max-width: 880px) { .sec-ribbon-wrap { padding: 44px 22px; } .sec-ribbon { grid-template-columns: 1fr 1fr; gap: 32px 0; } .sec-ribbon::before { display: none; } }
@media (max-width: 480px) { .sec-ribbon { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .sec-summary-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sec-summary-grid { grid-template-columns: 1fr; } }

/* ── RIPPLE EFFECT ────────────────────────────────────────────────────── */
.ripple-section { padding: 80px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.ripple-section h2 { font-family: var(--font-heading); font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.ripple-section h2 .accent { color: var(--teal); }
.ripple-section .sub { color: var(--text-muted); font-size: 16px; max-width: 700px; margin: 0 auto 48px; font-weight: 300; }

/* ── FOOTER ───────────────────────────────────────────────────────────── */
.dr-footer { background: #060a12; border-top: 1px solid var(--border); padding: 70px 0 0; margin-top: 60px; }
.dr-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1.4fr 3fr; gap: 60px; align-items: start; }
.dr-footer-brand img { height: 52px; width: auto; display: block; margin-bottom: 18px; }
.dr-footer-tag { color: var(--text-muted); font-size: 14px; line-height: 1.6; font-weight: 300; max-width: 320px; margin: 0; }
.dr-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.dr-footer-col-title { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 18px; }
.dr-footer-col ul { list-style: none; padding: 0; margin: 0; }
.dr-footer-col li { margin-bottom: 10px; }
.dr-footer-col a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 400; transition: color 0.2s; }
.dr-footer-col a:hover { color: var(--teal); }
.dr-footer-bottom { margin-top: 60px; padding: 22px 0; border-top: 1px solid var(--border); text-align: center; font-size: 12px; color: var(--dim); }
@media (max-width: 900px) { .dr-footer-inner { grid-template-columns: 1fr; gap: 40px; } .dr-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
@media (max-width: 480px) { .dr-footer-cols { grid-template-columns: 1fr; } }
