/**
 * ============================================================================
 * ZOS SAAS MASTER DESIGN SYSTEM (zos-saas.css)
 * Tier-1 Enterprise B2B SaaS Standards Modeled on rdash.ai & Linear
 * Unified Architecture: Mega-Menus, Silo Breaker, AI Agents, Interactive Simulator
 * ============================================================================
 */

/* ── 1. SAAS ROOT TOKENS & CANVAS ─────────────────────────────────────────── */
:root {
  --saas-primary: var(--brand-amber, #D6AF36);
  --saas-ai: var(--ai-violet-dark, #8E9FC4);
  --saas-telemetry: var(--accent-cyan, #5C7C8D);
  --saas-success: #62A77D;
  --saas-danger: #C96D70;
  
  --saas-canvas-light: #F8FAFC;
  --saas-surface-light: #FFFFFF;
  --saas-surface-subtle-light: #F1F5F9;
  --saas-border-light: rgba(15, 23, 42, 0.08);
  --saas-border-strong-light: rgba(15, 23, 42, 0.16);
  --saas-text-1-light: #0F172A;
  --saas-text-2-light: #475569;
  --saas-text-3-light: #64748B;
  
  --saas-canvas-dark: #07111F;
  --saas-surface-dark: #0D1A2B;
  --saas-surface-subtle-dark: #16213A;
  --saas-border-dark: rgba(255, 255, 255, 0.08);
  --saas-border-strong-dark: rgba(255, 255, 255, 0.16);
  --saas-text-1-dark: #F8FAFC;
  --saas-text-2-dark: #CBD5E1;
  --saas-text-3-dark: #94A3B8;

  --saas-glow-primary: rgba(214, 175, 54, 0.22);
  --saas-glow-ai: rgba(142, 159, 196, 0.22);
  --saas-glow-telemetry: rgba(92, 124, 141, 0.22);
  
  --saas-radius-sm: 8px;
  --saas-radius-md: 14px;
  --saas-radius-lg: 20px;
  --saas-radius-xl: 28px;
}

/* ── 2. HIGH-IMPACT SAAS HEADLINE GRADIENTS ──────────────────────────────── */
.rd-grad {
  background: linear-gradient(135deg, #FAC40B 0%, #E8A92E 40%, #00F0FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

html[data-theme="light"] .rd-grad {
  background: linear-gradient(135deg, #B8860B 0%, #996515 45%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rd-grad-ai {
  background: linear-gradient(135deg, #9C8CFF 0%, #7C6CF6 60%, #00F0FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── 3. ENTERPRISE MEGA-MENU NAVIGATION DOCK ─────────────────────────────── */
.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.nav-item-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
  transition: color 150ms ease;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-item-trigger:hover,
.nav-item-trigger:focus-visible {
  color: var(--brand-amber);
}

.nav-item-trigger .fa-chevron-down {
  font-size: 9.5px;
  opacity: 0.7;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item-dropdown:hover .nav-item-trigger .fa-chevron-down,
.nav-item-dropdown:focus-within .nav-item-trigger .fa-chevron-down {
  transform: rotate(180deg);
  color: var(--brand-amber);
}

.mega-menu-card {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 580px;
  background: var(--surface-card, rgba(13, 26, 43, 0.94));
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border-strong, rgba(255,255,255,0.12));
  border-radius: var(--saas-radius-md);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 2px rgba(255,255,255,0.1);
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms cubic-bezier(0.16, 1, 0.3, 1), visibility 180ms ease;
  z-index: 1000;
}

html[data-theme="light"] .mega-menu-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12), 0 0 2px rgba(15, 23, 42, 0.08);
}

.nav-item-dropdown:hover .mega-menu-card,
.nav-item-dropdown:focus-within .mega-menu-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

.mega-menu-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

.mega-menu-link:hover {
  background: rgba(250, 196, 11, 0.08);
  transform: translateX(2px);
}

html[data-theme="light"] .mega-menu-link:hover {
  background: rgba(214, 175, 54, 0.12);
}

.mega-menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--brand-amber);
}

html[data-theme="light"] .mega-menu-icon {
  background: rgba(15, 23, 42, 0.04);
}

.mega-menu-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.mega-menu-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* ── 4. LIVE TELEMETRY STATUS PILL IN HEADER ────────────────────────────── */
.header-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #10B981;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

html[data-theme="light"] .header-telemetry-badge {
  background: rgba(22, 163, 74, 0.10);
  border-color: rgba(22, 163, 74, 0.25);
  color: #15803D;
}

.header-telemetry-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* ── 5. RDASH-INSPIRED WORKFLOW CARDS (THE SILO BREAKER) ─────────────────── */

/* ═══════ RDASH SIGNATURE BENCHMARK: FROM FRAGMENTED SILOS (THE SILO BREAKER) ═══════ */
.rd-stack-section {
  padding: 80px 0 96px;
  position: relative;
  background: #0B1120 !important;
  color: #FFFFFF !important;
  overflow: hidden;
}

.rd-stack-section .rd-sec-heading {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 48px;
}

.rd-stack-section .rd-sec-heading h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #FFFFFF !important;
}

.rd-stack-section .rd-grad {
  background: linear-gradient(90deg, #FF6B4A 0%, #FFA26B 40%, #00F0FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rd-stack-section .rd-sec-heading p {
  font-size: clamp(15px, 1.8vw, 17px);
  color: #94A3B8 !important;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto;
}

.rd-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 40px;
}

.rd-workflow-card {
  position: relative;
  background: linear-gradient(180deg, #131E33 0%, #0D1626 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  padding: 32px 24px 28px !important;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 18px 36px -10px rgba(239, 68, 68, 0.45) !important;
  border-bottom: 2px solid rgba(239, 68, 68, 0.8) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.rd-workflow-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 32px;
  background: radial-gradient(ellipse at 50% 120%, rgba(239, 68, 68, 0.55) 0%, transparent 75%);
  filter: blur(10px);
  pointer-events: none;
}

.rd-workflow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -10px rgba(239, 68, 68, 0.65) !important;
  border-bottom-color: #FF5A5F !important;
}

.rd-workflow-card-icon {
  width: auto;
  height: auto;
  background: transparent !important;
  border: none !important;
  color: #FFFFFF !important;
  font-size: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.rd-workflow-card h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.rd-workflow-card p {
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: #94A3B8 !important;
  margin: 0 !important;
  flex: 1;
}

.rd-workflow-card-cta {
  display: none !important;
}

/* 4 Agents Table Under Workflow Cards */
.rdash-unifies-wrap {
  margin-top: 64px;
  width: 100%;
}

.rdash-unifies-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF !important;
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.rdash-agents-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(14, 22, 38, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.rdash-agent-cell {
  padding: 24px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rdash-agent-cell:last-child {
  border-right: none;
}

.rdash-agent-cell-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.rdash-agent-cell-head i {
  font-size: 16px;
  color: #FFFFFF;
}

.rdash-agent-cell-head h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0;
}

.rdash-agent-cell p {
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  color: #94A3B8 !important;
  margin-bottom: 24px !important;
  min-height: 42px;
}

.rdash-agent-cell .rac-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF !important;
  text-decoration: none;
  transition: color 0.15s ease;
}

.rdash-agent-cell .rac-link:hover {
  color: #FAC40B !important;
}

.rdash-agent-cell .rac-coming-soon {
  font-size: 13px;
  color: #64748B !important;
  font-weight: 500;
}

@media (max-width: 991px) {
  .rd-workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rdash-agents-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .rdash-agent-cell:nth-child(2) {
    border-right: none;
  }
  .rdash-agent-cell:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 640px) {
  .rd-workflow-grid {
    grid-template-columns: 1fr;
  }
  .rdash-agents-matrix {
    grid-template-columns: 1fr;
  }
  .rdash-agent-cell {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .rdash-agent-cell:last-child {
    border-bottom: none;
  }
}


/* ── 6. AUTONOMOUS COMMERCE AI AGENTS (THE BRAIN LAYER) ──────────────────── */
.rd-agents-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(14,23,42,0.4) 0%, rgba(22,33,58,0.7) 50%, rgba(14,23,42,0.4) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

html[data-theme="light"] .rd-agents-section {
  background: linear-gradient(180deg, #F1F5F9 0%, #FFFFFF 50%, #F1F5F9 100%);
}

.rd-agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.rd-agent-card {
  background: var(--surface-card, rgba(13, 26, 43, 0.85));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(156, 140, 255, 0.25);
  border-radius: var(--saas-radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  position: relative;
  overflow: hidden;
}

html[data-theme="light"] .rd-agent-card {
  background: #FFFFFF;
  border: 1px solid rgba(124, 108, 246, 0.2);
  box-shadow: 0 4px 20px rgba(124, 108, 246, 0.06);
}

.rd-agent-card:hover {
  transform: translateY(-4px);
  border-color: #9C8CFF;
  box-shadow: 0 16px 36px rgba(0,0,0,0.4), 0 0 24px rgba(156, 140, 255, 0.25);
}

html[data-theme="light"] .rd-agent-card:hover {
  border-color: #7C6CF6;
  box-shadow: 0 16px 36px rgba(124, 108, 246, 0.12), 0 0 20px rgba(124, 108, 246, 0.15);
}

.rd-agent-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(156, 140, 255, 0.14);
  border: 1px solid rgba(156, 140, 255, 0.3);
  color: #9C8CFF;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 16px;
  width: fit-content;
}

html[data-theme="light"] .rd-agent-status-badge {
  background: rgba(124, 108, 246, 0.1);
  border-color: rgba(124, 108, 246, 0.25);
  color: #6D28D9;
}

.rd-agent-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(156, 140, 255, 0.15);
  color: #9C8CFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}

html[data-theme="light"] .rd-agent-icon-wrap {
  background: rgba(124, 108, 246, 0.12);
  color: #6D28D9;
}

.rd-agent-card h3 {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.rd-agent-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.rd-agent-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.rd-agent-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

html[data-theme="light"] .rd-agent-tag {
  background: rgba(15, 23, 42, 0.04);
}

.rd-agent-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #9C8CFF;
  text-decoration: none;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

html[data-theme="light"] .rd-agent-cta {
  color: #6D28D9;
}

/* ── 7. "ONE WORKSPACE FOR EVERY TEAM" INTERACTIVE SOFTWARE SIMULATOR ─────── */
.saas-workspace-section {
  padding: 80px 0 96px;
  position: relative;
}

.saas-tab-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.saas-tab-btn {
  background: var(--surface-card, rgba(13, 26, 43, 0.6));
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.12));
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="light"] .saas-tab-btn {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--text-secondary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.saas-tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--brand-amber);
  background: rgba(250, 196, 11, 0.06);
}

.saas-tab-btn.active {
  background: var(--brand-amber) !important;
  color: #080D1A !important;
  border-color: var(--brand-amber) !important;
  box-shadow: 0 4px 16px rgba(250, 196, 11, 0.35);
}

/* Simulator Browser Chassis */
.saas-simulator-frame {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  background: var(--surface-card, rgba(13, 26, 43, 0.95));
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.15));
  border-radius: var(--saas-radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 2px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}

html[data-theme="light"] .saas-simulator-frame {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12), 0 0 2px rgba(15, 23, 42, 0.06);
}

.saas-simulator-chrome {
  height: 44px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

html[data-theme="light"] .saas-simulator-chrome {
  background: #F1F5F9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

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

.saas-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.saas-dot-red { background: #FF5F56; }
.saas-dot-yellow { background: #FFBD2E; }
.saas-dot-green { background: #27C93F; }

.saas-chrome-url {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 18px;
  font-size: 11.5px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(440px, 60%);
  justify-content: center;
}

html[data-theme="light"] .saas-chrome-url {
  background: #FFFFFF;
  color: #475569;
}

.saas-chrome-actions {
  display: flex;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 12px;
}

/* Simulator Inner Workspace */
.saas-simulator-screen {
  min-height: 480px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.saas-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.saas-screen-title-group h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.saas-screen-title-group p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.saas-screen-badges {
  display: flex;
  gap: 10px;
}

.saas-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.saas-pill-gold {
  background: rgba(250, 196, 11, 0.12);
  border-color: rgba(250, 196, 11, 0.3);
  color: var(--brand-amber);
}

.saas-pill-emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10B981;
}

.saas-pill-cyan {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.25);
  color: #00F0FF;
}

html[data-theme="light"] .saas-pill-cyan {
  color: #0284C7;
}

/* Simulator Grid Tables & Cards */
.saas-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.saas-kpi-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

html[data-theme="light"] .saas-kpi-card {
  background: #F8FAFC;
}

.saas-kpi-lbl {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.saas-kpi-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

/* Simulator Table */
.saas-table-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

html[data-theme="light"] .saas-table-card {
  background: #FFFFFF;
}

.saas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.saas-table th {
  background: rgba(0, 0, 0, 0.15);
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .saas-table th {
  background: #F1F5F9;
}

.saas-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

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

.saas-table tr:hover td {
  background: rgba(250, 196, 11, 0.03);
}

/* ── 8. THREE EXECUTIVE OUTCOME NUMBERS ──────────────────────────────────── */
.saas-outcomes-strip {
  padding: 72px 0;
  background: var(--surface-card, rgba(13, 26, 43, 0.6));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .saas-outcomes-strip {
  background: #FFFFFF;
}

.saas-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.saas-outcome-card {
  padding: 24px;
  border-radius: var(--saas-radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

html[data-theme="light"] .saas-outcome-card {
  background: #F8FAFC;
}

.saas-outcome-num {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}

.saas-outcome-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.saas-outcome-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

/* ── 9. RESPONSIVE MEDIA QUERIES ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rd-workflow-grid,
  .rd-agents-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mega-menu-card {
    display: none !important; /* Mobile uses dedicated drawer */
  }
}

@media (max-width: 768px) {
  .rd-workflow-grid,
  .rd-agents-grid,
  .saas-outcomes-grid,
  .saas-kpi-row {
    grid-template-columns: 1fr;
  }
  .saas-simulator-screen {
    padding: 16px;
  }
  .saas-tab-bar {
    gap: 8px;
  }
  .saas-tab-btn {
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* ── 10. PRICING TOGGLE ─────────────────────────────────────────────────── */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 36px;
  background: var(--surface-glass, rgba(14, 23, 42, 0.7));
  border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.12));
  padding: 5px;
  border-radius: 999px;
  width: fit-content;
  max-width: 90%;
  backdrop-filter: blur(20px);
}
[data-theme="light"] .pricing-toggle-wrap {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(14, 23, 42, 0.12);
}
.pricing-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-secondary, #94a3b8);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pricing-toggle-btn:hover {
  color: var(--text-primary, #f8fafc);
}
.pricing-toggle-btn.active {
  background: var(--brand-amber, #fac40b);
  color: #080d1a !important;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(250, 196, 11, 0.3);
}
.pricing-toggle-badge {
  font-size: 10.5px;
  font-weight: 900;
  background: #10b981;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pricing-toggle-btn.active .pricing-toggle-badge {
  background: #080d1a;
  color: var(--brand-amber, #fac40b);
}

/* ── 11. STACKED MOBILE FOOTER ACTIONS (Sign In & Create) ───────────────── */
.zk-mobile-stacked-footer {
  display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
  .zk-mobile-stacked-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--surface-glass, rgba(14, 23, 42, 0.75));
    border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.12));
    border-radius: 16px;
    padding: 22px 18px;
    margin-bottom: 28px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  }
  [data-theme="light"] .zk-mobile-stacked-footer {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(14, 23, 42, 0.12);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  }

  .zk-mobile-stacked-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-amber, #fac40b);
    background: rgba(250, 196, 11, 0.12);
    padding: 3px 10px;
    border-radius: 6px;
    width: fit-content;
    margin-bottom: 8px;
  }
  [data-theme="light"] .zk-mobile-stacked-badge {
    color: #92400e;
    background: rgba(245, 158, 11, 0.15);
  }

  .zk-mobile-stacked-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
  }

  .zk-mobile-stacked-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 4px;
  }

  .zk-mobile-stacked-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 6px;
  }

  .zk-mobile-btn-signin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.18));
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    transition: all 0.2s ease;
  }
  [data-theme="light"] .zk-mobile-btn-signin {
    background: #ffffff;
    border-color: rgba(14, 23, 42, 0.16);
    color: #0e172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  }
  .zk-mobile-btn-signin:hover, .zk-mobile-btn-signin:active {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--brand-amber);
  }

  .zk-mobile-btn-create {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    background: var(--brand-amber, #fac40b);
    color: #080d1a !important;
    box-shadow: 0 4px 16px rgba(250, 196, 11, 0.35);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .zk-mobile-btn-create:hover, .zk-mobile-btn-create:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(250, 196, 11, 0.5);
  }
}

/* ── 12. STACKED MOBILE STICKY DOCK (Always Accessible on Mobile) ────────── */
.zk-mobile-sticky-dock {
  display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
  .zk-mobile-sticky-dock {
    display: flex;
    flex-direction: column;
    gap: 7px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: rgba(8, 13, 26, 0.92);
    border-top: 1px solid var(--border-glass, rgba(255, 255, 255, 0.12));
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }
  [data-theme="light"] .zk-mobile-sticky-dock {
    background: rgba(248, 250, 252, 0.94);
    border-color: rgba(14, 23, 42, 0.1);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.1);
  }

  .zk-mobile-sticky-dock.dock-hidden {
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
  }

  body.zk-drawer-open .zk-mobile-sticky-dock {
    display: none !important;
  }

  .zk-dock-btn-signin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 38px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.16));
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
  }
  [data-theme="light"] .zk-dock-btn-signin {
    background: #ffffff;
    border-color: rgba(14, 23, 42, 0.14);
    color: #0e172a;
  }

  .zk-dock-btn-create {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    background: var(--brand-amber, #fac40b);
    color: #080d1a !important;
    border: none;
    box-shadow: 0 4px 14px rgba(250, 196, 11, 0.3);
  }

  .zk-drawer-footer-signin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.14));
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: all 0.2s ease;
  }
  [data-theme="light"] .zk-drawer-footer-signin {
    background: #ffffff;
    border-color: rgba(14, 23, 42, 0.14);
    color: #0e172a;
  }
}

/* ── 13. ANIMATED VECTOR COMMERCE PIPELINE & VISUAL ARCHITECTURE ─────────── */
.pipeline-visual-section {
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.06) 0%, transparent 60%);
}

.pipeline-diagram-canvas {
  position: relative;
  margin: 40px 0 32px;
  padding: 30px 20px;
  background: var(--surface-glass, rgba(14, 23, 42, 0.75));
  border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.12));
  border-radius: 20px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
[data-theme="light"] .pipeline-diagram-canvas {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(14, 23, 42, 0.12);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

/* Connecting Progress Track */
.pipeline-track-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 0 20px;
}
.pipeline-track-line {
  position: absolute;
  top: 36px;
  left: 50px;
  right: 50px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  z-index: 1;
}
[data-theme="light"] .pipeline-track-line {
  background: rgba(14, 23, 42, 0.08);
}
.pipeline-track-active {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-amber, #fac40b) 0%, var(--cyan, #00f0ff) 50%, #10b981 100%);
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

/* Individual Station Nodes */
.pipeline-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
  color: inherit;
  outline: none;
  transition: all 0.25s ease;
  width: 140px;
}
.pipeline-node-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(14, 23, 42, 0.9);
  border: 2px solid var(--border-glass, rgba(255, 255, 255, 0.16));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
[data-theme="light"] .pipeline-node-icon {
  background: #ffffff;
  border-color: rgba(14, 23, 42, 0.14);
  color: #475569;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.pipeline-node:hover .pipeline-node-icon {
  border-color: var(--brand-amber);
  color: var(--brand-amber);
  transform: translateY(-3px);
}
.pipeline-node.active .pipeline-node-icon {
  border-color: var(--brand-amber, #fac40b);
  color: #080d1a;
  background: var(--brand-amber, #fac40b);
  transform: scale(1.12);
  box-shadow: 0 0 0 8px rgba(250, 196, 11, 0.25), 0 12px 28px rgba(250, 196, 11, 0.4);
}
.pipeline-node-step {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #080d1a;
  color: var(--brand-amber);
  border: 1.5px solid var(--brand-amber);
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pipeline-node.active .pipeline-node-step {
  background: #ffffff;
  color: #080d1a;
  border-color: #ffffff;
}

.pipeline-node-title {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.35;
  transition: color 0.2s;
}
.pipeline-node.active .pipeline-node-title {
  color: var(--brand-amber, #fac40b);
}

.pipeline-node-pill {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-faint);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.pipeline-node.active .pipeline-node-pill {
  background: rgba(250, 196, 11, 0.15);
  color: var(--brand-amber);
  border-color: rgba(250, 196, 11, 0.3);
}

/* Interactive Spotlight Detail Card */
.pipeline-detail-card {
  background: rgba(8, 13, 26, 0.85);
  border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.14));
  border-radius: 16px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
[data-theme="light"] .pipeline-detail-card {
  background: #ffffff;
  border-color: rgba(14, 23, 42, 0.1);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.pipe-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.pipe-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.pipe-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Terminal Log View */
.pipe-terminal-box {
  background: #020617;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #38bdf8;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.pipe-terminal-box i {
  color: #10b981;
  margin-top: 2px;
}

.pipe-highlight-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-amber);
}

/* 4-Box Metrics */
.pipe-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.pipe-metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
  padding: 14px 16px;
}
[data-theme="light"] .pipe-metric-box {
  background: #f8fafc;
  border-color: rgba(14, 23, 42, 0.08);
}
.pipe-metric-lbl {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pipe-metric-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
}

/* Action Controls Row */
.pipeline-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-simulate-order {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1px solid var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-simulate-order:hover {
  background: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
  transform: translateY(-1px);
}

/* ── 14. VISUAL BEFORE-AND-AFTER VECTOR COMPARISON MATRIX ───────────────── */
.visual-comparison-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
.vis-card {
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.vis-card-chaos {
  background: radial-gradient(circle at 10% 10%, rgba(239, 68, 68, 0.08) 0%, rgba(14, 23, 42, 0.8) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
}
[data-theme="light"] .vis-card-chaos {
  background: #fef2f2;
  border-color: rgba(239, 68, 68, 0.25);
}
.vis-card-sovereign {
  background: radial-gradient(circle at 90% 10%, rgba(250, 196, 11, 0.1) 0%, rgba(14, 23, 42, 0.85) 100%);
  border: 2px solid var(--brand-amber);
  box-shadow: 0 12px 40px rgba(250, 196, 11, 0.15);
}
[data-theme="light"] .vis-card-sovereign {
  background: #fffbeb;
  border-color: #d97706;
}

.vis-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.tag-chaos {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.tag-sovereign {
  background: rgba(250, 196, 11, 0.18);
  color: var(--brand-amber);
  border: 1px solid rgba(250, 196, 11, 0.35);
}
[data-theme="light"] .tag-sovereign {
  color: #92400e;
}

.vis-card-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.vis-card-cost {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}
.cost-high {
  color: #ef4444;
}
.cost-fair {
  color: #10b981;
}

.vis-item-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13.5px;
  line-height: 1.45;
}
[data-theme="light"] .vis-item-row {
  border-color: rgba(14, 23, 42, 0.08);
}
.vis-item-row:last-child {
  border-bottom: none;
}
.vis-icon-bad {
  color: #ef4444;
  font-size: 15px;
  margin-top: 2px;
}
.vis-icon-good {
  color: #10b981;
  font-size: 15px;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .pipeline-track-wrap {
    overflow-x: auto;
    padding-bottom: 14px;
  }
  .pipeline-detail-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .visual-comparison-matrix {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pipeline-node {
    width: 110px;
  }
  .pipeline-node-icon {
    width: 58px;
    height: 58px;
    font-size: 20px;
  }
  .pipeline-track-line {
    display: none;
  }
  .pipe-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════ HERO 3D ECOSYSTEM STAGE (RDash Benchmark) ═══════ */
.hero-device-canvas {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}
.hero-glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115%;
  height: 115%;
  background: radial-gradient(ellipse at center, rgba(250, 196, 11, 0.18) 0%, rgba(0, 240, 255, 0.12) 35%, rgba(156, 140, 255, 0.06) 60%, transparent 80%);
  filter: blur(45px);
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
}
.hero-3d-stage {
  position: relative;
  z-index: 3;
  width: 100%;
  background: rgba(14, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 35px rgba(250, 196, 11, 0.12);
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.hero-3d-stage:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 196, 11, 0.45);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.65), 0 0 45px rgba(250, 196, 11, 0.22);
}
[data-theme="light"] .hero-3d-stage {
  background: #ffffff;
  border-color: rgba(14, 23, 42, 0.14);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(14, 23, 42, 0.08);
}
[data-theme="light"] .hero-3d-stage:hover {
  border-color: var(--brand-amber);
  box-shadow: 0 30px 65px rgba(15, 23, 42, 0.18), 0 0 30px rgba(250, 196, 11, 0.25);
}
.stage-top-bar {
  background: rgba(14, 23, 42, 0.95);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
[data-theme="light"] .stage-top-bar {
  background: #f1f5f9;
  border-color: rgba(14, 23, 42, 0.1);
}
.stage-traffic-lights {
  display: flex;
  gap: 6px;
  align-items: center;
}
.stage-traffic-lights span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.stage-status-pill {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'JetBrains Mono', monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-theme="light"] .stage-status-pill {
  background: #ffffff;
  border-color: rgba(14, 23, 42, 0.1);
  color: #334155;
}
.pulse-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pass-emerald);
  box-shadow: 0 0 8px var(--pass-emerald);
  flex-shrink: 0;
}
.stage-latency-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}
.stage-visual-wrap {
  position: relative;
  width: 100%;
  background: #080d1a;
  display: block;
  overflow: hidden;
  line-height: 0;
}
[data-theme="light"] .stage-visual-wrap {
  background: #080d1a;
}
.hero-ecosystem-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-3d-stage:hover .hero-ecosystem-img {
  transform: scale(1.02);
}
.stage-reflection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 45%, rgba(250, 196, 11, 0.05) 100%);
  pointer-events: none;
}
.stage-bottom-bar {
  background: rgba(14, 23, 42, 0.95);
  padding: 8px 14px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
}
[data-theme="light"] .stage-bottom-bar {
  background: #f1f5f9;
  border-color: rgba(14, 23, 42, 0.1);
}
.stage-metric-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
}
.smp-label {
  color: var(--text-muted);
  font-weight: 600;
}
.smp-val {
  font-weight: 800;
}

/* Client Live Storefront Button / Pill (Forest Green & Zukro Gold) */
.btn-live-storefront {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #081B12 0%, #0D2B1D 50%, #174E36 100%);
  border: 1.5px solid #FAC40B;
  color: #FAC40B !important;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(13, 43, 29, 0.45), 0 0 14px rgba(250, 196, 11, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-live-storefront i {
  color: #FAC40B;
  font-size: 14px;
  transition: transform 0.2s ease;
}
.btn-live-storefront:hover {
  background: linear-gradient(135deg, #0D2B1D 0%, #174E36 60%, #1E5E42 100%);
  border-color: #FAC40B;
  color: #FAC40B !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(13, 43, 29, 0.65), 0 0 22px rgba(250, 196, 11, 0.5);
}
.btn-live-storefront:hover i {
  transform: translate(2px, -2px);
}
[data-theme="light"] .btn-live-storefront {
  background: linear-gradient(135deg, #081B12 0%, #0D2B1D 60%, #123d2a 100%);
  border-color: #FAC40B;
  color: #FAC40B !important;
  box-shadow: 0 4px 14px rgba(13, 43, 29, 0.3), 0 0 10px rgba(250, 196, 11, 0.35);
}

.nav-storefront-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, #081B12 0%, #0D2B1D 100%);
  border: 1.5px solid #FAC40B;
  color: #FAC40B !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(13, 43, 29, 0.35), 0 0 10px rgba(250, 196, 11, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-storefront-pill i {
  color: #FAC40B;
  font-size: 11px;
}
.nav-storefront-pill:hover {
  background: #174E36;
  border-color: #FAC40B;
  box-shadow: 0 4px 16px rgba(13, 43, 29, 0.5), 0 0 14px rgba(250, 196, 11, 0.45);
  transform: translateY(-1px);
  color: #FAC40B !important;
}
[data-theme="light"] .nav-storefront-pill {
  background: linear-gradient(135deg, #081B12 0%, #0D2B1D 100%);
  border-color: #FAC40B;
  color: #FAC40B !important;
}

/* ═══════ 01. RDASH WORKFLOW UNDERGLOW & UNIFIES MATRIX (Image 0) ═══════ */
.rd-workflow-card {
  position: relative;
  overflow: visible !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.rd-workflow-card.glow-cyan {
  box-shadow: 0 16px 36px -12px rgba(0, 240, 255, 0.45);
  border-color: rgba(0, 240, 255, 0.3);
}
.rd-workflow-card.glow-amber {
  box-shadow: 0 16px 36px -12px rgba(250, 196, 11, 0.45);
  border-color: rgba(250, 196, 11, 0.3);
}
.rd-workflow-card.glow-violet {
  box-shadow: 0 16px 36px -12px rgba(156, 140, 255, 0.45);
  border-color: rgba(156, 140, 255, 0.3);
}
.rd-workflow-card.glow-emerald {
  box-shadow: 0 16px 36px -12px rgba(16, 185, 129, 0.45);
  border-color: rgba(16, 185, 129, 0.3);
}
.rd-workflow-card:hover {
  transform: translateY(-8px) scale(1.02);
}
.rd-workflow-card.glow-cyan:hover {
  box-shadow: 0 24px 50px -10px rgba(0, 240, 255, 0.65);
  border-color: var(--cyan);
}
.rd-workflow-card.glow-amber:hover {
  box-shadow: 0 24px 50px -10px rgba(250, 196, 11, 0.65);
  border-color: var(--brand-amber);
}
.rd-workflow-card.glow-violet:hover {
  box-shadow: 0 24px 50px -10px rgba(156, 140, 255, 0.65);
  border-color: var(--violet);
}
.rd-workflow-card.glow-emerald:hover {
  box-shadow: 0 24px 50px -10px rgba(16, 185, 129, 0.65);
  border-color: #10B981;
}

.rdash-unifies-wrap {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border-glass);
}
.rdash-unifies-title {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.rdash-agents-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  background: rgba(14, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
html[data-theme="light"] .rdash-agents-matrix {
  background: #ffffff;
  border-color: rgba(14, 23, 42, 0.12);
}
.rdash-agent-cell {
  padding: 26px 22px;
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.2s ease;
}
.rdash-agent-cell:last-child {
  border-right: none;
}
.rdash-agent-cell:hover {
  background: rgba(255, 255, 255, 0.03);
}
html[data-theme="light"] .rdash-agent-cell:hover {
  background: #f8fafc;
}
.rac-icon {
  font-size: 20px;
  margin-bottom: 12px;
}
.rdash-agent-cell h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.rdash-agent-cell p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}
.rac-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-amber);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s;
}
.rac-link:hover {
  transform: translateX(3px);
}
.rac-coming-soon {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-faint);
}

/* ═══════ 02. SKIP THE HASSLE ARCHITECTURE DIAGRAM (Image 2) ═══════ */
.skip-hassle-section {
  background: linear-gradient(180deg, rgba(8,13,26,0.95) 0%, rgba(14,23,42,0.98) 50%, rgba(8,13,26,0.95) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 90px 0;
}
html[data-theme="light"] .skip-hassle-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}
.hassle-diagram-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hassle-silo-container, .hassle-zos-container {
  flex: 1;
  min-width: 320px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hassle-silo-orbit {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.silo-network-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.silo-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 130px;
}
.sn-top { top: 6px; left: 50%; transform: translateX(-50%); }
.sn-left { left: 0; top: 50%; transform: translateY(-50%); }
.sn-right { right: 0; top: 50%; transform: translateY(-50%); }
.sn-bottom { bottom: 6px; left: 50%; transform: translateX(-50%); }

.sn-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
}
.sn-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
html[data-theme="light"] .sn-title {
  color: #0f172a;
  text-shadow: none;
}
.sn-app-badge {
  position: absolute;
  top: -8px;
  right: 18px;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.badge-p1 { background: #0077b6; color: #fff; }
.badge-p2 { background: #96bf48; color: #000; }
.badge-p3 { background: #ef4444; color: #fff; }
.badge-p4 { background: #ea580c; color: #fff; }

.hassle-arrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}
.hassle-arrow {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(250, 196, 11, 0.15);
  border: 1.5px solid var(--brand-amber);
  color: var(--brand-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 24px rgba(250, 196, 11, 0.35);
  animation: arrowPulse 2s ease-in-out infinite;
}

.zos-cloverleaf-hub {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zos-hub-ai-badge {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(156, 140, 255, 0.2);
  border: 1px solid rgba(156, 140, 255, 0.4);
  color: var(--violet);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}
.zos-hub-core {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: radial-gradient(circle, #080d1a 0%, #0f172a 100%);
  border: 2px solid var(--brand-amber);
  box-shadow: 0 0 35px rgba(250, 196, 11, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 4;
  text-align: center;
}
html[data-theme="light"] .zos-hub-core {
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(250, 196, 11, 0.35);
}
.zhc-logo {
  font-size: 15px;
  font-weight: 900;
  color: var(--brand-amber);
  letter-spacing: -0.02em;
}
.zhc-sub {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.zos-hub-lobe {
  position: absolute;
  width: 110px;
  height: 64px;
  background: rgba(14, 23, 42, 0.95);
  border: 1.5px solid var(--border-glass);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  z-index: 3;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  padding: 6px;
}
html[data-theme="light"] .zos-hub-lobe {
  background: #ffffff;
  border-color: rgba(14, 23, 42, 0.15);
  box-shadow: 0 8px 20px rgba(14, 23, 42, 0.08);
}
.lobe-top { top: 38px; left: 50%; transform: translateX(-50%); border-color: rgba(250, 196, 11, 0.4); }
.lobe-left { left: 6px; top: 50%; transform: translateY(-50%); border-color: rgba(0, 240, 255, 0.4); }
.lobe-right { right: 6px; top: 50%; transform: translateY(-50%); border-color: rgba(16, 185, 129, 0.4); }
.lobe-bottom { bottom: 38px; left: 50%; transform: translateX(-50%); border-color: rgba(156, 140, 255, 0.4); }

.hassle-caption {
  margin-top: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hassle-caption strong {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 800;
}
.hassle-caption span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ═══════ 03. STAKEHOLDER NETWORK ECOSYSTEM (Image 3) ═══════ */
.ecosystem-split-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 40px;
}
.ecosystem-visual-card {
  background: rgba(14, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}
html[data-theme="light"] .ecosystem-visual-card {
  background: #ffffff;
  border-color: rgba(14, 23, 42, 0.12);
  box-shadow: 0 20px 45px rgba(14, 23, 42, 0.08);
}
.eco-channels-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-right: 1px solid var(--border-glass);
  padding-right: 16px;
}
.ecc-head {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-amber);
  margin-bottom: 4px;
}
.ecc-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
html[data-theme="light"] .ecc-pill {
  background: #f8fafc;
  border-color: rgba(14, 23, 42, 0.06);
  color: #334155;
}
.eco-diagram-stage {
  position: relative;
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eco-node-center {
  width: 110px;
  padding: 12px 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(250,196,11,0.2) 0%, rgba(214,175,54,0.1) 100%);
  border: 1.5px solid var(--brand-amber);
  box-shadow: 0 0 24px rgba(250, 196, 11, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 3;
}
.enc-icon {
  font-size: 18px;
  color: var(--brand-amber);
  margin-bottom: 4px;
}
.enc-title {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
}
.eco-satellite {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
html[data-theme="light"] .eco-satellite {
  background: #ffffff;
  border-color: rgba(14, 23, 42, 0.12);
  color: #334155;
}
.s-top { top: 6px; left: 50%; transform: translateX(-50%); }
.s-top-left { top: 38px; left: 6px; }
.s-top-right { top: 38px; right: 6px; }
.s-bottom-left { bottom: 38px; left: 6px; }
.s-bottom-right { bottom: 38px; right: 6px; }
.s-bottom { bottom: 6px; left: 50%; transform: translateX(-50%); }

.ecosystem-stats-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.eco-stat-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 22px 24px;
}
html[data-theme="light"] .eco-stat-item {
  background: #ffffff;
  border-color: rgba(14, 23, 42, 0.1);
}
.esi-val {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.esi-sub {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}
.hand-drawn-accent {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 8px;
}

/* ═══════ 04. INTEGRATION STAR & DUAL CASE STUDY CARDS (Image 4) ═══════ */
.integration-star-section {
  margin-bottom: 60px;
  text-align: center;
}
.star-rail-orbit {
  position: relative;
  max-width: 720px;
  height: 240px;
  margin: 30px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.star-center-core {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, #080d1a 0%, #0f172a 100%);
  border: 2px solid var(--brand-amber);
  box-shadow: 0 0 35px rgba(250, 196, 11, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
html[data-theme="light"] .star-center-core {
  background: #ffffff;
}
.scc-logo {
  font-size: 15px;
  font-weight: 900;
  color: var(--brand-amber);
}
.scc-sub {
  font-size: 9px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.star-partner-badge {
  position: absolute;
  background: rgba(14, 23, 42, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 2;
}
html[data-theme="light"] .star-partner-badge {
  background: #ffffff;
  border-color: rgba(14, 23, 42, 0.12);
  box-shadow: 0 6px 18px rgba(14, 23, 42, 0.08);
}
.sp-1 { top: 10px; left: 14%; border-color: rgba(0, 240, 255, 0.4); color: var(--cyan); }
.sp-2 { top: 10px; right: 14%; border-color: rgba(250, 196, 11, 0.4); color: var(--brand-amber); }
.sp-3 { top: 48%; left: 4%; border-color: rgba(16, 185, 129, 0.4); color: #10B981; }
.sp-4 { top: 48%; right: 4%; border-color: rgba(239, 68, 68, 0.4); color: #ef4444; }
.sp-5 { bottom: 10px; left: 16%; border-color: rgba(37, 211, 102, 0.4); color: #25D366; }
.sp-6 { bottom: 10px; right: 16%; border-color: rgba(156, 140, 255, 0.4); color: var(--violet); }
.sp-7 { top: 20%; left: 0; }
.sp-8 { top: 20%; right: 0; }

.dual-case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
.cs-modern-card {
  background: rgba(14, 23, 42, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.cs-modern-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 196, 11, 0.45);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55), 0 0 30px rgba(250, 196, 11, 0.2);
}
html[data-theme="light"] .cs-modern-card {
  background: #ffffff;
  border-color: rgba(14, 23, 42, 0.12);
  box-shadow: 0 16px 40px rgba(14, 23, 42, 0.08);
}
.csm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.csm-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(250, 196, 11, 0.15);
  color: var(--brand-amber);
  border: 1px solid rgba(250, 196, 11, 0.3);
}
.csm-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-amber);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.csm-link:hover { text-decoration: underline; }
.csm-title {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.csm-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.csm-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
}
html[data-theme="light"] .csm-metrics-grid {
  background: #f8fafc;
  border-color: rgba(14, 23, 42, 0.08);
}
.csm-metric-box {
  text-align: center;
}
.cmb-val {
  font-size: 16px;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 2px;
}
.cmb-lbl {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 991px) {
  .rdash-agents-matrix { grid-template-columns: repeat(2, 1fr); }
  .rdash-agent-cell:nth-child(2) { border-right: none; }
  .rdash-agent-cell:nth-child(1), .rdash-agent-cell:nth-child(2) { border-bottom: 1px solid var(--border-glass); }
  .ecosystem-split-grid { grid-template-columns: 1fr; }
  .dual-case-study-grid { grid-template-columns: 1fr; }
  .star-rail-orbit { height: auto; flex-wrap: wrap; gap: 10px; }
  .star-partner-badge { position: static; }
  .star-center-core { display: none; }
}
@media (max-width: 640px) {
  .rdash-agents-matrix { grid-template-columns: 1fr; }
  .rdash-agent-cell { border-right: none !important; border-bottom: 1px solid var(--border-glass); }
  .rdash-agent-cell:last-child { border-bottom: none; }
  .ecosystem-visual-card { grid-template-columns: 1fr; }
  .eco-channels-col { border-right: none; border-bottom: 1px solid var(--border-glass); padding-bottom: 14px; flex-direction: row; flex-wrap: wrap; }
  .csm-metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hassle-diagram-canvas { flex-direction: column; gap: 24px; }
}






/* ═══════ RDASH BENCHMARK: THE SILO BREAKER (#silo-breaker) ═══════ */
  #silo-breaker,
  .rd-stack-section {
    padding: 110px 0 100px !important;
    position: relative !important;
    background: #0B1120 !important;
    color: #FFFFFF !important;
    overflow: hidden !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  [data-theme="light"] #silo-breaker,
  [data-theme="light"] .rd-stack-section {
    background: #0B1120 !important;
    color: #FFFFFF !important;
  }
  #silo-breaker .rd-sec-heading h2 {
    color: #FFFFFF !important;
    font-size: clamp(30px, 4.2vw, 44px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.18 !important;
    margin-bottom: 16px !important;
  }
  #silo-breaker .rd-grad {
    background: linear-gradient(90deg, #FF6B4A 0%, #FFA26B 40%, #00F0FF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }
  [data-theme="light"] #silo-breaker .rd-grad {
    background: linear-gradient(90deg, #FF6B4A 0%, #FFA26B 40%, #00F0FF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }
  #silo-breaker .rd-sec-heading p {
    color: #94A3B8 !important;
    font-size: clamp(15px, 1.8vw, 17px) !important;
    line-height: 1.6 !important;
    max-width: 760px !important;
    margin: 0 auto !important;
  }
  #silo-breaker .rd-workflow-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    margin-top: 48px !important;
  }
  #silo-breaker .rd-workflow-card {
    position: relative !important;
    background: linear-gradient(180deg, #131E33 0%, #0D1626 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 32px 24px 28px !important;
    min-height: 270px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    text-decoration: none !important;
    overflow: hidden !important;
    box-shadow: 0 18px 36px -10px rgba(239, 68, 68, 0.45) !important;
    border-bottom: 2px solid rgba(239, 68, 68, 0.8) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
  }
  [data-theme="light"] #silo-breaker .rd-workflow-card {
    background: linear-gradient(180deg, #131E33 0%, #0D1626 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 18px 36px -10px rgba(239, 68, 68, 0.45) !important;
  }
  #silo-breaker .rd-workflow-card::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 10% !important;
    right: 10% !important;
    height: 32px !important;
    background: radial-gradient(ellipse at 50% 120%, rgba(239, 68, 68, 0.55) 0%, transparent 75%) !important;
    filter: blur(10px) !important;
    pointer-events: none !important;
  }
  #silo-breaker .rd-workflow-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 48px -10px rgba(239, 68, 68, 0.65) !important;
    border-bottom-color: #FF5A5F !important;
  }
  #silo-breaker .rd-workflow-card-icon {
    font-size: 24px !important;
    color: #FFFFFF !important;
    background: transparent !important;
    border: none !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
  }
  #silo-breaker .rd-workflow-card h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.01em !important;
    line-height: 1.25 !important;
  }
  #silo-breaker .rd-workflow-card p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: #94A3B8 !important;
    margin: 0 !important;
    flex: 1 !important;
  }
  #silo-breaker .rd-workflow-card-cta {
    display: none !important;
  }

  /* 4 Agents Table Under Workflow Cards */
  #silo-breaker .rdash-unifies-wrap {
    margin-top: 64px !important;
    width: 100% !important;
  }
  #silo-breaker .rdash-unifies-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    text-align: center !important;
    margin-bottom: 28px !important;
    letter-spacing: -0.01em !important;
    background: transparent !important;
  }
  #silo-breaker .rdash-agents-matrix {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    background: rgba(14, 22, 38, 0.6) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    overflow: hidden !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3) !important;
  }
  [data-theme="light"] #silo-breaker .rdash-agents-matrix {
    background: rgba(14, 22, 38, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
  }
  #silo-breaker .rdash-agent-cell {
    padding: 24px 22px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: transparent !important;
  }
  #silo-breaker .rdash-agent-cell:last-child {
    border-right: none !important;
  }
  #silo-breaker .rdash-agent-cell:hover {
    background: rgba(255, 255, 255, 0.04) !important;
  }
  [data-theme="light"] #silo-breaker .rdash-agent-cell:hover {
    background: rgba(255, 255, 255, 0.04) !important;
  }
  #silo-breaker .rdash-agent-cell-head {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
  }
  #silo-breaker .rdash-agent-cell-head i {
    font-size: 16px !important;
    color: #FFFFFF !important;
  }
  #silo-breaker .rdash-agent-cell-head h4 {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
  }
  #silo-breaker .rdash-agent-cell p {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: #94A3B8 !important;
    margin-bottom: 24px !important;
    min-height: 42px !important;
  }
  #silo-breaker .rdash-agent-cell .rac-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
  }
  #silo-breaker .rdash-agent-cell .rac-link:hover {
    color: #FAC40B !important;
  }
  #silo-breaker .rdash-agent-cell .rac-coming-soon {
    font-size: 13px !important;
    color: #64748B !important;
    font-weight: 500 !important;
  }
