:root {
  /* WHX Digital design tokens */
  --bg-main: #f8f7fc;
  --bg-surface: #ffffff;
  --bg-surface-soft: rgba(255, 255, 255, 0.72);
  --bg-dark: #07090e;
  --bg-dark-section: #151221;
  --text-primary: #1f2430;
  --text-secondary: #586274;
  --text-inverse: #ffffff;
  --accent-purple: #7c3aed;
  --accent-purple-hover: #6d28d9;
  --accent-violet-soft: #c4b5fd;
  --glow-purple: rgba(124, 58, 237, 0.11);
  --glow-lavender: rgba(196, 181, 253, 0.055);
  --border-subtle: rgba(31, 36, 48, 0.08);
  --border-purple: rgba(124, 58, 237, 0.2);
  --glass-surface: rgba(255, 255, 255, 0.74);
  --glass-blur: blur(18px);
  --shadow-soft: 0 12px 26px rgba(17, 24, 39, 0.04);
  --shadow-elevated: 0 18px 40px rgba(17, 24, 39, 0.08);
  --radius-card: 20px;
  --radius-panel: 24px;
  --space-section: 48px;
  --space-grid: 18px;
  --space-card: 22px;
  --navbar-height: 80px;
  --container-width: min(1340px, calc(100vw - 64px));
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --type-hero: clamp(5.5rem, 7vw, 6.75rem);
  --type-section: clamp(2.4rem, 4vw, 4rem);
  --type-card: 1.2rem;
  --type-body: 18px;
  --type-label: 0.72rem;
  --type-button: 0.9rem;
  --bg-card: rgba(255, 255, 255, 0.82);
  --border-color: rgba(31, 36, 48, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 24px rgba(17, 24, 39, 0.06);
  --card-bg: rgba(255, 255, 255, 0.03);
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --bg: #f5f1f9;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --line: rgba(17, 24, 39, 0.08);
  --text: #111827;
  --muted: #4B5563;
  --primary: #7C3AED;
  --primary-2: #6D28D9;
  --secondary: #8b5cf6;
  --rose: #ff5ea8;
  --shadow: rgba(0, 0, 0, 0.08);
  --radius: 26px;
  --container: var(--container-width);
  --text-main: #111827;
  --text-muted: #4B5563;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
  font-family: var(--font-body), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  background-image: radial-gradient(circle at top left, rgba(124, 58, 237, 0.06), transparent 28%),
    radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.05), transparent 24%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-size: 52px 52px;
  background-image:
    linear-gradient(to right, rgba(17, 24, 39, 0.012) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 24, 39, 0.012) 1px, transparent 1px);
  z-index: 0;
  pointer-events: none;
}

.WHX-boot {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #17171c 0%, #0b0b0d 100%);
  color: #e2e8f0;
  font-family: 'Space Mono', 'Courier New', monospace;
  pointer-events: none;
  overflow: hidden;
}

.WHX-boot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px); background-size: 36px 36px;
  pointer-events: none;
}

.cyber-boot-panel {
  width: min(580px, 92vw);
  background: rgba(18, 18, 23, 0.96);
  border: 1px solid #27272d;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 166, 35, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 22px 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  z-index: 2;
}

.cyber-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
}

.cyber-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cyber-dot.red {
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}

.cyber-dot.yellow {
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}

.cyber-dot.green {
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.cyber-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #94a3b8;
  margin-left: 8px;
}

.cyber-code-stream {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  min-height: 135px;
  line-height: 1.45;
}

.code-line {
  opacity: 0;
  transform: translateY(4px);
  animation: code-appear 0.12s ease forwards;
}

.code-line:nth-child(1) {
  animation-delay: 0.05s;
  color: #94a3b8;
}

.code-line:nth-child(2) {
  animation-delay: 0.22s;
  color: #38bdf8;
}

.code-line:nth-child(3) {
  animation-delay: 0.42s;
  color: #38bdf8;
}

.code-line:nth-child(4) {
  animation-delay: 0.62s;
  color: #f5a623;
}

.code-line:nth-child(5) {
  animation-delay: 0.82s;
  color: #34d399;
}

.code-line:nth-child(6) {
  animation-delay: 1.05s;
  color: #10b981;
  font-weight: 700;
  font-size: 0.88rem;
}

@keyframes code-appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cyber-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-top: 14px;
  overflow: hidden;
}

.cyber-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #f5a623, #10b981);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  animation: progress-fast 1.3s ease-out forwards;
}

@keyframes progress-fast {
  0% {
    width: 0%;
  }

  60% {
    width: 75%;
  }

  100% {
    width: 100%;
  }
}

.whx-system-status {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: min(270px, calc(100vw - 32px));
  padding: 10px 12px;
  border: 1px solid rgba(124, 58, 237, .2);
  border-radius: 10px;
  background: rgba(255, 255, 255, .88);
  color: var(--text-primary);
  box-shadow: 0 12px 28px rgba(17, 24, 39, .1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.whx-system-status:hover,
.whx-system-status:focus-visible,
.whx-system-status.is-updated {
  border-color: rgba(124, 58, 237, .48);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, .08), 0 14px 30px rgba(17, 24, 39, .12);
  transform: translateY(-2px);
  outline: none;
}

.whx-system-status__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .12);
}

.whx-system-status__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.whx-system-status__copy strong {
  color: #334155;
  font: 700 .58rem var(--font-display);
  letter-spacing: .1em;
}

.whx-system-status__copy small {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: .68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whx-system-status__arrow {
  color: var(--primary);
  font-size: .9rem;
}

}

/* Live Telemetry Data Panel */
.whx-status-panel {
  position: fixed;
  right: 24px;
  bottom: 154px;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: 480px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  background: rgba(18, 18, 23, 0.96);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(124, 58, 237, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #f8fafc;
  font-family: var(--font-body, system-ui, sans-serif);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  pointer-events: none;
}

.whx-status-panel.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whx-status-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}

.whx-status-panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.whx-status-panel__title strong {
  font-family: var(--font-display, sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #e2e8f0;
}

.whx-status-panel__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-glow-dot 1.5s infinite ease-in-out;
}

@keyframes pulse-glow-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.whx-status-panel__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.whx-status-panel__reset {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.whx-status-panel__reset:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.4);
}

.whx-status-panel__close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
}

.whx-status-panel__close:hover {
  color: #ffffff;
}

.whx-status-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.whx-status-panel__metric {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.whx-status-panel__metric small {
  font-size: 0.64rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.whx-status-panel__metric strong {
  font-size: 0.95rem;
  color: #38bdf8;
  font-family: var(--font-display, sans-serif);
  font-weight: 700;
}

.whx-status-panel__logs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  color: #64748b;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 6px;
}

.whx-status-panel__logs {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
  max-height: 200px;
}

.whx-status-panel__logs::-webkit-scrollbar {
  width: 4px;
}

.whx-status-panel__logs::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.3);
  border-radius: 4px;
}

.whx-status-panel__log-item {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-left: 3px solid #8b5cf6;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.72rem;
  animation: log-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes log-slide-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
    border-left-color: #38bdf8;
  }

  to {
    opacity: 1;
    transform: translateY(0);
    border-left-color: #8b5cf6;
  }
}

.whx-status-panel__log-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
}

.whx-status-panel__log-time {
  color: #64748b;
  font-size: 0.64rem;
  font-family: monospace;
}

.whx-status-panel__log-tag {
  background: rgba(139, 92, 246, 0.2);
  color: #c084fc;
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
}

.whx-status-panel__log-msg {
  color: #cbd5e1;
  line-height: 1.3;
  margin-bottom: 4px;
}

.whx-status-panel__log-stats {
  color: #34d399;
  font-size: 0.65rem;
  font-weight: 500;
}

.whx-status-panel__empty {
  text-align: center;
  color: #64748b;
  font-size: 0.75rem;
  padding: 24px 12px;
  font-style: italic;
}

}

/* Animated Footer Global Service Coverage Strip */
.footer-global-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 22px auto 16px;
  width: fit-content;
  max-width: 100%;
}

.footer-global-inner {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 22px;
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer-global-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-20deg);
  animation: shine-sweep 4s infinite ease-in-out;
  pointer-events: none;
}

@keyframes shine-sweep {
  0% {
    left: -100%;
  }

  40%,
  100% {
    left: 200%;
  }
}

.footer-global-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-purple, #7c3aed);
  text-transform: uppercase;
}

.pulse-globe-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8b5cf6;
  font-size: 0.95rem;
  animation: globe-float 3s infinite ease-in-out;
}

@keyframes globe-float {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    color: #8b5cf6;
  }

  50% {
    transform: scale(1.15) rotate(12deg);
    color: #38bdf8;
  }
}

.footer-global-items {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-region-card {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(124, 58, 237, 0.16);
  padding: 5px 13px;
  border-radius: 30px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.footer-region-card img {
  width: 19px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
}

.region-name {
  letter-spacing: 0.04em;
}

.region-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: dot-pulse 1.8s infinite ease-in-out;
}

@keyframes dot-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}

.footer-region-card:hover {
  transform: translateY(-3px) scale(1.03);
  background: #ffffff;
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.18), 0 0 12px rgba(124, 58, 237, 0.1);
  color: #6d28d9;
}

.footer-region-card:hover img {
  transform: scale(1.2);
}

/* Flag Shine Animation & Button Effects */
.flag-wrapper {
  position: relative;
  display: inline-flex;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.flag-wrapper img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.flag-shine-overlay {
  position: absolute;
  top: -50%;
  left: -120%;
  width: 70%;
  height: 200%;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.85) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  animation: flag-shine-loop 3s infinite ease-in-out;
  pointer-events: none;
}

@keyframes flag-shine-loop {
  0% {
    left: -120%;
  }

  35%,
  100% {
    left: 200%;
  }
}

/* Ringing Phone Shake Animation */
.ringing-phone-icon {
  color: #8b5cf6;
  font-size: 0.95rem;
  display: inline-block;
  animation: phone-ringing 1.5s infinite ease-in-out;
  transform-origin: center center;
}

@keyframes phone-ringing {
  0% {
    transform: rotate(0deg) scale(1);
    color: #8b5cf6;
  }

  10% {
    transform: rotate(-20deg) scale(1.18);
    color: #e2e8f0;
  }

  20% {
    transform: rotate(20deg) scale(1.18);
    color: #c084fc;
  }

  30% {
    transform: rotate(-16deg) scale(1.18);
    color: #e2e8f0;
  }

  40% {
    transform: rotate(16deg) scale(1.18);
    color: #c084fc;
  }

  50% {
    transform: rotate(-10deg) scale(1.1);
    color: #e2e8f0;
  }

  60% {
    transform: rotate(10deg) scale(1.1);
    color: #8b5cf6;
  }

  70%,
  100% {
    transform: rotate(0deg) scale(1);
    color: #8b5cf6;
  }
}

.flag-shine-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 30px;
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.flag-shine-btn:hover {
  background: rgba(124, 58, 237, 0.16);
  border-color: rgba(124, 58, 237, 0.5);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.22), 0 0 14px rgba(124, 58, 237, 0.15);
  color: #6d28d9;
}

.flag-shine-btn:hover .flag-wrapper img {
  transform: scale(1.22);
}

.flag-shine-btn:hover .flag-shine-overlay {
  animation-duration: 1.2s;
}

.phone-hover-text {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

/* Header Logo & Profession Tagline */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo-img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(124, 58, 237, 0.22));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.logo-link:hover .header-logo-img {
  transform: scale(1.06) rotate(-2deg);
  filter: drop-shadow(0 4px 14px rgba(124, 58, 237, 0.45));
}

.logo-lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-lockup strong {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary, #1e293b);
  line-height: 1;
}

.logo-profession {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #7c3aed;
  text-transform: uppercase;
  line-height: 1;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 640px) {
  .footer-global-inner {
    border-radius: 20px;
    padding: 12px 16px;
    gap: 10px;
  }

  .footer-global-items {
    justify-content: center;
  }
}




.boot-offline {
  animation: boot-fade 0.35s 0.2s ease forwards;
}

.boot-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.28);
  animation: boot-pulse 0.8s 0.7s ease-out forwards;
}

.boot-initializing {
  animation: boot-fade 0.35s 1.15s ease forwards;
}

.boot-checks {
  display: grid;
  gap: 5px;
  animation: boot-fade 0.4s 1.65s ease forwards;
}

.boot-online {
  color: var(--primary);
  font-size: 1.35rem;
  animation: boot-fade 0.45s 2.35s ease forwards;
}

@keyframes boot-fade {
  to {
    opacity: 1;
  }
}

@keyframes boot-pulse {
  0% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.3);
  }

  100% {
    opacity: 1;
    box-shadow: 0 0 0 26px rgba(124, 58, 237, 0);
  }
}

@keyframes boot-exit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.neural-background {
  display: none !important;
}

.neural-background::before,
.neural-background::after {
  content: "";
  position: absolute;
  background: var(--primary);
  transform-origin: left center;
}

.neural-background::before {
  top: 35px;
  left: 20px;
  width: 112px;
  height: 1px;
  transform: rotate(25deg);
  box-shadow: 35px 35px 0 var(--primary);
}

.neural-background::after {
  top: 35px;
  left: 65px;
  width: 62px;
  height: 1px;
  transform: rotate(90deg);
}

.neural-background i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: node-drift 5s ease-in-out infinite;
}

.neural-background i:nth-child(1) {
  top: 30px;
  left: 16px;
}

.neural-background i:nth-child(2) {
  top: 60px;
  left: 68px;
  animation-delay: 0.8s;
}

.neural-background i:nth-child(3) {
  top: 78px;
  left: 125px;
  animation-delay: 1.6s;
}

.neural-background i:nth-child(4) {
  top: 12px;
  left: 70px;
  animation-delay: 2.4s;
}

.neural-background i:nth-child(5) {
  top: 48px;
  left: 136px;
  animation-delay: 3.2s;
}

@keyframes node-drift {
  50% {
    transform: translate(4px, -4px);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .boot-screen {
    display: none;
  }
}

@media (max-width:720px) {
  .cta-panel {
    grid-template-columns: .8fr 1.2fr !important;
    gap: 14px;
    padding: 24px 12px;
    align-items: start;
  }

  .cta-panel .contact-links-wrap {
    grid-column: 1 / -1;
  }

  .cta-panel .cta-copy h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    line-height: .95;
  }

  .cta-panel .cta-description {
    font-size: .56rem;
  }

  .cta-panel .ai-discovery {
    padding: 11px 8px;
  }

  .cta-panel .discovery-grid article {
    grid-template-columns: 40px 1fr;
    gap: 4px;
  }

  .cta-panel .discovery-grid article span,
  .cta-panel .discovery-grid article p {
    font-size: .4rem;
  }

  .cta-panel .discovery-grid article strong {
    font-size: .46rem;
  }

  .cta-panel .blueprint-flow .ascii-flow {
    font-size: .38rem;
  }
}

.page-glow {
  display: none !important;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-glow {
  display: none !important;
}

.glow-one {
  background: var(--primary);
  top: -14rem;
  left: -10rem;
}

.glow-two {
  background: var(--primary-2);
  right: -6rem;
  bottom: -18rem;
}

.section {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  width: var(--container);
  margin: 20px auto 0;
  min-height: var(--navbar-height);
  padding: 14px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(124, 58, 237, 0.16);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-link {
  color: var(--text);
}

.logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111827;
}

.logo-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  opacity: 0;
  animation: nav-logo-in 0.6s 0.15s ease forwards;
}

.logo-lockup strong {
  color: var(--text-primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
}

.logo-lockup small {
  color: var(--primary);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.highlight {
  background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 40%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.brand-logo {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #03050a;
  box-shadow: none;
}

.brand-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.58) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: logo-shine 5.2s ease-in-out infinite;
  pointer-events: none;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark {
  position: relative;
  width: 108px;
  height: 46px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  color: #f8fdff;
  font-weight: 800;
  box-shadow: none;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 0;
  pointer-events: none;
}

.brand-mark::after {
  content: "";
  position: relative;
  position: absolute;
  top: -55%;
  left: -42%;
  width: 26%;
  height: 210%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: rotate(22deg);
  animation: logo-shine 4.8s ease-in-out infinite;
  pointer-events: none;
}

.logo-main,
.logo-sub {
  position: relative;
  z-index: 1;
  display: block;
  background: linear-gradient(180deg, #ffffff 15%, #b8ffff 48%, #8b7cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 14px rgba(94, 231, 208, 0.28);
  white-space: nowrap;
}

.logo-main {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

.logo-sub {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  margin-right: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.main-nav .nav-links {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav .nav-links li {
  display: contents;
}

.main-nav a {
  position: relative;
  overflow: hidden;
  padding: 7px 2px;
  color: #2f3644;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, transform 0.25s ease;
  opacity: 0;
  animation: nav-item-in 0.45s ease forwards;
}

.main-nav li:nth-child(1) a {
  animation-delay: 0.2s;
}

.main-nav li:nth-child(2) a {
  animation-delay: 0.26s;
}

.main-nav li:nth-child(3) a {
  animation-delay: 0.32s;
}

.main-nav li:nth-child(4) a {
  animation-delay: 0.38s;
}

.main-nav li:nth-child(5) a {
  animation-delay: 0.44s;
}

.main-nav a::before {
  display: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-2), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.main-nav a:nth-child(2)::before {
  animation-delay: 0.8s;
}

.main-nav a:nth-child(3)::before {
  animation-delay: 1.6s;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent-purple);
  transform: translateY(-2px);
  text-shadow: none;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta,
.button-primary {
  background-color: var(--text-primary);
  box-shadow: none;
  color: #FFFFFF;
}

.header-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, .36);
  background: linear-gradient(135deg, var(--text-primary), #221a4a);
  color: var(--text-inverse, #fff);
  box-shadow: 0 0 0 1px rgba(196, 181, 253, .18), 0 12px 26px rgba(124, 58, 237, .2);
  font-family: "Space Grotesk", "Consolas", "Courier New", monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: nav-cta-in 0.5s 0.5s ease forwards;
}

.header-cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  background: linear-gradient(120deg, transparent, rgba(196, 181, 253, .24), transparent);
  transform: translateX(-100%);
  transition: transform 0.45s ease;
}

.header-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.34) 50%, transparent 75%);
  transform: translateX(-120%);
  animation: cta-sheen 4s ease-in-out infinite;
  pointer-events: none;
}

.button-secondary {
  color: var(--text-primary);
  border-color: var(--border-color);
  background: var(--bg-card);
}

.cta-arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.25s ease;
}

.button-primary:hover .cta-arrow,
.button-primary:focus-visible .cta-arrow {
  transform: translateX(4px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(124, 58, 237, 0.42);
  background: rgba(255, 255, 255, 0.92);
}

.header-cta:focus-visible,
.button:focus-visible,
.contact-toggle:focus-visible {
  outline: 2px solid rgba(124, 58, 237, 0.48);
  outline-offset: 3px;
}

.header-cta:active,
.button:active,
.contact-toggle:active {
  transform: translateY(0) scale(0.98);
}

.header-cta:disabled,
.button:disabled,
.contact-toggle:disabled,
.header-cta[aria-disabled="true"],
.button[aria-disabled="true"],
.contact-toggle[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
  pointer-events: none;
}

@media (hover: none) {

  .header-cta:hover,
  .button:hover {
    transform: none;
  }

  .button-primary:hover .cta-arrow {
    transform: none;
  }
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.header-cta:hover::before,
.header-cta:focus-visible::before {
  transform: translateX(100%);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  width: 42px;
  height: 42px;
  cursor: pointer;
}

@keyframes nav-sheen {

  0%,
  48% {
    transform: translateX(0) skewX(-22deg);
  }

  62%,
  100% {
    transform: translateX(520%) skewX(-22deg);
  }
}

@keyframes cta-sheen {

  0%,
  45% {
    transform: translateX(-120%);
  }

  65%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes nav-logo-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes nav-item-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nav-cta-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logo-float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.06);
  }
}

@keyframes logo-shine {

  0%,
  54% {
    transform: translateX(0) rotate(22deg);
    opacity: 0;
  }

  62% {
    opacity: 1;
  }

  76%,
  100% {
    transform: translateX(650%) rotate(22deg);
    opacity: 0;
  }
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  gap: 48px;
  min-height: auto;
  padding: 36px 0 20px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -6%;
  width: min(56vw, 680px);
  height: min(56vw, 680px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.11) 0%, rgba(196, 181, 253, 0.055) 36%, transparent 72%);
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #272d3c;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.system-online-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #15803d;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.system-online-indicator i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.28);
  animation: online-pulse 2.4s ease-out infinite;
}

@keyframes online-pulse {

  0%,
  55%,
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.28);
  }

  25% {
    box-shadow: 0 0 0 5px rgba(22, 163, 74, 0);
  }
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

h1 {
  font-size: var(--type-hero);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.06em;
  line-height: 0.94;
}

h1 span {
  background: linear-gradient(135deg, #241b35 0%, #5b21b6 48%, #7c3aed 100%, #241b35 150%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-gradient-flow 12s ease-in-out infinite;
}

@keyframes text-gradient-flow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.lead {
  max-width: 600px;
  margin: 20px 0 0;
  color: #586274;
  font-size: var(--type-body);
  line-height: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.old-way,
.intelligent-layer,
.build-systems,
.think-act-scale {
  --space-section: 52px;
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.old-way-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.old-way-grid span {
  padding: 18px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.45s ease;
}

.old-way-grid span:hover {
  opacity: 0.72;
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, 0.26);
}

.old-way-transition {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
}

.old-way-transition strong {
  font-size: 1.6rem;
}

.intelligent-layer {
  background: #fbfaff;
}

.intelligent-layer .section-head h2 span,
.build-systems .section-head h2 span {
  color: var(--primary);
}

.intelligent-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 10px;
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 42px 28px 28px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(246, 241, 255, .75));
  box-shadow: 0 18px 40px rgba(84, 46, 150, .08);
}

.intelligent-pipeline span,
.intelligent-pipeline strong {
  position: relative;
  min-height: 98px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 16px 14px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-align: center;
  box-shadow: 0 8px 18px rgba(84, 46, 150, .05);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.intelligent-pipeline span:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, .6);
  box-shadow: 0 14px 24px rgba(84, 46, 150, .13);
}

.intelligent-pipeline span>b,
.intelligent-pipeline .pipeline-outcome>b {
  color: var(--primary);
  font-size: .58rem;
  letter-spacing: .12em;
}

.intelligent-pipeline span>strong {
  min-height: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: none;
  font-size: .8rem;
}

.intelligent-pipeline small {
  color: var(--text-secondary);
  font: 500 .58rem/1.3 var(--font-body);
  letter-spacing: .02em;
}

.intelligent-pipeline .pipeline-arrow {
  color: var(--primary);
  font-size: 1.3rem;
  font-style: normal;
  text-align: center;
}

.intelligent-pipeline .pipeline-outcome {
  background: rgba(22, 163, 74, .08);
  color: #15803d;
  border-color: rgba(22, 163, 74, .35);
}

.intelligent-pipeline .pipeline-outcome small {
  color: #15803d;
}

.intelligent-pipeline::before {
  content: "THE OPERATING LOOP";
  position: absolute;
  top: 16px;
  left: 28px;
  color: var(--text-secondary);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .14em;
}

@media (max-width:720px) {
  .intelligent-pipeline {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 42px 18px 22px;
  }

  .intelligent-pipeline span,
  .intelligent-pipeline strong {
    min-height: 72px;
  }

  .intelligent-pipeline .pipeline-arrow {
    transform: rotate(90deg);
  }

  .intelligent-pipeline::before {
    left: 18px;
  }
}

.intelligent-pipeline span {
  animation: intelligent-stage-pulse 4.8s ease-in-out infinite;
}

.intelligent-pipeline span:nth-of-type(2) {
  animation-delay: .8s;
}

.intelligent-pipeline span:nth-of-type(3) {
  animation-delay: 1.6s;
}

.intelligent-pipeline span:nth-of-type(4) {
  animation-delay: 2.4s;
}

.intelligent-pipeline span:nth-of-type(5) {
  animation-delay: 3.2s;
}

@keyframes intelligent-stage-pulse {

  0%,
  75%,
  100% {
    box-shadow: 0 8px 18px rgba(84, 46, 150, .05);
  }

  12% {
    border-color: rgba(47, 104, 255, .65);
    box-shadow: 0 0 0 5px rgba(47, 104, 255, .08), 0 14px 24px rgba(84, 46, 150, .12);
  }
}

html {
  overflow-x: hidden;
}

.page-glow {
  display: none !important;
}

.build-systems-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.answer-first {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-answer,
.direct-answer,
.definition-block {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: center;
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-answer h2,
.direct-answer h2,
.definition-block h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.section-answer>p,
.direct-answer>p,
.definition-block>p {
  max-width: 700px;
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.site-breadcrumb {
  position: absolute;
  top: 22px;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-secondary);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-breadcrumb a {
  color: var(--primary);
}

.site-breadcrumb a:hover,
.site-breadcrumb a:focus-visible {
  text-decoration: underline;
}

.site-breadcrumb span[aria-hidden="true"] {
  color: var(--primary);
}

.whx-404-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.whx-404-main {
  display: grid;
  flex: 1;
  width: var(--container);
  max-width: 900px;
  margin: 0 auto;
  align-content: center;
  justify-items: start;
  padding: 120px 0;
}

.whx-404-main h1 {
  margin: 12px 0 20px;
  font: 700 clamp(3.2rem, 8vw, 7rem) / 0.92 var(--font-display);
  letter-spacing: -0.05em;
}

.whx-404-main h1 span {
  color: var(--primary);
}

.whx-404-main>p:not(.kicker) {
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.whx-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gemini-status-news {
  padding-top: 42px;
  padding-bottom: 42px;
  border-top: 1px solid rgba(124, 58, 237, 0.18);
  border-bottom: 1px solid rgba(124, 58, 237, 0.18);
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.72), rgba(247, 243, 255, 0.58));
}

/* Historical AI Incident Response Component */
.gemini-incident-response {
  width: var(--container);
  margin: 40px auto;
  padding: 36px 32px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-panel, 24px);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.05);
  backdrop-filter: blur(12px);
}

.incident-main-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(31, 36, 48, 0.08);
  margin-bottom: 28px;
}

.incident-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.incident-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
}

.incident-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 4px 12px;
  border-radius: 999px;
}

.incident-crawlable-summary {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #1e293b;
  margin: 0;
  max-width: 1050px;
}

.incident-section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}

.incident-title-left h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  margin: 4px 0 0;
  color: #0f172a;
}

.incident-instruction {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0;
  text-align: right;
  max-width: 360px;
}

.incident-controls-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.incident-controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.incident-control-card {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-align: left;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

.incident-control-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.incident-control-card:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.incident-control-card.is-active,
.incident-control-card[aria-selected="true"] {
  background: #eff6ff;
  border-color: #3b82f6;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.14);
}

.control-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #94a3b8;
  line-height: 1;
}

.incident-control-card.is-active .control-num,
.incident-control-card[aria-selected="true"] .control-num {
  color: #2563eb;
}

.control-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.control-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.incident-control-card.is-active .control-title,
.incident-control-card[aria-selected="true"] .control-title {
  color: #1e3a8a;
}

.control-sub {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.incident-control-card.is-active .control-sub,
.incident-control-card[aria-selected="true"] .control-sub {
  color: #3b82f6;
}

.control-arrow {
  font-size: 0.9rem;
  color: #cbd5e1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.incident-control-card.is-active .control-arrow,
.incident-control-card[aria-selected="true"] .control-arrow {
  color: #2563eb;
  transform: translateX(3px);
}

.incident-connector {
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 700;
  user-select: none;
  flex: 0 0 auto;
}

.incident-detail-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #3b82f6;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.incident-detail-panel[hidden] {
  display: none !important;
}

.incident-detail-panel.is-active {
  display: block;
  animation: panelReveal 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.panel-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.panel-heading-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.panel-heading {
  font-size: 1.22rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.panel-protocol-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.22);
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.panel-middle-body {
  margin-bottom: 20px;
}

.panel-explanation {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #334155;
  margin: 0;
}

.panel-bottom-log {
  background: #090d16;
  border-radius: 12px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.log-header-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.log-demo-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.log-content {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #e2e8f0;
  white-space: pre-wrap;
  word-break: break-word;
}

.incident-footer-link-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.incident-article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.incident-article-link:hover,
.incident-article-link:focus-visible {
  color: #1d4ed8;
  text-decoration: underline;
  transform: translateX(2px);
  outline: none;
}

@keyframes panelReveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Incident Response Mobile / Tablet Breakpoints */
@media (max-width: 1024px) {
  .incident-controls-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .incident-connector {
    display: none;
  }
}

@media (max-width: 640px) {
  .gemini-incident-response {
    padding: 24px 18px;
    margin: 24px auto;
  }

  .incident-section-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .incident-instruction {
    text-align: left;
    max-width: 100%;
  }

  .incident-controls-row {
    grid-template-columns: 1fr;
  }

  .panel-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .incident-footer-link-wrap {
    justify-content: flex-start;
  }
}

.integration-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 20px 22px;
  border-top: 1px solid rgba(124, 58, 237, .14);
  border-bottom: 1px solid rgba(124, 58, 237, .14);
}

.integration-preview h3 {
  margin: 7px 0 4px;
  font: 700 clamp(1.25rem, 2vw, 1.8rem) / 1.1 var(--font-display);
}

.integration-preview p:not(.kicker) {
  max-width: 620px;
  margin: 0;
  color: var(--text-secondary);
  font-size: .82rem;
}

.cta-panel .final-cta-primary {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0;
  padding: 0;
  border-top: 0;
}

.cta-panel .final-cta-primary .kicker {
  margin: 0 0 10px;
  color: var(--primary-2);
}

.ai-updates-ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid rgba(124, 58, 237, .16);
  border-bottom: 1px solid rgba(124, 58, 237, .16);
  background: rgba(255, 255, 255, .38);
}

.ai-updates-ticker__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font: 700 .62rem var(--font-display);
  letter-spacing: .14em;
  white-space: nowrap;
}

.ai-updates-ticker__status>span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d97706;
  box-shadow: 0 0 0 4px rgba(217, 119, 6, .1);
}

.ai-updates-ticker__window {
  min-width: 0;
  overflow: hidden;
}

.ai-updates-ticker__track {
  display: inline-flex;
  min-width: max-content;
  animation: ai-updates-ticker-run 26s linear infinite;
}

.ai-updates-ticker__track:hover,
.ai-updates-ticker__window:focus-within .ai-updates-ticker__track {
  animation-play-state: paused;
}

.ai-updates-ticker__track a {
  display: inline-block;
  padding-right: 80px;
  color: var(--text-primary);
  font-size: .82rem;
  white-space: nowrap;
}

.ai-updates-ticker__track a:hover,
.ai-updates-ticker__track a:focus-visible {
  color: var(--primary);
  outline: none;
}

.ai-updates-ticker__archive {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font: 700 .62rem var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes ai-updates-ticker-run {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ai-updates-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.ai-update-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(124, 58, 237, .18);
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 14px 28px rgba(17, 24, 39, .05);
}

.ai-update-card h2 {
  margin: 12px 0 8px;
  color: var(--text-primary);
  font: 700 clamp(1.45rem, 2.4vw, 2.3rem) / 1.08 var(--font-display);
}

.ai-update-card p {
  max-width: 680px;
  margin: 0;
  color: var(--text-secondary);
}

@media (max-width: 720px) {
  .ai-updates-ticker {
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
  }

  .ai-updates-ticker__window {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .ai-update-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-updates-ticker__track {
    animation: none;
  }
}

.gemini-status-news__header,
.gemini-status-news__article-meta,
.gemini-status-news__signals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gemini-status-news__eyebrow,
.gemini-status-news__monitoring,
.gemini-status-news__article-meta,
.gemini-status-news__signals {
  color: #5b21b6;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gemini-status-news__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.gemini-status-news__indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d97706;
  box-shadow: 0 0 0 5px rgba(217, 119, 6, 0.12);
  animation: gemini-status-news-pulse 2.2s ease-in-out infinite;
}

.gemini-status-news__monitoring {
  color: #047857;
}

.gemini-status-news__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  margin-top: 22px;
}

.gemini-status-news__summary h2 {
  max-width: 670px;
  margin: 0;
  color: var(--text-primary);
  font: 700 clamp(2rem, 4vw, 4.2rem) / 0.98 var(--font-display);
  letter-spacing: -0.04em;
}

.gemini-status-news__summary>p,
.gemini-status-news__article p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

.gemini-status-news__summary>p {
  max-width: 620px;
  margin: 22px 0 24px;
}

.gemini-status-news__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  background: #ffffff;
  color: #5b21b6;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gemini-status-news__button:hover,
.gemini-status-news__button:focus-visible {
  border-color: #7c3aed;
  box-shadow: 0 10px 24px rgba(91, 33, 182, 0.12);
  transform: translateY(-2px);
}

.gemini-status-news__button span {
  font-size: 1rem;
}

.gemini-status-news__article {
  padding: 24px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.05);
}

.gemini-status-news__article-meta {
  color: #6d28d9;
  font-size: 0.6rem;
}

.gemini-status-news__article-meta time {
  color: var(--text-secondary);
  font: inherit;
}

.gemini-status-news__article h3 {
  margin: 24px 0 8px;
  color: var(--text-primary);
  font: 700 clamp(1.4rem, 2vw, 2rem) / 1.1 var(--font-display);
}

.gemini-status-news__article p {
  margin: 10px 0;
}

.gemini-status-news__signals {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(124, 58, 237, 0.14);
  color: var(--text-secondary);
  font-size: 0.58rem;
}

.gemini-status-news__signals span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.gemini-status-news__signals i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d97706;
}

.gemini-status-news__signals span:last-child i {
  background: #64748b;
}

@keyframes gemini-status-news-pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(217, 119, 6, 0.04);
    opacity: 0.65;
  }
}

@media (max-width: 760px) {
  .gemini-intelligence-alert {
    grid-template-columns: 1fr auto;
    width: calc(100% - 28px);
    margin-top: 10px;
    padding: 12px;
  }

  .gemini-intelligence-alert__summary,
  .gemini-intelligence-alert__response {
    grid-column: 1 / -1;
  }

  .gemini-intelligence-alert__response {
    justify-content: flex-start;
  }

  .gemini-intelligence-alert__response-demo {
    grid-column: 1 / -1;
  }

  .gemini-intelligence-alert__ticker-window {
    min-width: 0;
  }

  .gemini-intelligence-alert__ticker a {
    white-space: nowrap;
  }

  .gemini-intelligence-alert__ticker {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .gemini-intelligence-alert__ticker-window {
    flex: 1 1 220px;
  }

  .integration-preview {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 0;
  }

  .gemini-status-news__header,
  .gemini-status-news__article-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .gemini-status-news__layout {
    grid-template-columns: 1fr;
  }

  .gemini-status-news__summary h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .gemini-status-news__article {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* ticker-track animation already removed globally */

  .gemini-status-news__indicator {
    animation: none;
  }
}

.answer-first h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.answer-first>p {
  max-width: 700px;
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

@media (max-width: 720px) {

  .answer-first,
  .section-answer,
  .direct-answer,
  .definition-block {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-breadcrumb {
    position: static;
    margin-bottom: 18px;
  }

  .whx-404-main {
    width: min(100% - 36px, 620px);
    padding: 90px 0;
  }
}

.gemini-article {
  width: var(--container);
  margin: 0 auto;
  padding: 112px 0 100px;
}

.gemini-article>article {
  max-width: 980px;
  margin: 0 auto;
}

.gemini-article__hero {
  padding: 44px clamp(22px, 5vw, 64px);
  border: 1px solid rgba(124, 58, 237, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(247, 243, 255, 0.74));
  box-shadow: 0 20px 45px rgba(17, 24, 39, 0.06);
}

.gemini-article__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b42318;
  font: 800 0.66rem/1 var(--font-display);
  letter-spacing: 0.13em;
}

.gemini-article__hero h1 {
  max-width: 840px;
  margin: 22px 0 18px;
  color: var(--text-primary);
  font: 700 clamp(2.5rem, 6vw, 5.8rem) / 0.94 var(--font-display);
  letter-spacing: -0.045em;
}

.gemini-article__dek {
  max-width: 720px;
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.gemini-article__notice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  padding-top: 17px;
  border-top: 1px solid rgba(124, 58, 237, 0.15);
  color: var(--text-secondary);
  font-size: 0.76rem;
}

.gemini-article__notice strong {
  color: #b42318;
}

.gemini-article__content {
  display: grid;
  gap: 42px;
  max-width: 760px;
  margin: 54px auto 0;
}

.gemini-article__content section+section {
  padding-top: 38px;
  border-top: 1px solid var(--border-color);
}

.gemini-article__content h2 {
  margin: 0 0 14px;
  color: var(--text-primary);
  font: 700 clamp(1.65rem, 3vw, 2.7rem) / 1 var(--font-display);
}

.gemini-article__content p,
.gemini-article__content li {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.gemini-article__content p {
  margin: 0 0 14px;
}

.gemini-article__content ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.35rem;
}

.gemini-article__content a {
  color: #6d28d9;
  font-weight: 700;
}

.gemini-article__content a:hover,
.gemini-article__content a:focus-visible {
  text-decoration: underline;
}

.gemini-article__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gemini-article__steps article {
  padding: 18px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  background: rgba(255, 255, 255, 0.65);
}

.gemini-article__steps span {
  color: #7c3aed;
  font: 800 0.68rem var(--font-display);
  letter-spacing: 0.1em;
}

.gemini-article__steps h3 {
  margin: 18px 0 8px;
  color: var(--text-primary);
  font: 700 1rem var(--font-display);
}

.gemini-article__steps p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.gemini-article {
  width: min(100% - 36px, 720px);
  padding-top: 82px;
}

.gemini-article__hero {
  padding: 30px 20px;
}

.gemini-article__hero h1 {
  font-size: clamp(2.35rem, 11vw, 4rem);
}

.gemini-article__steps {
  grid-template-columns: 1fr;
}
}

.build-systems-grid article {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.04);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.build-systems-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.36);
  box-shadow: 0 20px 38px rgba(91, 33, 182, 0.1);
}

.build-systems-grid article>span {
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.build-systems-grid h3 {
  margin-top: 24px;
  color: var(--text-primary);
  font-size: 1.35rem;
  line-height: 1.08;
}

.build-systems-grid a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.think-act-scale {
  background: var(--bg-main);
  color: var(--text-primary);
}

.think-act-scale .kicker {
  color: var(--primary);
}

.think-act-scale .section-head h2 {
  color: var(--text-primary);
}

.think-act-scale-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: transparent;
}

.think-act-scale-grid article {
  min-height: 220px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.03);
}

.think-act-scale-grid span {
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.think-act-scale-grid strong {
  display: block;
  margin: 24px 0 10px;
  color: var(--text-primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.9;
}

.think-act-scale-grid p {
  max-width: 240px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.think-act-scale-end {
  margin: 40px 0 0;
  color: var(--text-primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  text-align: center;
  font-weight: 700;
}

.system-process {
  padding-top: 84px;
  padding-bottom: 24px;
  color: var(--text-primary);
}

.system-process .section-head .kicker {
  color: var(--primary);
}

.system-process .section-head h2 {
  color: var(--text-primary);
}

.system-process-diagram {
  position: relative;
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 22px 18px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.04);
  overflow: hidden;
}

.system-process-diagram::before {
  content: "";
  position: absolute;
  inset: auto 6% 10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.4), transparent);
  opacity: 0.8;
}

.process-node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 125px;
  padding: 18px 12px 14px;
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 16px;
  background: #f8fafc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transform: translateY(0);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.process-node:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.12);
}

.process-node span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
}

.process-node strong {
  color: var(--text-primary);
  font: 700 1rem/1.1 var(--font-display);
  letter-spacing: -0.04em;
  text-align: center;
}

.process-node small {
  color: var(--text-secondary);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.process-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 700;
}

@keyframes flow-arrow-drift {

  0%,
  100% {
    transform: translateX(-2px);
    opacity: 0.8;
  }

  50% {
    transform: translateX(4px);
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .system-process-diagram {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    justify-items: center;
  }

  .process-arrow {
    display: none;
  }
}

@media (max-width: 560px) {
  .system-process {
    padding-top: 64px;
  }

  .system-process-diagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
  }

  .process-node {
    min-height: 110px;
  }
}

/* Homepage keeps the operating story compact; detail sections remain available on their dedicated pages. */
body.homepage>main>.answer-first,
body.homepage>main>.old-way,
body.homepage>main>.build-systems,
body.homepage>main>.think-act-scale,
body.homepage>main>.digital-workers,
body.homepage>main>.knowledge-ai,
body.homepage>main>.voice-ai,
body.homepage>main>.computer-use,
body.homepage>main>.trust-layer,
body.homepage>main>#ai-health,
body.homepage>main>#ai-engine,
body.homepage>main>#tech-capabilities,
body.homepage>main>#advanced-concepts,
body.homepage>main>section[aria-label="AI operations overview"],
body.homepage>main>section[aria-label="Invoice processing mission flow"],
body.homepage>main>.quote {
  display: none;
}

/* LIVE CRM WORKFLOW - Lead in. Decision out. (Clean Light UI Theme) */
.system-process-demo {
  margin-top: 40px;
  padding: 32px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.2);
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.05), 0 0 0 1px rgba(196, 181, 253, 0.12);
  position: relative;
  overflow: hidden;
}

.system-process-demo::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, rgba(16, 185, 129, 0.04) 50%, transparent 75%);
  pointer-events: none;
}

.crm-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(31, 36, 48, 0.08);
}

.crm-demo-title-group {
  max-width: 580px;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--primary) !important;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-styled-title {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--text-primary);
}

.hero-styled-title span {
  background: linear-gradient(135deg, #1f2430 0%, #5b21b6 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.crm-demo-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.crm-demo-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.crm-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #059669;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  animation: status-pulse-green 1.8s ease-in-out infinite;
}

@keyframes status-pulse-green {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  }

  50% {
    transform: scale(1.35);
    opacity: 0.6;
    box-shadow: 0 0 18px #34d399;
  }
}

.crm-action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.crm-btn {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid rgba(31, 36, 48, 0.12);
  background: #ffffff;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.crm-btn:hover {
  background: rgba(124, 58, 237, 0.08);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.crm-btn.crm-btn-active {
  background: var(--primary);
  border-color: var(--primary-2);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.3);
}

/* Pipeline Flow Layout */
.crm-workflow-stage {
  position: relative;
  background: #f8fafc;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(31, 36, 48, 0.08);
}

.crm-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

/* Individual Node Cards */
.crm-node {
  background: #ffffff;
  border: 1px solid rgba(31, 36, 48, 0.1);
  border-radius: 16px;
  padding: 16px;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.03);
}

.crm-node.is-active {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.16), 0 0 0 1px rgba(124, 58, 237, 0.2);
  animation: crm-node-active-pulse 3s infinite alternate;
}

@keyframes crm-node-active-pulse {
  0% {
    box-shadow: 0 10px 28px rgba(124, 58, 237, 0.14);
  }

  100% {
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.22), 0 0 14px rgba(16, 185, 129, 0.18);
  }
}

.crm-node-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(31, 36, 48, 0.08);
  padding-bottom: 8px;
}

.crm-step-badge {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.crm-step-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 6px;
}

.crm-node-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* Step 1 Lead Details */
.crm-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #10b981);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1rem;
}

.crm-lead-details {
  display: flex;
  flex-direction: column;
}

.crm-lead-name {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.crm-lead-role {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.crm-lead-intent {
  color: #d97706;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Step 2 Context Scan */
.crm-context-scan {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.crm-scan-item {
  font-size: 0.72rem;
  color: var(--text-primary);
  background: #f1f5f9;
  padding: 5px 8px;
  border-radius: 6px;
  border-left: 3px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.crm-scan-item i {
  color: var(--primary);
}

/* Step 3 AI Decision */
.crm-reasoning-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.18);
  padding: 10px;
  border-radius: 12px;
}

.crm-ai-brain-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f97316, #7c3aed);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.1rem;
}

.crm-decision-output {
  display: flex;
  flex-direction: column;
}

.crm-decision-label {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: #d97706;
  font-weight: 700;
}

.crm-decision-title {
  color: var(--text-primary);
  font-size: 0.82rem;
  font-family: var(--font-display);
}

.crm-confidence {
  font-size: 0.65rem;
  color: #059669;
  font-weight: 600;
}

/* Step 4 Actions List */
.crm-actions-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.crm-actions-list li {
  font-size: 0.72rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.crm-actions-list li i {
  color: #10b981;
  font-size: 0.65rem;
}

/* Node Footer Status */
.crm-node-status {
  font-size: 0.68rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 6px;
  border-top: 1px dashed rgba(31, 36, 48, 0.1);
}

.crm-status-verified {
  color: #059669;
  font-weight: 600;
}

/* Animated Connectors */
.crm-connector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 100%;
}

.crm-connector-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.4), rgba(16, 185, 129, 0.6));
  transform: translateY(-50%);
}

.crm-pulse-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: connector-pulse-slide 2s linear infinite;
}

@keyframes connector-pulse-slide {
  0% {
    left: 0%;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

.crm-connector-icon {
  color: var(--primary);
  font-size: 0.7rem;
  z-index: 1;
  background: #f8fafc;
  padding: 2px;
  border-radius: 50%;
}

/* Live Terminal Log */
.crm-live-terminal {
  margin-top: 20px;
  background: #ffffff;
  border: 1px solid rgba(31, 36, 48, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.03);
}

.crm-terminal-header {
  background: #f8fafc;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(31, 36, 48, 0.08);
}

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

.terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.terminal-dot.red {
  background: #ef4444;
}

.terminal-dot.yellow {
  background: #f59e0b;
}

.terminal-dot.green {
  background: #10b981;
}

.terminal-title {
  font-family: var(--font-display);
  font-size: 0.68rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-latency {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

.terminal-latency strong {
  color: #059669;
}

.crm-terminal-body {
  padding: 12px 14px;
}

.crm-log-entry {
  margin: 0;
  font-family: "Consolas", "Monaco", monospace;
  font-size: 0.76rem;
  color: #1e293b;
  line-height: 1.6;
}

.log-time {
  color: #94a3b8;
  margin-right: 6px;
}

.log-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  margin: 0 4px;
}

.log-tag.tag-info {
  background: rgba(124, 58, 237, 0.12);
  color: #6d28d9;
}

.log-tag.tag-purple {
  background: rgba(168, 85, 247, 0.12);
  color: #7e22ce;
}

.log-tag.tag-gold {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.log-tag.tag-success {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}



/* Responsive adjustments */
@media (max-width: 1024px) {
  .crm-pipeline {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .crm-connector {
    width: 100%;
    height: 24px;
  }

  .crm-connector-line {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
  }

  @keyframes connector-pulse-slide {
    0% {
      top: 0%;
      opacity: 0;
    }

    20% {
      opacity: 1;
    }

    80% {
      opacity: 1;
    }

    100% {
      top: 100%;
      opacity: 0;
    }
  }
}

@media (max-width: 720px) {
  .system-process-demo {
    padding: 20px;
    border-radius: 20px;
  }

  .crm-demo-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .crm-demo-controls {
    align-items: flex-start;
    width: 100%;
  }

  .crm-action-buttons {
    width: 100%;
  }

  .crm-btn {
    flex: 1;
    justify-content: center;
  }
}


.stats-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.stats-row div {
  min-width: 120px;
}

.stats-row strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1;
}

.stats-row span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 10px 0 0;
}

.hero-visual>.ai-core-visual[hidden] {
  display: none;
}

.hero-visual .hero-crm-demo {
  width: 100%;
  min-height: 560px;
  border-radius: 18px;
  box-shadow: 0 24px 54px rgba(17, 24, 39, .14);
}

.hero-visual .hero-crm-demo .ai-crm-network {
  min-height: 430px;
}

.hero-visual .hero-crm-demo .ai-crm-interaction-status {
  border-top-color: rgba(196, 181, 253, .24);
}

@media (max-width: 980px) {
  .hero-visual .hero-crm-demo {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  .hero-visual .hero-crm-demo {
    min-height: 640px;
  }

  .hero-visual .hero-crm-demo .ai-crm-network {
    min-height: 500px;
  }
}

.ai-core-visual {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1 / 0.92;
  margin: 0 auto;
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 60px rgba(91, 33, 182, 0.09);
  backdrop-filter: blur(12px);
}

.ai-core-visual::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 50%;
}

.ai-core-lines,
.ai-core-lines i {
  position: absolute;
  inset: 0;
}

.ai-core-lines i {
  inset: 50% auto auto 50%;
  width: 36%;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.46), rgba(124, 58, 237, 0.03));
}

.ai-core-lines i:nth-child(1) {
  transform: rotate(-145deg);
}

.ai-core-lines i:nth-child(2) {
  transform: rotate(-35deg);
}

.ai-core-lines i:nth-child(3) {
  transform: rotate(35deg);
}

.ai-core-lines i:nth-child(4) {
  transform: rotate(145deg);
}

.core-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.core-particles i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
  opacity: 0;
}

.core-particles i:nth-child(1) {
  animation: particle-memory 4.8s 0.2s ease-in-out infinite;
}

.core-particles i:nth-child(2) {
  animation: particle-reasoning 4.8s 1.4s ease-in-out infinite;
}

.core-particles i:nth-child(3) {
  animation: particle-tools 4.8s 2.6s ease-in-out infinite;
}

.core-particles i:nth-child(4) {
  animation: particle-data 4.8s 3.8s ease-in-out infinite;
}

@keyframes particle-memory {

  0%,
  12% {
    opacity: 0;
    transform: translate(0, 0);
  }

  28%,
  44% {
    opacity: 1;
    transform: translate(-170px, -115px);
  }

  60%,
  100% {
    opacity: 0;
    transform: translate(0, 0);
  }
}

@keyframes particle-reasoning {

  0%,
  12% {
    opacity: 0;
    transform: translate(0, 0);
  }

  28%,
  44% {
    opacity: 1;
    transform: translate(170px, -115px);
  }

  60%,
  100% {
    opacity: 0;
    transform: translate(0, 0);
  }
}

@keyframes particle-tools {

  0%,
  12% {
    opacity: 0;
    transform: translate(0, 0);
  }

  28%,
  44% {
    opacity: 1;
    transform: translate(170px, 115px);
  }

  60%,
  100% {
    opacity: 0;
    transform: translate(0, 0);
  }
}

@keyframes particle-data {

  0%,
  12% {
    opacity: 0;
    transform: translate(0, 0);
  }

  28%,
  44% {
    opacity: 1;
    transform: translate(-170px, 115px);
  }

  60%,
  100% {
    opacity: 0;
    transform: translate(0, 0);
  }
}

.is-offscreen,
.is-offscreen * {
  animation-play-state: paused !important;
}

.core-node,
.ai-core-center {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(91, 33, 182, 0.08);
}

.core-node strong,
.ai-core-center strong {
  color: var(--text-primary);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.core-node span {
  color: var(--text-secondary);
  font-size: 0.62rem;
}

.core-memory {
  top: 12%;
  left: 8%;
}

.core-reasoning {
  top: 12%;
  right: 7%;
}

.core-tools {
  bottom: 14%;
  right: 8%;
}

.core-data {
  bottom: 14%;
  left: 8%;
}

.ai-core-center {
  top: 50%;
  left: 50%;
  min-width: 180px;
  min-height: 130px;
  align-content: center;
  justify-items: center;
  border-color: rgba(124, 58, 237, 0.42);
  background: rgba(246, 242, 253, 0.9);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 12px rgba(124, 58, 237, 0.04), 0 20px 40px rgba(91, 33, 182, 0.13);
  animation: core-breathe 4s ease-in-out infinite;
}

.ai-core-center strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.ai-core-center span {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.ai-core-center small {
  color: #15803d;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ai-core-center small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #16a34a;
}

.ai-core-center small em {
  font-style: normal;
}

.ai-core-visual.is-processing .ai-core-center {
  border-color: rgba(124, 58, 237, 0.7);
}

.ai-core-visual.is-reasoning .core-reasoning,
.ai-core-visual.is-executing .core-tools,
.ai-core-visual.is-complete .ai-core-center {
  border-color: rgba(124, 58, 237, 0.72);
  box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.08), 0 12px 28px rgba(91, 33, 182, 0.14);
}

.ai-core-visual.is-complete .ai-core-center small {
  color: #15803d;
}

.core-caption {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

@keyframes core-breathe {
  50% {
    box-shadow: 0 0 0 18px rgba(124, 58, 237, 0.025), 0 20px 48px rgba(91, 33, 182, 0.18);
  }
}

.hero-micro-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.hero-micro-stats div {
  display: grid;
  gap: 5px;
}

.hero-micro-stats i {
  width: 6px;
  height: 6px;
  margin-bottom: 3px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-micro-stats strong {
  color: var(--text-primary);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.hero-micro-stats span {
  color: var(--text-secondary);
  font-size: 0.68rem;
  line-height: 1.3;
}

.cta-description {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.visual-frame {
  position: relative;
  width: min(100%, 560px);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 32px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 22px 50px rgba(16, 24, 40, 0.08);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(255, 255, 255, 0.08));
  z-index: -1;
}

.visual-frame img {
  width: 100%;
  min-height: 680px;
  object-fit: cover;
  border-radius: 22px;
  filter: saturate(0.9) contrast(1.02);
}

.floating-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 180px;
  padding: 18px 18px 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.1);
}

.card-one {
  left: -12px;
  bottom: 36px;
}

.card-two {
  right: -8px;
  top: 38px;
}

.chip {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-2);
}

.floating-card strong {
  font-size: 2rem;
  line-height: 1;
  font-family: "Space Grotesk", sans-serif;
}

.floating-card small {
  color: var(--muted);
  font-size: 0.72rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-2), var(--secondary));
  box-shadow: 0 0 18px rgba(94, 231, 208, 0.8);
}

.feature-band,
.showcase,
.process,
.journal,
.quote,
.cta-panel {
  padding-top: 34px;
  padding-bottom: 34px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.section-head.split {
  align-items: center;
}

.section-head h2 {
  max-width: 650px;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.feature-card {
  min-height: 360px;
  padding: 22px 24px 20px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-card.active {
  background: #faf5ff;
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-md);
}

.feature-card:not(.active) {
  background: var(--bg-card);
}

.feature-number {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent-purple);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card h3 {
  font-size: clamp(1.6rem, 1.8vw, 2.2rem);
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
  color: var(--text-main);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.feature-band .section-head {
  display: block;
  text-align: left;
}

.feature-band .section-head h2 {
  margin-top: 12px;
}

.showcase .section-head h2 {
  background: none;
  color: var(--text-primary);
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: none;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.case-studies {
  padding-top: 76px;
  padding-bottom: 76px;
}

.case-studies .section-head h2 span {
  color: var(--primary);
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-study-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.04);
}

.case-study-card-featured {
  grid-column: 1 / -1;
  border-color: rgba(124, 58, 237, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(247, 242, 253, 0.9));
}

.case-study-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.case-study-head strong {
  color: var(--text-primary);
  text-align: right;
}

.case-study-body {
  display: grid;
  gap: 18px;
  padding-top: 20px;
}

.case-study-card-featured .case-study-body {
  grid-template-columns: 0.9fr 0.8fr 1fr;
  align-items: start;
}

.case-study-body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.case-study-label {
  margin-bottom: 10px !important;
  color: var(--primary) !important;
  font-size: 0.66rem !important;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.case-flow {
  margin: 0;
  color: var(--text-primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  line-height: 1.4;
  white-space: pre;
}

.case-outcome {
  padding: 16px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.08);
}

.case-outcome strong,
.case-inline-flow {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.45;
}

.case-quote {
  color: var(--text-primary) !important;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem !important;
}

.case-inline-flow {
  display: block;
  color: var(--primary);
}

.case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.case-result {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text-primary) !important;
  font-weight: 700;
}

.operator-step-active {
  border-color: rgba(124, 58, 237, 0.45) !important;
  background: rgba(124, 58, 237, 0.12) !important;
  color: var(--primary) !important;
  transform: translateX(4px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

@media (min-width: 981px) {
  .case-studies {
    overflow: hidden;
  }

  .case-study-grid {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
  }

  .case-study-card {
    flex: 0 0 390px;
  }

  .case-study-card-featured {
    flex-basis: 700px;
  }
}

.showcase-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.02);
  min-height: 320px;
}

.showcase-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 560px;
  object-fit: cover;
}

.showcase-card.large {
  position: relative;
  min-height: 520px;
}

.showcase-card.large img {
  min-height: 520px;
  height: 100%;
}

.showcase-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(8, 10, 16, 0.6);
  backdrop-filter: blur(10px);
}

.showcase-copy span {
  display: block;
  margin-bottom: 10px;
  color: var(--primary-2);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.showcase-copy h3 {
  font-size: clamp(1.7rem, 2.2vw, 2.4rem);
  line-height: 1.08;
}

.overlay-text h2 {
  font-size: clamp(1.7rem, 2.2vw, 2.4rem);
  line-height: 1.08;
  color: #fffdf8;
}

.overlay {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 16px;
}

.overlay>img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 0.88;
  filter: none;
}

.overlay .overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.08));
  z-index: 1;
}

.overlay-text h2 {
  max-width: 720px;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.4;
}

.overlay-text span {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 1px;
}

.showcase-copy.small {
  position: static;
  padding: 18px 18px 22px;
  border-radius: 0;
  border: none;
  background: transparent;
  backdrop-filter: none;
}

.showcase-copy.small h3 {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.capability-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.process-grid .process-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(124, 58, 237, .16);
  background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(248, 247, 252, .78));
  box-shadow: 0 14px 30px rgba(17, 24, 39, .05);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.process-grid .process-card::after {
  content: "PRIMITIVE / READY";
  position: absolute;
  right: 18px;
  top: 18px;
  color: #94a3b8;
  font: 700 .48rem var(--font-display);
  letter-spacing: .1em;
}

.process-grid .process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, .35);
  box-shadow: 0 20px 36px rgba(84, 46, 150, .1);
}

.capability-list {
  padding: 14px;
  border: 1px solid rgba(124, 58, 237, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .5);
}

.capability-pill {
  border-color: rgba(124, 58, 237, .18);
  background: rgba(124, 58, 237, .05);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.capability-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, .42);
  background: rgba(124, 58, 237, .11);
}

.advanced-concepts {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.advanced-concepts .section-head h2 span {
  color: var(--primary);
}

.advanced-concepts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-grid);
}

.advanced-concepts-grid article {
  min-height: 168px;
  padding: var(--space-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--glass-surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: conceptSlideIn 720ms ease both;
}

.advanced-concepts-grid article:nth-child(1) {
  animation-delay: 80ms;
}

.advanced-concepts-grid article:nth-child(2) {
  animation-delay: 160ms;
}

.advanced-concepts-grid article:nth-child(3) {
  animation-delay: 240ms;
}

.advanced-concepts-grid article:nth-child(4) {
  animation-delay: 320ms;
}

.advanced-concepts-grid article:nth-child(5) {
  animation-delay: 400ms;
}

.advanced-concepts-grid article:nth-child(6) {
  animation-delay: 480ms;
}

.advanced-concepts-grid article:nth-child(7) {
  animation-delay: 560ms;
}

.advanced-concepts-grid article:nth-child(8) {
  animation-delay: 640ms;
}

.advanced-concepts-grid article:nth-child(9) {
  animation-delay: 720ms;
}

.advanced-concepts-grid article:nth-child(10) {
  animation-delay: 800ms;
}

.advanced-concepts-grid article:nth-child(11) {
  animation-delay: 880ms;
}

.advanced-concepts-grid article:nth-child(12) {
  animation-delay: 960ms;
}

.advanced-concepts-grid article:nth-child(13) {
  animation-delay: 1040ms;
}

.advanced-concepts-grid article:nth-child(14) {
  animation-delay: 1120ms;
}

.advanced-concepts-grid article:nth-child(15) {
  animation-delay: 1200ms;
}

.advanced-concepts-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 14px 28px rgba(91, 33, 182, 0.08);
}

.advanced-concepts-grid article {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(248, 247, 252, .74));
}

.advanced-concepts-grid article::after {
  content: "READY";
  position: absolute;
  top: 18px;
  right: 18px;
  color: #94a3b8;
  font: 700 .48rem var(--font-display);
  letter-spacing: .1em;
}

.advanced-concepts-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition: background .3s ease;
}

.advanced-concepts-grid article.concept-live {
  border-color: rgba(124, 58, 237, .35);
  box-shadow: 0 14px 30px rgba(91, 33, 182, .1), 0 0 0 3px rgba(124, 58, 237, .05);
  transform: translateY(-3px);
}

.advanced-concepts-grid article.concept-live::before {
  background: linear-gradient(#8b5cf6, #22c55e);
}

.advanced-concepts-grid article.concept-live::after {
  content: "MONITORED";
  color: #15803d;
}

.advanced-concepts-grid article.concept-live>span {
  color: #15803d;
}

.advanced-concepts-grid article>span {
  display: block;
  margin-bottom: 20px;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.advanced-concepts-grid h3 {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.advanced-concepts-grid p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.5;
}

.task-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 16px 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.04);
}

.digital-workers {
  padding-top: 72px;
}

.workers-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.workers-copy,
.agent-architecture {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.04);
}

.worker-comparison {
  display: grid;
  gap: 14px;
  height: 100%;
  align-content: center;
}

.comparison-row {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(248, 245, 251, 0.8);
}

.comparison-row span,
.architecture-label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.comparison-row strong {
  color: var(--text-primary);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.35;
}

.comparison-highlight {
  border-color: rgba(124, 58, 237, 0.28);
  background: rgba(124, 58, 237, 0.07);
}

.comparison-highlight span,
.comparison-highlight strong {
  color: var(--primary);
}

.agent-architecture .ascii-flow {
  width: 100%;
  overflow-x: auto;
  text-align: left;
}

.agent-architecture-panel {
  min-height: 430px;
  padding: 18px;
  border: 1px solid rgba(124, 58, 237, .2);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(245, 239, 255, .75));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}

.agent-architecture-head,
.agent-architecture-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.agent-architecture-head b {
  color: #15803d;
  font-size: .58rem;
}

.agent-architecture-head b i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .12);
}

.agent-architecture-core {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 22px auto 14px;
  padding: 18px 14px;
  border: 1px solid var(--primary);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  text-align: center;
  box-shadow: 0 0 0 7px rgba(124, 58, 237, .06), 0 12px 24px rgba(84, 46, 150, .1);
}

.agent-architecture-core small {
  color: var(--primary);
  font-size: .55rem;
  letter-spacing: .12em;
}

.agent-architecture-core strong {
  color: var(--text-primary);
  font: 700 1.4rem var(--font-display);
}

.agent-architecture-core em {
  color: var(--muted);
  font: 500 .62rem var(--font-body);
}

.agent-architecture-stack {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agent-architecture-stack li {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(124, 58, 237, .1);
  border-radius: 7px;
  background: rgba(255, 255, 255, .54);
  transition: transform .25s, border-color .25s, background .25s;
}

.agent-architecture-stack li:hover {
  transform: translateX(5px);
  border-color: rgba(124, 58, 237, .42);
  background: #fff;
}

.agent-architecture-stack li b {
  color: var(--primary);
  font-size: .55rem;
}

.agent-architecture-stack li strong {
  color: var(--text-primary);
  font: 700 .66rem var(--font-display);
  letter-spacing: .06em;
}

.agent-architecture-stack li span {
  color: var(--muted);
  font-size: .58rem;
}

.agent-architecture-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(124, 58, 237, .14);
}

.agent-architecture-footer i {
  color: var(--primary);
  font-style: normal;
}

.agent-architecture-footer strong {
  color: #15803d;
  font-size: .6rem;
}

.architecture-label {
  margin: 0 0 14px;
}

.multi-agent {
  padding-top: 84px;
  padding-bottom: 84px;
  width: 100%;
  max-width: none;
  padding-left: max(32px, calc((100vw - 1340px) / 2));
  padding-right: max(32px, calc((100vw - 1340px) / 2));
  background: var(--bg-main);
  color: var(--text-primary);
}

.multi-agent-intro {
  max-width: 760px;
  margin-bottom: 30px;
}

.multi-agent-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
  color: var(--text-primary);
}

.multi-agent-intro h2 span {
  background: linear-gradient(135deg, #1f2430 0%, #5b21b6 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.multi-agent-intro>p:last-child {
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.multi-agent .kicker,
.multi-agent .architecture-label {
  color: var(--primary);
  font-weight: 800;
}

.multi-agent-architecture {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.04);
}

.multi-agent-architecture .ascii-flow {
  width: 100%;
  overflow-x: auto;
  padding: 28px 12px 20px;
  color: var(--text-primary);
  font-size: clamp(0.64rem, 1.35vw, 0.95rem);
  line-height: 1.55;
  background: #f8fafc;
  border: 1px solid rgba(124, 58, 237, 0.14);
}

.workforce-architecture-network {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px 18px;
  border: 1px solid rgba(124, 58, 237, .14);
  border-radius: 18px;
  background: radial-gradient(circle at 50% 30%, rgba(124, 58, 237, .06), transparent 42%), #f8fafc;
  overflow: hidden;
}

.workforce-architecture-network:before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(124, 58, 237, .2);
  border-radius: 50%;
  animation: workforce-architecture-spin 18s linear infinite;
}

.workforce-human-node,
.workforce-orchestrator-node,
.workforce-memory-node,
.workforce-business-node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 15px 22px;
  border: 1px solid rgba(31, 36, 48, .12);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text-primary);
  text-align: center;
  box-shadow: 0 4px 14px rgba(17, 24, 39, .03);
}

.workforce-human-node small,
.workforce-orchestrator-node small {
  color: var(--primary);
  font-size: .52rem;
  letter-spacing: .12em;
  font-weight: 700;
}

.workforce-human-node strong {
  color: var(--text-primary);
  font: 700 .85rem var(--font-display);
}

.workforce-orchestrator-node {
  min-width: 230px;
  border-color: var(--primary);
  box-shadow: 0 0 0 6px rgba(124, 58, 237, .08), 0 8px 24px rgba(124, 58, 237, .12);
}

.workforce-orchestrator-node strong {
  color: var(--primary);
  font: 700 1rem var(--font-display);
}

.workforce-orchestrator-node span {
  color: #059669;
  font-size: .55rem;
  letter-spacing: .08em;
  font-weight: 700;
}

.workforce-orchestrator-node span b {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .16);
}

.workforce-flow-arrow {
  position: relative;
  z-index: 1;
  color: var(--primary);
  font-size: 1.25rem;
  font-style: normal;
}

.workforce-agent-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 12px;
  width: min(700px, 100%);
}

.workforce-agent-row article {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 15px 10px;
  border: 1px solid rgba(124, 58, 237, .2);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(17, 24, 39, .03);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.workforce-agent-row article:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(124, 58, 237, .15);
}

.workforce-agent-row article b {
  color: var(--primary);
  font-size: .55rem;
}

.workforce-agent-row article strong {
  color: var(--text-primary);
  font: 700 .78rem var(--font-display);
}

.workforce-agent-row article small {
  color: var(--text-secondary);
  font-size: .56rem;
  letter-spacing: .1em;
}

.workforce-capability-row article {
  border-color: rgba(16, 185, 129, .25);
  background: rgba(16, 185, 129, .04);
}

.workforce-capability-row article b {
  color: #059669;
}

.workforce-branch-lines {
  position: absolute;
  z-index: 0;
  top: 245px;
  width: min(700px, 80%);
  display: flex;
  justify-between: space-between;
  color: var(--primary);
}

.workforce-branch-lines i {
  width: 32%;
  border-top: 1px dashed rgba(124, 58, 237, .35);
}

.workforce-memory-node {
  min-width: 220px;
  border-color: rgba(124, 58, 237, .3);
  background: #ffffff;
}

.workforce-memory-node strong {
  color: var(--primary);
  font: 700 .78rem var(--font-display);
}

.workforce-memory-node small {
  color: var(--text-secondary);
  font-size: .58rem;
}

.workforce-business-node {
  color: #059669;
  border-color: #10b981;
  background: rgba(16, 185, 129, .06);
  font: 700 .7rem var(--font-display);
  letter-spacing: .08em;
}

.workforce-business-node span {
  color: #047857;
  font-size: .55rem;
}

.workforce-architecture-network>*:not(.workforce-branch-lines) {
  animation: workforce-node-in .6s ease both;
}

.workforce-architecture-network>*:nth-child(2) {
  animation-delay: .12s;
}

.workforce-architecture-network>*:nth-child(4) {
  animation-delay: .25s;
}

.workforce-architecture-network>*:nth-child(5) {
  animation-delay: .4s;
}

.workforce-architecture-network>*:nth-child(6) {
  animation-delay: .55s;
}

.workforce-architecture-network>*:nth-child(7) {
  animation-delay: .7s;
}

.workforce-architecture-network>*:nth-child(8) {
  animation-delay: .85s;
}

@media (max-width:720px) {
  .workforce-agent-row {
    grid-template-columns: 1fr;
    width: min(250px, 100%);
  }

  .workforce-branch-lines {
    display: none;
  }

  .workforce-architecture-network {
    padding: 24px 12px;
  }

  .workforce-orchestrator-node {
    min-width: 0;
    width: 85%;
  }
}

.agent-collaboration {
  margin-top: 22px;
  padding: 26px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.03);
}

.collaboration-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.collaboration-step {
  padding: 16px;
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 16px;
  background: #f8fafc;
}

.collaboration-step span {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.collaboration-step p {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.45;
}

.collaboration-step-active {
  border-color: var(--primary);
  background: rgba(124, 58, 237, 0.06);
}

.collaboration-note {
  margin: 20px 0 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
}

.collaboration-step {
  position: relative;
  overflow: hidden;
  opacity: .48;
  transition: opacity .35s, transform .35s, border-color .35s, background .35s;
}

.collaboration-step:after {
  content: "SIGNAL WAITING";
  position: absolute;
  right: 12px;
  top: 12px;
  color: #98a2b3;
  font-size: .5rem;
  letter-spacing: .08em;
}

.collaboration-step.collaboration-live {
  opacity: 1;
  transform: translateY(-5px);
  border-color: #2f68ff;
  background: linear-gradient(145deg, rgba(47, 104, 255, .15), rgba(124, 58, 237, .1));
  box-shadow: 0 0 0 4px rgba(47, 104, 255, .08), 0 12px 22px rgba(47, 104, 255, .1);
}

.collaboration-step.collaboration-live:after {
  content: "SIGNAL ACTIVE";
  color: #67e8f9;
}

.collaboration-step.collaboration-live span {
  color: #67e8f9;
}

.agent-handoff {
  position: relative;
}

.agent-handoff:before {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 50%;
  width: 1px;
  background: linear-gradient(#2f68ff, #67e8f9, #22c55e);
  opacity: .35;
}

.agent-handoff>div {
  position: relative;
  z-index: 1;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}

.agent-handoff>div.handoff-live {
  transform: translateX(7px);
  border-color: #2f68ff;
  box-shadow: 0 0 0 4px rgba(47, 104, 255, .08);
}

.agent-handoff>div.handoff-live b {
  color: #67e8f9;
}

.agent-handoff>div.handoff-verified.handoff-live {
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .1);
}

.agent-handoff>i {
  position: relative;
  z-index: 2;
  text-shadow: 0 0 12px #a78bfa;
}

.knowledge-ai {
  padding-top: 84px;
  padding-bottom: 84px;
}

.knowledge-intro {
  max-width: 820px;
  margin-bottom: 30px;
}

.knowledge-intro h2 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
}

.knowledge-intro h2 span {
  color: var(--primary);
}

.knowledge-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

.knowledge-sources span::before {
  content: "/";
  margin-right: 8px;
  color: var(--primary);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 22px;
  align-items: stretch;
}

.knowledge-layer,
.knowledge-features {
  padding: 26px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.04);
}

.knowledge-layer {
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(250, 250, 255, 0.92)),
    rgba(255, 255, 255, 0.74);
}

.knowledge-layer-head,
.feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.live-sync,
.feature-mode {
  color: var(--primary);
  font: 700 0.68rem "Space Grotesk", "Inter", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-sync::before,
.feature-mode::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, .1), 0 0 0 6px rgba(124, 58, 237, .05);
  vertical-align: middle;
}

.knowledge-source-stack {
  padding: 12px 0 14px;
  margin-top: 12px;
  border-top: 1px solid rgba(124, 58, 237, .14);
  border-bottom: 1px solid rgba(124, 58, 237, .14);
}

.source-stack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-secondary);
  font: 700 0.72rem "Space Grotesk", "Inter", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.source-stack-head .source-count {
  color: var(--primary);
}

.source-stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.source-chip {
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(124, 58, 237, .2);
  background: rgba(255, 255, 255, .68);
  color: var(--text-primary);
  font: 700 0.72rem "Inter", sans-serif;
  cursor: pointer;
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.source-chip:hover,
.source-chip:focus-visible,
.source-chip.is-selected {
  border-color: var(--primary);
  background: rgba(196, 181, 253, .2);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .08);
  transform: translateY(-2px);
  outline: none;
}

.knowledge-run-status {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 3px 10px;
  align-items: center;
  min-height: 54px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(124, 58, 237, .15);
  border-radius: 10px;
  background: rgba(255, 255, 255, .52);
}

.knowledge-run-dot {
  grid-row: span 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.knowledge-run-status.is-running .knowledge-run-dot {
  background: #f59e0b;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, .12);
}

.knowledge-run-status.is-complete .knowledge-run-dot {
  background: #16a34a;
  box-shadow: 0 0 0 5px rgba(22, 163, 74, .12);
}

.knowledge-run-label {
  color: var(--text-primary);
  font: 700 .68rem var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.knowledge-run-detail {
  color: var(--text-secondary);
  font-size: .72rem;
}

.source-chip.source-docs {
  color: #5634d9;
}

.source-chip.source-email {
  color: #2e7b7b;
}

.source-chip.source-crm {
  color: #994f93;
}

.source-chip.source-sops {
  color: #496ad1;
}

.source-chip.source-contracts {
  color: #9b6c2c;
}

.source-chip.source-sites {
  color: #265d4b;
}

.source-chip.source-db {
  color: #8753b8;
}

.source-chip.source-intel {
  color: #6a6687;
}

.knowledge-flow-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(124, 58, 237, .12);
}

.knowledge-flow-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font: 700 0.72rem "Space Grotesk", "Inter", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.knowledge-flow-meta b {
  color: var(--primary);
  font-family: "Consolas", "Courier New", monospace;
}

.knowledge-features {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.feature-readout {
  margin-top: 25px;
  padding-top: 16px;
  border-top: 1px solid rgba(124, 58, 237, .14);
}

.feature-readout>div {
  margin-bottom: 14px;
}

.readout-label {
  display: block;
  color: var(--text-secondary);
  font: 700 0.72rem "Space Grotesk", "Inter", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.readout-bar {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 8px;
  border-radius: 99px;
  background: rgba(124, 58, 237, .08);
  overflow: hidden;
}

.readout-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #76e4cc);
}

.knowledge-layer .architecture-label {
  color: var(--primary);
  font-family: "Space Grotesk", "Consolas", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.knowledge-layer .ascii-flow {
  width: 100%;
  overflow-x: auto;
  color: #2f175f;
  text-align: left;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(250, 248, 255, 0.86);
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.84rem;
  line-height: 1.55;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.knowledge-layer .ai-knowledge-flow {
  position: relative;
  background: linear-gradient(180deg, rgba(21, 22, 42, 0.96), rgba(39, 30, 78, 0.92));
  border-color: rgba(196, 181, 253, 0.5);
  color: #d8d2ff;
  box-shadow: 0 0 0 1px rgba(196, 181, 253, .16), 0 0 24px rgba(124, 58, 237, .16), inset 0 0 20px rgba(124, 58, 237, .16);
  overflow: hidden;
}

.knowledge-layer .ai-knowledge-flow::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: repeating-linear-gradient(90deg, transparent, transparent 12px, rgba(196, 181, 253, .04) 13px), radial-gradient(circle, rgba(124, 58, 237, .2), transparent 70%);
  transform: rotate(6deg);
  animation: knowledgeFlowGrid 3.8s linear infinite;
  pointer-events: none;
}

.knowledge-layer .ai-knowledge-flow::after {
  content: "WORKER // RETRIEVAL -> PLAN -> EXECUTE";
  position: absolute;
  right: 14px;
  top: 10px;
  color: #a7f3d0;
  font: 700 0.66rem "Space Grotesk", "Consolas", monospace;
  letter-spacing: 0.14em;
}

.knowledge-layer .digital-workers-flow {
  border-left: 2px solid rgba(167, 243, 208, 0.75);
}

.knowledge-layer .digital-workers-flow::selection {
  background: rgba(167, 243, 208, 0.32);
}

.knowledge-layer .ai-knowledge-flow {
  animation: knowledgeFlowGlow 2.8s ease-in-out infinite alternate;
}

.knowledge-layer .ai-knowledge-flow.is-routing {
  border-color: #a7f3d0;
  box-shadow: 0 0 0 2px rgba(167, 243, 208, .2), 0 0 34px rgba(52, 211, 153, .22), inset 0 0 30px rgba(52, 211, 153, .16);
}

@keyframes knowledgeFlowGlow {
  from {
    box-shadow: 0 0 0 1px rgba(196, 181, 253, .16), 0 0 12px rgba(124, 58, 237, .12), inset 0 0 14px rgba(124, 58, 237, .12);
  }

  to {
    box-shadow: 0 0 0 1px rgba(196, 181, 253, .34), 0 0 30px rgba(124, 58, 237, .3), inset 0 0 30px rgba(124, 58, 237, .22);
  }
}

@keyframes knowledgeFlowGrid {
  from {
    transform: translateX(-2%) rotate(6deg);
  }

  to {
    transform: translateX(2%) rotate(6deg);
  }
}

@keyframes conceptSlideIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.feature-tags span {
  padding: 10px 12px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.06);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.feature-tags button {
  padding: 10px 12px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.06);
  color: var(--text-primary);
  font: 700 .78rem var(--font-body);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.feature-tags button:hover,
.feature-tags button:focus-visible,
.feature-tags button.is-selected {
  border-color: var(--primary);
  background: rgba(124, 58, 237, .14);
  transform: translateY(-2px);
  outline: none;
}

.knowledge-feature-status,
.ai-crm-interaction-status {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 12px 14px;
  border-top: 1px solid rgba(124, 58, 237, .14);
}

.knowledge-feature-status span,
.ai-crm-interaction-status span {
  color: var(--primary);
  font: 700 .58rem var(--font-display);
  letter-spacing: .12em;
}

.knowledge-feature-status strong,
.ai-crm-interaction-status strong {
  color: var(--text-secondary);
  font-size: .76rem;
  font-weight: 600;
}

.digital-workers-layer {
  position: relative;
}

.digital-workers-layer::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(167, 243, 208, 0.65);
  box-shadow: inset 0 0 8px rgba(167, 243, 208, 0.4), 0 0 18px rgba(167, 243, 208, 0.2);
  opacity: 0.9;
}

.digital-workers-layer::after {
  content: "WORKER_01 // ONLINE";
  position: absolute;
  left: 70px;
  top: 26px;
  color: var(--primary);
  font: 700 0.7rem "Space Grotesk", "Consolas", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.voice-ai {
  padding-top: 84px;
  padding-bottom: 84px;
}

.voice-ai-intro {
  max-width: 820px;
  margin-bottom: 32px;
}

.voice-ai-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
}

.voice-ai-intro h2 span {
  color: var(--primary);
}

.voice-ai-intro>p:last-child {
  max-width: 680px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.voice-ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
}

.voice-call-panel,
.voice-workflow-panel,
.voice-capabilities {
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.05);
}

.voice-call-panel {
  overflow: hidden;
}

.voice-call-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.voice-call-header strong {
  margin-left: auto;
  color: var(--text-primary);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.voice-status {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.12);
}

.voice-dialogue {
  display: grid;
  gap: 14px;
  padding: 26px 22px 30px;
}

.voice-message {
  max-width: 88%;
  padding: 14px 16px;
  border-radius: 16px;
}

.voice-message span {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.voice-message p {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.voice-message-ai {
  border: 1px solid rgba(124, 58, 237, 0.18);
  background: rgba(124, 58, 237, 0.07);
}

.voice-message-customer {
  justify-self: end;
  border: 1px solid var(--line);
  background: rgba(248, 245, 251, 0.86);
}

.voice-message-customer span {
  color: var(--muted);
}

.voice-final {
  justify-self: center;
  margin-top: 8px;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.voice-workflow-panel {
  padding: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(247, 242, 253, 0.9));
}

.voice-workflow-panel .ascii-flow {
  width: 100%;
  overflow-x: auto;
  color: #2f175f;
  text-align: left;
}

.voice-workflow-steps {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.voice-workflow-steps li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--text-primary);
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.voice-workflow-steps li:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.voice-workflow-steps li>span {
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
}

.voice-workflow-steps li strong {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.voice-workflow-steps li b {
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.voice-workflow-steps li.voice-step-active {
  opacity: 1;
  transform: translateX(5px);
  border-color: rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.1);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.07);
}

.voice-workflow-steps li.voice-step-active b {
  color: var(--primary);
}

.voice-workflow-steps li.voice-step-complete {
  opacity: 0.78;
}

.voice-workflow-steps li.voice-step-complete b::before {
  content: "&#10003; ";
  color: #15803d;
}

.voice-capabilities {
  margin-top: 22px;
  padding: 26px;
}

.computer-use {
  padding-top: 84px;
  padding-bottom: 84px;
}

.computer-use-intro {
  max-width: 860px;
  margin-bottom: 32px;
}

.computer-use-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
}

.computer-use-intro h2 span {
  color: var(--primary);
}

.computer-use-intro>p:last-child {
  max-width: 700px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.computer-use-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 22px;
}

.browser-simulation,
.computer-use-flow,
.computer-use-apps {
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 24px;
  background: #151221;
  box-shadow: 0 24px 55px rgba(45, 24, 91, 0.16);
}

.browser-simulation {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  color: #f6f2ff;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #211b31;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b5cf6;
}

.browser-dots i:nth-child(2) {
  background: #c084fc;
}

.browser-dots i:nth-child(3) {
  background: #e9d5ff;
}

.browser-url {
  flex: 1;
  padding: 7px 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.browser-live {
  color: #86efac;
  font-size: 0.62rem;
  font-weight: 800;
}

.browser-content {
  display: grid;
  grid-template-columns: 145px 1fr;
  min-height: 310px;
}

.browser-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: #a9a1bc;
  font-size: 0.72rem;
}

.browser-sidebar strong {
  margin-bottom: 14px;
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.browser-sidebar-active {
  color: #d8b4fe;
}

.crm-screen {
  position: relative;
  padding: 28px 26px;
}

.crm-screen-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
}

.crm-screen-head small {
  color: #a9a1bc;
  font-family: inherit;
  font-size: 0.7rem;
}

.crm-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8d1e7;
  font-size: 0.78rem;
}

.crm-row b {
  color: #a9a1bc;
  font-size: 0.66rem;
  font-weight: 600;
}

.crm-row-active {
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.16);
  color: #ffffff;
}

.crm-row-active b {
  color: #d8b4fe;
}

.computer-use-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #86efac;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.operator-task {
  margin-left: auto;
  color: #a9a1bc;
  letter-spacing: 0.03em;
}

.computer-vision-readout {
  position: absolute;
  right: 22px;
  bottom: 54px;
  z-index: 3;
  width: min(220px, 48%);
  padding: 12px 13px;
  border: 1px solid rgba(167, 139, 250, .5);
  border-radius: 9px;
  background: rgba(21, 18, 33, .84);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18), 0 0 0 1px rgba(139, 92, 246, .08);
  backdrop-filter: blur(12px);
  animation: vision-float 3.2s ease-in-out infinite;
}

.computer-vision-readout::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 50%;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a78bfa);
}

.computer-vision-readout>div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.computer-vision-readout strong {
  color: #ddd6fe;
  font-size: .56rem;
  letter-spacing: .1em;
}

.computer-vision-readout b {
  margin-left: auto;
  color: #86efac;
  font-size: .48rem;
  letter-spacing: .08em;
}

.vision-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 4px rgba(134, 239, 172, .12);
}

.vision-action {
  margin: 10px 0 7px;
  color: #ffffff;
  font-size: .72rem;
  line-height: 1.35;
}

.vision-target {
  color: #a9a1bc;
  font-size: .53rem;
  letter-spacing: .06em;
}

.browser-simulation:has(.computer-vision-readout) .crm-screen::after {
  content: "";
  position: absolute;
  inset: 78px 18px 42px;
  border: 1px solid rgba(167, 139, 250, .28);
  border-radius: 8px;
  pointer-events: none;
  animation: vision-scan 4s ease-in-out infinite;
}

@keyframes vision-float {
  50% {
    transform: translateY(-5px);
  }
}

@keyframes vision-scan {
  50% {
    opacity: .35;
    border-color: rgba(134, 239, 172, .5);
  }
}

@media (max-width: 720px) {
  .computer-vision-readout {
    right: 12px;
    bottom: 54px;
    width: 56%;
  }

  .computer-vision-readout::before {
    display: none;
  }
}

.computer-use .browser-simulation {
  border-color: #d9e0ea;
  border-radius: 16px;
  background: #f7f9fc;
  color: #1f2937;
  box-shadow: 0 20px 45px rgba(31, 41, 55, .1);
}

.computer-use .browser-bar {
  padding: 12px 16px;
  border-color: #e5e9f0;
  background: #ffffff;
  color: #64748b;
}

.computer-use .browser-dots i {
  width: 8px;
  height: 8px;
  background: #cbd5e1;
}

.computer-use .browser-dots i:nth-child(2) {
  background: #94a3b8;
}

.computer-use .browser-dots i:nth-child(3) {
  background: #64748b;
}

.computer-use .browser-url {
  background: #f1f5f9;
  color: #64748b;
}

.computer-use .browser-live {
  color: #15803d;
}

.computer-use .browser-content {
  background: #f8fafc;
}

.computer-use .browser-sidebar {
  border-color: #e5e9f0;
  color: #64748b;
  background: #ffffff;
}

.computer-use .browser-sidebar strong {
  color: #1f2937;
}

.computer-use .browser-sidebar-active {
  color: #4f46e5;
  font-weight: 700;
}

.computer-use .crm-screen {
  background: #f8fafc;
}

.computer-use .crm-screen-head {
  color: #1f2937;
}

.computer-use .crm-screen-head small {
  color: #94a3b8;
}

.computer-use .crm-row {
  border-color: #e5e9f0;
  color: #475569;
}

.computer-use .crm-row b {
  color: #94a3b8;
}

.computer-use .crm-row-active {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
  color: #1f2937;
}

.computer-use .crm-row-active b {
  color: #4f46e5;
}

.computer-use .computer-use-status {
  border-color: #e5e9f0;
  background: #ffffff;
  color: #15803d;
}

.computer-use .operator-task {
  color: #64748b;
}

.computer-use .computer-vision-readout {
  right: 18px;
  bottom: 52px;
  width: 205px;
  padding: 11px 12px;
  border-color: #dbe3ed;
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .1);
  backdrop-filter: blur(8px);
}

.computer-use .computer-vision-readout::before {
  left: -22px;
  width: 18px;
  background: linear-gradient(90deg, transparent, #94a3b8);
}

.computer-use .computer-vision-readout strong {
  color: #334155;
}

.computer-use .computer-vision-readout b {
  color: #15803d;
}

.computer-use .vision-action {
  color: #1f2937;
}

.computer-use .vision-target {
  color: #64748b;
}

.computer-use .browser-simulation:has(.computer-vision-readout) .crm-screen::after {
  inset: 76px 18px 38px;
  border-color: rgba(79, 70, 229, .18);
  animation: vision-scan 4s ease-in-out infinite;
}

.computer-use .computer-use-flow {
  border-color: #d9e0ea;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(31, 41, 55, .07);
}

.computer-use .computer-use-flow .architecture-label {
  color: #4f46e5;
}

.computer-use .operator-steps li {
  border-color: #e5e9f0;
  color: #475569;
  background: #ffffff;
}

.computer-use .operator-steps li.operator-step-active {
  border-color: #a5b4fc;
  background: #eef2ff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .08);
  color: #1f2937;
}

.computer-use .operator-steps li span {
  color: #6366f1;
}

.computer-use-flow {
  padding: 26px;
  background: linear-gradient(135deg, #211b31, #151221);
}

.computer-use-flow .architecture-label,
.computer-use-apps .architecture-label {
  color: #94a3b8;
}

.operator-steps {
  display: grid;
  gap: 7px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: operator-step;
}

.operator-steps li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  color: #e9e3f5;
  font-size: 0.78rem;
}

.operator-steps li span {
  color: #e2e8f0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
}

.operator-step-done {
  border-color: rgba(134, 239, 172, 0.35) !important;
  color: #86efac !important;
}

.computer-use-apps {
  margin-top: 22px;
  padding: 26px;
  background: #211b31;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.application-grid article {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.application-grid strong {
  color: #ffffff;
  font-size: 0.82rem;
}

.application-grid p {
  margin: 9px 0 0;
  color: #a9a1bc;
  font-size: 0.72rem;
  line-height: 1.45;
}

.trust-layer {
  padding-top: 84px;
  padding-bottom: 84px;
}

.trust-layer-intro {
  max-width: 820px;
  margin-bottom: 32px;
}

.trust-layer-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
}

.trust-layer-intro h2 span {
  color: var(--primary);
}

.trust-question {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
}

.trust-layer-intro>p:last-child {
  max-width: 680px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.trust-scorecard,
.evaluation-lifecycle,
.evaluation-concepts {
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.05);
}

.trust-scorecard {
  max-width: 760px;
  margin-bottom: 22px;
  padding: 26px;
}

.scorecard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.scorecard-heading strong {
  color: var(--text-primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.scorecard-heading span,
.scorecard-note {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scorecard-heading span {
  color: var(--primary);
  text-align: right;
}

.scorecard-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}

.scorecard-metrics div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.scorecard-metrics span {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.scorecard-metrics strong {
  color: var(--primary);
  font-size: 0.95rem;
}

.scorecard-note {
  margin: 18px 0 0;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0.04em;
}

.evaluation-lifecycle,
.evaluation-concepts {
  margin-top: 22px;
  padding: 26px;
}

.lifecycle-grid,
.evaluation-concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.lifecycle-grid article,
.evaluation-concept-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(248, 245, 251, 0.8);
}

.lifecycle-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.lifecycle-grid strong,
.evaluation-concept-grid strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.lifecycle-grid p,
.evaluation-concept-grid p {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.45;
}

.evaluation-concept-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.system-transformation {
  padding-top: 8px;
  padding-bottom: 34px;
}

.transformation-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px 14px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-principles div {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border-left: 2px solid rgba(124, 58, 237, 0.35);
  background: rgba(255, 255, 255, 0.42);
}

.hero-principles strong {
  color: var(--primary);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

.hero-principles span {
  color: var(--text-secondary);
  font-size: 0.74rem;
  line-height: 1.35;
}

.transformation-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.transformation-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.5;
}

.transformation-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.transformation-track span,
.transformation-track strong {
  opacity: 0.32;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.transformation-track.is-visible span,
.transformation-track.is-visible strong {
  opacity: 1;
  transform: translateY(0);
}

.transformation-track b {
  color: var(--primary);
  opacity: 0.35;
}

.transformation-track strong {
  color: var(--primary);
}

.transition-supporting {
  max-width: 760px;
  margin: 26px auto 0;
  color: var(--text-primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.35;
  text-align: center;
}

.voice-waveform {
  overflow: hidden;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.03em;
  animation: waveform-breathe 1.8s ease-in-out infinite;
}

.voice-transcript {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-left: 2px solid var(--primary);
  background: rgba(124, 58, 237, 0.05);
}

.voice-transcript span {
  color: var(--primary);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.voice-transcript strong {
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 600;
}

.voice-live-conversation {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 24px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(22, 163, 74, 0.06);
  animation: conversation-in 0.35s ease;
}

.conversation-speaker {
  color: #15803d;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.conversation-text {
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 600;
}

@keyframes conversation-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes waveform-breathe {
  50% {
    letter-spacing: 0.11em;
    opacity: 0.55;
  }
}

.agent-handoff {
  display: grid;
  gap: 7px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.agent-handoff>div {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(248, 245, 251, 0.8);
  animation: handoff-active 5.6s ease-in-out infinite;
}

.agent-handoff>div:nth-of-type(2) {
  animation-delay: 1.4s;
}

.agent-handoff>div:nth-of-type(3) {
  animation-delay: 2.8s;
}

.agent-handoff>div:nth-of-type(4) {
  animation-delay: 4.2s;
}

.agent-handoff span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.agent-handoff strong {
  color: var(--text-primary);
  font-size: 0.82rem;
}

.agent-handoff b {
  color: var(--primary);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.agent-handoff i {
  color: var(--primary);
  font-style: normal;
  text-align: center;
}

.handoff-verified {
  border-color: rgba(22, 163, 74, 0.25) !important;
}

.handoff-verified b {
  color: #15803d;
}

@keyframes handoff-active {

  0%,
  100% {
    opacity: 0.58;
    transform: translateX(0);
  }

  12%,
  28% {
    opacity: 1;
    transform: translateX(4px);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
  }

  40% {
    opacity: 0.58;
    transform: translateX(0);
  }
}

.ascii-flow {
  margin: 0;
  padding: 18px 14px 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-align: center;
  white-space: pre;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  text-transform: uppercase;
}

.ops-console {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.05);
  overflow: hidden;
}

.ops-console {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
}

.ops-console .ops-header {
  grid-column: 1/-1;
  position: relative;
}

.ops-console .ops-header::after {
  content: "ALL SYSTEMS NOMINAL";
  float: right;
  color: #15803d;
  font-size: .52rem;
  letter-spacing: .1em;
}

.ops-console .ops-body {
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.ops-console .ops-agent-list {
  align-self: center;
}

.ops-console.is-live {
  border-color: rgba(124, 58, 237, .28);
  box-shadow: 0 20px 45px rgba(84, 46, 150, .1);
}

.ops-console.is-live .ops-header {
  background: linear-gradient(90deg, rgba(124, 58, 237, .09), rgba(22, 163, 74, .05));
}

.ops-console.is-live .ops-header {
  background: rgba(124, 58, 237, 0.08);
  box-shadow: inset 3px 0 0 var(--primary);
}

.ops-console.is-live .agent-dot {
  animation: dashboard-pulse 2.8s ease-in-out infinite;
}

@keyframes dashboard-pulse {

  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.ops-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.04);
}

.ops-body {
  padding: 18px 20px 8px;
  border-bottom: 1px solid var(--line);
}

.ops-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  color: var(--text-primary);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.ops-row span {
  color: var(--text-primary);
  opacity: 0.9;
}

.ops-row strong {
  font-size: 0.9rem;
  font-weight: 800;
}

.ops-agent-list {
  padding: 18px 20px 20px;
}

.agent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-primary);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.agent-row span {
  flex: 1;
}

.agent-row strong {
  font-size: 0.72rem;
  color: var(--accent-purple);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
  flex: 0 0 auto;
}

.receptionist-panel {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.05);
  overflow: hidden;
}

.receptionist-panel {
  border-color: rgba(124, 58, 237, .2);
  box-shadow: 0 20px 45px rgba(84, 46, 150, .08);
}

.receptionist-header {
  display: flex;
  justify-content: space-between;
}

.receptionist-header::after {
  content: "VERIFIED EXECUTION";
  color: #15803d;
  font-size: .52rem;
  letter-spacing: .1em;
}

.receptionist-step {
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.receptionist-step:hover {
  transform: translateX(4px);
  border-color: rgba(124, 58, 237, .42);
  background: rgba(124, 58, 237, .07);
}

@media (max-width:720px) {
  .ops-console {
    display: block;
  }

  .ops-console .ops-body {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ops-console .ops-header::after {
    display: block;
    float: none;
    margin-top: 8px;
  }
}

.receptionist-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.04);
}

.receptionist-body {
  padding: 18px 18px 20px;
}

.receptionist-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.receptionist-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 320px);
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.receptionist-arrow {
  color: var(--accent-purple);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.task-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  min-height: 30px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.08);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.task-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(124, 58, 237, 0.15);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.task-box.small {
  min-width: 280px;
  font-size: 0.82rem;
}

.task-box.emphasis {
  background: rgba(124, 58, 237, 0.08);
}

.task-box.final-task {
  background: rgba(124, 58, 237, 0.12);
  color: #240f4d;
}

.flow-arrow {
  color: var(--accent-purple);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.workflow-engine {
  padding-top: 20px;
  padding-bottom: 64px;
}

.workflow-engine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.workflow-mode {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.04);
}

.workflow-mode-active {
  border-color: rgba(124, 58, 237, 0.28);
  background: rgba(124, 58, 237, 0.06);
}

.workflow-label {
  margin: 20px 0 14px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.workflow-mode-active .workflow-label,
.workflow-mode-active .architecture-number {
  color: var(--primary);
}

.workflow-mode .ascii-flow {
  width: 100%;
  overflow-x: auto;
  text-align: left;
}

@media (max-width: 720px) {
  .workflow-engine-grid {
    grid-template-columns: 1fr;
  }

  .task-box,
  .task-box.small {
    min-width: 170px;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
  }
}

.health-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.observability-command-center {
  margin: 28px 0 20px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, .2);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f7f4ff);
  box-shadow: 0 18px 40px rgba(84, 46, 150, .08);
}

.observability-live-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(17, 24, 39, .1);
  color: var(--text-primary);
  font: 700 .64rem var(--font-display);
  letter-spacing: .1em;
}

.observability-live-head span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.observability-live-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .12);
}

.observability-live-head b {
  margin-left: auto;
  color: #15803d;
  font-size: .56rem;
}

.observability-live-head strong {
  padding: 6px 8px;
  border: 1px solid rgba(124, 58, 237, .16);
  border-radius: 999px;
  color: var(--primary);
  font-size: .54rem;
}

.observability-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr);
}

.observability-trace {
  padding: 22px 24px 18px;
  border-right: 1px solid rgba(17, 24, 39, .1);
}

.observability-trace-head,
.observability-feed>div,
.observability-trace-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.observability-trace-head {
  color: var(--text-primary);
  font: 700 .62rem var(--font-display);
  letter-spacing: .1em;
}

.observability-trace-head small,
.observability-trace-foot {
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .03em;
}

.observability-trace-path {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 24px 0 18px;
  color: var(--muted);
  font: 700 .54rem var(--font-display);
  letter-spacing: .08em;
}

.observability-trace-path i {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, #c4b5fd, #8b5cf6);
}

.observability-trace-path strong {
  color: #15803d;
}

.observability-chart {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 68px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(17, 24, 39, .1);
}

.observability-chart i {
  flex: 1;
  min-width: 5px;
  height: 35%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(#a78bfa, #7c3aed);
  animation: observability-bars 1.8s ease-in-out infinite alternate;
}

.observability-chart i:nth-child(2n) {
  height: 62%;
  animation-delay: .15s;
}

.observability-chart i:nth-child(3n) {
  height: 82%;
  animation-delay: .3s;
}

.observability-chart i:nth-child(5n) {
  height: 48%;
  animation-delay: .45s;
}

.observability-trace-foot {
  margin-top: 10px;
}

.observability-trace-foot b {
  color: #15803d;
  font-weight: 700;
}

.observability-feed {
  padding: 22px 20px;
  background: rgba(255, 255, 255, .58);
}

.observability-feed>div {
  color: var(--text-primary);
  font: 700 .58rem var(--font-display);
  letter-spacing: .1em;
}

.observability-feed>div b {
  color: #15803d;
  font-size: .52rem;
}

.observability-feed p {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 17px 0 0;
  color: var(--text-secondary);
  font-size: .7rem;
}

.observability-feed p i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8b5cf6;
}

.observability-feed p:first-of-type i {
  background: #16a34a;
}

.observability-feed small {
  color: var(--muted);
  font-size: .58rem;
}

@keyframes observability-bars {
  to {
    transform: scaleY(.72);
    opacity: .65;
  }
}

@media (max-width: 720px) {
  .observability-command-grid {
    grid-template-columns: 1fr;
  }

  .observability-trace {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 39, .1);
  }

  .observability-live-head {
    flex-wrap: wrap;
  }

  .observability-live-head b {
    margin-left: 0;
  }
}

.health-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.03);
}

.health-card span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.health-card strong {
  display: block;
  margin-top: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text-primary);
}

.wins-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.win-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 22px 20px;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 18px;
  background: rgba(124, 58, 237, 0.05);
  text-align: center;
}

.win-stat strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1;
  color: var(--text-primary);
}

.win-stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.compact-kpis {
  margin-top: 18px;
}

.mini-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 18px 20px;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.mini-kpi strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  line-height: 1.1;
  color: var(--text-primary);
}

.mini-kpi span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 980px) {

  .health-grid,
  .wins-row,
  .mini-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {

  .health-grid,
  .wins-row,
  .mini-kpis {
    grid-template-columns: 1fr;
  }
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.journal-card {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.015);
}

.journal-card span {
  color: var(--primary-2);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.journal-card h3 {
  margin-top: 18px;
  font-size: clamp(1.6rem, 2vw, 2.3rem);
  line-height: 1.08;
}

.discovery-grid article {
  position: relative;
  padding: 10px 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: padding-left .25s ease, color .25s ease;
}

.discovery-grid article:last-child {
  border-bottom: 0;
}

.discovery-grid article.discovery-live {
  padding-left: 8px;
  color: #fff;
  border-color: rgba(167, 139, 250, .5);
}

.discovery-grid article.discovery-live span {
  color: #94a3b8;
}

.discovery-grid article.discovery-live::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: #a78bfa;
}

.discovery-card {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.discovery-card:hover,
.discovery-card:focus-visible,
.discovery-card.is-selected {
  border-color: rgba(167, 139, 250, .7);
  background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(124, 58, 237, .12));
  box-shadow: 0 0 0 3px rgba(167, 139, 250, .1);
  transform: translateY(-3px);
  outline: none;
}

.configurator-readout {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 13px 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #94a3b8;
}

.configurator-readout span {
  font: 700 .58rem var(--font-display);
  letter-spacing: .14em;
}

.configurator-readout strong {
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
}

.configurator-readout.is-running {
  color: #fbbf24;
}

.configurator-readout.is-complete {
  color: #86efac;
}

.operator-state-beacon {
  position: absolute;
  right: 18px;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border: 1px solid rgba(79, 70, 229, .16);
  border-radius: 5px;
  background: #eef2ff;
  color: #4f46e5;
  font: 700 .48rem var(--font-display);
  letter-spacing: .06em;
  box-shadow: 0 2px 5px rgba(79, 70, 229, .12);
}

.operator-state-beacon span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .12);
}

.operator-state-beacon.is-processing span {
  background: #f59e0b;
}

.operator-state-beacon.is-complete span {
  background: #16a34a;
}

.blueprint-flow {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, .18);
  background: linear-gradient(145deg, #ffffff, #f1edff);
  box-shadow: 0 12px 24px rgba(84, 46, 150, .08);
}

.blueprint-flow::after {
  content: "DEPLOYMENT PATH / READY";
  position: absolute;
  top: 10px;
  right: 12px;
  color: #15803d;
  font: 700 .46rem var(--font-display);
  letter-spacing: .08em;
}

.blueprint-flow .ascii-flow {
  color: #4c1d95;
}

.cta-panel .ai-discovery {
  border-color: rgba(167, 139, 250, .25);
  background: rgba(255, 255, 255, .06);
}

.cta-panel {
  box-shadow: 0 24px 55px rgba(17, 24, 39, .14);
}

.quote {
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 58px;
  padding-bottom: 58px;
}

.quote-mark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(255, 191, 105, 0.8);
}

.quote blockquote {
  max-width: 760px;
  margin: 16px auto 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.quote p {
  display: inline-block;
  margin: 18px auto 0;
  padding: 7px 14px;
  border-radius: 4px;
  background: #d8dde2;
  color: #080a0d;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cta-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  padding: 42px 30px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background-color: #1F2937;
  color: #FFFFFF;
}

.cta-panel h2 {
  max-width: 440px;
  font-size: clamp(2.3rem, 3vw, 4rem);
}

.cta-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-copy .kicker {
  color: var(--primary-2);
}

.cta-copy h2 {
  color: #fff;
}

.cta-description {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cta-panel .contact-links-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.cta-panel .contact-toggle {
  width: auto;
}

.cta-panel .social-stack {
  max-height: 260px;
}

.cta-panel .social-stack.is-open {
  max-height: 260px;
}

.ai-discovery {
  padding: 26px;
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.discovery-heading {
  margin-bottom: 16px;
}

.discovery-heading .architecture-label {
  color: var(--primary-2);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.discovery-heading h3,
.blueprint-heading h3 {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(1.9rem, 2.4vw, 2.8rem);
  line-height: 1.16;
}

.discovery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.discovery-card {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 26px 24px;
  border: 1px solid rgba(139, 124, 255, 0.25);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(124, 58, 237, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.discovery-card:nth-child(5),
.discovery-card:nth-child(6),
.discovery-card:nth-child(7) {
  grid-column: auto;
}

.discovery-card span {
  display: block;
  color: var(--primary-2);
  font: 800 0.72rem "Space Grotesk", "Inter", sans-serif;
  letter-spacing: 0.12em;
}

.discovery-card strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.discovery-card p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.55;
}

.cta-panel .blueprint-section {
  grid-column: 1 / -1;
  margin-top: 100px;
  padding-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blueprint-heading {
  max-width: 640px;
  margin-bottom: 18px;
}

.blueprint-heading .architecture-label {
  color: var(--primary-2);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.blueprint-heading h3 {
  color: #fff;
}

.blueprint-description {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.blueprint-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 30px 20px;
  border: 1px solid rgba(139, 124, 255, 0.25);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.blueprint-node {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(139, 124, 255, 0.34);
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.08);
  color: #f8f8ff;
  font: 700 0.76rem "Space Grotesk", "Inter", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.blueprint-arrow {
  color: var(--primary-2);
  font-size: 1.2rem;
}

.blueprint-node:nth-child(odd) {
  border-color: rgba(167, 243, 208, 0.3);
}

.blueprint-flow .blueprint-node:hover {
  border-color: var(--primary-2);
  background: rgba(124, 58, 237, 0.14);
  transform: translateY(-2px);
}

.final-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
  padding: 30px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.final-cta-copy h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.2;
}

.final-cta-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.final-cta .button {
  padding: 13px 18px;
  border-radius: 12px;
}

.final-cta .button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}

.final-cta .button-secondary {
  background: transparent;
  color: var(--primary-2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 980px) {
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .discovery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-panel .blueprint-section {
    margin-top: 20px;
  }

  .blueprint-flow {
    justify-content: center;
  }

  .final-cta {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .discovery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .discovery-card {
    min-height: auto;
    padding: 22px 24px;
  }

  .cta-panel .blueprint-section {
    margin-top: 72px;
  }

  .blueprint-flow {
    flex-direction: column;
    gap: 8px;
  }

  .blueprint-arrow {
    transform: rotate(90deg);
  }

  .final-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .final-cta-actions {
    flex-wrap: wrap;
  }
}

.social-stack {
  display: grid;
  gap: 14px;
}

.contact-links-wrap {
  display: grid;
  gap: 14px;
}

.contact-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 17px 20px;
  border: 1px solid rgba(139, 124, 255, 0.42);
  border-radius: 18px;
  background: rgba(9, 12, 17, 0.55);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-toggle:hover,
.contact-toggle[aria-expanded="true"] {
  border-color: rgba(139, 124, 255, 0.7);
  background: rgba(9, 12, 17, 0.68);
}

.contact-toggle i {
  color: var(--primary-2);
  transition: transform 0.35s ease;
}

.contact-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.social-stack {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.45s ease, opacity 0.3s ease, transform 0.45s ease;
}

.social-stack.is-open {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}

.social-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(9, 12, 17, 0.55);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-item:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 124, 255, 0.5);
  background: rgba(139, 124, 255, 0.08);
}

.social-item i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 12px 24px rgba(139, 124, 255, 0.25);
}

.social-item.facebook-link i {
  background: #1877f2;
  color: #fff;
  box-shadow: 0 10px 22px rgba(24, 119, 242, 0.3);
}

.social-item.upwork-link i {
  background: #14a800;
  color: #fff;
  box-shadow: 0 10px 22px rgba(20, 168, 0, 0.3);
}

.social-item.linkedin-link i {
  background: #0a66c2;
  color: #fff;
  box-shadow: 0 10px 22px rgba(10, 102, 194, 0.3);
}

.social-item .flag {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.35rem;
}

.social-item span {
  font-size: 1rem;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(9, 12, 17, 0.7);
  color: var(--text);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid rgba(139, 124, 255, 0.6);
  border-color: rgba(139, 124, 255, 0.8);
}

.form-message {
  margin: 0;
  min-height: 20px;
  color: var(--primary-2);
  font-size: 0.8rem;
}

.site-footer {
  width: var(--container);
  margin: 38px auto 50px;
  padding: 22px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.footer-name {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: footer-rise 0.7s ease both;
}

.footer-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 0.78rem;
  animation: footer-rise 0.7s 0.12s ease both;
}

.footer-phones a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-phones a:hover,
.footer-phones a:focus-visible {
  color: var(--text);
}

.footer-phones img {
  width: 22px;
  height: 15px;
  margin-right: 6px;
  border-radius: 2px;
  object-fit: cover;
  flex: 0 0 auto;
}

.footer-email i {
  margin-right: 6px;
  color: var(--primary);
}

body.architecture-spec-page {
  background: #f4eefc;
  color: #111827;
  background-image: radial-gradient(circle at top left, rgba(124, 58, 237, 0.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.06), transparent 28%);
}

body.architecture-spec-page .site-header {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(17, 24, 39, 0.08);
}

body.architecture-spec-page .section {
  width: min(1340px, calc(100vw - 64px));
}

body.architecture-spec-page .spec-header {
  padding-top: 60px;
  padding-bottom: 24px;
}

body.architecture-spec-page .spec-header .eyebrow,
body.architecture-spec-page .kicker {
  color: #5b21b6;
}

body.architecture-spec-page .spec-header h1 {
  color: #111827;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.96;
}

body.architecture-spec-page .spec-header h1 span {
  background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.architecture-spec-page .diagram-container,
body.architecture-spec-page .phase-card,
body.architecture-spec-page .protocol-table-wrap,
body.architecture-spec-page .spec-cta {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
}

body.architecture-spec-page .spec-section-title {
  color: #111827;
}

body.architecture-spec-page .spec-section-title span {
  color: #7c3aed;
}

body.architecture-spec-page .protocol-table th {
  background: #111827;
  color: #f9fafb;
}

body.architecture-spec-page .protocol-table td,
body.architecture-spec-page .phase-card p,
body.architecture-spec-page .phase-card li,
body.architecture-spec-page .architecture-intro,
body.architecture-spec-page .spec-header p:last-child {
  color: #4b5563;
}

body.architecture-spec-page .phase-card h3,
body.architecture-spec-page .node,
body.architecture-spec-page .diagram-title {
  color: #111827;
}

/* Page 02: AI Agents experience */
body.agent-page [data-agent-state] {
  transition: border-color .35s ease, color .35s ease, box-shadow .35s ease, opacity .35s ease;
}

body.agent-page .agent-state-idle {
  opacity: .55;
}

body.agent-page .agent-state-active {
  border-color: var(--agent-blue);
}

body.agent-page .agent-state-processing {
  border-color: var(--agent-hot);
  box-shadow: 0 0 0 5px rgba(238, 77, 47, .08);
}

body.agent-page .agent-state-success {
  border-color: var(--agent-green);
  color: var(--agent-green);
}

body.agent-page .agent-state-error {
  border-color: #b42318;
  color: #b42318;
}

body.agent-page .agent-state-waiting {
  opacity: .7;
  border-style: dashed;
}

.agent-data-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

.agent-data-flow path {
  fill: none;
  stroke: rgba(238, 77, 47, .48);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
}

.agent-data-flow .agent-action-path {
  stroke: rgba(32, 164, 119, .72);
  stroke-width: 2;
  stroke-dasharray: 8 6;
}

.agent-data-flow .flow-particle {
  fill: var(--agent-hot);
  filter: drop-shadow(0 0 6px var(--agent-hot));
}

.tools-network> :not(.agent-data-flow) {
  position: relative;
  z-index: 1;
}

.loop-label.is-progress-active {
  color: var(--agent-ink);
  border-color: var(--agent-hot);
  box-shadow: 0 3px 0 rgba(238, 77, 47, .16);
}

.specialists span.is-network-active {
  color: var(--agent-ink);
  border-color: var(--agent-green);
  background: rgba(32, 164, 119, .08);
}

.memory-ready .memory-task {
  animation: memory-pulse 2.8s ease-in-out infinite;
}

@keyframes memory-pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(46, 98, 255, .06);
  }
}

@media (max-width: 800px) {
  .agent-data-flow {
    display: none;
  }

  .tools-network {
    grid-template-columns: 1fr;
  }

  .tool-agent,
  .tool-action {
    grid-column: 1;
  }

  .tool-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .tool-list button {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.agent-page .agent-data-flow .flow-particle {
    display: none;
  }

  body.agent-page .memory-ready .memory-task {
    animation: none;
  }
}

/* Page 03: AI Automation experience */
body.automation-page {
  --auto-ink: #11151b;
  --auto-muted: #68717d;
  --auto-line: rgba(17, 21, 27, .14);
  --auto-orange: #ef6a3a;
  --auto-blue: #2f68ff;
  --auto-green: #1b9d78;
  background: #f3f2ed;
  color: var(--auto-ink);
  background-image: linear-gradient(rgba(17, 21, 27, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 21, 27, .035) 1px, transparent 1px);
  background-size: 52px 52px;
}

body.automation-page .site-header {
  background: rgba(243, 242, 237, .8);
  border-color: var(--auto-line);
}

.automation-experience {
  width: min(1280px, calc(100vw - 64px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.automation-section {
  min-height: 78vh;
  padding: 130px 0;
  border-bottom: 1px solid var(--auto-line);
  position: relative;
  overflow: hidden;
}

.automation-hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 70px;
  padding-top: 120px;
}

.automation-eyebrow,
.automation-kicker,
.automation-panel-label {
  color: var(--auto-orange);
  font: 800 .68rem/1.2 var(--font-body);
  letter-spacing: .15em;
}

.automation-eyebrow {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.automation-eyebrow span,
.automation-panel-label span {
  color: var(--auto-green);
}

.automation-eyebrow i,
.automation-panel-label i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--auto-green);
  box-shadow: 0 0 0 5px rgba(27, 157, 120, .12);
}

.automation-hero h1,
.automation-intro h2,
.automation-final h2 {
  margin: 0;
  font: 700 clamp(3rem, 6.4vw, 6.2rem)/.93 var(--font-display);
  letter-spacing: -.055em;
}

.automation-hero h1 em,
.automation-intro h2 span,
.automation-final h2 span {
  color: var(--auto-blue);
  font-style: normal;
}

.automation-lead {
  max-width: 500px;
  margin: 28px 0;
  color: var(--auto-muted);
  font-size: 1.05rem;
}

.automation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.automation-page .button {
  border-radius: 4px;
}

.workflow-hero-panel,
.healing-console,
.monitor-layout,
.builder-layout {
  border: 1px solid var(--auto-line);
  background: rgba(255, 255, 255, .42);
  box-shadow: 12px 16px 0 rgba(17, 21, 27, .035);
}

.workflow-hero-panel {
  min-height: 520px;
  padding: 24px;
  position: relative;
}

.automation-panel-label {
  display: flex;
  justify-content: space-between;
  color: var(--auto-ink);
}

.automation-panel-label span {
  font-weight: 600;
  letter-spacing: .07em;
}

.hero-workflow-nodes {
  display: grid;
  justify-items: center;
  gap: 9px;
  margin: 30px auto;
}

.hero-workflow-nodes span,
.hero-workflow-nodes strong {
  min-width: 210px;
  padding: 13px 18px;
  border: 1px solid var(--auto-line);
  background: #f3f2ed;
  color: var(--auto-muted);
  font: 700 .8rem var(--font-display);
  text-align: center;
  transition: all .35s;
}

.hero-workflow-nodes span.is-workflow-active,
.hero-workflow-nodes strong.is-workflow-active {
  color: var(--auto-ink);
  border-color: var(--auto-orange);
  box-shadow: 0 0 0 4px rgba(239, 106, 58, .08);
}

.hero-workflow-nodes b {
  color: var(--auto-orange);
}

.hero-workflow-nodes strong {
  color: var(--auto-green);
  border-color: var(--auto-green);
}

.hero-workflow-particle {
  position: absolute;
  left: calc(50% - 4px);
  top: 125px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--auto-orange);
  box-shadow: 0 0 17px var(--auto-orange);
  animation: workflow-travel 4.2s 3.5s linear infinite;
}

.automation-intro {
  max-width: 760px;
  margin-bottom: 56px;
}

.automation-intro h2 {
  margin-top: 18px;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

.flow-comparison {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 18px;
}

.traditional-flow,
.intelligent-flow {
  padding: 30px;
  border: 1px solid var(--auto-line);
  display: grid;
  justify-items: center;
  gap: 12px;
}

.traditional-flow {
  color: var(--auto-muted);
  opacity: .5;
}

.flow-comparison small {
  font-size: .64rem;
  letter-spacing: .14em;
}

.flow-comparison strong {
  font: 700 1.1rem var(--font-display);
}

.flow-comparison b {
  color: var(--auto-orange);
}

.intelligent-flow {
  grid-template-columns: repeat(11, auto);
  align-items: center;
  color: var(--auto-blue);
}

.intelligent-flow b {
  align-self: center;
}

.engine-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  align-items: center;
  padding: 40px 0 80px;
}

.engine-line {
  position: absolute;
  top: 78px;
  left: 4%;
  right: 4%;
  border-top: 1px dashed var(--auto-line);
}

.engine-node,
.engine-outcome {
  position: relative;
  z-index: 1;
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--auto-line);
  background: #f3f2ed;
  color: var(--auto-muted);
  font: 700 .68rem var(--font-display);
  text-align: center;
  transition: all .3s;
}

.engine-node.is-engine-active {
  color: var(--auto-ink);
  border-color: var(--auto-orange);
  transform: scale(1.07);
  box-shadow: 0 0 0 5px rgba(239, 106, 58, .08);
}

.engine-outcome {
  grid-column: 1 / -1;
  justify-self: center;
  color: var(--auto-green);
  border-color: var(--auto-green);
  min-width: 140px;
}

.engine-particle {
  position: absolute;
  top: 73px;
  left: 3%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--auto-orange);
  box-shadow: 0 0 16px var(--auto-orange);
  transform: translateX(calc(var(--engine-progress, 0) * 94vw));
}

.systems-network {
  min-height: 500px;
  position: relative;
  display: grid;
  grid-template-columns: .8fr 1fr .7fr;
  align-items: center;
  gap: 35px;
}

.system-cards {
  display: grid;
  gap: 10px;
  z-index: 1;
}

.system-cards button,
.builder-palette button {
  padding: 16px;
  border: 1px solid var(--auto-line);
  background: rgba(255, 255, 255, .45);
  color: var(--auto-ink);
  text-align: left;
  font: 700 .72rem var(--font-display);
  cursor: pointer;
}

.system-cards button:hover,
.system-cards button.is-system-active {
  border-color: var(--auto-orange);
  color: var(--auto-orange);
  transform: translateX(7px);
}

.automation-core {
  width: 230px;
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-content: center;
  justify-items: center;
  border: 1px solid var(--auto-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(239, 106, 58, .05);
  text-align: center;
  z-index: 1;
}

.automation-core small {
  color: var(--auto-orange);
  font-size: .6rem;
}

.automation-core strong {
  font: 700 1.45rem var(--font-display);
}

.automation-core span {
  color: var(--auto-muted);
  font-size: .6rem;
  letter-spacing: .1em;
}

.systems-action {
  justify-self: center;
  padding: 30px 22px;
  border: 1px solid var(--auto-green);
  color: var(--auto-green);
  font: 700 .75rem var(--font-display);
  z-index: 1;
}

.systems-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.systems-svg path {
  fill: none;
  stroke: rgba(239, 106, 58, .45);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
}

.systems-svg circle {
  fill: var(--auto-orange);
  filter: drop-shadow(0 0 6px var(--auto-orange));
}

.decision-tree {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.incoming-event,
.decision-chain,
.decision-split {
  border: 1px solid var(--auto-line);
  padding: 22px;
  text-align: center;
}

.incoming-event {
  border-color: var(--auto-blue);
}

.incoming-event small,
.approval-flow small {
  display: block;
  color: var(--auto-muted);
  font-size: .62rem;
  letter-spacing: .12em;
}

.incoming-event strong {
  display: block;
  margin-top: 10px;
  font: 700 1.4rem var(--font-display);
}

.decision-chain {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--auto-blue);
  font: 700 .75rem var(--font-display);
}

.decision-chain b {
  color: var(--auto-orange);
}

.decision-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-width: min(580px, 100%);
}

.decision-split strong {
  grid-column: 1/-1;
  font: 700 1.1rem var(--font-display);
}

.decision-split span {
  padding: 14px;
  color: var(--auto-green);
  background: rgba(27, 157, 120, .07);
  font-size: .75rem;
}

.decision-split span:last-child {
  color: var(--auto-orange);
  background: rgba(239, 106, 58, .07);
}

.decision-split b {
  display: block;
  margin-bottom: 5px;
}

.healing-console {
  padding: 38px;
}

.normal-path,
.failure-path,
.recovery-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font: 700 .82rem var(--font-display);
}

.normal-path {
  color: var(--auto-green);
}

.failure-path {
  margin: 35px 0 22px;
  color: var(--auto-orange);
}

.failure-path em {
  color: #b42318;
  font-style: normal;
}

.recovery-path {
  color: var(--auto-blue);
}

.healing-console>p {
  max-width: 560px;
  margin: 42px auto 0;
  color: var(--auto-muted);
  text-align: center;
  font-size: 1rem;
}

.approval-flow {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 18px;
}

.approval-decision,
.approval-card {
  padding: 30px;
  border: 1px solid var(--auto-line);
  background: rgba(255, 255, 255, .35);
}

.approval-decision strong,
.approval-card strong {
  display: block;
  margin: 14px 0 22px;
  font: 700 1.5rem var(--font-display);
}

.approval-decision>div {
  display: grid;
  gap: 8px;
}

.approval-decision span {
  padding: 14px;
  color: var(--auto-green);
  background: rgba(27, 157, 120, .08);
  font-size: .7rem;
}

.approval-decision span:last-child {
  color: var(--auto-orange);
  background: rgba(239, 106, 58, .08);
}

.approval-card {
  border-color: var(--auto-blue);
}

.approval-card>div {
  display: flex;
  gap: 8px;
}

.approval-card button {
  flex: 1;
  padding: 12px 6px;
  border: 1px solid var(--auto-line);
  background: transparent;
  cursor: pointer;
  font: 700 .65rem var(--font-display);
}

.approval-card button:hover,
.approval-card button:focus-visible {
  color: white;
  background: var(--auto-blue);
}

.approval-card>b {
  display: block;
  margin-top: 25px;
  color: var(--auto-green);
  font-size: .65rem;
  letter-spacing: .1em;
}

.lead-section,
.monitor-section,
.builder-section,
.automation-use-cases {
  min-height: auto;
}

.lead-timeline {
  max-width: 700px;
  margin: auto;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.lead-timeline span,
.lead-timeline strong {
  padding: 12px 20px;
  border: 1px solid var(--auto-line);
  background: rgba(255, 255, 255, .4);
  font: 700 .74rem var(--font-display);
}

.lead-timeline b {
  color: var(--auto-orange);
}

.lead-timeline strong {
  color: var(--auto-green);
  border-color: var(--auto-green);
}

.workflow-complete {
  margin: 35px auto 0;
  width: fit-content;
  padding: 10px;
  color: var(--auto-green);
  border: 1px solid var(--auto-green);
  font-size: .65rem;
  letter-spacing: .1em;
}

.monitor-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
}

.monitor-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--auto-line);
}

.monitor-metrics article { padding: 26px; background: #ffffff; }

.monitor-metrics small {
  display: block;
  color: var(--auto-muted);
  font-size: .62rem;
  letter-spacing: .1em;
}

.monitor-metrics strong {
  display: block;
  margin-top: 13px;
  color: var(--auto-blue);
  font: 700 2.4rem var(--font-display);
}

.activity-stream {
  padding: 25px;
}

.activity-stream>span { color: #1e293b; font-size: .67rem; font-weight: 700; letter-spacing: .13em; }

.activity-stream p {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--auto-line);
  font-size: .76rem;
}

.activity-stream p b {
  color: var(--auto-muted);
  font-size: .62rem;
  font-weight: 500;
}

.activity-stream small {
  display: block;
  margin-top: 22px;
  color: var(--auto-muted);
  font-size: .58rem;
}

.builder-layout {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  min-height: 400px;
}

.builder-palette {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px;
  border-right: 1px solid var(--auto-line);
}

.builder-palette button {
  text-align: center;
}

.builder-palette button:hover,
.builder-palette button:focus-visible {
  border-color: var(--auto-orange);
  color: var(--auto-orange);
}

.builder-canvas {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 30px;
  border: 0;
  outline: none;
}

.builder-canvas:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(47, 104, 255, .25);
}

.builder-canvas>span,
.builder-canvas>strong {
  padding: 12px 20px;
  border: 1px solid var(--auto-line);
  font: 700 .72rem var(--font-display);
}

.builder-canvas b {
  color: var(--auto-orange);
}

.builder-canvas div {
  display: flex;
  gap: 12px;
}

.builder-canvas div span {
  padding: 10px 18px;
  color: var(--auto-green);
  border: 1px solid var(--auto-green);
  font-size: .7rem;
}

.builder-canvas small {
  margin-top: 20px;
  color: var(--auto-muted);
  font-size: .65rem;
}

.automation-case-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.automation-case-grid article {
  min-height: 210px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--auto-line);
  background: rgba(255, 255, 255, .35);
  transition: transform .3s, border-color .3s, background .3s;
}

.automation-case-grid article:hover {
  transform: translateY(-10px);
  border-color: var(--auto-orange);
  background: rgba(239, 106, 58, .06);
}

.automation-case-grid span,
.automation-case-grid small {
  color: var(--auto-muted);
  font-size: .62rem;
  letter-spacing: .08em;
}

.automation-case-grid strong {
  font: 700 1.1rem var(--font-display);
}

.automation-final {
  min-height: 90vh;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.automation-final h2 {
  margin: 20px 0 34px;
  font-size: clamp(3.2rem, 7.5vw, 7.4rem);
}

.automation-final small {
  margin-top: 54px;
  color: var(--auto-muted);
  font-size: .62rem;
  letter-spacing: .16em;
}

.automation-network-bg {
  position: absolute;
  color: rgba(47, 104, 255, .13);
  font: 700 clamp(1rem, 3vw, 2.2rem) var(--font-display);
  letter-spacing: .08em;
  animation: automation-contract 7s ease-in-out infinite;
}

.automation-network-bg i {
  color: var(--auto-orange);
  font-style: normal;
  margin: 0 12px;
}

@keyframes workflow-travel {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  12%,
  88% {
    opacity: 1;
  }

  100% {
    transform: translateY(350px);
    opacity: 0;
  }
}

@keyframes automation-contract {
  50% {
    transform: scale(.8);
    opacity: .6;
  }
}

@media (max-width: 800px) {
  .automation-experience {
    width: min(100% - 36px, 620px);
  }

  .automation-section {
    min-height: auto;
    padding: 90px 0;
  }

  .automation-hero {
    display: block;
    min-height: calc(100vh - 100px);
  }

  .automation-hero-copy {
    margin-bottom: 50px;
  }

  .workflow-hero-panel {
    min-height: 440px;
  }

  .flow-comparison,
  .approval-flow,
  .monitor-layout,
  .builder-layout {
    grid-template-columns: 1fr;
  }

  .intelligent-flow {
    grid-template-columns: 1fr;
  }

  .intelligent-flow b {
    transform: rotate(90deg);
  }

  .engine-track {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 15%;
  }

  .engine-line {
    left: calc(50% - 1px);
    top: 2%;
    bottom: 8%;
    border-top: 0;
    border-left: 1px dashed var(--auto-line);
  }

  .engine-node {
    min-height: 54px;
  }

  .engine-particle {
    top: 2%;
    left: calc(50% - 4px);
    transform: translateY(calc(var(--engine-progress, 0) * 460px));
  }

  .systems-network {
    min-height: 690px;
    grid-template-columns: 1fr;
  }

  .automation-core {
    width: 190px;
  }

  .systems-action {
    justify-self: center;
  }

  .systems-svg {
    display: none;
  }

  .decision-split {
    min-width: 0;
    width: 100%;
  }

  .healing-console {
    padding: 25px 15px;
  }

  .normal-path,
  .failure-path,
  .recovery-path {
    font-size: .68rem;
    gap: 8px;
  }

  .approval-card>div {
    flex-wrap: wrap;
  }

  .approval-card button {
    min-width: 30%;
  }

  .monitor-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .builder-palette {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    border-right: 0;
    border-bottom: 1px solid var(--auto-line);
  }

  .automation-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .automation-case-grid article:last-child {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.automation-page * {
    animation: none !important;
    transition: none !important;
  }

  .hero-workflow-particle,
  .engine-particle,
  .systems-svg {
    display: none;
  }
}

body.agent-page {
  --agent-ink: #10121a;
  --agent-muted: #687080;
  --agent-line: rgba(16, 18, 26, 0.12);
  --agent-hot: #ee4d2f;
  --agent-blue: #2e62ff;
  --agent-green: #20a477;
  background: #f4f3ef;
  color: var(--agent-ink);
  background-image: linear-gradient(rgba(16, 18, 26, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 18, 26, .035) 1px, transparent 1px);
  background-size: 52px 52px;
}

body.agent-page .site-header {
  border-color: var(--agent-line);
  background: rgba(244, 243, 239, .78);
}

.os-system-layers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
}

.os-layer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  min-width: 70px;
  border-radius: 999px;
  border: 1px solid var(--agent-line);
  color: var(--agent-ink);
  background: rgba(255, 255, 255, .38);
  font: 800 .64rem/1 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.os-layer.ai {
  border-color: var(--agent-hot);
  color: var(--agent-hot);
}

.os-layer.bot {
  border-color: var(--agent-blue);
  color: var(--agent-blue);
}

.os-layer.code {
  border-color: var(--agent-green);
  color: var(--agent-green);
}

.os-layer.workflow {
  border-color: var(--agent-ink);
  color: var(--agent-ink);
}

.os-layer.automate {
  border-color: var(--agent-hot);
  background: rgba(238, 77, 47, .08);
  color: var(--agent-hot);
}

.os-layer.advanced {
  border-color: var(--agent-blue);
  background: rgba(46, 98, 255, .08);
  color: var(--agent-blue);
}

.agent-experience {
  width: min(1280px, calc(100vw - 64px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.agent-section {
  position: relative;
  min-height: 82vh;
  padding: 130px 0;
  border-bottom: 1px solid var(--agent-line);
  overflow: hidden;
}

.agent-page:not(.agent-ready) {
  background-color: #e9e7e5;
}

.agent-page.agent-ready .agent-hero {
  animation: agent-background-in .55s ease both;
}

.agent-page.agent-ready .site-header {
  animation: agent-nav-in .6s .15s ease both;
}

.agent-page.agent-ready .hero-agent-copy .agent-eyebrow {
  animation: agent-rise .55s .4s ease both;
}

.agent-page.agent-ready .hero-agent-copy h1 {
  animation: agent-rise .7s .8s ease both;
}

.agent-page.agent-ready .hero-agent-copy .agent-lead,
.agent-page.agent-ready .hero-agent-copy .hero-actions {
  animation: agent-rise .55s 1.25s ease both;
}

.agent-page.agent-ready .agent-os {
  animation: agent-os-in .8s 1s ease both;
}

.agent-page.agent-ready .os-memory {
  animation: agent-rise .55s 2s ease both;
}

.agent-page.agent-ready .os-outcome {
  animation: agent-rise .55s 3s ease both;
}

@keyframes agent-background-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes agent-nav-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes agent-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes agent-os-in {
  from {
    opacity: 0;
    transform: translateX(28px) scale(.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.agent-hero {
  min-height: calc(100vh - 110px);
  padding-top: 120px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  gap: 80px;
  align-items: center;
}

.agent-eyebrow,
.kicker,
.panel-label,
.section-intro .kicker {
  color: var(--agent-hot);
  font: 800 .68rem/1.2 var(--font-body);
  letter-spacing: .16em;
}

.agent-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
}

.agent-eyebrow span {
  color: var(--agent-green);
}

.agent-eyebrow i,
.panel-label:after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--agent-green);
  content: "";
  box-shadow: 0 0 0 5px rgba(32, 164, 119, .12);
}

.hero-agent-copy h1,
.section-intro h2,
.agent-final h2 {
  margin: 0;
  font: 700 clamp(3rem, 6.5vw, 6.3rem)/.93 var(--font-display);
  letter-spacing: -.055em;
}

.hero-agent-copy h1 em,
.section-intro h2 span,
.agent-final h2 span {
  color: var(--agent-blue);
  font-style: normal;
}

.agent-lead {
  max-width: 500px;
  margin: 28px 0;
  color: var(--agent-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.agent-page .button {
  border-radius: 4px;
}

.agent-os,
.task-console,
.eval-dashboard {
  position: relative;
  border: 1px solid rgba(16, 18, 26, .18);
  background: rgba(255, 255, 255, .43);
  box-shadow: 12px 16px 0 rgba(16, 18, 26, .04);
}

.agent-os {
  min-height: 440px;
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 48px;
}

.panel-label {
  display: flex;
  justify-content: space-between;
  color: var(--agent-ink);
}

.panel-label span {
  color: var(--agent-muted);
  font-weight: 600;
  letter-spacing: .08em;
}

.os-flow {
  display: grid;
  grid-template-columns: 1fr 35px 1fr 35px 1fr;
  align-items: center;
}

.os-flow>i {
  height: 1px;
  background: var(--agent-hot);
  position: relative;
}

.os-flow>i:after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--agent-hot);
}

.os-node {
  min-height: 108px;
  padding: 15px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--agent-line);
  background: #f4f3ef;
  color: var(--agent-muted);
  font: 800 .76rem/1.1 var(--font-display);
}

.os-node.active,
.os-node.brain {
  border-color: var(--agent-hot);
  color: var(--agent-ink);
  box-shadow: inset 0 -3px 0 var(--agent-hot);
}

.os-node b {
  color: var(--agent-hot);
  font: 600 .65rem var(--font-body);
}

.os-node small {
  color: var(--agent-muted);
  font: 500 .65rem var(--font-body);
}

.os-node .brain-status {
  color: var(--agent-blue);
}

.os-memory {
  display: grid;
  grid-template-columns: 12px auto;
  gap: 8px 10px;
  align-items: center;
  padding: 14px;
  border-left: 2px solid var(--agent-blue);
  background: rgba(46, 98, 255, .06);
  font-size: .68rem;
  letter-spacing: .1em;
}

.os-memory small {
  grid-column: 2;
  color: var(--agent-muted);
  font-size: .7rem;
  letter-spacing: 0;
}

.data-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--agent-blue);
  box-shadow: 0 0 0 5px rgba(46, 98, 255, .12);
}

.os-outcome {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--agent-muted);
  font-size: .62rem;
  letter-spacing: .12em;
}

.os-outcome strong {
  color: var(--agent-green);
}

.os-outcome b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--agent-green);
}

.os-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  top: 50%;
  left: 27%;
  border-radius: 50%;
  background: var(--agent-hot);
  box-shadow: 0 0 16px var(--agent-hot);
  animation: agent-particle 4s linear infinite;
}

@keyframes agent-particle {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }

  10%,
  80% {
    opacity: 1;
  }

  100% {
    transform: translate(300px, 90px);
    opacity: 0;
  }
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 0;
  color: var(--agent-muted);
  font-size: .65rem;
  letter-spacing: .16em;
}

.scroll-cue span {
  color: var(--agent-hot);
  margin-left: 10px;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 58px;
}

.section-intro h2 {
  margin-top: 18px;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

.workflow-transform {
  padding: 42px;
  border: 1px solid var(--agent-line);
  background: rgba(255, 255, 255, .35);
}

.workflow-old,
.workflow-new {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  font: 700 clamp(1rem, 2vw, 1.55rem) var(--font-display);
}

.workflow-old {
  color: var(--agent-muted);
  opacity: .6;
  transition: opacity .6s, filter .6s;
}

.workflow-new {
  margin-top: 38px;
  color: var(--agent-blue);
  opacity: .24;
  filter: blur(3px);
  transform: translateY(12px);
  transition: opacity .8s, filter .8s, transform .8s;
}

.workflow-transform.is-active .workflow-old {
  opacity: .15;
  filter: blur(2px);
}

.workflow-transform.is-active .workflow-new {
  opacity: 1;
  filter: none;
  transform: none;
}

.workflow-transform i {
  color: var(--agent-hot);
  font-style: normal;
}

.workflow-transform p {
  margin: 42px 0 0;
  color: var(--agent-muted);
  font-size: .66rem;
  letter-spacing: .15em;
}

.workflow-transform p b {
  color: var(--agent-hot);
  margin: 0 10px;
}

.brain-layout {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) 1fr;
  align-items: center;
  gap: 80px;
  min-height: 450px;
}

.brain-stages {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: brain;
}

.brain-stages li {
  counter-increment: brain;
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--agent-line);
  color: var(--agent-muted);
  font: 700 .85rem var(--font-display);
  opacity: .42;
  transition: all .3s;
}

.brain-stages li:before {
  content: "0" counter(brain);
  color: var(--agent-hot);
  font: 600 .65rem var(--font-body);
}

.brain-stages li.is-active {
  color: var(--agent-ink);
  opacity: 1;
  transform: translateX(10px);
  border-color: var(--agent-hot);
}

.brain-core {
  justify-self: center;
  width: min(290px, 70vw);
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  position: relative;
  border: 1px solid var(--agent-hot);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(238, 77, 47, .05), 0 0 0 56px rgba(238, 77, 47, .025);
}

.brain-core strong {
  font: 700 2.2rem/.85 var(--font-display);
}

.brain-core small {
  margin-top: 20px;
  color: var(--agent-blue);
  font-size: .62rem;
  letter-spacing: .14em;
}

.core-ring {
  position: absolute;
  inset: 20px;
  border: 1px dashed var(--agent-blue);
  border-radius: 50%;
  animation: core-spin 13s linear infinite;
}

@keyframes core-spin {
  to {
    transform: rotate(360deg);
  }
}

.loop-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  padding-left: max(32px, calc((100vw - 1100px) / 2));
  padding-right: max(32px, calc((100vw - 1100px) / 2));
}

.loop-visual {
  display: grid;
  justify-items: center;
}

.loop-orbit {
  position: relative;
  width: min(580px, 76vw);
  aspect-ratio: 1;
  border: 1px solid rgba(46, 98, 255, .55);
  border-radius: 50%;
  box-shadow: inset 0 0 0 34px rgba(46, 98, 255, .035), 0 0 0 1px rgba(238, 77, 47, .2);
}

.loop-orbit:before,
.loop-orbit:after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed var(--agent-line);
  border-radius: 50%;
}

.loop-orbit:after {
  inset: 28%;
  border-color: rgba(238, 77, 47, .3);
}

.loop-label {
  position: absolute;
  padding: 7px 10px;
  border: 1px solid var(--agent-line);
  background: #f4f3ef;
  color: var(--agent-muted);
  font: 700 .67rem var(--font-display);
  transform: translate(-50%, -50%);
  margin: 0;
}

.loop-goal { left: 50%; top: 0%; }
.loop-context { left: 82%; top: 12%; }
.loop-reason { left: 99%; top: 41%; }
.loop-plan { left: 93%; top: 75%; }
.loop-tool { left: 67%; top: 97%; }
.loop-action { left: 33%; top: 97%; }
.loop-observe { left: 7%; top: 75%; }
.loop-verify { left: 1%; top: 41%; }
.loop-complete { left: 18%; top: 12%; }

.loop-particle {
  position: absolute;
  inset: -1px;
  animation: orbit-spin 7s linear infinite;
  pointer-events: none;
}

.loop-particle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--agent-hot);
  box-shadow: 0 0 18px var(--agent-hot);
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

.loop-note {
  margin: 34px 0 0;
  color: var(--agent-muted);
  font-size: .68rem;
  letter-spacing: .14em;
}

.loop-note span {
  color: var(--agent-hot);
  font-size: 1.2rem;
  margin-left: 10px;
}

.tools-network {
  position: relative;
  min-height: 470px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 32px;
}

.tool-list {
  display: grid;
  gap: 10px;
}

.tool-list button,
.review-actions button {
  padding: 16px;
  border: 1px solid var(--agent-line);
  background: rgba(255, 255, 255, .4);
  color: var(--agent-ink);
  text-align: left;
  font: 700 .75rem var(--font-display);
  cursor: pointer;
  transition: all .25s;
}

.tool-list button:hover,
.tool-list button.is-active {
  color: var(--agent-hot);
  border-color: var(--agent-hot);
  transform: translateX(8px);
}

.tool-agent,
.tool-action {
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  border: 1px solid var(--agent-hot);
  border-radius: 50%;
  text-align: center;
}

.tool-agent span {
  color: var(--agent-hot);
  font-size: .65rem;
  letter-spacing: .12em;
}

.tool-agent strong {
  font: 700 2rem var(--font-display);
}

.tool-agent small,
.tool-action span {
  color: var(--agent-muted);
  font-size: .58rem;
  letter-spacing: .12em;
}

.tool-action {
  width: 155px;
  border-color: var(--agent-green);
  border-radius: 0;
  justify-self: center;
}

.tool-action strong {
  color: var(--agent-green);
  font: 700 1.2rem var(--font-display);
}

.tool-lines {
  position: absolute;
  left: 25%;
  right: 25%;
  top: 50%;
  z-index: -1;
  display: grid;
  gap: 47px;
}

.tool-lines i {
  display: block;
  border-top: 1px dashed var(--agent-hot);
}

.memory-system {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.memory-layers {
  display: grid;
  gap: 8px;
}

.memory-layers span {
  padding: 22px;
  border-left: 3px solid var(--agent-blue);
  background: rgba(46, 98, 255, .05);
  font: 700 1rem var(--font-display);
}

.memory-layers span:nth-child(2) {
  margin-left: 22px;
  border-color: var(--agent-hot);
}

.memory-layers span:nth-child(3) {
  margin-left: 44px;
  border-color: var(--agent-green);
}

.memory-layers small {
  display: block;
  margin-top: 7px;
  color: var(--agent-muted);
  font: .72rem var(--font-body);
}

.memory-task {
  display: grid;
  gap: 14px;
  padding: 38px;
  border: 1px solid var(--agent-line);
}

.memory-task small {
  color: var(--agent-muted);
  font-size: .65rem;
  letter-spacing: .12em;
}

.memory-task strong {
  font: 700 clamp(1.4rem, 3vw, 2.4rem) var(--font-display);
}

.memory-task i {
  color: var(--agent-hot);
  font-style: normal;
}

.memory-task .retained {
  color: var(--agent-blue);
}

.memory-task b {
  justify-self: start;
  padding: 8px 10px;
  color: var(--agent-green);
  border: 1px solid var(--agent-green);
  font-size: .66rem;
  letter-spacing: .1em;
}

.task-console {
  max-width: 850px;
  padding: 26px;
}

.task-console-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--agent-line);
  font-size: .67rem;
  letter-spacing: .1em;
}

.task-console-head strong {
  font: 700 1rem var(--font-display);
  letter-spacing: 0;
}

.task-console-head b {
  color: var(--agent-hot);
  font-size: .62rem;
}

.task-steps {
  display: grid;
  gap: 0;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.task-steps li {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  padding: 15px 0;
  border-bottom: 1px solid var(--agent-line);
  font-weight: 600;
  opacity: .35;
}

.task-steps li.is-active {
  opacity: 1;
  color: var(--agent-blue);
}

.task-steps li span {
  color: var(--agent-hot);
  font-size: .7rem;
}

.task-steps li b {
  color: var(--agent-green);
  font-size: .6rem;
  letter-spacing: .1em;
}

.task-complete {
  display: flex;
  justify-content: space-between;
  color: var(--agent-green);
  font: 700 .8rem var(--font-display);
  letter-spacing: .1em;
}

.decision-flow {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.decision-card,
.review-card {
  padding: 30px;
  border: 1px solid var(--agent-line);
  background: rgba(255, 255, 255, .38);
}

.decision-card small,
.review-card small {
  color: var(--agent-muted);
  font-size: .65rem;
  letter-spacing: .12em;
}

.decision-card strong,
.review-card strong {
  display: block;
  margin: 14px 0;
  font: 700 1.5rem var(--font-display);
}

.decision-card p {
  color: var(--agent-muted);
}

.decision-card>div {
  display: grid;
  gap: 8px;
  margin-top: 30px;
}

.decision-card span {
  padding: 12px;
  background: rgba(32, 164, 119, .08);
  color: var(--agent-green);
  font-size: .7rem;
}

.decision-card .high-risk {
  background: rgba(238, 77, 47, .08);
  color: var(--agent-hot);
}

.decision-card b {
  float: right;
}

.review-card {
  border-color: var(--agent-blue);
}

.review-actions {
  display: grid;
  gap: 8px;
  margin-top: 25px;
}

.review-actions button {
  text-align: center;
}

.review-actions button:hover {
  background: var(--agent-blue);
  color: white;
}

.workforce-section,
.evaluation-section,
.use-cases {
  min-height: auto;
}

.workforce-network {
  display: grid;
  justify-items: center;
  gap: 26px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(46, 98, 255, .05), transparent);
}

.orchestrator,
.shared-memory,
.business-systems {
  padding: 18px 30px;
  border: 1px solid var(--agent-hot);
  font: 700 .75rem var(--font-display);
}

.specialists {
  width: min(700px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}

.specialists span {
  padding: 25px 12px;
  border: 1px solid var(--agent-blue);
  text-align: center;
  font: 700 .75rem var(--font-display);
}

.shared-memory {
  border-color: var(--agent-blue);
}

.business-systems {
  border-color: var(--agent-green);
  color: var(--agent-green);
}

.eval-dashboard {
  display: grid;
  grid-template-columns: .6fr 1.4fr;
  min-height: 300px;
}

.eval-runs,
.eval-metrics {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
}

.eval-runs {
  border-right: 1px solid var(--agent-line);
}

.eval-runs span,
.eval-runs b {
  padding: 10px;
  font-size: .7rem;
}

.eval-runs b {
  font-weight: 500;
  color: var(--agent-muted);
}

.eval-metrics span {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid var(--agent-line);
  font-size: .72rem;
}

.eval-metrics b {
  color: var(--agent-blue);
}

.eval-metrics small {
  margin-top: 15px;
  color: var(--agent-muted);
  font-size: .6rem;
  letter-spacing: .1em;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.use-case-grid article {
  min-height: 230px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--agent-line);
  background: rgba(255, 255, 255, .35);
  transition: transform .3s, background .3s, border-color .3s;
}

.use-case-grid article:hover {
  transform: translateY(-12px);
  border-color: var(--agent-hot);
  background: rgba(238, 77, 47, .07);
}

.use-case-grid span,
.use-case-grid small {
  color: var(--agent-muted);
  font-size: .64rem;
  letter-spacing: .1em;
}

.use-case-grid strong {
  font: 700 1.3rem var(--font-display);
}

.agent-final {
  min-height: 90vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.agent-final h2 {
  margin: 20px 0 35px;
  font-size: clamp(3.4rem, 8vw, 8rem);
}

.final-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 35px;
  color: var(--agent-muted);
  font: 700 .72rem var(--font-display);
}

.final-flow i {
  color: var(--agent-hot);
  font-style: normal;
}

.final-flow strong {
  color: var(--agent-green);
}

.agent-final small {
  margin-top: 55px;
  color: var(--agent-muted);
  font-size: .62rem;
  letter-spacing: .18em;
}

.final-network {
  position: absolute;
  inset: 12% 10%;
  opacity: .2;
  background: radial-gradient(circle at 25% 35%, var(--agent-blue) 0 2px, transparent 3px), radial-gradient(circle at 70% 60%, var(--agent-hot) 0 2px, transparent 3px);
  background-size: 130px 110px;
  pointer-events: none;
  animation: network-shift 8s linear infinite;
}

.agent-final>*:not(.final-network) {
  position: relative;
  z-index: 1;
}

@keyframes network-shift {
  to {
    transform: translate(20px, -12px);
  }
}

@media (max-width: 800px) {
  .agent-experience {
    width: min(100% - 36px, 620px);
  }

  .agent-section {
    padding: 90px 0;
    min-height: auto;
  }

  .agent-hero,
  .loop-section {
    display: block;
    min-height: calc(100vh - 100px);
  }

  .hero-agent-copy {
    margin-bottom: 52px;
  }

  .agent-os {
    min-height: 380px;
    padding: 18px;
  }

  .os-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .os-flow>i {
    width: 1px;
    height: 20px;
    margin-left: 20px;
  }

  .os-flow>i:after {
    top: auto;
    right: auto;
    bottom: -4px;
    border-left-color: transparent;
    border-top-color: var(--agent-hot);
  }

  .os-node {
    min-height: 70px;
  }

  .scroll-cue {
    display: none;
  }

  .workflow-transform {
    padding: 24px;
  }

  .workflow-old,
  .workflow-new {
    gap: 9px;
    font-size: .82rem;
  }

  .workflow-transform i {
    font-size: .8rem;
  }

  .brain-layout,
  .memory-system,
  .decision-flow,
  .eval-dashboard {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .brain-core {
    width: 220px;
  }

  .loop-visual {
    margin-top: 40px;
  }

  .loop-orbit {
    width: min(88vw, 420px);
  }

  .tools-network {
    min-height: 600px;
    grid-template-columns: 1fr 1fr;
  }

  .tool-agent {
    width: 180px;
    justify-self: center;
  }

  .tool-action {
    width: 120px;
  }

  .tool-lines {
    left: 42%;
    right: 42%;
    top: 35%;
    gap: 90px;
    transform: rotate(90deg);
  }

  .specialists {
    gap: 7px;
  }

  .specialists span {
    padding: 16px 5px;
    font-size: .62rem;
  }

  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .use-case-grid article:last-child {
    grid-column: span 2;
  }

  .task-console-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .eval-runs {
    border-right: 0;
    border-bottom: 1px solid var(--agent-line);
  }

  .agent-final h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.agent-page * {
    animation: none !important;
    transition: none !important;
  }

  .workflow-transform .workflow-old {
    opacity: .25;
  }

  .workflow-transform .workflow-new {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .agent-section {
    opacity: 1 !important;
    transform: none !important;
  }
}

body.architecture-spec-page .architecture-spec {
  padding-top: 18px;
  padding-bottom: 42px;
}

body.architecture-spec-page .diagram-container,
body.architecture-spec-page .protocol-section,
body.architecture-spec-page .spec-cta {
  margin-top: 28px;
}

body.architecture-spec-page .diagram-container {
  padding: 26px 24px 20px;
  border-radius: 22px;
}

body.architecture-spec-page .diagram-title {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  letter-spacing: -0.04em;
}

body.architecture-spec-page .flow-nodes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  row-gap: 10px;
}

body.architecture-spec-page .node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.14);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.architecture-spec-page .arrow {
  font-size: 1.2rem;
  font-weight: 700;
  color: #7c3aed;
}

body.architecture-spec-page .protocol-table-wrap {
  border-radius: 18px;
  overflow-x: auto;
  margin-top: 18px;
}

body.architecture-spec-page .protocol-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

body.architecture-spec-page .protocol-table thead th {
  padding: 16px 18px;
  text-align: left;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.architecture-spec-page .protocol-table tbody td {
  padding: 18px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  vertical-align: top;
  font-size: 0.97rem;
  line-height: 1.65;
}

/* Page 04: Multi-Agent Workforce */
body.workforce-page {
  --wf-ink: #f5f7fb;
  --wf-muted: #98a2b3;
  --wf-line: rgba(245, 247, 251, .14);
  --wf-cyan: #4dd9c0;
  --wf-blue: #6790ff;
  --wf-orange: #ff8b5e;
  background: #0b1018;
  color: var(--wf-ink);
  background-image: linear-gradient(rgba(103, 144, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(103, 144, 255, .045) 1px, transparent 1px);
  background-size: 54px 54px;
}

body.workforce-page .site-header {
  background: rgba(11, 16, 24, .72);
  border-color: var(--wf-line);
  color: var(--wf-ink);
}

.workforce-experience {
  width: min(1280px, calc(100vw - 64px));
  margin: auto;
  position: relative;
  z-index: 1;
}

.workforce-section {
  min-height: 78vh;
  padding: 130px 0;
  border-bottom: 1px solid var(--wf-line);
  position: relative;
  overflow: hidden;
}

.workforce-hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 70px;
  padding-top: 120px;
}

.workforce-eyebrow,
.workforce-kicker,
.workforce-panel-label {
  color: var(--wf-cyan);
  font: 800 .68rem/1.2 var(--font-body);
  letter-spacing: .15em;
}

.workforce-eyebrow {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.workforce-eyebrow span,
.workforce-panel-label span {
  color: var(--wf-orange);
}

.workforce-eyebrow i,
.workforce-panel-label i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--wf-orange);
  box-shadow: 0 0 0 5px rgba(255, 139, 94, .13);
}

.workforce-hero h1,
.workforce-intro h2,
.workforce-final h2 {
  margin: 0;
  font: 700 clamp(3rem, 6.4vw, 6.2rem)/.93 var(--font-display);
  letter-spacing: -.055em;
}

.workforce-hero h1 em,
.workforce-intro h2 span,
.workforce-final h2 span {
  color: var(--wf-cyan);
  font-style: normal;
}

.workforce-lead,
.workforce-final>p {
  max-width: 520px;
  margin: 28px 0;
  color: var(--wf-muted);
  font-size: 1.05rem;
}

.workforce-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.workforce-page .button {
  border-radius: 4px;
}

.orchestrator-visual,
.delegation-console,
.control-room,
.scenario-console {
  position: relative;
  border: 1px solid var(--wf-line);
  background: rgba(21, 30, 44, .72);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}

.orchestrator-visual {
  min-height: 530px;
  padding: 24px;
}

.workforce-panel-label {
  display: flex;
  justify-content: space-between;
  color: var(--wf-ink);
}

.workforce-panel-label span {
  font-weight: 600;
}

.orchestrator-core {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 180px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-content: center;
  justify-items: center;
  border: 1px solid var(--wf-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(77, 217, 192, .05), 0 0 40px rgba(77, 217, 192, .16);
  text-align: center;
  z-index: 2;
}

.orchestrator-core small {
  color: var(--wf-cyan);
  font-size: .6rem;
}

.orchestrator-core strong {
  font: 700 1.2rem var(--font-display);
}

.orchestrator-core span {
  color: var(--wf-muted);
  font-size: .58rem;
  letter-spacing: .1em;
}

.workforce-agent {
  position: absolute;
  z-index: 2;
  min-width: 108px;
  padding: 14px 10px;
  border: 1px solid var(--wf-blue);
  background: #111a28;
  color: var(--wf-ink);
  text-align: center;
  font: 700 .67rem var(--font-display);
  transition: .3s;
}

.workforce-agent small {
  display: block;
  margin-top: 5px;
  color: var(--wf-muted);
  font: 500 .58rem var(--font-body);
}

.workforce-agent:hover {
  color: var(--wf-cyan);
  border-color: var(--wf-cyan);
  transform: scale(1.06);
}

.research {
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
}

.sales {
  left: 7%;
  top: 44%;
}

.support {
  right: 7%;
  top: 44%;
}

.operations {
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
}

.data {
  left: 50%;
  bottom: 3%;
  transform: translateX(-50%);
}

.agent-network-lines {
  position: absolute;
  inset: 17% 14% 13%;
  background: linear-gradient(90deg, transparent 49.8%, rgba(77, 217, 192, .4) 50%, transparent 50.2%), linear-gradient(0deg, transparent 49.8%, rgba(77, 217, 192, .4) 50%, transparent 50.2%);
  opacity: .6;
}

.agent-network-lines:after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(77, 217, 192, .35);
  border-radius: 50%;
  animation: workforce-orbit 7s linear infinite;
}

.shared-memory-badge {
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  color: var(--wf-muted);
  font-size: .62rem;
  letter-spacing: .1em;
  white-space: nowrap;
}

.shared-memory-badge b {
  color: var(--wf-cyan);
  margin: 0 7px;
}

.workforce-intro {
  max-width: 760px;
  margin-bottom: 56px;
}

.workforce-intro h2 {
  margin-top: 18px;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

.single-vs-multi {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 18px;
}

.single-agent,
.multi-agent-diagram {
  padding: 40px;
  border: 1px solid var(--wf-line);
  display: grid;
  justify-items: center;
  gap: 14px;
}

.single-agent {
  color: var(--wf-muted);
}

.single-vs-multi small {
  color: var(--wf-muted);
  font-size: .63rem;
  letter-spacing: .12em;
}

.single-vs-multi strong {
  font: 700 1.4rem var(--font-display);
}

.single-vs-multi b {
  color: var(--wf-orange);
}

.multi-agent-diagram {
  color: var(--wf-cyan);
}

.multi-agent-diagram>div {
  display: flex;
  gap: 10px;
}

.multi-agent-diagram>div span {
  padding: 12px;
  border: 1px solid var(--wf-blue);
  color: var(--wf-ink);
  font-size: .65rem;
}

.multi-agent-diagram em {
  color: var(--wf-orange);
  font-style: normal;
  font: 700 .8rem var(--font-display);
}

.orchestration-flow,
.governance-flow {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 700px;
  margin: auto;
}

.orchestration-flow span,
.orchestration-flow strong,
.governance-flow span,
.governance-flow strong {
  min-width: 220px;
  padding: 15px;
  border: 1px solid var(--wf-line);
  background: rgba(21, 30, 44, .7);
  color: var(--wf-muted);
  text-align: center;
  font: 700 .72rem var(--font-display);
}

.orchestration-flow strong,
.governance-flow strong {
  color: var(--wf-cyan);
  border-color: var(--wf-cyan);
}

.orchestration-flow b,
.governance-flow b {
  color: var(--wf-orange);
}

.specialist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.specialist-grid article {
  min-height: 220px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--wf-line);
  background: rgba(21, 30, 44, .62);
  transition: .3s;
}

.specialist-grid article:hover,
.specialist-grid article.is-connected {
  border-color: var(--wf-cyan);
  background: rgba(77, 217, 192, .08);
  transform: translateY(-8px);
}

.specialist-grid span,
.specialist-grid small {
  color: var(--wf-muted);
  font-size: .62rem;
  letter-spacing: .1em;
}

.specialist-grid strong {
  font: 700 1.15rem var(--font-display);
}

.specialist-grid p {
  color: var(--wf-muted);
  font-size: .85rem;
}

.memory-network {
  display: grid;
  grid-template-columns: .7fr 1fr .6fr;
  align-items: center;
  gap: 24px;
}

.memory-agent-stack {
  display: grid;
  gap: 8px;
}

.memory-agent-stack span,
.shared-context-core,
.business-context {
  padding: 17px;
  border: 1px solid var(--wf-line);
  background: rgba(21, 30, 44, .7);
  text-align: center;
  font: 700 .7rem var(--font-display);
}

.shared-context-core {
  padding: 34px 22px;
  border-color: var(--wf-cyan);
}

.shared-context-core strong {
  display: block;
  color: var(--wf-cyan);
  font: 700 1.3rem var(--font-display);
}

.shared-context-core small {
  display: block;
  margin-top: 16px;
  color: var(--wf-muted);
  font: 500 .68rem/1.7 var(--font-body);
}

.business-context {
  border-color: var(--wf-orange);
  color: var(--wf-orange);
}

.communication-feed {
  max-width: 650px;
  margin: auto;
  display: grid;
  justify-items: center;
  gap: 9px;
}

.communication-feed article {
  width: 100%;
  padding: 17px 20px;
  border: 1px solid var(--wf-line);
  background: rgba(21, 30, 44, .7);
}

.communication-feed article span {
  color: var(--wf-cyan);
  font-size: .63rem;
  letter-spacing: .1em;
}

.communication-feed article p {
  margin: 7px 0 0;
  color: var(--wf-muted);
}

.communication-feed>b {
  color: var(--wf-orange);
}

.communication-final {
  border-color: var(--wf-cyan) !important;
}

.delegation-console {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 20px;
  padding: 25px;
}

.delegation-objective {
  align-self: start;
  padding: 20px;
  border: 1px solid var(--wf-orange);
}

.delegation-objective small {
  color: var(--wf-orange);
  font-size: .62rem;
}

.delegation-objective strong {
  display: block;
  margin-top: 14px;
  font: 700 1.3rem var(--font-display);
}

.delegation-list p {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--wf-line);
  color: var(--wf-muted);
  font-size: .78rem;
}

.delegation-list b {
  color: var(--wf-cyan);
  font-size: .64rem;
}

.parallel-flow {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.parallel-flow>span,
.parallel-flow>strong {
  min-width: 190px;
  padding: 14px 20px;
  border: 1px solid var(--wf-line);
  text-align: center;
  font: 700 .72rem var(--font-display);
}

.parallel-flow>strong {
  color: var(--wf-cyan);
  border-color: var(--wf-cyan);
}

.parallel-flow>b {
  color: var(--wf-orange);
}

.parallel-agents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.parallel-agents span {
  padding: 18px 24px;
  border: 1px solid var(--wf-blue);
  color: var(--wf-blue);
  font: 700 .68rem var(--font-display);
}

.governance-rules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
}

.governance-rules span {
  padding: 11px 14px;
  border: 1px solid var(--wf-line);
  color: var(--wf-muted);
  font-size: .64rem;
}

.control-room {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  background: #101823;
}

.control-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--wf-line);
}

.control-metrics article {
  padding: 28px;
  background: #101823;
}

.control-metrics small {
  color: var(--wf-muted);
  font-size: .6rem;
}

.control-metrics strong {
  display: block;
  margin-top: 12px;
  color: var(--wf-cyan);
  font: 700 2.5rem var(--font-display);
}

.control-feed {
  padding: 25px;
}

.control-feed>span {
  color: var(--wf-orange);
  font-size: .62rem;
  letter-spacing: .1em;
}

.control-feed p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--wf-line);
  color: var(--wf-muted);
  font-size: .75rem;
}

.control-feed b {
  color: var(--wf-ink);
  font-weight: 500;
}

.control-feed small {
  display: block;
  margin-top: 20px;
  color: var(--wf-muted);
  font-size: .57rem;
}

.scenario-console {
  padding: 30px;
}

.scenario-objective {
  max-width: 500px;
  padding: 20px;
  border: 1px solid var(--wf-orange);
}

.scenario-objective small {
  color: var(--wf-orange);
  font-size: .6rem;
}

.scenario-objective strong {
  display: block;
  margin-top: 10px;
  font: 700 1.2rem var(--font-display);
}

.scenario-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 45px 0;
}

.scenario-steps>span,
.scenario-steps>strong {
  padding: 14px;
  border: 1px solid var(--wf-line);
  color: var(--wf-cyan);
  font: 700 .68rem var(--font-display);
}

.scenario-steps small {
  display: block;
  margin-top: 5px;
  color: var(--wf-muted);
  font: 500 .58rem var(--font-body);
}

.scenario-steps>b {
  color: var(--wf-orange);
}

.qualified-opportunity {
  width: fit-content;
  margin: auto;
  padding: 12px;
  border: 1px solid var(--wf-cyan);
  color: var(--wf-cyan);
  font: 700 .68rem var(--font-display);
}

.workforce-final {
  min-height: 90vh;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.workforce-final h2 {
  margin: 20px 0 20px;
  font-size: clamp(3.2rem, 7.5vw, 7.4rem);
}

.workforce-final>p {
  margin: 0 auto 30px;
}

.workforce-final small {
  margin-top: 55px;
  color: var(--wf-muted);
  font-size: .62rem;
  letter-spacing: .15em;
}

.workforce-final-network {
  position: absolute;
  color: rgba(77, 217, 192, .16);
  font: 700 clamp(1rem, 3vw, 2rem) var(--font-display);
  text-align: center;
  line-height: 2.2;
  animation: workforce-contract 7s ease-in-out infinite;
}

.workforce-final-network i {
  color: var(--wf-orange);
  font-style: normal;
  margin: 0 10px;
}

@keyframes workforce-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes workforce-contract {
  50% {
    transform: scale(.82);
    opacity: .55;
  }
}

@media (max-width:800px) {
  .workforce-experience {
    width: min(100% - 36px, 620px);
  }

  .workforce-section {
    min-height: auto;
    padding: 90px 0;
  }

  .workforce-hero {
    display: block;
    min-height: calc(100vh - 100px);
  }

  .workforce-hero-copy {
    margin-bottom: 50px;
  }

  .orchestrator-visual {
    min-height: 520px;
  }

  .workforce-agent {
    min-width: 88px;
    font-size: .6rem;
  }

  .sales {
    left: 0;
  }

  .support {
    right: 0;
  }

  .memory-network,
  .single-vs-multi,
  .delegation-console,
  .control-room {
    grid-template-columns: 1fr;
  }

  .specialist-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .multi-agent-diagram>div {
    flex-wrap: wrap;
    justify-content: center;
  }

  .delegation-list {
    margin-top: 15px;
  }

  .parallel-agents {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .control-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .scenario-steps {
    display: grid;
  }

  .scenario-steps>b {
    transform: rotate(90deg);
  }

  .workforce-final h2 {
    font-size: clamp(3rem, 13vw, 5rem);
  }
}

@media (prefers-reduced-motion:reduce) {
  body.workforce-page * {
    animation: none !important;
    transition: none !important;
  }
}

body.workforce-page .is-agent-active,
.workforce-page .is-agent-processing {
  border-color: var(--wf-cyan);
  box-shadow: 0 0 0 4px rgba(77, 217, 192, .08);
}

.workforce-page .is-agent-success {
  border-color: var(--wf-cyan);
  color: var(--wf-cyan);
}

.orchestration-flow .is-orchestration-active {
  color: var(--wf-ink);
  border-color: var(--wf-cyan);
  box-shadow: 0 0 0 4px rgba(77, 217, 192, .07);
}

.communication-feed .is-message-active {
  border-color: var(--wf-orange);
  transform: translateX(8px);
}

.memory-network.is-memory-active .shared-context-core {
  box-shadow: 0 0 0 8px rgba(77, 217, 192, .08);
}

.control-room.is-live {
  border-color: var(--wf-cyan);
}

.workforce-ready .workforce-hero {
  animation: workforce-fade .65s ease both;
}

.workforce-page .orchestrator-core,
.workforce-page .workforce-agent {
  opacity: .35;
}

.workforce-page .is-orchestrator-entering {
  opacity: 1;
  animation: orchestrator-pulse 1.5s ease-in-out infinite;
}

.workforce-page .is-agent-entering {
  opacity: 1;
  animation: agent-enter .65s ease both;
}

.workforce-page.is-network-live .agent-network-lines {
  opacity: 1;
}

.specialist-grid article.is-specialist-working {
  border-color: var(--wf-cyan);
  box-shadow: 0 0 0 4px rgba(77, 217, 192, .06);
}

.specialist-grid article.is-specialist-working:after {
  content: "WORKING";
  color: var(--wf-cyan);
  font-size: .58rem;
  letter-spacing: .12em;
}

.parallel-agents span.is-parallel-working {
  color: var(--wf-ink);
  border-color: var(--wf-cyan);
  box-shadow: 0 0 15px rgba(77, 217, 192, .13);
}

.parallel-section.is-synthesis-complete .parallel-flow>span:last-of-type {
  color: var(--wf-cyan);
  border-color: var(--wf-cyan);
}

.delegation-list p.is-delegated {
  color: var(--wf-ink);
  background: rgba(77, 217, 192, .07);
  padding-left: 10px;
}

.governance-section.is-governance-live .governance-flow span {
  border-color: var(--wf-cyan);
}

.scenario-steps .is-scenario-active {
  color: var(--wf-ink);
  border-color: var(--wf-cyan);
  box-shadow: 0 0 0 4px rgba(77, 217, 192, .06);
}

.workforce-network-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.workforce-network-svg .workforce-connection {
  fill: none;
  stroke: rgba(77, 217, 192, .42);
  stroke-width: 1.5;
  stroke-dasharray: 7 8;
  opacity: .4;
  transition: opacity .3s, stroke .3s;
}

.workforce-network-svg .workforce-particle {
  fill: var(--wf-orange);
  filter: drop-shadow(0 0 5px var(--wf-orange));
}

.agent-network-lines.is-paused .workforce-particle {
  animation-play-state: paused;
}

.workforce-page [data-agent-state="EXECUTING"],
.workforce-page [data-agent-state="COMMUNICATING"] {
  border-color: var(--wf-orange);
  box-shadow: 0 0 0 4px rgba(255, 139, 94, .08);
}

.workforce-page [data-agent-state="COMPLETED"],
.workforce-page [data-agent-state="APPROVED"] {
  border-color: var(--wf-cyan);
  color: var(--wf-cyan);
}

.workforce-page [data-agent-state="ERROR"] {
  border-color: #ef4444;
  color: #fca5a5;
}

.workforce-page [data-agent-state="RECOVERING"] {
  border-color: var(--wf-blue);
  color: var(--wf-blue);
}

@keyframes workforce-fade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes agent-enter {
  from {
    opacity: 0;
    transform: scale(.72)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

@keyframes orchestrator-pulse {
  50% {
    box-shadow: 0 0 0 36px rgba(77, 217, 192, .08), 0 0 55px rgba(77, 217, 192, .2)
  }
}

@media (max-width:800px) {

  body.workforce-page .workforce-agent.operations,
  body.workforce-page .workforce-agent.data {
    display: none;
  }

  body.workforce-page .agent-network-lines {
    inset: 18% 8% 24%;
  }
}

/* Compact CTA workflow panel */
.cta-panel {
  position: relative;
  overflow: hidden;
}

.ai-discovery {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
}

.ai-discovery>.architecture-label {
  margin: 0 0 10px;
  color: #9ca3af;
  font-size: .56rem;
  letter-spacing: .12em;
}

.discovery-grid {
  display: grid;
  gap: 5px;
}

.discovery-grid article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 7px;
  align-items: baseline;
  color: #f9fafb;
}

.discovery-grid article span {
  color: #9ca3af;
  font-size: .48rem;
  letter-spacing: .05em;
}

.discovery-grid article strong {
  font-size: .55rem;
}

.discovery-grid article p {
  grid-column: 2;
  margin: -4px 0 2px;
  color: #9ca3af;
  font-size: .48rem;
  line-height: 1.2;
}

.blueprint-flow {
  margin-top: 13px;
  padding: 9px 14px;
  border-radius: 9px;
  background: #d7d9dd;
  color: #1f2937;
  text-align: center;
}

.blueprint-flow .architecture-label {
  margin: 0 0 5px;
  color: #687080;
  font-size: .46rem;
}

.blueprint-flow .ascii-flow {
  margin: 0;
  color: #374151;
  font-size: .48rem;
  line-height: 1.35;
  white-space: pre-wrap;
}

.cta-copy h2 {
  color: #fff;
}

.cta-description {
  color: #9ca3af;
  font-size: .7rem;
  line-height: 1.45;
}

.cta-panel .contact-toggle {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 7px;
  color: #94a3b8;
  font-size: .62rem;
}

@media (max-width:720px) {
  .cta-panel {
    grid-template-columns: .8fr 1.2fr;
    gap: 14px;
    padding: 24px 12px;
    align-items: start;
  }

  .cta-copy h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    line-height: .95;
  }

  .cta-copy .kicker {
    font-size: .48rem;
  }

  .cta-description {
    font-size: .56rem;
  }

  .ai-discovery {
    padding: 11px 8px;
  }

  .ai-discovery>.architecture-label {
    font-size: .44rem;
  }

  .discovery-grid article {
    grid-template-columns: 40px 1fr;
    gap: 4px;
  }

  .discovery-grid article span,
  .discovery-grid article p {
    font-size: .4rem;
  }

  .discovery-grid article strong {
    font-size: .46rem;
  }

  .blueprint-flow {
    padding: 7px 5px;
  }

  .blueprint-flow .ascii-flow {
    font-size: .38rem;
  }

  .cta-panel .contact-links-wrap {
    grid-column: 1 / -1;
  }

  .cta-panel .contact-toggle {
    margin-top: 4px;
  }

  .site-footer {
    padding: 28px 18px;
    text-align: center;
  }

  .site-footer .footer-links {
    flex-wrap: wrap;
    gap: 10px 14px !important;
  }

  .site-footer .footer-phones {
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: .65rem;
  }

  .site-footer .footer-tagline {
    font-size: .65rem !important;
  }
}

/* Shared light visual direction from the Page 02/03 references */
body.workforce-page {
  --wf-ink: #111827;
  --wf-muted: #687080;
  --wf-line: rgba(17, 24, 39, .13);
  --wf-cyan: #2f68ff;
  --wf-blue: #6482ff;
  --wf-orange: #ef5b33;
  background: #f8f7fc;
  color: var(--wf-ink);
  background-image: linear-gradient(rgba(17, 24, 39, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 24, 39, .035) 1px, transparent 1px);
  background-size: 52px 52px;
}

body.workforce-page .site-header {
  background: rgba(255, 255, 255, .78);
  color: var(--wf-ink);
  border-color: var(--wf-line);
  box-shadow: 0 12px 28px rgba(17, 24, 39, .06);
}

body.workforce-page .orchestrator-visual,
body.workforce-page .delegation-console,
body.workforce-page .control-room,
body.workforce-page .scenario-console,
body.workforce-page .specialist-grid article,
body.workforce-page .single-agent,
body.workforce-page .multi-agent-diagram,
body.workforce-page .memory-agent-stack span,
body.workforce-page .shared-context-core,
body.workforce-page .business-context,
body.workforce-page .communication-feed article,
body.workforce-page .orchestration-flow span,
body.workforce-page .orchestration-flow strong,
body.workforce-page .governance-flow span,
body.workforce-page .governance-flow strong {
  background: rgba(255, 255, 255, .62);
  color: var(--wf-ink);
  box-shadow: 0 12px 26px rgba(17, 24, 39, .035);
}

body.workforce-page .orchestrator-visual {
  background: rgba(255, 255, 255, .5);
}

.workforce-page .workforce-agent {
  background: #f8f7fc;
  color: var(--wf-ink);
}

.workforce-page .orchestrator-core {
  background: rgba(255, 255, 255, .7);
  color: var(--wf-ink);
}

.workforce-page .orchestrator-core span,
.workforce-page .workforce-agent small,
.workforce-page .shared-memory-badge,
.workforce-page .single-agent,
.workforce-page .specialist-grid p,
.workforce-page .shared-context-core small,
.workforce-page .delegation-list p,
.workforce-page .control-feed p {
  color: var(--wf-muted);
}

.workforce-page .control-room {
  background: rgba(255, 255, 255, .8);
}

.workforce-page .control-metrics article {
  background: rgba(255, 255, 255, .72);
}

.workforce-page .control-feed {
  background: rgba(255, 255, 255, .5);
}

.workforce-page .control-feed b {
  color: var(--wf-ink);
}

.workforce-page .parallel-flow>span,
.workforce-page .parallel-flow>strong,
.workforce-page .governance-rules span,
.workforce-page .scenario-steps>span,
.workforce-page .scenario-steps>strong {
  background: rgba(255, 255, 255, .62);
  color: var(--wf-ink);
}

.workforce-page .workforce-panel-label {
  color: var(--wf-ink);
}

.workforce-page .agent-network-lines {
  background: linear-gradient(90deg, transparent 49.8%, rgba(47, 104, 255, .32) 50%, transparent 50.2%), linear-gradient(0deg, transparent 49.8%, rgba(47, 104, 255, .32) 50%, transparent 50.2%);
}

.workforce-page .workforce-final {
  background: transparent;
}

.workforce-page .workforce-final-network {
  color: rgba(47, 104, 255, .16);
}

/* Page 03: AI Automation */
body.automation-page {
  --auto-ink: #11151b;
  --auto-muted: #68717d;
  --auto-line: rgba(17, 21, 27, .14);
  --auto-orange: #ef6a3a;
  --auto-blue: #2f68ff;
  --auto-green: #1b9d78;
  background: #f3f2ed;
  color: var(--auto-ink);
  background-image: linear-gradient(rgba(17, 21, 27, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 21, 27, .035) 1px, transparent 1px);
  background-size: 52px 52px;
}

body.automation-page [data-workflow-state] {
  transition: border-color .3s ease, color .3s ease, box-shadow .3s ease, opacity .3s ease;
}

body.automation-page .workflow-state-idle {
  opacity: .55;
}

body.automation-page .workflow-state-active,
.automation-page .workflow-state-processing {
  border-color: var(--auto-orange);
  box-shadow: 0 0 0 4px rgba(239, 106, 58, .08);
}

body.automation-page .workflow-state-success {
  border-color: var(--auto-green);
  color: var(--auto-green);
}

body.automation-page .workflow-state-error {
  border-color: #b42318;
  color: #b42318;
}

body.automation-page .workflow-state-waiting {
  border-style: dashed;
  opacity: .7;
}

body.automation-page .workflow-state-recovery {
  border-color: var(--auto-blue);
  color: var(--auto-blue);
}

.automation-case-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

body.automation-page .site-header {
  background: rgba(243, 242, 237, .82);
  border-color: var(--auto-line);
}

.automation-experience {
  width: min(1280px, calc(100vw - 64px));
  margin: auto;
  position: relative;
  z-index: 1;
}

.automation-section {
  min-height: 78vh;
  padding: 130px 0;
  border-bottom: 1px solid var(--auto-line);
  position: relative;
  overflow: hidden;
}

.automation-hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 70px;
  padding-top: 120px;
}

.automation-eyebrow,
.automation-kicker,
.automation-panel-label {
  color: var(--auto-orange);
  font: 800 .68rem/1.2 var(--font-body);
  letter-spacing: .15em;
}

.automation-eyebrow {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.automation-eyebrow span,
.automation-panel-label span {
  color: var(--auto-green);
}

.automation-eyebrow i,
.automation-panel-label i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--auto-green);
}

.automation-hero h1,
.automation-intro h2,
.automation-final h2 {
  margin: 0;
  font: 700 clamp(3rem, 6.4vw, 6.2rem)/.93 var(--font-display);
  letter-spacing: -.055em;
}

.automation-hero h1 em,
.automation-intro h2 span,
.automation-final h2 span {
  color: var(--auto-blue);
  font-style: normal;
}

.automation-lead {
  max-width: 500px;
  margin: 28px 0;
  color: var(--auto-muted);
  font-size: 1.05rem;
}

.automation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.automation-page .button {
  border-radius: 4px;
}

.workflow-hero-panel,
.healing-console,
.monitor-layout,
.builder-layout {
  border: 1px solid var(--auto-line);
  background: rgba(255, 255, 255, .42);
  box-shadow: 12px 16px 0 rgba(17, 21, 27, .035);
}

.workflow-hero-panel {
  min-height: 520px;
  padding: 24px;
  position: relative;
}

.automation-panel-label {
  display: flex;
  justify-content: space-between;
  color: var(--auto-ink);
}

.hero-workflow-nodes {
  display: grid;
  justify-items: center;
  gap: 9px;
  margin: 30px auto;
}

.hero-workflow-nodes span,
.hero-workflow-nodes strong {
  min-width: 210px;
  padding: 13px 18px;
  border: 1px solid var(--auto-line);
  background: #f3f2ed;
  color: var(--auto-muted);
  font: 700 .8rem var(--font-display);
  text-align: center;
  transition: .35s;
}

.hero-workflow-nodes .is-workflow-active {
  color: var(--auto-ink);
  border-color: var(--auto-orange);
  box-shadow: 0 0 0 4px rgba(239, 106, 58, .08);
}

.hero-workflow-nodes b {
  color: var(--auto-orange);
}

.hero-workflow-nodes strong {
  color: var(--auto-green);
  border-color: var(--auto-green);
}

.hero-workflow-particle {
  position: absolute;
  left: calc(50% - 4px);
  top: 125px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--auto-orange);
  box-shadow: 0 0 17px var(--auto-orange);
  animation: automation-travel 4.2s 3.5s linear infinite;
}

.automation-intro {
  max-width: 760px;
  margin-bottom: 56px;
}

.automation-intro h2 {
  margin-top: 18px;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

.flow-comparison {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 18px;
}

.traditional-flow,
.intelligent-flow {
  padding: 30px;
  border: 1px solid var(--auto-line);
  display: grid;
  justify-items: center;
  gap: 12px;
}

.traditional-flow {
  color: var(--auto-muted);
  opacity: .5;
}

.intelligent-flow {
  grid-template-columns: repeat(11, auto);
  align-items: center;
  color: var(--auto-blue);
}

.flow-comparison small {
  font-size: .64rem;
  letter-spacing: .14em;
}

.flow-comparison strong {
  font: 700 1.1rem var(--font-display);
}

.flow-comparison b {
  color: var(--auto-orange);
}

.engine-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  align-items: center;
  padding: 40px 0 80px;
}

.engine-line {
  position: absolute;
  top: 78px;
  left: 4%;
  right: 4%;
  border-top: 1px dashed var(--auto-line);
}

.engine-node,
.engine-outcome {
  position: relative;
  z-index: 1;
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--auto-line);
  background: #f3f2ed;
  color: var(--auto-muted);
  font: 700 .68rem var(--font-display);
  text-align: center;
  transition: .3s;
}

.engine-node.is-engine-active {
  color: var(--auto-ink);
  border-color: var(--auto-orange);
  transform: scale(1.07);
  box-shadow: 0 0 0 5px rgba(239, 106, 58, .08);
}

.engine-outcome {
  grid-column: 1/-1;
  justify-self: center;
  color: var(--auto-green);
  border-color: var(--auto-green);
  min-width: 140px;
}

.engine-particle {
  position: absolute;
  top: 73px;
  left: 3%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--auto-orange);
  box-shadow: 0 0 16px var(--auto-orange);
  transform: translateX(calc(var(--engine-progress, 0) * 94vw));
}

.systems-network {
  min-height: 500px;
  position: relative;
  display: grid;
  grid-template-columns: .8fr 1fr .7fr;
  align-items: center;
  gap: 35px;
}

.system-cards {
  display: grid;
  gap: 10px;
  z-index: 1;
}

.system-cards button,
.builder-palette button {
  padding: 16px;
  border: 1px solid var(--auto-line);
  background: rgba(255, 255, 255, .45);
  color: var(--auto-ink);
  text-align: left;
  font: 700 .72rem var(--font-display);
  cursor: pointer;
}

.system-cards button:hover,
.system-cards button.is-system-active {
  border-color: var(--auto-orange);
  color: var(--auto-orange);
}

.automation-core {
  width: 230px;
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-content: center;
  justify-items: center;
  border: 1px solid var(--auto-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(239, 106, 58, .05);
  text-align: center;
  z-index: 1;
}

.automation-core strong {
  font: 700 1.45rem var(--font-display);
}

.automation-core small {
  color: var(--auto-orange);
  font-size: .6rem;
}

.automation-core span {
  color: var(--auto-muted);
  font-size: .6rem;
}

.systems-action {
  justify-self: center;
  padding: 30px 22px;
  border: 1px solid var(--auto-green);
  color: var(--auto-green);
  font: 700 .75rem var(--font-display);
  z-index: 1;
}

.systems-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.systems-svg path {
  fill: none;
  stroke: rgba(239, 106, 58, .45);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
}

.systems-svg circle {
  fill: var(--auto-orange);
}

.decision-tree,
.lead-timeline {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.incoming-event,
.decision-chain,
.decision-split {
  border: 1px solid var(--auto-line);
  padding: 22px;
  text-align: center;
}

.incoming-event {
  border-color: var(--auto-blue);
}

.incoming-event small,
.approval-flow small {
  display: block;
  color: var(--auto-muted);
  font-size: .62rem;
  letter-spacing: .12em;
}

.incoming-event strong {
  display: block;
  margin-top: 10px;
  font: 700 1.4rem var(--font-display);
}

.decision-chain {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--auto-blue);
  font: 700 .75rem var(--font-display);
}

.decision-chain b {
  color: var(--auto-orange);
}

.decision-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-width: min(580px, 100%);
}

.decision-split strong {
  grid-column: 1/-1;
  font: 700 1.1rem var(--font-display);
}

.decision-split span {
  padding: 14px;
  color: var(--auto-green);
  background: rgba(27, 157, 120, .07);
  font-size: .75rem;
}

.decision-split span:last-child {
  color: var(--auto-orange);
}

.healing-console {
  padding: 38px;
}

.normal-path,
.failure-path,
.recovery-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font: 700 .82rem var(--font-display);
}

.normal-path {
  color: var(--auto-green);
}

.failure-path {
  margin: 35px 0 22px;
  color: var(--auto-orange);
}

.failure-path em {
  color: #b42318;
  font-style: normal;
}

.recovery-path {
  color: var(--auto-blue);
}

.healing-console>p {
  max-width: 560px;
  margin: 42px auto 0;
  color: var(--auto-muted);
  text-align: center;
}

.approval-flow {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 18px;
}

.approval-decision,
.approval-card {
  padding: 30px;
  border: 1px solid var(--auto-line);
  background: rgba(255, 255, 255, .35);
}

.approval-decision strong,
.approval-card strong {
  display: block;
  margin: 14px 0 22px;
  font: 700 1.5rem var(--font-display);
}

.approval-decision>div {
  display: grid;
  gap: 8px;
}

.approval-decision span {
  padding: 14px;
  color: var(--auto-green);
  background: rgba(27, 157, 120, .08);
  font-size: .7rem;
}

.approval-decision span:last-child {
  color: var(--auto-orange);
}

.approval-card {
  border-color: var(--auto-blue);
}

.approval-card>div {
  display: flex;
  gap: 8px;
}

.approval-card button {
  flex: 1;
  padding: 12px 6px;
  border: 1px solid var(--auto-line);
  background: transparent;
  cursor: pointer;
  font: 700 .65rem var(--font-display);
}

.approval-card button:focus-visible,
.approval-card button:hover {
  color: #fff;
  background: var(--auto-blue);
}

.approval-card>b {
  display: block;
  margin-top: 25px;
  color: var(--auto-green);
  font-size: .65rem;
}

.lead-section,
.monitor-section,
.builder-section,
.automation-use-cases {
  min-height: auto;
}

.lead-timeline span,
.lead-timeline strong {
  padding: 12px 20px;
  border: 1px solid var(--auto-line);
  font: 700 .74rem var(--font-display);
}

.lead-timeline b {
  color: var(--auto-orange);
}

.lead-timeline strong {
  color: var(--auto-green);
  border-color: var(--auto-green);
}

.workflow-complete {
  margin: 35px auto 0;
  width: fit-content;
  padding: 10px;
  color: var(--auto-green);
  border: 1px solid var(--auto-green);
  font-size: .65rem;
}

.monitor-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
}

.monitor-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--auto-line);
}

.monitor-metrics article {
  padding: 26px;
  background: #ffffff;
  position: relative;
}

.monitor-metrics small {
  display: block;
  color: var(--auto-muted);
  font-size: .62rem;
}

.monitor-metrics strong {
  display: block;
  margin-top: 13px;
  color: var(--auto-blue);
  font: 700 2.4rem var(--font-display);
}

.activity-stream {
  padding: 25px;
}

.activity-stream-header {
  display: block;
  color: var(--auto-blue);
  font-size: .67rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.activity-stream p {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--auto-line);
  font-size: .76rem;
}

.activity-stream p b,
.activity-stream small {
  color: var(--auto-muted);
  font-size: .62rem;
}

.builder-layout {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  min-height: 400px;
}

.builder-palette {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px;
  border-right: 1px solid var(--auto-line);
}

.builder-palette button {
  text-align: center;
}

.builder-palette button:focus-visible,
.builder-palette button:hover {
  border-color: var(--auto-orange);
  color: var(--auto-orange);
}

.builder-canvas {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 30px;
  outline: none;
}

.builder-canvas:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(47, 104, 255, .25);
}

.builder-canvas>span,
.builder-canvas>strong,
.builder-added-node {
  padding: 12px 20px;
  border: 1px solid var(--auto-line);
  font: 700 .72rem var(--font-display);
}

.builder-canvas b {
  color: var(--auto-orange);
}

.builder-canvas div {
  display: flex;
  gap: 12px;
}

.builder-canvas div span {
  padding: 10px 18px;
  color: var(--auto-green);
  border: 1px solid var(--auto-green);
  font-size: .7rem;
}

..automation-case-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.automation-case-grid article {
  min-height: 210px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--auto-line);
  background: rgba(255, 255, 255, .35);
  transition: .3s;
}

.automation-case-grid article:hover {
  transform: translateY(-10px);
  border-color: var(--auto-orange);
}

.automation-case-grid span,
.automation-case-grid small {
  color: var(--auto-muted);
  font-size: .62rem;
}

.automation-case-grid strong {
  font: 700 1.1rem var(--font-display);
}

.automation-final {
  min-height: 90vh;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.automation-final h2 {
  margin: 20px 0 34px;
  font-size: clamp(3.2rem, 7.5vw, 7.4rem);
}

.automation-final small {
  margin-top: 54px;
  color: var(--auto-muted);
  font-size: .62rem;
}

.automation-network-bg {
  position: absolute;
  color: rgba(47, 104, 255, .13);
  font: 700 clamp(1rem, 3vw, 2.2rem) var(--font-display);
}

.builder-added-node {
  color: var(--auto-blue);
  border-color: var(--auto-blue);
}

.approval-card.approval-complete {
  border-color: var(--auto-green);
}

.automation-ready .automation-hero {
  animation: automation-fade .6s ease both;
}

@keyframes automation-fade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes automation-travel {
  from {
    transform: translateY(0);
    opacity: 0
  }

  12%,
  88% {
    opacity: 1
  }

  to {
    transform: translateY(350px);
    opacity: 0
  }
}

@media (max-width:800px) {
  .automation-experience {
    width: min(100% - 36px, 620px);
  }

  .automation-section {
    min-height: auto;
    padding: 90px 0;
  }

  .automation-hero {
    display: block;
    min-height: calc(100vh - 100px);
  }

  .automation-hero-copy {
    margin-bottom: 50px;
  }

  .flow-comparison,
  .approval-flow,
  .monitor-layout,
  .builder-layout {
    grid-template-columns: 1fr;
  }

  .intelligent-flow {
    grid-template-columns: 1fr;
  }

  .intelligent-flow b {
    transform: rotate(90deg);
  }

  .engine-track {
    grid-template-columns: 1fr;
    padding: 10px 15%;
  }

  .engine-line {
    left: 50%;
    top: 2%;
    bottom: 8%;
    border-top: 0;
    border-left: 1px dashed var(--auto-line);
  }

  .engine-node {
    min-height: 54px;
  }

  .engine-outcome {
    grid-column: 1;
  }

  .systems-network {
    min-height: 680px;
    grid-template-columns: 1fr;
  }

  .systems-svg {
    display: none;
  }

  .decision-split {
    min-width: 0;
    width: 100%;
  }

  .healing-console {
    padding: 25px 15px;
  }

  .approval-card>div {
    flex-wrap: wrap;
  }

  .monitor-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .builder-palette {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    border-right: 0;
    border-bottom: 1px solid var(--auto-line);
  }

  .automation-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .automation-case-grid article:last-child {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion:reduce) {
  body.automation-page * {
    animation: none !important;
    transition: none !important;
  }

  .hero-workflow-particle,
  .engine-particle,
  .systems-svg {
    display: none;
  }
}

body.architecture-spec-page .protocol-table tbody tr:first-child td {
  border-top: none;
}

body.architecture-spec-page code {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(124, 58, 237, 0.08);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  color: #5b21b6;
  font-size: 0.87em;
}

body.architecture-spec-page .phase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

body.architecture-spec-page .phase-card {
  padding: 24px 22px 18px;
  border-radius: 20px;
}

body.architecture-spec-page .phase-number {
  display: inline-block;
  margin-bottom: 12px;
  color: #7c3aed;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.architecture-spec-page .phase-card h3 {
  margin: 0 0 12px;
  font-size: 1.38rem;
  line-height: 1.2;
}

body.architecture-spec-page .phase-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

body.architecture-spec-page .phase-card li+li {
  margin-top: 10px;
}

body.architecture-spec-page .json-block {
  margin: 18px 0 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #111827;
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: #e5e7eb;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.7;
}

body.architecture-spec-page .json-key {
  color: #94a3b8;
}

body.architecture-spec-page .json-number {
  color: #a5f3fc;
}

body.architecture-spec-page .json-string {
  color: #f9a8d4;
}

body.architecture-spec-page .logic-note {
  margin-top: 12px;
}

body.architecture-spec-page .spec-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-radius: 22px;
}

body.architecture-spec-page .spec-cta .kicker {
  margin: 0 0 10px;
}

body.architecture-spec-page .spec-cta h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.5rem, 2vw, 2.4rem);
}

body.architecture-spec-page .spec-cta .button {
  flex-shrink: 0;
}

.site-footer small {
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  animation: footer-rise 0.7s 0.24s ease both, footer-pulse 2.8s 0.94s ease-in-out infinite;
}

@keyframes footer-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes footer-pulse {

  0%,
  100% {
    opacity: 0.72;
    text-shadow: 0 0 0 rgba(94, 231, 208, 0);
  }

  50% {
    opacity: 1;
    text-shadow: 0 0 16px rgba(94, 231, 208, 0.45);
  }
}

.text-link {
  color: var(--text);
  font-weight: 600;
  transition: color 0.2s ease;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .journal-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 760px;
    padding-top: 42px;
    padding-bottom: 22px;
    gap: 28px;
  }

  .hero-copy {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 3.875rem);
    line-height: 0.94;
  }

  .lead {
    margin-top: 18px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-visual {
    padding-top: 0;
  }

  .ai-core-visual {
    width: min(100%, 420px);
    max-width: 100%;
    aspect-ratio: 1 / 0.9;
  }

  .hero::before {
    top: 62%;
    right: -28%;
    width: 520px;
    height: 520px;
  }

  .site-header {
    width: min(100vw - 18px, var(--container));
    padding: 15px 18px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 18px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(9, 12, 17, 0.96);
  }

  .main-nav.open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .stats-row {
    gap: 12px 22px;
  }

  .visual-frame img {
    min-height: 480px;
  }

  .card-one {
    left: 8px;
    bottom: 8px;
  }

  .card-two {
    right: 8px;
    top: 12px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
  }

  .footer-phones {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-principles,
  .transformation-copy,
  .old-way-grid,
  .build-systems-grid,
  .think-act-scale-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 700px;
    padding-top: 30px;
    padding-bottom: 20px;
  }

  .eyebrow {
    gap: 8px;
    margin-bottom: 12px;
  }

  .system-online-indicator {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .cta-panel {
    padding: 24px 18px;
  }

  .ai-core-visual {
    width: min(100%, 340px);
    aspect-ratio: 1 / 0.92;
  }

  .core-node {
    padding: 10px 11px;
  }

  .core-node strong,
  .ai-core-center strong {
    font-size: 0.58rem;
  }

  .core-node span,
  .ai-core-center span,
  .ai-core-center small {
    font-size: 0.54rem;
  }
}

.nav-links a {
  color: inherit;
  transition: color 0.25s ease;
}

.nav-links a::before {
  display: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  transform: none;
  border: 0;
  box-shadow: none;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  min-width: 145px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: #6366f1;
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #4f46e5;
  transform: translateY(-2px);
}

.glow-btn {
  border-radius: 999px;
}

.btn-secondary {
  border: 1px solid var(--automation-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.hero-section {
  padding: 6rem 1rem 4rem;
  text-align: center;
  background: radial-gradient(circle at top center, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
}

.hero-section .container {
  width: min(900px, 100%);
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  padding: 6px 16px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.hero-title {
  margin: 0 0 1.2rem;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}

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

.hero-description {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: var(--automation-muted);
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.tech-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--automation-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.tech-strip .dot {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  opacity: 0.4;
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 18px;
  }

  .logo {
    min-width: 0;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.78rem;
  }

  .nav-actions {
    min-width: 0;
  }

  .nav-actions .btn-primary {
    min-height: 40px;
    padding: 0.65rem 0.9rem;
    font-size: 0.75rem;
  }

  .hero-section {
    padding: 4rem 1rem 3rem;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .brand-mark {
    width: 82px;
    height: 36px;
  }

  .logo-main,
  .logo-sub {
    font-size: 0.62rem;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a:nth-child(2) {
    display: none;
  }
}



@media (max-width: 720px) {
  :root {
    --space-section: 92px;
  }

  .hero-micro-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-core-visual {
    min-height: 420px;
  }

  .core-particles i:nth-child(3),
  .core-particles i:nth-child(4) {
    display: none;
  }

  .core-node {
    padding: 10px;
  }

  .core-node span {
    font-size: 0.56rem;
  }

  .core-memory {
    left: 3%;
  }

  .core-reasoning {
    right: 3%;
  }

  .core-tools {
    right: 3%;
  }

  .core-data {
    left: 3%;
  }

  .multi-agent {
    padding-left: 20px;
    padding-right: 20px;
  }

  .workers-grid {
    grid-template-columns: 1fr;
  }

  .collaboration-list,
  .knowledge-grid,
  .voice-ai-grid,
  .computer-use-grid,
  .lifecycle-grid,
  .evaluation-concept-grid,
  .case-study-grid,
  .advanced-concepts-grid {
    grid-template-columns: 1fr;
  }

  .agent-collaboration,
  .knowledge-layer,
  .knowledge-features,
  .voice-workflow-panel,
  .voice-capabilities,
  .computer-use-flow,
  .computer-use-apps,
  .evaluation-lifecycle,
  .evaluation-concepts,
  .case-study-card,
  .advanced-concepts-grid article {
    padding: 18px;
  }

  .case-study-card-featured {
    grid-column: auto;
  }

  .case-study-card-featured .case-study-body {
    grid-template-columns: 1fr;
  }

  .case-study-head {
    flex-direction: column;
    gap: 8px;
  }

  .case-study-head strong {
    text-align: left;
  }

  .trust-scorecard {
    padding: 18px;
  }

  .scorecard-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .scorecard-heading span {
    text-align: left;
  }

  .scorecard-metrics {
    grid-template-columns: 1fr;
  }

  .browser-content {
    grid-template-columns: 96px 1fr;
  }

  .browser-sidebar {
    padding: 20px 12px;
    font-size: 0.64rem;
  }

  .crm-screen {
    padding: 22px 16px;
  }

  .application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workers-copy,
  .agent-architecture {
    padding: 18px;
  }

  .agent-architecture .ascii-flow {
    font-size: 0.72rem;
  }

  .architecture-hero,
  .spec-header {
    padding-top: 54px;
  }

  .flow-nodes {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }

  .architecture-card,
  .phase-card {
    min-height: 0;
  }
}

.topic-flow span,
.topic-flow strong {
  position: relative;
  opacity: .38;
  transform: translateY(4px);
  transition: opacity .35s ease, transform .35s ease, color .35s ease;
}

.topic-flow .is-flow-ready {
  opacity: .45;
}

.topic-flow .is-flow-active {
  opacity: 1;
  transform: none;
  color: #111827;
  text-shadow: 0 0 14px rgba(47, 104, 255, .3);
}

.topic-flow .is-flow-active::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -7px;
  left: -8px;
  height: 2px;
  background: #2f68ff;
  animation: topic-flow-line .8s ease both;
}

.topic-card li {
  opacity: .45;
  transform: translateX(-5px);
  transition: opacity .35s ease, transform .35s ease, color .35s ease;
}

.topic-card li.is-source-active {
  opacity: 1;
  transform: none;
  color: #1b9d78;
}

.topic-card li.is-source-active::marker {
  color: #ef5b33;
}

@keyframes topic-flow-line {
  from {
    transform: scaleX(0);
    transform-origin: left
  }

  to {
    transform: scaleX(1);
    transform-origin: left
  }
}

.task-console {
  position: relative;
  overflow: hidden;
}

.task-console:before {
  content: "";
  position: absolute;
  top: 92px;
  bottom: 56px;
  left: 44px;
  width: 1px;
  background: linear-gradient(var(--agent-hot), var(--agent-blue), var(--agent-green));
  opacity: .45;
}

.task-steps li {
  position: relative;
  grid-template-columns: 38px 1fr auto;
  grid-template-rows: auto auto;
  gap: 3px 12px;
  align-items: center;
  padding: 15px 0 15px 0;
}

.task-steps li>span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--agent-hot);
  border-radius: 50%;
  background: #f4f3ef;
}

.task-steps li strong {
  font: 700 .82rem var(--font-display);
}

.task-steps li small {
  grid-column: 2;
  color: var(--agent-muted);
  font-size: .64rem;
}

.task-steps li b {
  padding: 5px 7px;
  border: 1px solid var(--agent-green);
  color: var(--agent-green);
  font-size: .55rem;
  letter-spacing: .1em;
}

.task-steps li.is-active strong {
  color: var(--agent-blue);
}

.task-steps li.is-active span {
  color: #fff;
  background: var(--agent-hot);
  box-shadow: 0 0 0 5px rgba(238, 77, 47, .1);
}

.task-complete span {
  letter-spacing: .08em;
}

.knowledge-page {
  --knowledge-ink: #111827;
  --knowledge-muted: #687080;
  --knowledge-sage: #7c3aed;
  --knowledge-amber: #8b5cf6;
  --knowledge-line: rgba(17, 24, 39, .14);
  background: #f8f7fc;
  color: var(--knowledge-ink);
  background-image: linear-gradient(rgba(17, 24, 39, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 24, 39, .035) 1px, transparent 1px);
  background-size: 52px 52px;
}

.knowledge-page .site-header {
  background: rgba(255, 255, 255, .82);
  border-color: var(--knowledge-line);
}

.knowledge-page .topic-kicker {
  color: var(--knowledge-amber);
}

.knowledge-page .topic-hero h1 span,
.knowledge-page .topic-section-heading h2 span,
.knowledge-agent-copy h2 span {
  color: var(--knowledge-sage);
}

.knowledge-page .topic-hero>p:last-child,
.knowledge-page .topic-card p {
  color: var(--knowledge-muted);
}

.knowledge-source-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 780px;
  margin-top: 30px;
}

.knowledge-source-cloud span {
  padding: 10px 13px;
  border: 1px solid var(--knowledge-line);
  border-radius: 4px;
  background: rgba(255, 255, 255, .7);
  color: var(--knowledge-muted);
  font-size: .7rem;
}

.topic-section-heading {
  margin-bottom: 48px;
}

.topic-section-heading h2,
.knowledge-agent-copy h2 {
  margin: 18px 0 0;
  font: 700 clamp(2.7rem, 5vw, 5.2rem)/.94 var(--font-display);
  letter-spacing: -.05em;
}

.knowledge-architecture-section,
.knowledge-features-section {
  border-top-color: var(--knowledge-line);
}

.knowledge-architecture {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 42px 24px;
  border: 1px solid var(--knowledge-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 14px 30px rgba(17, 24, 39, .05);
}

.knowledge-input-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(600px, 100%);
}

.knowledge-input-row span,
.knowledge-layer-node,
.knowledge-agent-node,
.knowledge-outcome {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--knowledge-line);
  background: rgba(255, 255, 255, .82);
  text-align: center;
  font: 700 .72rem var(--font-display);
}

.knowledge-input-row span {
  color: var(--knowledge-muted);
}

.knowledge-architecture>i {
  color: var(--knowledge-amber);
  font-style: normal;
}

.knowledge-layer-node {
  width: min(440px, 100%);
  border-color: rgba(124, 58, 237, .4);
}

.knowledge-layer-node small,
.knowledge-agent-node small {
  color: var(--knowledge-sage);
  font-size: .57rem;
  letter-spacing: .1em;
}

.knowledge-layer-node strong,
.knowledge-agent-node strong {
  font: 700 1rem var(--font-display);
}

.knowledge-layer-node span {
  color: var(--knowledge-muted);
  font-size: .65rem;
}

.knowledge-layer-node.retrieval {
  border-color: rgba(139, 92, 246, .45);
}

.knowledge-layer-node.retrieval small {
  color: var(--knowledge-amber);
}

.knowledge-agent-node {
  width: 250px;
  border-color: var(--knowledge-sage);
  box-shadow: 0 0 0 6px rgba(124, 58, 237, .06);
}

.knowledge-outcome {
  color: var(--knowledge-sage);
  border-color: var(--knowledge-sage);
}

.knowledge-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.knowledge-feature-grid article {
  min-height: 165px;
  padding: 20px;
  border: 1px solid var(--knowledge-line);
  background: rgba(255, 255, 255, .65);
  transition: transform .25s, border-color .25s;
}

.knowledge-feature-grid article:hover {
  transform: translateY(-6px);
  border-color: var(--knowledge-sage);
}

.knowledge-feature-grid b {
  color: var(--knowledge-amber);
  font-size: .58rem;
}

.knowledge-feature-grid strong {
  display: block;
  margin-top: 24px;
  font: 700 .88rem var(--font-display);
}

.knowledge-feature-grid p {
  color: var(--knowledge-muted);
  font-size: .72rem;
  line-height: 1.5;
}

.knowledge-agent-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.knowledge-agent-copy>p:not(.topic-kicker) {
  max-width: 500px;
  color: var(--knowledge-muted);
  line-height: 1.7;
}

.knowledge-action-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--knowledge-line);
  background: rgba(255, 255, 255, .65);
  color: var(--knowledge-sage);
  font: 700 .72rem var(--font-display);
}

.knowledge-action-flow b {
  color: var(--knowledge-amber);
}

.knowledge-page .knowledge-cta {
  background: #1f2937;
}

.knowledge-page .knowledge-cta h2 span {
  color: #94a3b8;
}

@media (max-width:720px) {
  .knowledge-source-cloud {
    gap: 6px;
  }

  .knowledge-source-cloud span {
    font-size: .62rem;
  }

  .knowledge-input-row {
    grid-template-columns: 1fr;
    width: 180px;
  }

  .knowledge-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .knowledge-feature-grid article {
    min-height: 145px;
    padding: 15px;
  }

  .knowledge-feature-grid strong {
    margin-top: 16px;
    font-size: .75rem;
  }

  .knowledge-agent-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .knowledge-action-flow {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .knowledge-action-flow b {
    transform: rotate(90deg);
  }
}

.voice-mood-view {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--voice-line);
}

.voice-mood-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--voice-muted);
  font: 700 .54rem var(--font-display);
  letter-spacing: .1em;
}

.voice-mood-head b {
  color: var(--voice-green);
}

.voice-mood-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 108px;
  aspect-ratio: 1;
  margin: 14px auto 10px;
  border: 1px solid rgba(124, 58, 237, .22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, .16), transparent 58%);
  box-shadow: 0 0 0 8px rgba(124, 58, 237, .035);
}

.voice-mood-orbit::before,
.voice-mood-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(124, 58, 237, .24);
  border-radius: 50%;
}

.voice-mood-orbit::before {
  inset: 14px -5px;
  transform: rotate(34deg);
  animation: voice-mood-orbit 4s linear infinite;
}

.voice-mood-orbit::after {
  inset: -5px 14px;
  transform: rotate(-34deg);
  animation: voice-mood-orbit 4s linear infinite reverse;
}

.voice-mood-orbit i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, .12);
}

.voice-mood-orbit i:nth-child(1) {
  top: 12px;
  right: 22px;
}

.voice-mood-orbit i:nth-child(2) {
  bottom: 18px;
  left: 13px;
  background: #22c55e;
}

.voice-mood-orbit i:nth-child(3) {
  right: 7px;
  bottom: 29px;
  background: #f59e0b;
}

.voice-mood-orbit strong,
.voice-mood-orbit small {
  position: relative;
  z-index: 1;
}

.voice-mood-orbit strong {
  color: var(--voice-ink);
  font: 700 .78rem var(--font-display);
  letter-spacing: .06em;
}

.voice-mood-orbit small {
  margin-top: 34px;
  color: var(--voice-purple);
  font-size: .44rem;
  letter-spacing: .08em;
}

.voice-mood-meter {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(124, 58, 237, .1);
}

.voice-mood-meter span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5cf6, #22c55e);
  animation: voice-mood-pulse 2.2s ease-in-out infinite;
}

.voice-mood-view p {
  margin: 9px 0 0;
  color: var(--voice-muted);
  font-size: .58rem;
  line-height: 1.4;
}

@keyframes voice-mood-orbit {
  to {
    transform: rotate(394deg);
  }
}

@keyframes voice-mood-pulse {
  50% {
    width: 92%;
    opacity: .7;
  }
}

.knowledge-page .knowledge-architecture {
  position: relative;
  overflow: hidden;
  gap: 14px;
  padding: 48px 30px;
  border-color: rgba(124, 58, 237, .22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(247, 243, 255, .88));
  box-shadow: 0 20px 44px rgba(84, 46, 150, .09);
}

.knowledge-page .knowledge-architecture::before {
  content: "LIVE KNOWLEDGE PIPELINE";
  position: absolute;
  top: 16px;
  left: 20px;
  color: var(--knowledge-sage);
  font: 700 .56rem var(--font-display);
  letter-spacing: .13em;
}

.knowledge-page .knowledge-input-row {
  position: relative;
  z-index: 1;
  gap: 14px;
  margin-top: 10px;
}

.knowledge-page .knowledge-input-row span {
  position: relative;
  padding: 18px 14px;
  border-color: rgba(124, 58, 237, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .86);
  color: var(--knowledge-ink);
  box-shadow: 0 8px 18px rgba(84, 46, 150, .05);
}

.knowledge-page .knowledge-input-row span::before {
  content: "SOURCE";
  display: block;
  margin-bottom: 5px;
  color: var(--knowledge-sage);
  font-size: .48rem;
  letter-spacing: .1em;
}

.knowledge-page .knowledge-architecture>i {
  position: relative;
  width: 2px;
  height: 24px;
  color: transparent;
  background: linear-gradient(var(--knowledge-sage), rgba(124, 58, 237, .1));
  animation: knowledge-flow-pulse 1.8s ease-in-out infinite;
}

.knowledge-page .knowledge-architecture>i::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--knowledge-sage);
  border-bottom: 2px solid var(--knowledge-sage);
  transform: rotate(45deg);
}

.knowledge-page .knowledge-layer-node,
.knowledge-page .knowledge-agent-node,
.knowledge-page .knowledge-outcome {
  position: relative;
  min-width: min(100%, 560px);
  padding: 19px 22px;
  border-color: rgba(124, 58, 237, .2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 22px rgba(84, 46, 150, .06);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
}

.knowledge-page .knowledge-layer-node::before,
.knowledge-page .knowledge-agent-node::before,
.knowledge-page .knowledge-outcome::before {
  position: absolute;
  left: 12px;
  top: 12px;
  color: #94a3b8;
  font: 700 .48rem var(--font-display);
  letter-spacing: .1em;
}

.knowledge-page .knowledge-layer-node::before {
  content: "01 / CONTEXT";
}

.knowledge-page .knowledge-layer-node.retrieval::before {
  content: "02 / RETRIEVE";
}

.knowledge-page .knowledge-agent-node::before {
  content: "03 / REASON";
}

.knowledge-page .knowledge-outcome::before {
  content: "04 / OUTCOME";
}

.knowledge-page .knowledge-layer-node.knowledge-stage-live,
.knowledge-page .knowledge-agent-node.knowledge-stage-live,
.knowledge-page .knowledge-outcome.knowledge-stage-live {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, .5);
  background: rgba(246, 242, 255, .96);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, .07), 0 16px 30px rgba(84, 46, 150, .1);
}

.knowledge-page .knowledge-layer-node.knowledge-stage-live::before,
.knowledge-page .knowledge-agent-node.knowledge-stage-live::before,
.knowledge-page .knowledge-outcome.knowledge-stage-live::before {
  color: var(--knowledge-sage);
}

.knowledge-page .knowledge-layer-node strong,
.knowledge-page .knowledge-agent-node strong {
  margin-top: 10px;
  color: var(--knowledge-ink);
  letter-spacing: .06em;
}

.knowledge-page .knowledge-layer-node small {
  color: var(--knowledge-sage);
}

.knowledge-page .knowledge-layer-node span {
  color: var(--knowledge-muted);
  font-size: .68rem;
}

.knowledge-page .knowledge-outcome {
  color: #15803d;
  letter-spacing: .1em;
}

@keyframes knowledge-flow-pulse {
  50% {
    opacity: .45;
    transform: scaleY(.78);
  }
}

@media (max-width:720px) {
  .knowledge-page .knowledge-architecture {
    padding: 44px 16px 28px;
  }

  .knowledge-page .knowledge-input-row {
    width: 100%;
  }

  .knowledge-page .knowledge-layer-node,
  .knowledge-page .knowledge-agent-node,
  .knowledge-page .knowledge-outcome {
    min-width: 0;
    width: 100%;
  }
}

.knowledge-eye-console {
  position: relative;
  overflow: hidden;
  margin: 0 0 20px;
  border: 1px solid rgba(124, 58, 237, .2);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(245, 240, 255, .92));
  box-shadow: 0 18px 42px rgba(84, 46, 150, .1);
}

.knowledge-eye-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 49.8%, rgba(124, 58, 237, .07) 50%, transparent 50.2%), linear-gradient(transparent 49.8%, rgba(124, 58, 237, .07) 50%, transparent 50.2%);
  background-size: 42px 42px;
  pointer-events: none;
}

.knowledge-eye-head,
.knowledge-eye-stage,
.knowledge-eye-sources {
  position: relative;
  z-index: 1;
}

.knowledge-eye-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--knowledge-line);
  color: var(--knowledge-ink);
  font: 700 .64rem var(--font-display);
  letter-spacing: .12em;
}

.knowledge-eye-head span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.knowledge-eye-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .12);
}

.knowledge-eye-head b {
  color: var(--knowledge-sage);
  font-size: .58rem;
}

.knowledge-eye-stage {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 32px;
  min-height: 190px;
  padding: 26px 38px;
}

.knowledge-eye {
  position: relative;
  width: 150px;
  height: 92px;
  margin: auto;
  border: 1px solid rgba(124, 58, 237, .35);
  border-radius: 70% 12% 70% 12%;
  transform: rotate(-8deg);
  background: radial-gradient(ellipse at center, rgba(196, 181, 253, .55), rgba(255, 255, 255, .55) 57%, transparent 58%);
  box-shadow: 0 0 0 12px rgba(124, 58, 237, .04), 0 14px 30px rgba(124, 58, 237, .13);
}

.knowledge-eye::before {
  content: "";
  position: absolute;
  inset: 12px 34px;
  border: 1px solid rgba(124, 58, 237, .45);
  border-radius: 50%;
  background: radial-gradient(circle at 42% 35%, #fff 0 5%, #8b5cf6 6% 22%, #312e81 23% 52%, #111827 53% 100%);
  animation: knowledge-eye-focus 2.2s ease-in-out infinite;
}

.knowledge-eye::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: #8b5cf6;
  box-shadow: 0 0 12px 2px rgba(139, 92, 246, .5);
  animation: knowledge-eye-scan 2.2s ease-in-out infinite;
}

.knowledge-eye span {
  position: absolute;
  inset: -17px 26px;
  border-top: 1px solid rgba(124, 58, 237, .25);
  border-bottom: 1px solid rgba(124, 58, 237, .25);
  border-radius: 50%;
  transform: rotate(12deg);
}

.knowledge-eye i,
.knowledge-eye b {
  position: absolute;
  z-index: 2;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 0 5px rgba(167, 139, 250, .12);
}

.knowledge-eye i {
  top: 8px;
  right: 28px;
}

.knowledge-eye b {
  bottom: 6px;
  left: 25px;
}

.knowledge-eye-readout {
  display: grid;
  gap: 8px;
  max-width: 430px;
}

.knowledge-eye-readout small {
  color: var(--knowledge-sage);
  font: 700 .6rem var(--font-display);
  letter-spacing: .14em;
}

.knowledge-eye-readout strong {
  color: var(--knowledge-ink);
  font: 700 clamp(1.1rem, 2vw, 1.55rem)/1.1 var(--font-display);
}

.knowledge-eye-readout span {
  width: max-content;
  padding: 6px 9px;
  border: 1px solid rgba(124, 58, 237, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: var(--knowledge-muted);
  font-size: .68rem;
}

.knowledge-eye-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--knowledge-line);
}

.knowledge-eye-sources span {
  padding: 7px 9px;
  border: 1px solid rgba(17, 24, 39, .12);
  border-radius: 4px;
  color: var(--knowledge-muted);
  font: 700 .58rem var(--font-display);
  letter-spacing: .08em;
  transition: all .3s ease;
}

.knowledge-eye-sources span.is-reading {
  border-color: rgba(124, 58, 237, .5);
  background: rgba(124, 58, 237, .12);
  color: var(--knowledge-sage);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .06);
}

@keyframes knowledge-eye-focus {
  50% {
    transform: translate(8px, -2px) scale(1.04);
  }
}

@keyframes knowledge-eye-scan {
  50% {
    transform: translateY(-24px);
    opacity: .45;
  }
}

@media (max-width:720px) {
  .knowledge-eye-stage {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }

  .knowledge-eye-readout {
    text-align: center;
    justify-items: center;
  }

  .knowledge-eye-sources {
    justify-content: center;
  }
}

/* Page 05 / Enterprise Knowledge / RAG premium visual system */
.knowledge-page .knowledge-main {
  width: min(1280px, calc(100vw - 80px));
  margin: 0 auto;
}

.knowledge-page.coding-ai {
  --code-bg: #12162a;
  --code-panel: #eef2ff;
  --code-line: rgba(139, 92, 246, .28);
  --code-text: #172033;
  --code-soft: #eef2ff;
  --code-glow: rgba(139, 92, 246, .12);
  font-family: "Inter", "Space Grotesk", "Consolas", "Courier New", monospace;
  color: var(--code-text);
  background:
    radial-gradient(circle at 72% 16%, var(--code-glow), transparent 24%),
    radial-gradient(circle at 16% 90%, rgba(124, 58, 237, .05), transparent 30%),
    #f7f7fb;
}

.knowledge-page.coding-ai .knowledge-main {
  position: relative;
  padding: 40px 0 80px;
  border-radius: 30px;
  background:
    repeating-linear-gradient(45deg, rgba(124, 58, 237, .025) 0, rgba(124, 58, 237, .025) 1px, transparent 1px, transparent 8px),
    linear-gradient(135deg, rgba(244, 242, 255, .96), rgba(251, 251, 253, .84));
  border: 1px solid rgba(124, 58, 237, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), inset 0 0 30px rgba(124, 58, 237, .05), 0 0 0 1px rgba(124, 58, 237, .06);
  overflow: hidden;
}

.knowledge-page.coding-ai .knowledge-main::before {
  content: "// enterprise_knowledge/rag/intelligence.system";
  position: absolute;
  top: 12px;
  left: 22px;
  color: var(--knowledge-sage, #7c3aed);
  font: 800 .66rem var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.knowledge-page.coding-ai .knowledge-main::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 30px;
  background-image: linear-gradient(rgba(124, 58, 237, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 58, 237, .045) 1px, transparent 1px);
  background-size: 26px 26px, 26px 26px;
  pointer-events: none;
  mask: linear-gradient(180deg, #000, transparent 100%);
  opacity: .84;
}

.knowledge-page.coding-ai .knowledge-hero {
  padding-top: 92px;
  background: transparent;
}

.knowledge-page.coding-ai .knowledge-hero-copy h1 {
  font-family: "Space Grotesk", "Inter", "Consolas", monospace;
  font-size: clamp(3rem, 4vw, 4.8rem);
  letter-spacing: -.035em;
}

.knowledge-page.coding-ai .hero-subheading {
  font-family: "Consolas", "Courier New", monospace;
  color: var(--knowledge-muted, #687080);
}

.knowledge-page.coding-ai .hero-proof span {
  border-right-color: var(--code-line, rgba(124, 58, 237, .2));
}

.knowledge-page.coding-ai .knowledge-core-wrap {
  border-radius: 24px;
  background: radial-gradient(circle, rgba(124, 58, 237, .10), rgba(255, 255, 255, .76));
}

.knowledge-page.coding-ai .source-node,
.knowledge-page.coding-ai .gap-card,
.knowledge-page.coding-ai .search-panel,
.knowledge-page.coding-ai .intelligence-panel,
.knowledge-page.coding-ai .semantic-query,
.knowledge-page.coding-ai .semantic-sources,
.knowledge-page.coding-ai .semantic-ranking,
.knowledge-page.coding-ai .context-flow,
.knowledge-page.coding-ai .context-panel,
.knowledge-page.coding-ai .grounded-answer,
.knowledge-page.coding-ai .grounding-line,
.knowledge-page.coding-ai .permissions-flow,
.knowledge-page.coding-ai .permission-grid span,
.knowledge-page.coding-ai .use-case-card,
.knowledge-page.coding-ai .pipeline-flow {
  font-family: "Consolas", "Courier New", monospace;
}

.knowledge-page.coding-ai .knowledge-section {
  padding: 56px 0;
  border-top-color: var(--code-line, rgba(124, 58, 237, .2));
}

.knowledge-page.coding-ai .section-label,
.knowledge-page.coding-ai .panel-label,
.knowledge-page.coding-ai .semantic-query-title,
.knowledge-page.coding-ai .grounded-title,
.knowledge-page.coding-ai .sources-title {
  font-family: "Space Grotesk", "Consolas", monospace;
  letter-spacing: .14em;
}

.knowledge-page.coding-ai .section-heading-wrap h2 {
  font-family: "Space Grotesk", "Inter", "Consolas", monospace;
}

.knowledge-page.coding-ai .knowledge-gap-grid {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
}

.knowledge-page.coding-ai .gap-card {
  background: rgba(255, 255, 255, .72);
  border-left: 3px solid var(--knowledge-sage, #7c3aed);
}

.knowledge-page.coding-ai .knowledge-gap .gap-question {
  font-family: "Courier New", monospace;
}

.knowledge-page.coding-ai .intelligence-grid,
.knowledge-page.coding-ai .semantic-grid {
  background: transparent;
}

.knowledge-page.coding-ai .search-panel,
.knowledge-page.coding-ai .intelligence-panel,
.knowledge-page.coding-ai .semantic-query,
.knowledge-page.coding-ai .semantic-sources,
.knowledge-page.coding-ai .semantic-ranking {
  background: rgba(255, 255, 255, .72);
}

.knowledge-page.coding-ai .pipeline-flow,
.knowledge-page.coding-ai .permissions-flow,
.knowledge-page.coding-ai .action-workflow {
  border-radius: 12px;
  background: rgba(255, 255, 255, .56);
}

.knowledge-page.coding-ai .pipeline-node,
.knowledge-page.coding-ai .permission-grid span {
  font-family: "Consolas", "Courier New", monospace;
}

.knowledge-page.coding-ai .grounded-answer p {
  font-family: "Space Grotesk", "Inter", "Consolas", monospace;
}

.knowledge-page.coding-ai .grounding-flags .grounding-line {
  background: rgba(255, 255, 255, .82);
}

.knowledge-page.coding-ai .knowledge-console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--code-panel);
  border: 1px solid var(--code-line);
  color: var(--code-text);
  margin: 0 0 14px;
}

.knowledge-page.coding-ai .knowledge-console-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--knowledge-sage, #7c3aed);
}

.knowledge-page.coding-ai .knowledge-console-bar code {
  font-family: "Consolas", "Courier New", monospace;
  color: var(--code-text);
  font-size: .74rem;
  letter-spacing: .1em;
  white-space: nowrap;
}

.knowledge-page .knowledge-hero {
  min-height: 620px;
  padding: 104px 0 54px;
  display: flex;
  align-items: center;
}

.knowledge-page .knowledge-hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(550px, 1.15fr) minmax(420px, 0.85fr);
  align-items: center;
  gap: 34px;
}

.knowledge-page .knowledge-hero-copy {
  max-width: 680px;
}

.knowledge-page .knowledge-kicker {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--knowledge-sage, #7c3aed);
  font: 800 .68rem var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.knowledge-page .knowledge-kicker .kicker-dot {
  color: var(--knowledge-sage, #7c3aed);
  font-size: 1rem;
}

.knowledge-page .knowledge-hero-copy h1 {
  margin: 0;
  color: var(--knowledge-ink, #111827);
  font: 700 clamp(3.2rem, 6vw, 5.8rem)/.95 var(--font-display);
  letter-spacing: -.055em;
}

.knowledge-page .hero-subheading {
  max-width: 710px;
  margin: 24px 0 0;
  color: var(--knowledge-muted, #687080);
  font: 500 1.08rem/1.7 var(--font-body);
}

.knowledge-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.knowledge-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font: 800 .72rem var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.knowledge-page .button-primary {
  color: #fff;
  background: var(--knowledge-sage, #7c3aed);
  border: 1px solid var(--knowledge-sage, #7c3aed);
  box-shadow: 0 14px 40px rgba(124, 58, 237, .24);
}

.knowledge-page .button-ghost {
  color: var(--knowledge-ink, #111827);
  background: transparent;
  border: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
}

.knowledge-page .hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
}

.knowledge-page .hero-proof span {
  display: grid;
  gap: 4px;
  padding-right: 26px;
  border-right: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
}

.knowledge-page .hero-proof span:last-child {
  border-right: none;
}

.knowledge-page .hero-proof b {
  color: var(--knowledge-sage, #7c3aed);
  font: 700 1.4rem var(--font-display);
}

.knowledge-page .hero-proof em {
  color: var(--knowledge-muted, #687080);
  font-style: normal;
  font: 700 .62rem var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.knowledge-page .knowledge-core-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.knowledge-page .knowledge-scroll-story {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, .22);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 34px rgba(17, 24, 39, .08);
  font: 700 .62rem var(--font-display);
  letter-spacing: .11em;
}

.knowledge-page .knowledge-scroll-story .story-step {
  color: var(--knowledge-muted, #687080);
  opacity: .64;
}

.knowledge-page .knowledge-scroll-story .story-step.is-active {
  color: var(--knowledge-sage, #7c3aed);
  opacity: 1;
}

.knowledge-page .knowledge-scroll-story .story-step::after {
  content: " &#9675;";
}

.knowledge-page .knowledge-scroll-story .story-step.is-active::after {
  content: " &bull;";
}

@media (max-width: 780px) {
  .knowledge-page .knowledge-scroll-story {
    right: 10px;
    top: auto;
    bottom: 14px;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: min(86vw, 420px);
    font-size: .58rem;
  }
}

.knowledge-page .knowledge-core-visual::before,
.knowledge-page .knowledge-core-visual::after {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, .16);
}

.knowledge-page .knowledge-core-wrap {
  position: relative;
  width: min(440px, 100%);
  min-height: 420px;
  display: grid;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(124, 58, 237, .22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 92, 246, .146), rgba(255, 255, 255, .83));
  box-shadow: inset 0 0 0 16px rgba(255, 255, 255, .86), inset 0 0 70px rgba(124, 58, 237, .12), 0 30px 80px rgba(84, 46, 150, .13);
}

.knowledge-page .knowledge-core-wrap::before,
.knowledge-page .knowledge-core-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(124, 58, 237, .45);
}

.knowledge-page .knowledge-core-wrap::before {
  inset: -14px;
}

.knowledge-page .knowledge-core-wrap::after {
  inset: 22px;
  opacity: .8;
}

.knowledge-page .knowledge-core {
  position: relative;
  z-index: 2;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle, #5b21b6, #281b58);
  box-shadow: 0 0 0 14px rgba(167, 139, 250, .08), 0 0 50px rgba(124, 58, 237, .34);
  text-align: center;
}

.knowledge-page .core-label {
  color: #fff;
  font: 800 1rem var(--font-display);
  letter-spacing: .14em;
  line-height: 1.6;
}

.knowledge-page .core-status {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  color: #bfb9ff;
  font: 700 .58rem var(--font-display);
  letter-spacing: .2em;
}

.knowledge-page .core-source-nodes {
  position: absolute;
  inset: 0;
}

.knowledge-page .source-node {
  position: absolute;
  padding: 8px 12px;
  border: 1px solid rgba(124, 58, 237, .28);
  border-radius: 4px;
  background: rgba(255, 255, 255, .85);
  color: var(--knowledge-muted, #687080);
  font: 700 .58rem var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.knowledge-page .source-node:nth-child(1) {
  left: 40px;
  top: 16px;
}

.knowledge-page .source-node:nth-child(2) {
  right: 30px;
  top: 50px;
}

.knowledge-page .source-node:nth-child(3) {
  right: -4px;
  top: 190px;
}

.knowledge-page .source-node:nth-child(4) {
  right: 30px;
  bottom: 50px;
}

.knowledge-page .source-node:nth-child(5) {
  left: 30px;
  bottom: 70px;
}

.knowledge-page .source-node:nth-child(6) {
  left: -12px;
  top: 150px;
}

.knowledge-page .source-node.knowledge-node-rise {
  opacity: 0;
  transform: translateY(12px) scale(.96);
  animation: knowledgeNodeReveal .82s ease forwards;
}

@keyframes knowledgeNodeReveal {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.knowledge-page .core-output {
  position: absolute;
  left: 50%;
  top: 260px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto auto;
  place-items: center;
  gap: 8px;
}

.knowledge-page .core-output .output-line {
  grid-column: 1 / -1;
  color: var(--knowledge-ink, #111827);
  font: 700 .68rem var(--font-display);
  text-transform: uppercase;
  letter-spacing: .16em;
}

.knowledge-page .core-output .output-arrow {
  color: var(--knowledge-sage, #7c3aed);
  font-size: 1.4rem;
}

.knowledge-page .core-output .output-answer {
  color: var(--knowledge-sage, #7c3aed);
}

.knowledge-page .core-output .output-action {
  color: #047857;
}

.knowledge-page .knowledge-section {
  padding: 84px 0;
  border-top: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
  position: relative;
}

.knowledge-page .section-label,
.knowledge-page .panel-label {
  color: var(--knowledge-sage, #7c3aed);
  font: 800 .68rem var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.knowledge-page .section-heading-wrap {
  max-width: 880px;
  margin-top: 14px;
}

.knowledge-page .section-heading-wrap h2 {
  margin: 0 0 30px;
  color: var(--knowledge-ink, #111827);
  font: 700 clamp(2.7rem, 4.5vw, 4.4rem)/1.06 var(--font-display);
  letter-spacing: -.045em;
}

.knowledge-page .knowledge-gap .section-heading-wrap {
  max-width: 960px;
}

.knowledge-page .knowledge-gap {
  min-height: 420px;
}

.knowledge-page .knowledge-gap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.knowledge-page .gap-card {
  padding: 18px 16px;
  border: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
  border-radius: 14px;
  background: rgba(255, 255, 255, .75);
  color: var(--knowledge-muted, #687080);
  font: 700 .72rem var(--font-display);
  letter-spacing: .1em;
  box-shadow: 0 14px 36px rgba(84, 46, 150, .04);
}

.knowledge-page .gap-question {
  margin-top: 30px;
  color: var(--knowledge-ink, #111827);
  font: 700 clamp(1.6rem, 3vw, 2.5rem)/1.4 var(--font-display);
}

.knowledge-page .intelligence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.knowledge-page .search-panel,
.knowledge-page .intelligence-panel {
  padding: 30px 34px;
  border: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
}

.knowledge-page .search-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(245, 244, 251, .93));
}

.knowledge-page .intelligence-panel {
  border-color: rgba(124, 58, 237, .34);
}

.knowledge-page .panel-label-bright {
  color: var(--knowledge-sage, #7c3aed);
}

.knowledge-page .pipeline-vertical,
.knowledge-page .pipeline-flow,
.knowledge-page .action-workflow,
.knowledge-page .permissions-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.knowledge-page .pipeline-vertical {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 22px;
}

.knowledge-page .pipeline-vertical span,
.knowledge-page .pipeline-flow span,
.knowledge-page .action-workflow span,
.knowledge-page .permissions-flow span {
  color: var(--knowledge-muted, #687080);
  font: 700 .72rem var(--font-display);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.knowledge-page .intelligence-panel .pipeline-vertical span:nth-child(odd) {
  color: var(--knowledge-sage, #7c3aed);
}

.knowledge-page .pipe-arrow {
  color: var(--knowledge-sage, #7c3aed);
  font-size: 1rem;
}

.knowledge-page .rag-pipeline .pipeline-flow,
.knowledge-page .permission-flow,
.knowledge-page .action-workflow {
  margin-top: 30px;
}

.knowledge-page .pipeline-flow,
.knowledge-page .permissions-flow {
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
  border-bottom: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
}

.knowledge-page .pipeline-node,
.knowledge-page .permissions-flow span {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(124, 58, 237, .24);
  background: rgba(255, 255, 255, .8);
}

.knowledge-page .pipeline-flow .pipeline-arrow,
.knowledge-page .action-workflow .pipe-arrow {
  color: var(--knowledge-sage, #7c3aed);
  font-size: 1.2rem;
}

.knowledge-page .ingestion {
  background: rgba(255, 255, 255, .36);
}

.knowledge-page .ingestion-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.knowledge-page .ingestion-sources span {
  padding: 8px 11px;
  border-radius: 4px;
  border: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
  background: rgba(255, 255, 255, .86);
  color: var(--knowledge-muted, #687080);
  font: 700 .65rem var(--font-display);
  letter-spacing: .12em;
}

.knowledge-page .ingestion-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
  border-bottom: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
}

.knowledge-page .ingestion-pipeline span {
  color: var(--knowledge-ink, #111827);
  font: 700 .68rem var(--font-display);
  letter-spacing: .13em;
}

.knowledge-page .ingestion-raw-clean {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}

.knowledge-page .raw-layer,
.knowledge-page .clean-layer {
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
  font: 700 .72rem var(--font-display);
  letter-spacing: .12em;
}

.knowledge-page .clean-layer {
  color: var(--knowledge-sage, #7c3aed);
}

.knowledge-page .semantic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 22px;
}

.knowledge-page .semantic-query,
.knowledge-page .semantic-sources,
.knowledge-page .semantic-ranking {
  padding: 26px;
  border-radius: 16px;
  border: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
  background: rgba(255, 255, 255, .82);
}

.knowledge-page .semantic-query-title {
  color: var(--knowledge-sage, #7c3aed);
  font: 800 .68rem var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.knowledge-page .semantic-query p {
  margin: 16px 0 0;
  color: var(--knowledge-ink, #111827);
  font: 700 1.1rem var(--font-display);
}

.knowledge-page .semantic-source-stack {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.knowledge-page .semantic-source-stack span {
  color: var(--knowledge-muted, #687080);
  font: 700 .68rem var(--font-display);
  letter-spacing: .1em;
}

.knowledge-page .bars {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.knowledge-page .bars span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.knowledge-page .bars b {
  width: 120px;
  color: var(--knowledge-muted, #687080);
  font: 700 .62rem var(--font-display);
  letter-spacing: .12em;
}

.knowledge-page .bars i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--knowledge-sage, #7c3aed);
}

.knowledge-page .bar-full {
  width: 88px;
}

.knowledge-page .bar-mid {
  width: 62px;
  opacity: .7;
}

.knowledge-page .graph-map {
  position: relative;
  min-height: 330px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  align-items: center;
  justify-items: center;
  gap: 18px;
  padding: 40px 20px;
  border-radius: 18px;
  border: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
  background-image: radial-gradient(rgba(124, 58, 237, .16) 1px, transparent 1px);
  background-size: 18px 18px;
}

.knowledge-page .graph-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent, rgba(124, 58, 237, .2), transparent), linear-gradient(transparent, rgba(124, 58, 237, .2), transparent);
  mask: linear-gradient(180deg, transparent, #000, transparent);
  pointer-events: none;
}

.knowledge-page .graph-node {
  position: relative;
  z-index: 2;
  padding: 14px 16px;
  border-radius: 50%;
  border: 1px solid var(--knowledge-sage, #7c3aed);
  background: rgba(255, 255, 255, .96);
  color: var(--knowledge-ink, #111827);
  font: 700 .66rem var(--font-display);
  letter-spacing: .12em;
  box-shadow: 0 0 0 8px rgba(124, 58, 237, .03);
}

.knowledge-page .graph-node.customer {
  grid-column: 2;
  grid-row: 1;
}

.knowledge-page .graph-node.contract {
  grid-column: 1;
  grid-row: 2;
}

.knowledge-page .graph-node.product {
  grid-column: 3;
  grid-row: 2;
}

.knowledge-page .graph-node.support {
  grid-column: 1;
  grid-row: 3;
}

.knowledge-page .graph-node.owner {
  grid-column: 2;
  grid-row: 3;
}

.knowledge-page .graph-node.transaction {
  grid-column: 3;
  grid-row: 3;
}

.knowledge-page .context-engineering-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 28px;
  align-items: center;
}

.knowledge-page .context-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
  background: rgba(255, 255, 255, .86);
}

.knowledge-page .context-flow span {
  font: 700 .68rem var(--font-display);
  letter-spacing: .16em;
  color: var(--knowledge-muted, #687080);
}

.knowledge-page .context-panel {
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(124, 58, 237, .26);
  background: linear-gradient(120deg, #1f1742, #392362);
  color: white;
}

.knowledge-page .context-title {
  color: #e8dfff;
  font: 800 .72rem var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.knowledge-page .context-panel ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.knowledge-page .context-panel li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #e8dfff;
  font: 700 .68rem var(--font-display);
  letter-spacing: .12em;
}

.knowledge-page .grounded-response {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(220px, 260px);
  gap: 30px;
  align-items: center;
}

.knowledge-page .grounded-answer {
  position: relative;
}

.knowledge-page .grounded-answer::before,
.knowledge-page .grounded-answer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--knowledge-sage, #7c3aed);
  inset: -10px;
}

.knowledge-page .grounded-answer::after {
  inset: 8px;
  opacity: .56;
}

.knowledge-page .grounded-answer {
  padding: 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
}

.knowledge-page .grounded-title,
.knowledge-page .sources-title {
  color: var(--knowledge-sage, #7c3aed);
  font: 800 .68rem var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.knowledge-page .grounded-answer p {
  margin: 20px 0 24px;
  color: var(--knowledge-ink, #111827);
  font: 700 clamp(1.4rem, 2vw, 2.1rem)/1.4 var(--font-display);
}

.knowledge-page .sources-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.knowledge-page .sources-row span {
  color: var(--knowledge-muted, #687080);
  font: 700 .68rem var(--font-display);
}

.knowledge-page .grounding-flags {
  display: grid;
  align-content: center;
  gap: 16px;
}

.knowledge-page .grounding-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
  background: rgba(255, 255, 255, .84);
}

.knowledge-page .grounding-line b {
  color: var(--knowledge-muted, #687080);
  font: 700 .68rem var(--font-display);
  letter-spacing: .14em;
}

.knowledge-page .grounding-line em {
  color: #047857;
  font-style: normal;
  font: 800 .72rem var(--font-display);
}

.knowledge-page .permissions-flow {
  justify-content: center;
  gap: 8px;
}

.knowledge-page .permission-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

.knowledge-page .permission-grid span {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
  color: var(--knowledge-muted, #687080);
  font: 700 .68rem var(--font-display);
  letter-spacing: .12em;
}

.knowledge-page .action-example {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
}

.knowledge-page .action-example span {
  color: var(--knowledge-muted, #687080);
  font: 700 .68rem var(--font-display);
  letter-spacing: .1em;
}

.knowledge-page .use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 16px;
}

.knowledge-page .use-case-card {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 14px 36px rgba(84, 46, 150, .04);
}

.knowledge-page .use-case-card h3 {
  margin: 24px 0 12px;
  color: var(--knowledge-ink, #111827);
  font: 700 1.05rem var(--font-display);
}

.knowledge-page .use-case-card p {
  color: var(--knowledge-muted, #687080);
  font: 500 .76rem var(--font-body);
  line-height: 1.55;
}

.knowledge-page .use-case-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--knowledge-sage, #7c3aed);
  color: #fff;
  font: 800 .72rem var(--font-display);
}

.knowledge-page .control-room-panel {
  padding: 36px;
  border-radius: 20px;
  background: #111827;
  color: white;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 30px 80px rgba(17, 24, 39, .2);
}

.knowledge-page .control-room-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.knowledge-page .control-title {
  color: #e9ddff;
  font: 800 .72rem var(--font-display);
  letter-spacing: .16em;
}

.knowledge-page .control-status {
  color: #86efac;
  font: 800 .72rem var(--font-display);
  letter-spacing: .16em;
}

.knowledge-page .control-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.knowledge-page .kpi-card {
  padding: 22px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
}

.knowledge-page .kpi-label {
  display: block;
  color: #bfb4ff;
  font: 800 .62rem var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.knowledge-page .kpi-value {
  display: block;
  margin-top: 14px;
  color: white;
  font: 700 clamp(1.5rem, 2vw, 2.2rem)/1 var(--font-display);
}

.knowledge-page .kpi-note {
  display: block;
  margin-top: 10px;
  color: #98a2b3;
  font: 700 .6rem var(--font-display);
}

.knowledge-page .activity-feed {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.knowledge-page .activity-feed-title {
  color: #bfb4ff;
  font: 800 .68rem var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.knowledge-page .activity-feed ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.knowledge-page .activity-feed li {
  color: #d1d5db;
  font: 700 .72rem var(--font-body);
  letter-spacing: .1em;
  line-height: 1.8;
}

.knowledge-page .final-cta {
  padding-bottom: 80px;
}

.knowledge-page .final-cta-inner {
  padding: 54px 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--knowledge-line, rgba(17, 24, 39, .14));
  text-align: center;
}

.knowledge-page .final-cta h2 {
  margin: 14px 0;
  color: var(--knowledge-ink, #111827);
  font: 700 clamp(2.6rem, 4vw, 4rem)/1 var(--font-display);
  letter-spacing: -.042em;
}

.knowledge-page .final-cta p {
  color: var(--knowledge-muted, #687080);
  font: 500 1rem var(--font-body);
  max-width: 680px;
  margin: 16px auto 0;
}

.knowledge-page .final-cta .hero-actions {
  justify-content: center;
}

.knowledge-page .final-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.knowledge-page .final-flow span {
  color: var(--knowledge-muted, #687080);
  font: 700 .68rem var(--font-display);
  letter-spacing: .14em;
}

.knowledge-page .final-logo {
  margin-top: 30px;
  color: var(--knowledge-sage, #7c3aed);
  font: 800 clamp(2rem, 3vw, 3rem)/1 var(--font-display);
  letter-spacing: .14em;
}

@media (max-width: 960px) {

  .knowledge-page .knowledge-hero-grid,
  .knowledge-page .intelligence-grid,
  .knowledge-page .semantic-grid,
  .knowledge-page .grounded-response,
  .knowledge-page .context-engineering-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-page .knowledge-hero {
    min-height: auto;
  }

  .knowledge-page .knowledge-core-visual {
    min-height: 420px;
  }

  .knowledge-page .knowledge-gap-grid,
  .knowledge-page .use-case-grid,
  .knowledge-page .control-kpis {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 720px) {
  .knowledge-page .knowledge-main {
    width: min(100%, calc(100vw - 28px));
  }

  .knowledge-page .knowledge-hero-grid,
  .knowledge-page .intelligence-grid,
  .knowledge-page .semantic-grid,
  .knowledge-page .grounded-response,
  .knowledge-page .context-engineering-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-page .knowledge-gap-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-page .control-kpis,
  .knowledge-page .use-case-grid {
    grid-template-columns: 1fr;
  }
}

/* Shared footer cleanup */
.site-footer {
  width: min(100% - 48px, 940px);
  margin: 38px auto 42px;
  padding: 28px 0 0;
  display: grid;
  justify-items: center;
  gap: 14px;
  border-top: 1px solid rgba(17, 24, 39, .12);
  color: #687080;
  text-align: center;
}

.footer-name {
  color: #1f2937;
  font-size: .82rem;
  letter-spacing: .16em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.footer-links a {
  color: #687080;
  font-size: .72rem;
  transition: color .2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #2f68ff;
}

.site-footer .footer-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: .68rem;
}

.site-footer .footer-phones a {
  color: #687080;
}

.site-footer .footer-phones a:hover,
.site-footer .footer-phones a:focus-visible {
  color: #2f68ff;
}

.site-footer .footer-phones img {
  width: 18px;
  height: 12px;
  margin-right: 5px;
}

.site-footer small {
  color: #687080;
  font-size: .62rem;
  line-height: 1.55;
}

.footer-tagline {
  max-width: 620px;
  margin: 0;
  color: #98a2b3;
  font-size: .68rem;
  line-height: 1.5;
}

@media (max-width:560px) {
  .site-footer {
    width: calc(100% - 28px);
    margin-top: 28px;
    padding-top: 24px;
    gap: 12px;
  }

  .footer-links {
    gap: 7px 12px;
  }

  .footer-links a,
  .site-footer .footer-phones {
    font-size: .62rem;
  }

  .site-footer .footer-phones {
    gap: 6px 12px;
  }

  .footer-tagline {
    max-width: 330px;
    font-size: .6rem;
  }
}

@media (max-width:560px) {

  html,
  body {
    overflow-x: hidden !important;
  }

  .page-glow {
    display: none !important;
  }

  .glow-two {
    left: auto !important;
    right: 0 !important;
  }
}

body.topic-page {
  background: #f8f7fc;
  color: #111827;
  background-image: linear-gradient(rgba(17, 24, 39, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 24, 39, .035) 1px, transparent 1px);
  background-size: 52px 52px;
}

.topic-main {
  width: min(1180px, calc(100vw - 48px));
  margin: auto;
}

.topic-hero {
  min-height: 62vh;
  display: grid;
  align-content: center;
  padding: 110px 0 80px;
}

.topic-kicker {
  color: #ef5b33;
  font: 800 .68rem var(--font-body);
  letter-spacing: .15em;
}

.topic-hero h1,
.topic-dark h2 {
  margin: 18px 0;
  font: 700 clamp(3rem, 7vw, 6.8rem)/.92 var(--font-display);
  letter-spacing: -.055em;
}

.topic-hero h1 span,
.topic-dark h2 span {
  color: #2f68ff;
}

.topic-hero>p:last-child {
  max-width: 620px;
  color: #687080;
  font-size: 1.05rem;
  line-height: 1.65;
}

.topic-section {
  padding: 100px 0;
  border-top: 1px solid rgba(17, 24, 39, .12);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.topic-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(17, 24, 39, .12);
  background: rgba(255, 255, 255, .65);
  box-shadow: 0 12px 26px rgba(17, 24, 39, .04);
}

.topic-card-wide {
  grid-column: span 2;
}

.topic-card small,
.technology-stack small {
  color: #ef5b33;
  font-size: .62rem;
  letter-spacing: .12em;
}

.topic-card h2,
.topic-card h3,
.technology-stack h2 {
  margin: 18px 0 12px;
  font: 700 1.55rem var(--font-display);
}

.topic-card p,
.topic-card li,
.technology-stack p {
  color: #687080;
  font-size: .9rem;
  line-height: 1.6;
}

.topic-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: #2f68ff;
}

.topic-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: #2f68ff;
  font: 700 .8rem var(--font-display);
}

.topic-flow b {
  color: #ef5b33;
}

.topic-flow strong {
  color: #1b9d78;
}

.topic-dark {
  padding: 110px 32px;
  margin-bottom: 40px;
  background: #1f2937;
  color: #fff;
  text-align: center;
}

.topic-dark .topic-kicker {
  color: #ff9b68;
}

.topic-dark h2 {
  font-size: clamp(2.7rem, 5vw, 5.5rem);
}

.voice-demo,
.browser-demo,
.evaluation-dashboard {
  max-width: 900px;
  margin: auto;
  border: 1px solid rgba(17, 24, 39, .14);
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 16px 36px rgba(17, 24, 39, .06);
}

.voice-demo {
  padding: 26px;
}

.voice-demo-head,
.browser-demo-bar {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17, 24, 39, .1);
  color: #687080;
  font: 700 .72rem var(--font-display);
}

.voice-demo-head i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #1b9d78;
}

.voice-message {
  max-width: 80%;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid rgba(47, 104, 255, .2);
  border-radius: 16px;
  background: rgba(47, 104, 255, .06);
}

.voice-message-customer {
  margin-left: auto;
  background: rgba(17, 24, 39, .035);
}

.voice-message small,
.voice-transcript small {
  display: block;
  color: #2f68ff;
  font-size: .62rem;
  letter-spacing: .12em;
}

.voice-message p {
  margin: 8px 0 0;
}

.voice-signal {
  color: #8055ff;
  letter-spacing: .1em;
}

.voice-transcript {
  margin: 20px 0;
  padding: 14px;
  border-left: 2px solid #8055ff;
  background: rgba(128, 85, 255, .06);
}

.voice-transcript strong {
  display: block;
  margin-top: 7px;
  color: #687080;
  font-size: .8rem;
}

.voice-message-final {
  margin: 0;
  max-width: 100%;
  border: 0;
  background: rgba(27, 157, 120, .08);
}

.voice-complete {
  display: block;
  margin: 28px auto 0;
  color: #8055ff;
  text-align: center;
  font: 700 1.2rem var(--font-display);
}

.browser-demo {
  overflow: hidden;
}

.browser-demo-bar {
  padding: 16px 20px;
  background: #1f2937;
  color: #fff;
  border: 0;
}

.browser-demo-bar b {
  color: #4dd9c0;
}

.browser-demo-body {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 350px;
}

.browser-demo-body aside {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
  border-right: 1px solid rgba(17, 24, 39, .1);
  color: #687080;
  font-size: .78rem;
}

.browser-demo-body aside strong {
  color: #111827;
}

.browser-demo-body aside .active {
  color: #2f68ff;
}

.browser-screen {
  padding: 32px;
}

.browser-screen h2 {
  max-width: 500px;
  font: 700 2rem var(--font-display);
}

.browser-task {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.browser-task span,
.browser-task b {
  padding: 12px;
  border: 1px solid rgba(17, 24, 39, .1);
  font-size: .7rem;
}

.browser-task b {
  color: #1b9d78;
  border-color: #1b9d78;
}

.evaluation-dashboard {
  display: grid;
  grid-template-columns: .6fr 1.4fr;
}

.evaluation-runs,
.evaluation-metrics {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px;
}

.evaluation-runs {
  border-right: 1px solid rgba(17, 24, 39, .1);
}

.evaluation-runs span,
.evaluation-runs b {
  padding: 10px;
  font-size: .7rem;
}

.evaluation-runs b {
  color: #687080;
  font-weight: 500;
}

.evaluation-metrics p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid rgba(17, 24, 39, .1);
  font-size: .75rem;
}

.evaluation-metrics strong {
  color: #2f68ff;
}

.evaluation-metrics small {
  margin-top: 15px;
  color: #98a2b3;
  font-size: .6rem;
}

.technology-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.technology-stack article {
  padding: 28px;
  border: 1px solid rgba(17, 24, 39, .12);
  background: rgba(255, 255, 255, .65);
}

.technology-stack h2 {
  color: #111827;
}

@media (max-width:720px) {
  .topic-main {
    width: calc(100% - 28px);
  }

  .topic-hero {
    min-height: 58vh;
    padding-top: 90px;
  }

  .topic-section {
    padding: 72px 0;
  }

  .topic-grid,
  .technology-stack,
  .evaluation-dashboard {
    grid-template-columns: 1fr;
  }

  .topic-card-wide {
    grid-column: auto;
  }

  .topic-flow {
    display: grid;
    justify-items: start;
  }

  .topic-flow b {
    transform: rotate(90deg);
  }

  .browser-demo-body {
    grid-template-columns: 1fr;
  }

  .browser-demo-body aside {
    grid-template-columns: repeat(4, 1fr);
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 39, .1);
  }

  .browser-demo-body aside strong {
    grid-column: 1/-1;
  }

  .browser-screen {
    padding: 22px;
  }

  .evaluation-runs {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 39, .1);
  }

  .voice-message {
    max-width: 92%;
  }

  .topic-dark {
    padding: 80px 18px;
  }
}

.voice-page {
  --voice-purple: #7c3aed;
  --voice-violet: #8b5cf6;
  --voice-ink: #111827;
  --voice-muted: #687080;
  --voice-line: rgba(17, 24, 39, .14);
  --voice-green: #15803d;
}

.voice-page .topic-kicker {
  color: var(--voice-purple);
}

.voice-page .topic-hero h1 span,
.voice-page .voice-action-section h2 span,
.voice-page .voice-postcall h2 span {
  color: var(--voice-purple);
}

.voice-online {
  margin-left: 14px;
  color: var(--voice-green);
  font-size: .62rem;
  letter-spacing: .1em;
}

.voice-online i,
.voice-room-head i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #16a34a;
}

.voice-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  color: var(--voice-muted);
  font-size: .72rem;
}

.voice-hero-stats strong {
  display: block;
  color: var(--voice-ink);
  font: 700 .65rem var(--font-display);
}

.voice-control-room {
  border: 1px solid rgba(124, 58, 237, .24);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(247, 242, 255, .88));
  box-shadow: 0 18px 38px rgba(84, 46, 150, .1);
  overflow: hidden;
}

.voice-room-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--voice-line);
  color: var(--voice-muted);
  font: 700 .66rem var(--font-display);
}

.voice-room-head strong {
  color: var(--voice-ink);
  font-size: 1rem;
}

.voice-room-head b {
  color: var(--voice-green);
  font-size: .58rem;
}

.voice-room-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
}

.voice-conversation {
  padding: 28px;
}

.voice-message {
  max-width: 76%;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(124, 58, 237, .18);
  border-radius: 14px;
  background: rgba(124, 58, 237, .07);
}

.voice-message-customer {
  margin: 0 0 18px auto;
  background: rgba(255, 255, 255, .75);
  border-color: var(--voice-line);
}

.voice-message-latest {
  max-width: 90%;
  background: rgba(21, 128, 61, .07);
  border-color: rgba(21, 128, 61, .24);
}

.voice-message small,
.voice-transcription small {
  display: block;
  color: var(--voice-purple);
  font-size: .58rem;
}

.voice-message small em {
  margin-left: 8px;
  color: var(--voice-muted);
  font-style: normal;
}

.voice-message p {
  margin: 7px 0 0;
  color: var(--voice-ink);
  font-size: .96rem;
}

.voice-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 44px;
  margin: 4px 0 17px;
}

.voice-wave i {
  width: 3px;
  height: 15px;
  border-radius: 5px;
  background: var(--voice-purple);
  animation: voice-wave 1.1s ease-in-out infinite alternate;
}

.voice-wave i:nth-child(2n) {
  animation-delay: .15s;
}

.voice-wave i:nth-child(3n) {
  animation-delay: .3s;
}

.voice-wave i:nth-child(4n) {
  animation-delay: .45s;
}

.voice-transcription {
  display: grid;
  gap: 6px;
  margin: 15px 0 18px;
  padding: 14px;
  border-left: 2px solid var(--voice-purple);
  background: rgba(124, 58, 237, .06);
}

.voice-transcription strong {
  color: var(--voice-ink);
  font-size: .78rem;
}

.voice-transcription span {
  color: var(--voice-muted);
  font-size: .62rem;
}

.voice-complete {
  display: block;
  margin: 22px 0 0;
  color: var(--voice-green);
  font: 700 .88rem var(--font-display);
  text-align: center;
}

.voice-agent-state {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px;
  border-left: 1px solid var(--voice-line);
  background: rgba(255, 255, 255, .42);
}

.voice-agent-orb {
  position: relative;
  width: 150px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  margin: 0 auto 12px;
  border: 1px solid var(--voice-purple);
  border-radius: 50%;
  background: rgba(124, 58, 237, .08);
  box-shadow: 0 0 0 14px rgba(124, 58, 237, .05);
  text-align: center;
}

.voice-agent-orb span {
  color: var(--voice-purple);
  font-size: .55rem;
}

.voice-agent-orb strong {
  margin: 4px 0;
  font: 700 1rem/.9 var(--font-display);
}

.voice-agent-orb small {
  color: var(--voice-purple);
  font-size: .55rem;
}

.voice-brain-pulse {
  position: absolute;
  inset: -9px;
  border: 1px dashed rgba(124, 58, 237, .45);
  border-radius: 50%;
  animation: voice-orb 4s linear infinite;
}

.voice-signal-list {
  display: grid;
  gap: 7px;
}

.voice-signal-list p {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  gap: 6px;
  margin: 0;
  padding: 9px;
  border-bottom: 1px solid var(--voice-line);
  color: var(--voice-muted);
  font-size: .62rem;
}

.voice-signal-list p b {
  color: var(--voice-purple);
}

.voice-signal-list p span {
  color: var(--voice-ink);
  font-weight: 700;
}

.voice-signal-list .voice-signal-active {
  color: var(--voice-ink);
  background: rgba(124, 58, 237, .08);
}

.voice-action-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 9px;
}

.voice-action-pipeline article {
  display: grid;
  gap: 8px;
  padding: 20px 14px;
  border: 1px solid var(--voice-line);
  background: rgba(255, 255, 255, .7);
}

.voice-action-pipeline article b {
  color: var(--voice-purple);
  font-size: .58rem;
}

.voice-action-pipeline article strong {
  font: 700 .76rem var(--font-display);
}

.voice-action-pipeline article small {
  color: var(--voice-muted);
  font-size: .6rem;
}

.voice-action-pipeline>i {
  align-self: center;
  color: var(--voice-purple);
  font-style: normal;
}

.voice-action-pipeline .voice-pipeline-outcome {
  border-color: rgba(21, 128, 61, .35);
  background: rgba(21, 128, 61, .07);
}

.voice-action-pipeline .voice-pipeline-outcome strong {
  color: var(--voice-green);
}

.voice-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.voice-capability-grid article {
  min-height: 175px;
  padding: 20px;
  border: 1px solid var(--voice-line);
  background: rgba(255, 255, 255, .62);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.voice-capability-grid article:hover {
  transform: translateY(-6px);
  border-color: var(--voice-purple);
  box-shadow: 0 14px 26px rgba(84, 46, 150, .1);
}

.voice-capability-icon {
  display: block;
  color: var(--voice-purple);
  font: 700 .6rem var(--font-display);
}

.voice-capability-grid strong {
  display: block;
  margin-top: 25px;
  font: 700 .82rem var(--font-display);
}

.voice-capability-grid p {
  color: var(--voice-muted);
  font-size: .72rem;
  line-height: 1.5;
}

.voice-postcall {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 45px;
}

.voice-postcall-copy h2 {
  margin: 18px 0;
  font: 700 clamp(2.6rem, 5vw, 5rem)/.94 var(--font-display);
}

.voice-postcall-copy>p:last-child {
  color: var(--voice-muted);
  line-height: 1.7;
}

.voice-postcall-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--voice-line);
  background: rgba(255, 255, 255, .62);
  color: var(--voice-purple);
  font: 700 .68rem var(--font-display);
}

.voice-postcall-flow b {
  color: var(--voice-violet);
}

.voice-postcall-flow strong {
  color: var(--voice-green);
}

.voice-page .voice-cta {
  background: #1f2937;
}

.voice-page .voice-cta h2 span {
  color: #94a3b8;
}

@keyframes voice-wave {
  from {
    height: 8px;
    opacity: .4
  }

  to {
    height: 34px;
    opacity: 1
  }
}

@keyframes voice-orb {
  to {
    transform: rotate(360deg)
  }
}

@media (max-width:720px) {
  .voice-online {
    display: block;
    margin: 10px 0 0;
  }

  .voice-room-grid,
  .voice-postcall {
    grid-template-columns: 1fr;
  }

  .voice-agent-state {
    border-top: 1px solid var(--voice-line);
    border-left: 0;
  }

  .voice-action-pipeline {
    grid-template-columns: 1fr;
  }

  .voice-action-pipeline>i {
    transform: rotate(90deg);
    text-align: center;
  }

  .voice-capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .voice-capability-grid article {
    min-height: 155px;
    padding: 15px;
  }

  .voice-capability-grid strong {
    margin-top: 17px;
    font-size: .72rem;
  }

  .voice-message {
    max-width: 92%;
  }
}

@media (prefers-reduced-motion:reduce) {

  .voice-page .voice-wave i,
  .voice-page .voice-brain-pulse {
    animation: none;
  }
}

@media (max-width:720px) {

  .voice-page .voice-agent-orb .voice-brain-pulse,
  .voice-page .voice-brain-core .voice-brain-pulse {
    display: none;
  }
}

.voice-page {
  overflow-x: clip;
}

.voice-agent-orb {
  overflow: hidden;
}

.voice-page .voice-brain-pulse {
  inset: 8px;
  pointer-events: none;
}

.voice-page .voice-agent-orb .voice-brain-pulse {
  width: auto;
  height: auto;
  transform: none;
  animation: voice-orb 4s linear infinite;
}

.voice-page .voice-control-room {
  border-color: rgba(124, 58, 237, .28);
  border-radius: 20px;
  background:
    linear-gradient(rgba(124, 58, 237, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, .035) 1px, transparent 1px),
    linear-gradient(145deg, #ffffff 0%, #fbf9ff 56%, #f2edff 100%);
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: 0 24px 60px rgba(84, 46, 150, .14);
}

.voice-page .voice-room-head {
  padding: 19px 24px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px);
}

.voice-page .voice-room-head>span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--voice-ink);
  letter-spacing: .12em;
}

.voice-page .voice-room-head>span i {
  margin-right: 0;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .12);
}

.voice-page .voice-room-head strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}

.voice-page .voice-room-head b {
  padding: 7px 10px;
  border: 1px solid rgba(21, 128, 61, .18);
  border-radius: 999px;
  background: rgba(21, 128, 61, .07);
  letter-spacing: .12em;
}

.voice-page .voice-conversation {
  padding: 34px;
}

.voice-page .voice-message {
  box-shadow: 0 10px 24px rgba(84, 46, 150, .06);
}

.voice-page .voice-message-ai {
  border-left: 3px solid var(--voice-purple);
}

.voice-page .voice-message-customer {
  border-right: 3px solid #94a3b8;
}

.voice-page .voice-message p {
  font-size: .94rem;
  line-height: 1.55;
}

.voice-page .voice-agent-state {
  background: rgba(255, 255, 255, .52);
  box-shadow: inset 1px 0 0 rgba(124, 58, 237, .08);
}

.voice-page .voice-agent-orb {
  margin: 6px auto 28px;
  border-color: rgba(124, 58, 237, .72);
  box-shadow: 0 0 0 12px rgba(124, 58, 237, .045), 0 18px 34px rgba(124, 58, 237, .12);
}

.voice-page .voice-agent-orb::before,
.voice-page .voice-agent-orb::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(124, 58, 237, .3);
  border-radius: 48% 52% 45% 55%;
  pointer-events: none;
}

.voice-page .voice-agent-orb::before {
  inset: 22px 17px;
  transform: rotate(28deg);
  box-shadow: 0 0 0 8px rgba(139, 92, 246, .07), 20px -9px 0 -18px #8b5cf6, -20px 10px 0 -18px #8b5cf6;
  animation: voice-brain-drift 5s ease-in-out infinite;
}

.voice-page .voice-agent-orb::after {
  inset: 17px 27px;
  transform: rotate(-32deg);
  border-color: rgba(139, 92, 246, .42);
  box-shadow: 0 -26px 0 -23px #7c3aed, 0 26px 0 -23px #7c3aed, 24px 3px 0 -22px #a78bfa, -24px -3px 0 -22px #a78bfa;
  animation: voice-brain-drift 4s ease-in-out infinite reverse;
}

.voice-page .voice-agent-orb>span,
.voice-page .voice-agent-orb>strong,
.voice-page .voice-agent-orb>small {
  position: relative;
  z-index: 2;
}

.voice-page .voice-agent-orb>span {
  color: #6d28d9;
  letter-spacing: .16em;
}

.voice-page .voice-agent-orb>small {
  padding: 4px 8px;
  border: 1px solid rgba(124, 58, 237, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
}

@keyframes voice-brain-drift {
  50% {
    transform: rotate(18deg) scale(1.04);
    opacity: .72;
  }
}

.voice-page .voice-scroll-story {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 22;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 11px;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, .26);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 30px rgba(84, 46, 150, .08);
  font: 700 .62rem var(--font-display);
  letter-spacing: .13em;
}

.voice-page .voice-scroll-story .voice-story-step {
  color: var(--voice-muted, #687080);
}

.voice-page .voice-scroll-story .voice-story-step.is-active {
  color: var(--voice-purple, #7c3aed);
}

.voice-page .voice-scroll-story .voice-story-step::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-radius: 50%;
  background: rgba(124, 58, 237, .24);
}

.voice-page .voice-scroll-story .voice-story-step.is-active::after {
  background: var(--voice-purple, #7c3aed);
}

@media (max-width: 780px) {
  .voice-page .voice-scroll-story {
    right: 10px;
    top: auto;
    bottom: 14px;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: min(86vw, 420px);
  }
}

.voice-page .voice-control-room {
  position: relative;
  isolation: isolate;
}

.voice-page .voice-control-room::before,
.voice-page .voice-control-room::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 22px;
  border: 1px dashed rgba(124, 58, 237, .3);
  pointer-events: none;
}

.voice-page .voice-control-room::after {
  inset: 8px;
  opacity: .82;
}

.voice-page .voice-signal-list {
  padding: 0 22px 22px;
}

.voice-page .voice-signal-list p {
  padding: 13px 0;
}

.voice-page .voice-signal-active {
  margin-inline: -10px;
  padding-inline: 10px !important;
  border-radius: 8px;
  background: rgba(124, 58, 237, .09);
}

@media (max-width: 720px) {
  .voice-page .voice-room-head {
    flex-wrap: wrap;
  }

  .voice-page .voice-room-head>span {
    flex: 1 1 100%;
  }

  .voice-page .voice-conversation {
    padding: 22px 16px;
  }
}

.voice-data-refresh {
  animation: voice-data-refresh .45s ease both;
}

.voice-browser-activity {
  margin: 0 22px 22px;
  border: 1px solid rgba(124, 58, 237, .2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
  overflow: hidden;
}

.voice-browser-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--voice-line);
  color: var(--voice-purple);
  font: 700 .6rem var(--font-display);
  letter-spacing: .1em;
}

.voice-browser-head i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #16a34a;
}

.voice-browser-head b {
  color: var(--voice-green);
  font-size: .55rem;
}

.voice-browser-window {
  margin: 14px;
  border: 1px solid var(--voice-line);
  background: #f8f7fc;
}

.voice-browser-toolbar {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  background: #1f2937;
  color: #fff;
  font-size: .55rem;
}

.voice-browser-toolbar strong {
  color: #94a3b8;
  font-weight: 500;
}

.voice-browser-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 150px;
}

.voice-browser-body aside {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 15px;
  border-right: 1px solid var(--voice-line);
  color: var(--voice-muted);
  font-size: .58rem;
}

.voice-browser-body aside b {
  color: var(--voice-ink);
}

.voice-browser-body main {
  padding: 15px;
}

.voice-browser-body main small {
  color: var(--voice-purple);
  font-size: .55rem;
  letter-spacing: .08em;
}

.voice-browser-body h3 {
  margin: 9px 0 4px;
  font: 700 1rem var(--font-display);
}

.voice-browser-body p {
  margin: 0 0 12px;
  color: var(--voice-muted);
  font-size: .64rem;
}

.voice-browser-action {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid var(--voice-line);
  color: var(--voice-muted);
  font-size: .58rem;
}

.voice-browser-action b {
  color: var(--voice-green);
}

@keyframes voice-data-refresh {
  from {
    opacity: .2;
    transform: translateY(5px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media (max-width:720px) {
  .voice-browser-activity {
    margin: 0 12px 12px;
  }

  .voice-browser-body {
    grid-template-columns: 1fr;
  }

  .voice-browser-body aside {
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--voice-line);
  }
}

.ai-crm-workflow-visual {
  position: relative;
  min-height: 520px;
  padding: 28px 22px 34px;
  border-radius: 16px;
  color: var(--text-primary);
  background:
    linear-gradient(90deg, rgba(124, 58, 237, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(124, 58, 237, 0.055) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(124, 58, 237, 0.055), transparent 80%),
    rgba(8, 12, 22, 0.82);
  background-size: 22px 22px, 22px 22px, auto, auto;
  overflow: hidden;
}

.ai-crm-workflow-visual::before,
.ai-crm-workflow-visual::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px dashed rgba(196, 181, 253, 0.48);
  filter: blur(0.2px);
}

.ai-crm-workflow-visual::before {
  left: -80px;
  top: -80px;
}

.ai-crm-workflow-visual::after {
  right: -50px;
  bottom: -90px;
}

.ai-crm-workflow-top {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ai-crm-workflow-label {
  color: var(--primary-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ai-crm-workflow-status {
  color: var(--text-primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-crm-workflow-status span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.ai-crm-network {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(160px, 220px) minmax(150px, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 430px;
  margin-top: 12px;
}

.ai-crm-network::before {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  top: 48%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(196, 181, 253, 0.8) 0 2px, transparent 2px 7px);
  transform: translateY(-50%);
  animation: workflow-draw 2s ease-in-out infinite;
}

.ai-crm-column {
  display: grid;
  gap: 14px;
  align-content: center;
  z-index: 2;
}

.ai-crm-left {
  justify-items: start;
}

.ai-crm-right {
  justify-items: end;
}

.ai-crm-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: min(160px, 100%);
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(196, 181, 253, 0.36);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.ai-crm-node:hover,
.ai-crm-node:focus-visible,
.ai-crm-node.is-selected {
  border-color: #e2e8f0;
  background: rgba(124, 58, 237, .18);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, .12), 0 14px 28px rgba(0, 0, 0, .2);
  transform: translateY(-3px);
  outline: none;
}

.ai-crm-node::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 1px;
  background: rgba(196, 181, 253, 0.85);
}

.ai-crm-left .ai-crm-node::after {
  right: -20px;
}

.ai-crm-right .ai-crm-node::after {
  left: -20px;
}

.ai-crm-node-heading {
  color: var(--primary-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-crm-node-lines {
  color: var(--text-primary);
  font-size: 0.72rem;
  opacity: 0.88;
}

.ai-crm-node-lead {
  min-width: 160px;
}

.ai-crm-node-research {
  min-width: 180px;
}

.ai-crm-node-score {
  min-width: 150px;
}

.ai-crm-node-agent {
  min-width: 180px;
}

.ai-crm-node-crm {
  min-width: 160px;
}

.ai-crm-node-followup {
  min-width: 170px;
}

.ai-crm-core-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  z-index: 3;
}

.ai-crm-core-wrap::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid var(--primary-2);
  box-shadow: 0 0 0 8px rgba(124, 58, 237, 0.08), inset 0 0 0 6px rgba(255, 255, 255, 0.05);
}

.ai-crm-core {
  position: relative;
  display: grid;
  gap: 10px;
  place-items: center;
  width: 180px;
  aspect-ratio: 1 / 1;
  padding: 28px 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(124, 58, 237, .05), 0 16px 36px rgba(124, 58, 237, .22);
  text-align: center;
}

.ai-crm-core-heading {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ai-crm-core-live {
  color: #b7f7c7;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.ai-crm-core-meta {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ai-crm-pulse {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b8f7ce;
  box-shadow: 0 0 0 4px rgba(184, 247, 206, 0.16), 0 0 0 8px rgba(184, 247, 206, 0.06);
  animation: particle-travel 2.8s linear infinite;
}

.ai-crm-pulse-one {
  left: 50%;
  top: 10%;
}

.ai-crm-pulse-two {
  right: 10%;
  bottom: 24%;
  animation-delay: 1s;
}

.ai-crm-bottom {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ai-crm-bottom-label {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.4);
  color: var(--text-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-crm-bottom-label-light {
  background: transparent;
  border-color: rgba(196, 181, 253, 0.42);
  color: var(--primary-2);
}

@keyframes particle-travel {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: translateY(50px);
    opacity: 0;
  }
}

@keyframes workflow-draw {
  50% {
    opacity: 0.5;
  }
}

@media (max-width: 980px) {
  .ai-crm-workflow-visual {
    min-height: 520px;
  }

  .ai-crm-network {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
  }

  .ai-crm-column {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .ai-crm-core-wrap {
    min-height: 220px;
  }
}

@media (max-width: 720px) {
  .ai-crm-workflow-visual {
    min-height: 620px;
  }

  .ai-crm-network {
    grid-template-columns: 1fr;
  }

  .ai-crm-column {
    justify-items: center;
  }

  .ai-crm-left .ai-crm-node::after,
  .ai-crm-right .ai-crm-node::after {
    display: none;
  }
}

/* Voice AI page user-requested structure styling */
.voice-page .topic-main {
  width: min(1180px, calc(100vw - 48px));
}

.voice-page .topic-hero {
  min-height: auto;
  padding: 96px 0 40px;
}

.voice-page .topic-hero h1 {
  color: var(--voice-ink);
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.96;
  font-family: var(--font-display), "Inter", sans-serif;
}

.voice-page .topic-kicker {
  color: var(--voice-purple);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.voice-page .topic-hero>p:last-child {
  max-width: 680px;
  color: var(--voice-muted);
}

.voice-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.voice-page .hero-actions .button {
  padding: 13px 22px;
  border-radius: 10px;
  font: 700 0.72rem var(--font-display), var(--font-body);
  letter-spacing: .12em;
}

.voice-page .hero-actions .button-primary {
  border: 1px solid var(--voice-purple);
  background: var(--voice-purple);
  color: #fff;
}

.voice-page .hero-actions .button-secondary {
  border: 1px solid var(--voice-line);
  background: transparent;
  color: var(--voice-ink);
}

.voice-page .voice-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 22px;
  font-size: 0.72rem;
  color: var(--voice-muted);
}

.voice-page .voice-hero-stats strong {
  display: block;
  color: var(--voice-purple);
  font: 800 0.68rem var(--font-display);
}

.voice-page .voice-core-visual {
  margin: 0 0 44px;
  padding: 50px 30px;
  border-radius: 24px;
  border: 1px solid rgba(124, 58, 237, .2);
  background: radial-gradient(circle, rgba(124, 58, 237, .12), transparent 80%), linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(247, 245, 253, .74));
}

.voice-page .voice-core-frame {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.voice-page .voice-wave-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.voice-page .voice-wave {
  font: 800 0.72rem var(--font-display);
  letter-spacing: .14em;
  color: var(--voice-purple);
  text-transform: uppercase;
}

.voice-page .voice-waveform {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 70px;
}

.voice-page .voice-waveform span {
  width: 4px;
  height: 12px;
  border-radius: 4px;
  background: var(--voice-purple);
  opacity: .82;
  animation: voice-breathe 1.8s ease-in-out infinite;
}

.voice-page .voice-waveform span:nth-child(2n) {
  height: 20px;
}

.voice-page .voice-waveform span:nth-child(3n) {
  height: 34px;
}

.voice-page .voice-core-orbit {
  position: relative;
  width: min(360px, 56vw);
  aspect-ratio: 1 / 1;
  margin: 20px auto;
  border-radius: 50%;
  border: 1px solid var(--voice-purple);
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(124, 58, 237, .08), transparent 74%);
  box-shadow: 0 0 0 14px rgba(124, 58, 237, .04);
}

.voice-page .voice-core-orbit::before,
.voice-page .voice-core-orbit::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed var(--voice-purple);
}

.voice-page .voice-core-orbit::after {
  inset: 14px;
  border-style: solid;
}

.voice-page .voice-core-orbit-inner {
  width: 180px;
  border-radius: 50%;
  padding: 32px 20px;
  background: var(--voice-ink);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .8);
  display: grid;
  gap: 10px;
}

.voice-page .voice-core-row {
  text-align: center;
}

.voice-page .voice-core-label {
  color: #fff;
  font: 700 1rem var(--font-display);
}

.voice-page .voice-live-dot {
  color: var(--voice-green);
  font: 800 0.7rem var(--font-display);
}

.voice-page .voice-context-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  color: var(--voice-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.voice-page .voice-context-tags span:nth-child(2n) {
  color: var(--voice-purple);
}

.voice-page .topic-section {
  padding: 80px 0;
  border-top: 1px solid var(--voice-line);
}

.voice-page .topic-section-head {
  max-width: 780px;
  margin: 0 0 28px;
}

.voice-page .topic-section-head h2 {
  color: var(--voice-ink);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1.1;
}

.voice-page .topic-section-head .kicker {
  color: var(--voice-purple);
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.voice-page .voice-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 16px;
}

.voice-page .voice-comparison-card {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--voice-line);
  background: rgba(255, 255, 255, .74);
}

.voice-page .voice-comparison-card-active {
  border-color: var(--voice-purple);
  background: rgba(124, 58, 237, .06);
}

.voice-page .flow-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.voice-page .flow-step {
  color: var(--voice-ink);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.voice-page .flow-arrow {
  color: var(--voice-purple);
  font-size: 0.82rem;
}

.voice-page .voice-statement p {
  color: var(--voice-purple);
  font: 800 clamp(1.8rem, 3vw, 2.4rem)/1.3 var(--font-display), var(--font-body);
}

.voice-page .voice-loop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--voice-line);
}

.voice-page .voice-loop-node {
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--voice-ink);
  color: #fff;
  border: 1px solid var(--voice-purple);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.voice-page .loop-arrow {
  color: var(--voice-purple);
  font-weight: 900;
}

.voice-page .voice-memory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.voice-page .voice-memory-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--voice-line);
  background: rgba(255, 255, 255, .74);
}

.voice-page .voice-memory-card blockquote {
  margin: 20px 0 0;
  color: var(--voice-ink);
  font-size: 1rem;
  line-height: 1.55;
}

.voice-page .memory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.voice-page .memory-list span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, .07);
  border: 1px solid var(--voice-line);
  color: var(--voice-ink);
  font-size: 0.68rem;
  font-weight: 800;
}

.voice-page .voice-memory-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--voice-line);
}

.voice-page .voice-memory-flow span {
  color: var(--voice-ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.voice-page .voice-tool-grid {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  gap: 20px;
  align-items: center;
}

.voice-page .voice-tool-list {
  display: grid;
  gap: 12px;
}

.voice-page .voice-tool-list span {
  padding: 12px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--voice-line);
  border-radius: 12px;
  color: var(--voice-ink);
  font: 800 0.72rem var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.voice-page .voice-tool-list-right span:nth-child(n) {
  background: rgba(124, 58, 237, .04);
}

.voice-page .voice-agent-core-inner {
  width: 160px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--voice-purple);
  background: var(--voice-ink);
  color: #fff;
  font: 800 0.74rem var(--font-display);
  letter-spacing: .12em;
}

.voice-page .voice-barge-in {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(420px, 1fr);
  gap: 20px;
  align-items: center;
}

.voice-page .voice-speaking {
  padding: 30px;
  border-radius: 18px;
  background: var(--voice-ink);
  color: #fff;
  border: 1px solid var(--voice-line);
}

.voice-page .voice-speaking span {
  font: 700 1rem var(--font-display);
}

.voice-page .voice-barge-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, .74);
  border-radius: 18px;
  border: 1px solid var(--voice-line);
}

.voice-page .voice-barge-flow span {
  color: var(--voice-ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.voice-page .voice-barge-flow span:nth-child(odd) {
  color: var(--voice-purple);
}

.voice-page .voice-handoff {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.voice-page .voice-handoff-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--voice-line);
}

.voice-page .voice-handoff-flow span {
  color: var(--voice-ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.voice-page .voice-handoff-context {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px;
  border: 1px dashed var(--voice-purple);
  border-radius: 16px;
  background: rgba(124, 58, 237, .04);
}

.voice-page .voice-handoff-context span {
  color: var(--voice-ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.voice-page .voice-operations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.voice-page .voice-operations-grid article {
  padding: 26px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid var(--voice-line);
}

.voice-page .voice-operations-grid article span {
  color: var(--voice-purple);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.voice-page .voice-operations-grid article p {
  color: var(--voice-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.voice-page .voice-quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.voice-page .voice-quality-grid article {
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--voice-line);
}

.voice-page .voice-quality-grid article span {
  color: var(--voice-purple);
  font-size: 0.70rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.voice-page .voice-quality-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.voice-page .voice-quality-flow span {
  color: var(--voice-ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.voice-page .scenario-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border-top: 1px solid var(--voice-line);
}

.voice-page .scenario-flow span {
  color: var(--voice-ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.voice-page .scenario-flow span:nth-child(odd) {
  color: var(--voice-purple);
}

.voice-page .scenario-visual {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--voice-line);
  background: rgba(255, 255, 255, .72);
}

.voice-page .scenario-visual span {
  color: var(--voice-ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.voice-page .voice-control-room {
  background: #1f2937;
  color: #fff;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--voice-line);
}

.voice-page .voice-control-room .voice-room-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--voice-line);
  padding: 0 0 16px;
  gap: 16px;
}

.voice-page .voice-control-room .voice-room-head span {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.voice-page .voice-control-room .voice-room-head strong {
  color: var(--voice-green);
  font-size: 0.70rem;
}

.voice-page .voice-control-room .voice-room-head b {
  color: var(--voice-purple);
  font-size: 0.70rem;
}

.voice-page .voice-control-room .voice-room-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.voice-page .voice-control-room .voice-conversation {
  padding: 24px 0 0;
}

.voice-page .voice-icon-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.voice-page .voice-icon-row span {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.voice-page .voice-icon-row b {
  color: var(--voice-green);
  font-size: 0.68rem;
}

.voice-page .voice-control-room .voice-message {
  max-width: none;
}

.voice-page .voice-control-room .voice-message p {
  color: #fff;
}

.voice-page .voice-agent-state {
  border-left: 1px solid var(--voice-line);
  background: transparent;
}

.voice-page .voice-agent-orb {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--voice-purple);
  background: var(--voice-ink);
  color: #fff;
}

@keyframes voice-breathe {
  50% {
    height: 42px;
    opacity: .55;
  }
}

@keyframes voice-orbit-spin {
  50% {
    transform: rotate(180deg);
  }
}


/* ==========================================================================
   Flagship Multi-Agent Simulation Console & Enterprise Modules CSS
   ========================================================================== */

/* Flagship Multi-Agent Demo Console */
.multiagent-console-box {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(124, 58, 237, 0.15);
  backdrop-filter: blur(16px);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
  margin-top: 28px;
}

.console-control-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.console-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c084fc;
  font-family: var(--font-display, sans-serif);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.run-multiagent-btn {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-display, sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.run-multiagent-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 26px rgba(124, 58, 237, 0.5);
  background: linear-gradient(135deg, #6d28d9, #1d4ed8);
}

.console-body-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
}

.console-col {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.console-col-header {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #94a3b8;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.agent-chat-stream {
  min-height: 220px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-placeholder {
  text-align: center;
  color: #64748b;
  font-size: 0.8rem;
  font-style: italic;
  padding: 40px 10px;
}

.agent-chat-bubble {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-left: 4px solid #8b5cf6;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.78rem;
  animation: bubble-slide-in 0.35s ease forwards;
}

@keyframes bubble-slide-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.agent-chat-bubble .agent-sender {
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #38bdf8;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
}

.agent-chat-bubble .agent-time {
  color: #64748b;
  font-size: 0.62rem;
  font-family: monospace;
}

.agent-chat-bubble .agent-msg {
  color: #e2e8f0;
  line-height: 1.4;
}

/* Shared Memory Panel */
.shared-memory-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.memory-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px;
}

.memory-card small {
  display: block;
  font-size: 0.64rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.memory-card strong {
  font-size: 0.85rem;
  color: #38bdf8;
}

.memory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.memory-tags span {
  background: rgba(139, 92, 246, 0.2);
  color: #c084fc;
  font-size: 0.64rem;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.system-action-status .status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
}

.status-badge.idle {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}

.status-badge.running {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

.status-badge.success {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

/* Simulated Approval Modal */
.simulated-approval-modal {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  display: none;
  place-content: center;
  z-index: 20;
  padding: 20px;
  animation: modal-fade 0.3s ease;
}

.simulated-approval-modal.is-active {
  display: grid;
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.approval-modal-content {
  background: #1e293b;
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 16px;
  padding: 24px;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.approval-header {
  color: #fbbf24;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.approval-modal-content p {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 18px;
}

.approve-btn {
  background: #22c55e;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.approve-btn:hover {
  background: #16a34a;
}

/* Cross-Department Orchestration Module */
.orchestration-interactive-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.orchestration-nodes-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.orchestration-node {
  flex: 1;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.orchestration-node i {
  font-size: 1.3rem;
  color: #7c3aed;
  margin-bottom: 8px;
}

.orchestration-node strong {
  font-family: var(--font-display, sans-serif);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #1e293b;
}

.orchestration-node small {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 2px;
}

.orchestration-node.is-active {
  background: #ffffff;
  border-color: #7c3aed;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.18);
}

.orchestration-connector {
  color: #7c3aed;
  font-size: 1.2rem;
}

.orchestration-result-card {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 14px;
  padding: 16px 20px;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.3s ease;
}

.orchestration-result-card .dept-tag {
  color: #38bdf8;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.orchestration-result-card strong {
  font-size: 0.88rem;
  line-height: 1.4;
  color: #cbd5e1;
}

/* Feedback Loop & Enterprise Nodes Modules */
.feedback-interactive-console,
.enterprise-integrations {
  margin-top: 24px;
}

.feedback-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.feedback-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.feedback-btn {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.25s ease;
}

.feedback-btn.is-active,
.feedback-btn:hover {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.feedback-result-display,
.enterprise-readout {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 14px;
  padding: 16px 20px;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feedback-result-display span,
.enterprise-readout span {
  color: #34d399;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.feedback-result-display strong,
.enterprise-readout strong {
  font-size: 0.88rem;
  line-height: 1.4;
  color: #cbd5e1;
}

.enterprise-nodes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.enterprise-node {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.enterprise-node i {
  font-size: 1.4rem;
  color: #7c3aed;
}

.enterprise-node strong {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #1e293b;
}

.enterprise-node.is-active,
.enterprise-node:hover {
  background: #ffffff;
  border-color: #7c3aed;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.18);
}

@media (max-width: 768px) {
  .console-body-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .orchestration-nodes-wrapper {
    flex-direction: column;
  }

  .orchestration-connector {
    transform: rotate(90deg);
  }
}

/* ==========================================================================
   FINAL AGENT NEXUS HEADER, LOGO & INTERACTIVE OPERATING SYSTEM CONSOLE
   ========================================================================== */

/* 1. White Header background tone & high contrast styling */
.site-header {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 32px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .nav-links a {
  color: #334155 !important;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-header .nav-links a:hover,
.site-header .nav-links a.active {
  color: #7c3aed !important;
}

.site-header .menu-toggle {
  color: #0f172a !important;
}

.site-header .main-nav {
  margin-left: 0;
  margin-right: 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: visible !important;
  text-decoration: none;
}

.logo-wrap svg,
.agent-nexus-header-svg {
  display: block;
  width: 220px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  overflow: visible;
}

/* Green status dot pulse */
.status-green-dot {
  filter: drop-shadow(0 0 6px #4ade80);
  animation: dotPulse 3s infinite ease-in-out;
}

@keyframes dotPulse {

  0%,
  100% {
    fill: #4ade80;
    opacity: 1;
  }

  50% {
    fill: #22c55e;
    opacity: 0.75;
  }
}

/* Slow violet data trace through nexus lines */
.nexus-line.line-1,
.nexus-line.line-4 {
  animation: tracePulseSlow 5s infinite ease-in-out;
}

.nexus-line.line-2,
.nexus-line.line-5 {
  animation: tracePulseSlow 5s infinite ease-in-out 2.5s;
}

@keyframes tracePulseSlow {

  0%,
  100% {
    stroke: #a78bfa;
    stroke-width: 1.5;
  }

  50% {
    stroke: #c084fc;
    stroke-width: 2.2;
  }
}

/* Descriptor light sweep */
.logo-descriptor-text {
  animation: textLightSweep 8s linear infinite;
}

@keyframes textLightSweep {

  0%,
  100% {
    fill: #94a3b8;
  }

  50% {
    fill: #c084fc;
  }
}

@media (prefers-reduced-motion: reduce) {

  .status-green-dot,
  .nexus-line,
  .logo-descriptor-text {
    animation: none;
  }
}

/* 4. Interactive Agent Nexus Console Section */
.nexus-hero-section {
  padding-top: 40px;
  padding-bottom: 60px;
}

.agent-nexus-console {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 20px;
  padding: 24px;
  margin-top: 32px;
  box-shadow: 0 20px 50px rgba(7, 12, 27, 0.6), inset 0 0 30px rgba(139, 92, 246, 0.05);
  backdrop-filter: blur(16px);
}

.nexus-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.nexus-console-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nexus-badge {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #c084fc;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
}

.nexus-status-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nexus-log-ticker {
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  color: #38bdf8;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 4px 12px;
  border-radius: 6px;
}

/* Visual Workflow Horizontal Flow */
.nexus-workflow-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 4px 20px 4px;
  scroll-behavior: smooth;
}

.nexus-stage-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  min-width: 120px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  flex-shrink: 0;
}

.nexus-stage-card .node-icon {
  font-size: 1.2rem;
  color: #38bdf8;
  margin-bottom: 6px;
}

.nexus-stage-card .node-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.04em;
}

.nexus-stage-card .node-sub {
  font-size: 0.65rem;
  color: #94a3b8;
  margin-top: 2px;
}

.nexus-stage-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.nexus-mini-node {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nexus-mini-node i {
  color: #e2e8f0;
  font-size: 0.8rem;
}

.nexus-flow-arrow {
  color: #64748b;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Active & Hover States */
.nexus-node-interactive:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.2);
}

.nexus-node-interactive.is-active-step {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4) !important;
}

.nexus-node-interactive.is-verified-step {
  background: rgba(34, 197, 94, 0.15) !important;
  border-color: #4ade80 !important;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.4) !important;
}

/* Output Inspector Drawer */
.nexus-inspector-panel {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 14px;
}

.inspector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.inspector-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.08em;
}

.inspector-status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.inspector-body {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  .logo-descriptor {
    animation: none;
    background: #c084fc;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .nexus-line {
    animation: none;
  }
}

/* Mobile Responsiveness (<768px) */
@media (max-width: 768px) {
  .site-header {
    padding: 12px 18px !important;
  }

  .logo-wrap svg,
  .agent-nexus-header-svg {
    width: 190px;
  }

  .nexus-workflow-flow {
    flex-direction: column;
    align-items: stretch;
    overflow-x: visible;
  }

  .nexus-flow-arrow {
    transform: rotate(90deg);
    align-self: center;
    margin: 4px 0;
  }

  .nexus-stage-group {
    width: 100%;
  }

  .nexus-mini-node {
    justify-content: center;
  }
}

@media (max-width: 480px) {

  .logo-wrap svg,
  .agent-nexus-header-svg {
    width: 165px;
  }
}

/* ==================================================
   LIVE CRM WORKFLOW COMPONENT STYLES
   ================================================== */
.live-crm-workflow {
  width: var(--container);
  margin: 50px auto;
  padding: 40px 36px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: var(--radius-panel, 24px);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.05);
  backdrop-filter: blur(14px);
}

.crm-workflow-header {
  margin-bottom: 30px;
}

.crm-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.crm-editorial-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  margin: 6px 0 0;
  color: #0f172a;
}

.crm-editorial-heading .editorial-strong {
  font-weight: 800;
  font-family: var(--font-display);
  color: #0f172a;
}

.crm-editorial-heading .editorial-italic {
  font-style: italic;
  font-weight: 400;
  color: #7c3aed;
  font-family: serif, var(--font-display);
}

.crm-engine-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.status-dot-active {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseGreenDot 2s infinite;
}

@keyframes pulseGreenDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.crm-supporting-copy {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #334155;
  margin: 14px 0 10px;
  max-width: 900px;
}

.crm-definition {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
  background: rgba(124, 58, 237, 0.04);
  border-left: 3px solid #7c3aed;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  margin: 12px 0 0;
  max-width: 1000px;
}

.crm-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(31, 36, 48, 0.08);
}

.crm-scenario-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.crm-scenario-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  outline: none;
}

.crm-scenario-tab .tab-num {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 800;
}

.crm-scenario-tab:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.crm-scenario-tab:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
}

.crm-scenario-tab.is-active,
.crm-scenario-tab[aria-selected="true"] {
  background: rgba(124, 58, 237, 0.08);
  border-color: #7c3aed;
  color: #6d28d9;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.12);
}

.crm-scenario-tab.is-active .tab-num {
  color: #7c3aed;
}

.crm-sim-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
}

/* 4-Stage Flow Grid */
.crm-flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 24px;
}

.crm-stage-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  outline: none;
  font-family: inherit;
  position: relative;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.02);
}

.crm-stage-card:hover {
  border-color: #c084fc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.08);
}

.crm-stage-card:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
}

.crm-stage-card.is-active {
  background: #fcfaff;
  border-color: #7c3aed;
  border-left: 4px solid #7c3aed;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.14);
}

.stage-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.stage-num-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
}

.stage-status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.status-verified {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-hydrated {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-passed {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.status-pending {
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.stage-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

.stage-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crm-lead-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.crm-lead-role {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.crm-metric-box {
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.metric-label {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
}

.metric-val {
  font-size: 0.9rem;
  font-weight: 800;
  color: #7c3aed;
}

.crm-rag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: #334155;
  font-weight: 500;
}

.crm-rag-list i {
  color: #059669;
  font-size: 0.72rem;
  margin-right: 4px;
}

.crm-route-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #7c3aed;
}

.crm-confidence {
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
}

.crm-reasoning-summary {
  margin-top: 6px;
}

.reasoning-summary-heading {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.crm-factors-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.76rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.crm-action-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.crm-action-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  position: relative;
}

.action-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.action-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}

.action-badge {
  position: absolute;
  right: 8px;
  top: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.badge-verified {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-executing {
  background: rgba(59, 130, 246, 0.15);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.3);
  animation: pulseBlue 1.2s infinite;
}

.badge-pending {
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
}

@keyframes pulseBlue {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.stage-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.illustrative-demo-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.card-click-hint {
  font-size: 0.72rem;
  font-weight: 700;
  color: #7c3aed;
}

.crm-flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: color 0.3s ease, transform 0.3s ease;
}

.crm-flow-connector.is-active-path {
  color: #7c3aed;
  transform: scale(1.15);
}

/* Stage Detail Inspector */
.crm-stage-inspector {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #7c3aed;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

.inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 10px;
}

.inspector-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #7c3aed;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.inspector-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.inspector-content {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.55;
}

/* Live Agent Trace Log Console */
.crm-trace-console {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 24px;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  box-shadow: 0 12px 30px rgba(7, 12, 27, 0.5);
}

.console-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.console-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #38bdf8;
}

.console-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-meta-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.console-latency {
  font-size: 0.74rem;
  color: #94a3b8;
}

.console-latency strong {
  color: #4ade80;
}

.console-log-stream {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  font-size: 0.84rem;
  line-height: 1.55;
}

.log-entry {
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
}

.log-entry-ready {
  color: #94a3b8;
}

.log-entry-success {
  color: #4ade80;
}

.log-entry-info {
  color: #38bdf8;
}

.log-entry-warn {
  color: #c084fc;
}

.log-entry-verified {
  color: #34d399;
  font-weight: 700;
  background: rgba(52, 211, 153, 0.1);
}

/* Responsive Breakpoints for CRM Module */
@media (max-width: 1024px) {
  .crm-flow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .crm-flow-connector {
    display: none;
  }
}

@media (max-width: 640px) {
  .live-crm-workflow {
    padding: 24px 18px;
    margin: 30px auto;
  }

  .crm-flow-grid {
    grid-template-columns: 1fr;
  }

  .crm-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .crm-scenario-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .crm-scenario-tab {
    justify-content: center;
  }

  .crm-sim-btn {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   SYSTEM FLOW 8-STEP INTERACTIVE SIMULATOR STYLES
   ========================================================================== */

.system-process {
  padding: 60px 24px;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
}

.sys-container {
  background: rgba(13, 11, 26, 0.75);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-panel, 20px);
  padding: 40px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(139, 92, 246, 0.08);
}

.sys-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
  gap: 24px;
  flex-wrap: wrap;
}

.sys-title-group {
  max-width: 720px;
}

.sys-editorial-heading {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 12px 0 16px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.sys-editorial-heading .editorial-strong {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.sys-editorial-heading .editorial-italic {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sys-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.6;
}

.sys-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sys-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #10b981;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  animation: statusPulse 1.8s infinite ease-in-out;
}

@keyframes statusPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

.sys-run-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.sys-run-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.sys-run-btn:active {
  transform: translateY(0);
}

/* 8-Step Pipeline Grid */
.sys-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.sys-step-card {
  background: rgba(22, 19, 44, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 124px;
}

.sys-step-card:hover {
  background: rgba(30, 26, 59, 0.8);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.sys-step-card.is-active {
  background: rgba(36, 29, 74, 0.9);
  border-color: #8b5cf6;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.35);
  transform: translateY(-2px);
}

.sys-step-card.is-executing {
  background: rgba(45, 30, 85, 0.95);
  border-color: #00f2fe;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.45);
  animation: stepGlowPulse 1.2s infinite alternate ease-in-out;
}

@keyframes stepGlowPulse {
  0% {
    border-color: #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
  }

  100% {
    border-color: #38bdf8;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.7);
  }
}

.sys-step-card.is-verified {
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(14, 35, 30, 0.7);
}

.sys-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.sys-step-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
  font-family: monospace;
}

.sys-step-card.is-active .sys-step-num {
  color: #e2e8f0;
}

.sys-step-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sys-step-badge.badge-active {
  background: rgba(139, 92, 246, 0.2);
  color: #94a3b8;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.sys-step-badge.badge-executing {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.sys-step-badge.badge-verified {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.sys-step-icon {
  font-size: 1.4rem;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.sys-step-card.is-verified .sys-step-icon {
  color: #34d399;
}

.sys-step-body {
  display: flex;
  flex-direction: column;
}

.sys-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.sys-step-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.sys-connector {
  display: none;
}

/* Step Inspector Panel */
.sys-stage-inspector {
  background: rgba(15, 13, 30, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}

.sys-inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(25, 21, 48, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sys-inspector-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 0.9rem;
}

.sys-inspector-title {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.sys-inspector-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.sys-inspector-status.status-active {
  background: rgba(139, 92, 246, 0.2);
  color: #94a3b8;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.sys-inspector-status.status-verified {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sys-inspector-body {
  padding: 20px;
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  background: #090714;
  max-height: 220px;
  overflow-y: auto;
}

.sys-payload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.sys-payload-card {
  background: rgba(20, 16, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 16px;
}

.sys-payload-key {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.sys-payload-val {
  font-weight: 600;
  color: #ffffff;
  word-break: break-all;
}

/* Telemetry Trace Console */
.sys-trace-console {
  background: #080612;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
}

.sys-console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(20, 17, 40, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.sys-console-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #38bdf8;
}

.sys-console-right {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.sys-demo-tag {
  font-size: 0.68rem;
  background: rgba(139, 92, 246, 0.2);
  color: #94a3b8;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.sys-console-log-stream {
  padding: 16px 20px;
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  line-height: 1.7;
  max-height: 160px;
  overflow-y: auto;
}

.sys-log-line {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.8);
}

.sys-log-line .log-time {
  color: rgba(255, 255, 255, 0.4);
  margin-right: 8px;
}

.sys-log-line .log-tag {
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 8px;
  font-size: 0.72rem;
}

.sys-log-line .tag-goal {
  background: rgba(168, 85, 247, 0.25);
  color: #c084fc;
}

.sys-log-line .tag-context {
  background: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

.sys-log-line .tag-memory {
  background: rgba(251, 146, 60, 0.25);
  color: #fb923c;
}

.sys-log-line .tag-reasoning {
  background: rgba(250, 204, 21, 0.25);
  color: #facc15;
}

.sys-log-line .tag-tools {
  background: rgba(192, 132, 252, 0.25);
  color: #e879f9;
}

.sys-log-line .tag-action {
  background: rgba(244, 63, 94, 0.25);
  color: #fb7185;
}

.sys-log-line .tag-verify {
  background: rgba(45, 212, 191, 0.25);
  color: #2dd4bf;
}

.sys-log-line .tag-result {
  background: rgba(52, 211, 153, 0.25);
  color: #34d399;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .sys-pipeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sys-container {
    padding: 24px 16px;
  }

  .sys-header {
    flex-direction: column;
    align-items: stretch;
  }

  .sys-editorial-heading {
    font-size: 1.8rem;
  }

  .sys-pipeline-grid {
    grid-template-columns: 1fr;
  }
}

.footer-flag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted, rgba(255, 255, 255, 0.7));
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 10px;
}

.footer-flag-item img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
}

/* ==========================================================================
   N8N LIVE AI CHAT IFRAME SECTION STYLES
   ========================================================================== */

.n8n-chat-section {
  padding: 40px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.n8n-chat-container-box {
  background: rgba(13, 11, 26, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.1);
}

.n8n-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(20, 17, 40, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.n8n-chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #38bdf8;
  font-size: 0.95rem;
}

.n8n-chat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
}

/* ==========================================================================
   N8N LIVE CHAT EMBEDDED SECTION STYLES & THEME MATCHING
   ========================================================================== */
:root {
  --n8n-chat-primary-color: #8b5cf6;
  --n8n-chat-primary-color-hover: #7c3aed;
  --n8n-chat-background-color: #0f172a;
  --n8n-chat-chat-background-color: #0b0f17;
  --n8n-chat-header-background-color: #1e293b;
  --n8n-chat-text-color: #f8fafc;
  --n8n-chat-text-color-secondary: #94a3b8;
  --n8n-chat-border-color: rgba(139, 92, 246, 0.35);
  --n8n-chat-button-bg-color: #8b5cf6;
  --n8n-chat-button-text-color: #ffffff;
  --n8n-chat-input-bg-color: #1e293b;
  --n8n-chat-input-text-color: #f8fafc;
}

.n8n-live-chat-section {
  max-width: var(--container, 1200px);
  margin: 60px auto;
  padding: 0 20px;
}

.n8n-chat-iframe-wrapper {
  background: #0f172a;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(139, 92, 246, 0.2);
  overflow: hidden;
  backdrop-filter: blur(16px);
  margin-top: 32px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.n8n-chat-iframe-wrapper:hover {
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 45px rgba(139, 92, 246, 0.25);
}

.n8n-chat-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

.chat-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.05em;
}

.chat-url-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c084fc;
  background: rgba(139, 92, 246, 0.15);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.n8n-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.prompt-pill-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #7c3aed;
  margin-right: 4px;
}

.n8n-prompt-btn {
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #0f172a;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.04);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.n8n-prompt-btn i {
  color: #7c3aed;
}

.n8n-prompt-btn:hover {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.n8n-prompt-btn:hover i {
  color: #ffffff;
}

/* n8n Chat Widget Custom Theme Overrides */
#n8n-chat-container,
.n8n-chat-widget,
div[class*="chat-widget"] {
  font-family: 'Inter', sans-serif !important;
}

.n8n-chat-widget-button,
button[class*="chat-toggle"] {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%) !important;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5) !important;
  border: 1px solid rgba(167, 139, 250, 0.4) !important;
  color: #ffffff !important;
}

/* Apex Template 1.2.0 Theme System */
:root {
  --apex-bg: #F5F5F0;
  --apex-fg: #1A1A1A;
  --apex-card: #EAEAE5;
  --apex-card-white: #FFFFFF;
  --apex-muted-fg: #4F4F4D;
  --apex-border: #D5D5D0;
  --apex-violet: #7050B4;
  --apex-dark-surface: #141412;
}

body {
  background-color: var(--bg-main, #faf8ff);
  color: #000000;
  font-family: "Geist", "Inter", sans-serif;
}

/* Apex Floating Pill Nav Header */
.site-header {
  position: fixed !important;
  top: 16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  max-width: min(1200px, 95vw) !important;
  height: 56px !important;
  border-radius: 9999px !important;
  background: rgba(245, 245, 240, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid var(--apex-border) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding: 0 16px 0 20px !important;
  z-index: 1000 !important;
}

/* Logo icon only - Logo text hidden per request ("logo txt hata do") */
.site-header .logo,
.site-header .logo-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
}

.site-header .logo-lockup strong,
.site-header .logo-lockup small,
.site-header .logo-text {
  display: none !important;
  /* Hides logo text string */
}

.site-header .logo-icon-svg {
  width: 26px;
  height: 26px;
  color: var(--apex-fg);
  display: inline-block;
}

.site-header .header-cta {
  display: none !important;
}

/* Apex Pill Navigation Links */
.main-nav .nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.main-nav .nav-links a,
.dropdown-toggle {
  color: #000000 !important;
  font-size: 0.86rem !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.main-nav .nav-links a:hover,
.dropdown-toggle:hover {
  background: rgba(0, 0, 0, 0.06) !important;
}

/* Nav Dashboard CTA Button — Refined Modern SaaS Pill */
.site-header .nav-dashboard-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0f172a !important;
  font-family: var(--font-body, 'Inter', -apple-system, sans-serif) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  padding: 5px 14px 5px 6px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  border: 1px solid rgba(124, 58, 237, 0.22) !important;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

.site-header .nav-dashboard-btn span:not(.nav-client-icon) {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.site-header .nav-dashboard-btn:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
  border-color: #7c3aed !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35), 0 0 0 1px rgba(124, 58, 237, 0.25) !important;
}

.site-header .nav-dashboard-btn:hover span:not(.nav-client-icon) {
  color: #ffffff !important;
}

/* Single professional icon badge */
.site-header .nav-dashboard-btn .nav-client-icon,
.site-header .nav-dashboard-btn > i:first-child {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%) !important;
  color: #ffffff !important;
  font-size: 0.70rem !important;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.35) !important;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.site-header .nav-dashboard-btn:hover .nav-client-icon,
.site-header .nav-dashboard-btn:hover > i:first-child {
  background: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
  transform: scale(1.08) !important;
}

/* Eliminate clumsy redundant secondary arrows/icons */
.site-header .nav-dashboard-btn .fa-arrow-right,
.site-header .nav-dashboard-btn i:last-child:not(:first-child) {
  display: none !important;
}

/* Language Switcher Styling */
.site-header .language-switcher {
  position: relative !important;
  margin-left: 6px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
}

.site-header .lang-current {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  color: #0f172a !important; /* CRITICAL: High-contrast visible text */
  padding: 6px 12px !important;
  border-radius: 9999px !important;
  background: rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
  white-space: nowrap !important;
}

.site-header .lang-current:hover {
  background: rgba(0, 0, 0, 0.09) !important;
  border-color: rgba(0, 0, 0, 0.16) !important;
  color: #000000 !important;
}

.site-header .lang-current i.fa-globe {
  font-size: 0.85rem !important;
  color: #475569 !important;
}

.site-header .lang-current:hover i.fa-globe {
  color: #0f172a !important;
}

.site-header .lang-current .current-lang {
  color: #0f172a !important;
  letter-spacing: 0.02em !important;
}

.site-header .lang-current i.fa-chevron-down {
  font-size: 0.65rem !important;
  color: #64748b !important;
  margin-left: 1px !important;
}

.site-header .lang-dropdown {
  display: none;
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 6px !important;
  list-style: none !important;
  min-width: 135px !important;
  z-index: 1001 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
}

.site-header .lang-dropdown .lang-option {
  display: block !important;
  padding: 7px 12px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  border-radius: 8px !important;
  transition: all 0.15s ease !important;
}

.site-header .lang-dropdown .lang-option:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

/* Apex Nav Dropdown */
.nav-dropdown {
  background: var(--apex-card-white) !important;
  border: 1px solid var(--apex-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.12) !important;
  padding: 8px !important;
}

.nav-dropdown a {
  color: #000000 !important;
  border-radius: 8px !important;
}

.nav-dropdown a:hover {
  background: var(--apex-card) !important;
  color: var(--apex-violet) !important;
}

/* Middle Content Sections — Apex Styling */
.topic-main,
main,
section {
  color: var(--apex-fg);
}

.topic-card,
.process-card,
.topic-hero,
.compact-cta-card,
.api-workflow-container,
.ai-update-card {
  background: var(--apex-card-white) !important;
  border: 1px solid var(--apex-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.04) !important;
}

.button-primary {
  background: var(--apex-fg) !important;
  color: var(--apex-bg) !important;
  border-radius: 9999px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  border: none !important;
  transition: opacity 0.2s ease !important;
}

.button-primary:hover {
  opacity: 0.88 !important;
}

.button-secondary {
  background: var(--apex-card) !important;
  color: #000000 !important;
  border: 1px solid var(--apex-border) !important;
  border-radius: 9999px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
}

/* Apex Dark Surface Footer - Full Width Edge-to-Edge */
.site-footer {
  width: 100% !important;
  max-width: 100% !important;
  margin: 60px 0 0 0 !important;
  padding: 0 !important;
  background: var(--apex-dark-surface, #0f172a) !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-sizing: border-box !important;
  display: block !important;
}

.site-footer-col h4 {
  color: #ffffff !important;
}

.site-footer-col a {
  color: rgba(255, 255, 255, 0.75) !important;
  transition: color 0.2s ease !important;
}

.site-footer-col a:hover {
  color: #a78bfa !important;
}

.footer-name {
  color: #ffffff !important;
}

/* Nav Dropdown Menu Styles */
.nav-item-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-arrow {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-arrow,
.nav-item-dropdown:focus-within .nav-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  padding: 8px;
  min-width: 210px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

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

.nav-dropdown li {
  margin: 0;
  padding: 0;
}

.nav-dropdown a {
  display: block;
  padding: 8px 14px;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: #f1edff;
  color: #7c3aed;
}

/* 4 Global Flags Section in Footer */
.footer-flags-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.footer-flags-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
}

.footer-flags-list {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 20px;
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.api-node-card:hover,
.api-node-card.active {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}

.api-node-card small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.8;
  margin-bottom: 4px;
}

.api-node-card strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
}

.api-workflow-arrow {
  color: #7c3aed;
  font-size: 0.9rem;
  font-weight: 700;
}

.api-node-preview-box {
  background: #0f172a;
  color: #f8fafc;
  border-radius: 10px;
  padding: 20px;
  font-family: "Space Mono", monospace, monospace;
  font-size: 0.82rem;
  margin-top: 16px;
  border-left: 4px solid #7c3aed;
}

/* Compact Final CTA Card */
.compact-cta-card {
  background: linear-gradient(135deg, #ffffff 0%, #faf8ff 100%);
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.05);
}

.compact-cta-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.compact-cta-card p {
  color: #475569;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 24px;
}










/* -- Agent Loop Styles -- */
.agent-loop-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: transparent;
}

.agent-loop-left {
  flex: 1;
}

.loop-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--whx-accent-blue);
  margin-bottom: 20px;
}

.loop-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: #111827;
}

.loop-highlight {
  color: var(--whx-accent-blue);
}

.agent-loop-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loop-circle-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 40px auto;
}

.loop-ring-outer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px dashed #cbd5e1;
  border-radius: 50%;
}

.loop-ring-middle {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
}

.loop-ring-inner {
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  bottom: 40px;
  border: 1px dashed #e2e8f0;
  border-radius: 50%;
  background: #f8fafc;
}

.loop-traveler {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #ef4444;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  box-shadow: 0 0 15px 5px rgba(239, 68, 68, 0.5);
  transition: top 0.1s linear, left 0.1s linear;
}

.loop-node {
  position: absolute;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 1px;
  z-index: 5;
  transition: all 0.3s ease;
}

.loop-node.active {
  background: var(--whx-accent-blue);
  color: #fff;
  border-color: var(--whx-accent-blue);
  transform: translate(-50%, -50%) scale(1.15) !important;
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.3);
}

.loop-footer {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #64748b;
  margin-top: 20px;
}

/* ==========================================
   APEX DARK SURFACE FOOTER - FULL WIDTH FIX
   ========================================== */
.site-footer {
  width: 100% !important;
  max-width: 100% !important;
  margin: 60px 0 0 0 !important;
  padding: 0 !important;
  background: var(--apex-dark-surface, #0f172a) !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-sizing: border-box !important;
  display: block !important;
}

.site-footer-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 40px !important;
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 48px 24px 32px !important;
  box-sizing: border-box !important;
}

.site-footer-col h4 {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
}

.site-footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.site-footer-col li {
  margin-bottom: 8px !important;
}

.site-footer-col a {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.site-footer-col a:hover {
  color: #a78bfa !important;
}

.footer-name {
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .site-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 36px 20px 24px !important;
  }
}

main {
  padding-top: 100px;
}

@keyframes logo-green-pulse {

  0%,
  100% {
    color: #16a34a;
    transform: scale(1);
    filter: drop-shadow(0 0 3px rgba(22, 163, 74, 0.35));
  }

  50% {
    color: #22c55e;
    transform: scale(1.03);
    filter: drop-shadow(0 0 7px rgba(34, 197, 94, 0.65));
  }
}

.site-header .logo-icon-svg {
  animation: logo-green-pulse 5s infinite ease-in-out !important;
}


/* WHX Operations Dashboard Styles */
.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-card small {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.metric-status {
  font-size: 0.55rem;
  color: #64748b;
  margin-top: 8px;
  text-transform: uppercase;
}

.execution-health-panel {
  grid-column: auto;
}

.execution-health-empty p {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 15px;
  line-height: 1.5;
}

.execution-health-chart {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 15px;
  height: 24px;
}

.health-node {
  flex: 1;
  height: 100%;
  border-radius: 4px;
  background: #f1f5f9;
  transition: all 0.3s ease;
}

.health-node.success {
  background: #22c55e;
}

.health-node.verify {
  background: #3b82f6;
}

.health-node.review {
  background: #f59e0b;
}

.health-node.error {
  background: #ef4444;
}

.activity-stream p {
  animation: slide-fade-in 0.3s ease-out forwards;
  opacity: 0;
  transform: translateX(10px);
}

@keyframes slide-fade-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.val-pulse {
  animation: tiny-purple-pulse 0.4s ease-out;
}

@keyframes tiny-purple-pulse {
  0% {
    color: #7c3aed;
    transform: scale(1.05);
  }

  100% {
    color: var(--auto-blue);
    transform: scale(1);
  }
}

.val-complete {
  color: #22c55e !important;
}

#dashboard-activity-stream {
  max-height: 350px;
  overflow: hidden;
}


@media (max-width: 500px) {
  .monitor-metrics {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 500px) {
  .loop-label {
    font-size: 0.55rem !important;
    padding: 4px 6px !important;
  }
}


/* ==========================================================================
   WHX Shared Rotating Services Line Component
   ========================================================================== */
.whx-rotating-services {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 14px 0 20px;
  padding: 6px 16px 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(124, 58, 237, 0.16);
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.03);
  font-family: var(--font-display, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  user-select: none;
  max-width: 100%;
}

.whx-rotate-prefix {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.whx-rotate-prefix::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  flex-shrink: 0;
}

.whx-rotate-viewport {
  position: relative;
  display: inline-block;
  height: 1.5em;
  overflow: hidden;
  vertical-align: middle;
  flex-shrink: 0;
}

.whx-rotate-phrase {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #7c3aed;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.whx-rotate-phrase.is-exiting {
  transform: translateY(-8px);
  opacity: 0;
}

.whx-rotate-phrase.is-entering {
  transform: translateY(8px);
  opacity: 0;
}

.whx-rotate-phrase.is-active {
  transform: translateY(0);
  opacity: 1;
}

.whx-rotate-trace {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, rgba(124, 58, 237, 0.1));
  border-radius: 2px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .whx-rotate-phrase {
    transition: opacity 0.38s ease !important;
    transform: none !important;
  }
}

@media (max-width: 640px) {
  .whx-rotating-services {
    border-radius: 12px;
    padding: 8px 12px;
    margin: 10px 0 16px;
    gap: 4px 8px;
  }
  .whx-rotate-viewport {
    height: auto;
    min-height: 1.5em;
  }
  .whx-rotate-phrase {
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   WHX FAQ Accordion System
   ========================================================================== */
.faq-section {
  padding: 60px 0;
}

.faq-container {
  max-width: 960px;
  margin: 0 auto;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.faq-item {
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.08);
}

.faq-item.is-open {
  border-color: rgba(124, 58, 237, 0.5);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  color: #0f172a;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #7c3aed;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: #7c3aed;
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
  padding: 0 24px 24px 24px;
}

.faq-answer p {
  margin: 0;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ==========================================================================
   WHX Trust & Governance Badges
   ========================================================================== */
.trust-badge-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 9999px;
  background: rgba(240, 253, 244, 0.8);
  backdrop-filter: blur(8px);
  color: #14532d;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.trust-badge i {
  color: #22c55e;
  font-size: 0.95rem;
}

/* ==========================================================================
   WHX Support SLA Callout
   ========================================================================== */
.support-sla-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  margin-top: 14px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 12px;
  background: rgba(245, 243, 255, 0.9);
  color: #4c1d95;
  font-size: 0.86rem;
  font-weight: 600;
}

.support-sla-banner i {
  color: #7c3aed;
}

/* ==========================================================================
   WHX Legal & Policy Pages Styling
   ========================================================================== */
.policy-container {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 40px 32px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
}

.policy-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.policy-header h1 {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #0f172a;
  margin-bottom: 12px;
}

.policy-header p {
  color: #64748b;
  font-size: 0.95rem;
}

.policy-content h2 {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 1.4rem;
  color: #0f172a;
  margin: 32px 0 14px;
}

.policy-content p, .policy-content li {
  color: #334155;
  font-size: 1rem;
  line-height: 1.7;
}

.policy-content ul {
  padding-left: 24px;
  margin: 16px 0;
}

.policy-content li {
  margin-bottom: 8px;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-grid);
  margin-top: 3rem;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-source-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-main);
  font-size: 1.2rem;
}

.google-logo i { color: #4285F4; }
.trustpilot-logo i { color: #00b67a; }
.clutch-logo strong { font-size: 0.7rem; letter-spacing: -0.5px; }

.review-meta {
  display: flex;
  flex-direction: column;
}

.review-meta strong {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
}

.review-meta small {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.review-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 4px;
}

.review-excerpt {
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.review-date {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.review-link {
  color: var(--accent-purple);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.review-link:hover {
  color: var(--accent-purple-hover);
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================
   WHITE THEME REDESIGN: CTA & FOOTER
   ========================================== */
.cta-panel .final-cta-primary,
.cta-panel .final-cta {
  background: #ffffff !important;
  border: 1px solid var(--border-subtle, rgba(31, 36, 48, 0.08)) !important;
  box-shadow: var(--shadow-elevated, 0 18px 40px rgba(17, 24, 39, 0.08)) !important;
  border-radius: var(--radius-panel, 24px) !important;
  color: #1f2430 !important;
  padding: 48px !important;
  margin-top: 40px !important;
}

.cta-panel .final-cta-copy h3 {
  color: #1f2430 !important;
}

.cta-panel .final-cta-copy p {
  color: var(--text-secondary, #586274) !important;
}

.cta-panel .final-cta .button-primary {
  background: var(--accent-purple, #7c3aed) !important;
  color: #ffffff !important;
  border: none !important;
}

.cta-panel .final-cta .button-secondary {
  border: 1px solid var(--accent-purple, #7c3aed) !important;
  color: var(--accent-purple, #7c3aed) !important;
  background: transparent !important;
}

.cta-panel .contact-emails a {
  color: var(--text-secondary, #586274) !important;
}

.cta-panel .contact-emails a:hover {
  color: var(--accent-purple, #7c3aed) !important;
}

.site-footer {
  background: #ffffff !important;
  color: var(--text-primary, #1f2430) !important;
  border-top: 1px solid var(--border-subtle, rgba(31, 36, 48, 0.08)) !important;
}

.site-footer-col h4, .footer-name {
  color: #1f2430 !important;
}

.site-footer-col a {
  color: var(--text-secondary, #586274) !important;
}

.site-footer-col a:hover {
  color: var(--accent-purple, #7c3aed) !important;
}

.site-footer p, .site-footer small {
  color: var(--text-secondary, #586274) !important;
}

/* ==========================================
   DEMO BOT CHAT INTERFACE
   ========================================== */
.whx-demo-bot-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.whx-demo-bot-overlay.active {
  opacity: 1;
  visibility: visible;
}

.whx-demo-bot-panel {
  background: #ffffff;
  width: 90%;
  max-width: 500px;
  height: 80vh;
  max-height: 700px;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whx-demo-bot-overlay.active .whx-demo-bot-panel {
  transform: translateY(0) scale(1);
}

.bot-header {
  background: #f8f7fc;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(31, 36, 48, 0.08);
}

.bot-header-info strong {
  display: block;
  font-size: 1.1rem;
  color: #1f2430;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.5px;
}

.bot-header-info small {
  color: #00b67a;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.bot-header-info small::before {
  content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: #00b67a;
}

.bot-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #586274;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.bot-close-btn:hover {
  background: rgba(0,0,0,0.05);
  color: #1f2430;
}

.bot-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bot-msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 90%;
}

.bot-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.bot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7c3aed;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.bot-msg.user .bot-avatar {
  background: #e2e8f0;
  color: #475569;
}

.bot-bubble {
  background: #f8f7fc;
  padding: 14px 18px;
  border-radius: 4px 16px 16px 16px;
  color: #1f2430;
  font-size: 0.95rem;
  line-height: 1.5;
  border: 1px solid rgba(31, 36, 48, 0.05);
}
.bot-msg.user .bot-bubble {
  background: #7c3aed;
  color: #ffffff;
  border-radius: 16px 4px 16px 16px;
}

.bot-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.bot-opt-btn {
  background: #ffffff;
  border: 1px solid #7c3aed;
  color: #7c3aed;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.bot-opt-btn:hover {
  background: #7c3aed;
  color: #ffffff;
}

.bot-workflow-box {
  background: #1f2430;
  color: #cbd5e1;
  font-family: monospace;
  font-size: 0.8rem;
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
  white-space: pre-wrap;
}

.bot-workflow-box .highlight { color: #22c55e; }
.bot-workflow-box .action { color: #38bdf8; }

.bot-footer {
  padding: 16px 20px;
  background: #f8f7fc;
  border-top: 1px solid rgba(31, 36, 48, 0.08);
  display: flex;
  gap: 10px;
}

.bot-footer input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 24px;
  border: 1px solid rgba(31, 36, 48, 0.15);
  font-size: 0.95rem;
  outline: none;
  background: #ffffff;
}
.bot-footer input:focus {
  border-color: #7c3aed;
}

.bot-send-btn {
  background: #7c3aed;
  color: #ffffff;
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}
.bot-send-btn:hover {
  background: #6d28d9;
}

/* Quick Chips & Typing Dots */
.bot-quick-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 20px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  scrollbar-width: none;
}
.bot-quick-chips::-webkit-scrollbar { display: none; }

.bot-chip-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}
.bot-chip-btn:hover {
  border-color: #7c3aed;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.05);
}

.bot-action-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #7c3aed;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 8px;
  margin-right: 6px;
  transition: all 0.2s ease;
}
.bot-action-badge:hover {
  background: #7c3aed;
  color: #ffffff;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
}
.typing-dot {
  width: 6px;
  height: 6px;
  background: #7c3aed;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

.bot-send-btn:disabled {
  background: #cbd5e1; cursor: not-allowed;
}

.cta-panel .support-sla-banner {
  color: var(--accent-purple, #7c3aed) !important;
  background: rgba(124, 58, 237, 0.1) !important;
  border: 1px solid rgba(124, 58, 237, 0.2) !important;
}

/* ==========================================================================
   WHX Insights & Resources System Styles
   ========================================================================== */
.insights-page, .article-page {
  background: #fafafa;
  color: #0f172a;
}

.insights-hero {
  padding: 60px 24px 32px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.insights-hero h1 {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: #0f172a;
  margin-bottom: 12px;
}

.insights-hero p {
  color: #475569;
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 28px;
}

.insights-controls {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.insights-search-wrapper {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.insights-search-input {
  width: 100%;
  padding: 14px 20px 14px 44px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 9999px;
  background: #ffffff;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.insights-search-input:focus {
  border-color: #7c3aed;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.12);
}

.insights-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
}

.insights-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.insights-filter-btn {
  padding: 8px 16px;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.8);
  color: #334155;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.insights-filter-btn:hover {
  border-color: #7c3aed;
  color: #7c3aed;
  background: #ffffff;
}

.insights-filter-btn.is-active {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
}

.insights-grid {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 900px) {
  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

.insights-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.insights-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.1);
}

.insights-card-category {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.insights-card-title {
  color: #0f172a;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.insights-card-desc {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.insights-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  color: #64748b;
  font-size: 0.8rem;
}

.insights-card-readmore {
  color: #7c3aed;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.insights-card:hover .insights-card-readmore {
  transform: translateX(4px);
}

/* ==========================================================================
   Article Layout Styling
   ========================================================================== */
.article-container {
  max-width: 820px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.article-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.article-category-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.article-header h1 {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-intro-lead {
  font-size: 1.15rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 24px;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: #64748b;
  font-size: 0.85rem;
}

.article-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #0f172a;
}

.article-author-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #7c3aed;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.article-toc {
  margin: 28px 0;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.article-toc-title {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-toc ul {
  padding-left: 18px;
  margin: 0;
}

.article-toc li {
  margin-bottom: 6px;
}

.article-toc a {
  color: #475569;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-toc a:hover {
  color: #7c3aed;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}

.article-body h2 {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 1.65rem;
  color: #0f172a;
  margin: 40px 0 16px;
}

.article-body h3 {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 1.3rem;
  color: #0f172a;
  margin: 28px 0 12px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-takeaways {
  margin: 36px 0;
  padding: 24px 28px;
  background: rgba(245, 243, 255, 0.9);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 16px;
}

.article-takeaways h3 {
  color: #4c1d95;
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-service-callout {
  margin: 36px 0;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-left: 4px solid #7c3aed;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.article-service-callout h4 {
  color: #0f172a;
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.article-service-callout p {
  color: #475569;
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.article-related-section {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid #e2e8f0;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .article-related-grid {
    grid-template-columns: 1fr;
  }
}

/* Multi-Platform Review Cards & Work Badges */
.review-work-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: #7c3aed;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
  width: fit-content;
}

.review-work-badge:hover {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.review-card[data-source] {
  transition: all 0.3s ease;
}

.review-filter-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #1f2430;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.review-filter-btn:hover {
  border-color: #7c3aed;
  color: #7c3aed;
}

.review-filter-btn.active {
  background: #1f2430;
  color: #ffffff;
  border-color: #1f2430;
}

/* ==========================================
   WHX DIGITAL PREMIUM ALIGNED FOOTER
   ========================================== */
.site-footer {
  width: 100% !important;
  background: #0f172a !important;
  color: #f8fafc !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 60px 0 30px !important;
  margin-top: 80px !important;
  box-sizing: border-box !important;
  font-family: 'Inter', sans-serif !important;
  display: block !important;
}

.site-footer-inner {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

.site-footer-grid {
  display: grid !important;
  grid-template-columns: 1.3fr 1fr 1fr 1fr !important;
  gap: 40px !important;
  padding-bottom: 48px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
}

.footer-brand-col .footer-name {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  display: block !important;
}

.footer-brand-col .footer-tagline {
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  margin: 12px 0 20px !important;
}

.footer-badges {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.footer-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(124, 58, 237, 0.12) !important;
  border: 1px solid rgba(124, 58, 237, 0.25) !important;
  color: #a78bfa !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  width: fit-content !important;
}

.site-footer-col h4 {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin: 0 0 20px !important;
}

.site-footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.site-footer-col li {
  margin-bottom: 10px !important;
}

.site-footer-col a {
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.site-footer-col a:hover {
  color: #ffffff !important;
  transform: translateX(2px) !important;
}

.footer-contact-links li a i {
  color: #a78bfa !important;
}

.site-footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 28px !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  color: #64748b !important;
  font-size: 0.82rem !important;
}

.footer-legal-links {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.footer-legal-links a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.footer-legal-links a:hover {
  color: #a78bfa !important;
}

.footer-legal-links .divider {
  color: #475569 !important;
}

.footer-status-indicator {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(34, 197, 94, 0.1) !important;
  border: 1px solid rgba(34, 197, 94, 0.2) !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  color: #22c55e !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
}

.footer-status-indicator .status-dot {
  width: 6px !important;
  height: 6px !important;
  background: #22c55e !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #22c55e !important;
}

@media (max-width: 992px) {
  .site-footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 600px) {
  .site-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .site-footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}







/* ==========================================
   LIVE AI BOT INTERACTIVE WORKFLOW STYLING
   ========================================== */
.bot-interactive-sim-container {
  background: #0f172a;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  padding: 14px;
  margin-top: 10px;
  color: #f8fafc;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.4);
}

.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sim-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  color: #ffffff;
}

.sim-badge {
  background: rgba(234, 179, 8, 0.2);
  color: #fde047;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}
.sim-badge.complete {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.sim-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.sim-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #7c3aed 0%, #38bdf8 50%, #22c55e 100%);
  border-radius: 4px;
  transition: width 0.4s ease-in-out;
  box-shadow: 0 0 10px #7c3aed;
}

.sim-node-graph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.node-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: #64748b;
  transition: color 0.3s, transform 0.3s;
}
.node-step i {
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.08);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.node-step.active {
  color: #38bdf8;
  transform: scale(1.05);
}
.node-step.active i {
  background: #7c3aed;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.8);
  animation: pulseNode 1.5s infinite;
}

@keyframes pulseNode {
  0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(124, 58, 237, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

.node-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 4px;
  transition: background 0.4s;
}
.node-line.active {
  background: linear-gradient(90deg, #7c3aed, #38bdf8);
  box-shadow: 0 0 6px #38bdf8;
}

.sim-chip-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.sim-chip-btn:hover {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}
/* ==========================================================================
   FOOTER ENHANCEMENTS
   ========================================================================== */
.site-footer {
  background: #0b1120;
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  position: relative;
}

.site-footer-col h4 {
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.site-footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: #7c3aed;
  border-radius: 2px;
}

.site-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-footer-col ul li a::before {
  content: '>';
  font-family: monospace;
  color: #7c3aed;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.2s ease;
  position: absolute;
  left: -15px;
  font-size: 0.8rem;
}

.site-footer-col ul li a:hover,
.site-footer-col ul li a:focus {
  color: #ffffff;
  outline: none;
}

.site-footer-col ul li a:hover::before,
.site-footer-col ul li a:focus::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.footer-badge i {
  color: #10b981;
}

.footer-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   STATUS PANEL
   ========================================================================== */
.whx-status-panel {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 320px;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  overflow: hidden;
}

.whx-status-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.status-panel-header {
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-panel-body {
  padding: 0;
}

.status-module-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.status-module-item {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background 0.2s;
  opacity: 0;
  transform: translateY(10px);
}

.whx-status-panel.is-open .status-module-item {
  animation: slideUpFade 0.4s forwards ease-out;
}

.whx-status-panel.is-open .status-module-item:nth-child(1) { animation-delay: 0.1s; }
.whx-status-panel.is-open .status-module-item:nth-child(2) { animation-delay: 0.15s; }
.whx-status-panel.is-open .status-module-item:nth-child(3) { animation-delay: 0.2s; }
.whx-status-panel.is-open .status-module-item:nth-child(4) { animation-delay: 0.25s; }
.whx-status-panel.is-open .status-module-item:nth-child(5) { animation-delay: 0.3s; }

@keyframes slideUpFade {
  to { opacity: 1; transform: translateY(0); }
}

.status-module-item:hover {
  background: rgba(255,255,255,0.02);
}

.status-module-name {
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.status-module-state {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 0.8rem;
  font-family: monospace;
}

.state-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.state-dot.ready, .state-dot.available { background: #10b981; }
.state-dot.configured { background: #3b82f6; }

.status-module-detail {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.1);
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.4;
}

.status-module-item.is-expanded .status-module-detail {
  display: block;
}

@media (max-width: 768px) {
  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start !important;
    text-align: left;
    gap: 20px;
  }
  .whx-status-panel {
    bottom: 90px;
    right: 15px;
    left: 15px;
    width: auto;
  }
  .whx-system-status {
    bottom: 20px;
    right: 20px;
  }
}

/* ==========================================
   WHX WORKFLOW ENGINE - CONTACT PAGE
   ========================================== */
.whx-workflow-panel {
  position: relative;
}

.whx-node {
  display: flex;
  position: relative;
  min-height: 70px;
}

.whx-node-status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #e2e8f0;
  position: absolute;
  left: 0;
  top: 14px;
  z-index: 2;
  transition: all 0.3s ease;
}

.whx-node-card {
  margin-left: 32px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.whx-node-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  color: #475569;
}

.whx-node-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #64748b;
  letter-spacing: 0.5px;
}

.whx-connector-line {
  position: absolute;
  left: 6px;
  top: 28px;
  bottom: -14px;
  width: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.whx-pulse-dot {
  position: absolute;
  left: -3px;
  top: 0;
  width: 8px;
  height: 8px;
  background: #7c3aed;
  border-radius: 50%;
  box-shadow: 0 0 8px #7c3aed;
  opacity: 0;
}

/* States */
.whx-node.running .whx-node-status-dot {
  background: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}
.whx-node.running .whx-node-card {
  border-color: #7c3aed;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
}
.whx-node.running .whx-node-title {
  color: #7c3aed;
}
.whx-node.running .whx-node-badge {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.whx-node.verified .whx-node-status-dot {
  background: #10b981;
  box-shadow: 0 0 0 2px #d1fae5;
}
.whx-node.verified .whx-node-card {
  border-color: #d1fae5;
}
.whx-node.verified .whx-node-title {
  color: #1f2430;
}
.whx-node.verified .whx-node-badge {
  background: #dcfce7;
  color: #10b981;
}
.whx-node.verified .whx-connector-line {
  background: #10b981;
}

@keyframes pulseTravel {
  0% { top: 0; opacity: 1; }
  90% { top: 100%; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.whx-connector-line.animating .whx-pulse-dot {
  animation: pulseTravel 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.trace-line {
  margin-bottom: 4px;
  line-height: 1.4;
  opacity: 0;
  animation: fadeInTrace 0.3s forwards;
}

@keyframes fadeInTrace {
  to { opacity: 1; }
}

/* Error inline */
input.invalid, textarea.invalid {
  border-color: #ef4444 !important;
  background: #fef2f2;
}


/* ==========================================================================
   FOOTER BRAND COLUMN FIXES & ANIMATIONS
   ========================================================================== */
.site-footer-col {
  text-align: left !important;
  animation: footerColumnFadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.site-footer-col:nth-child(1) { animation-delay: 0.1s; }
.site-footer-col:nth-child(2) { animation-delay: 0.2s; }
.site-footer-col:nth-child(3) { animation-delay: 0.3s; }
.site-footer-col:nth-child(4) { animation-delay: 0.4s; }

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

.footer-brand-col {
  text-align: left !important;
}

.footer-brand-col .footer-name {
  text-align: left !important;
}

.footer-brand-col .footer-tagline {
  text-align: left !important;
  max-width: 90% !important;
}

.footer-badges {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin-top: 16px !important;
}

.footer-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(124, 58, 237, 0.08) !important;
  border: 1px solid rgba(124, 58, 237, 0.3) !important;
  padding: 8px 14px !important;
  border-radius: 8px !important; /* Make them modern rounded rectangles instead of pills if they are pills, or keep them modern */
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #c4b5fd !important;
  transition: all 0.3s ease !important;
  cursor: default;
}

.footer-badge i {
  color: #10b981 !important;
  font-size: 0.9rem !important;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-badge:hover {
  background: rgba(124, 58, 237, 0.15) !important;
  border-color: rgba(124, 58, 237, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.footer-badge:hover i {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Link subtle hover animations */
.site-footer-col ul li a {
  position: relative;
  display: inline-block;
  padding-left: 0;
  transition: padding-left 0.2s ease, color 0.2s ease !important;
}

.site-footer-col ul li a:hover {
  padding-left: 12px;
  color: #ffffff !important;
}

.site-footer-col ul li a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  color: #7c3aed;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(-10px);
}

.site-footer-col ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Override just in case to make it beautiful */
.footer-brand-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.footer-brand-col .footer-name {
  text-align: left !important;
}

.footer-brand-col .footer-tagline {
  text-align: left !important;
}

@media (max-width: 768px) {
  .footer-brand-col {
    align-items: center !important;
    text-align: center !important;
  }
  .footer-brand-col .footer-name, 
  .footer-brand-col .footer-tagline {
    text-align: center !important;
  }
  .footer-badges {
    justify-content: center !important;
  }
}

/* ==========================================================================
   ADVANCED CTA PANEL ENHANCEMENTS
   ========================================================================== */

/* The main CTA card */
.cta-panel .final-cta-primary,
.cta-panel .final-cta {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid rgba(124, 58, 237, 0.2) !important;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.cta-panel .final-cta-primary:hover,
.cta-panel .final-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(124, 58, 237, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

/* Subtle tech grid background inside the CTA */
.cta-panel .final-cta-primary::before,
.cta-panel .final-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center center;
  z-index: -1;
  opacity: 0.7;
  pointer-events: none;
}

/* Kicker styling */
.cta-panel .final-cta-primary .kicker {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #7c3aed !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-panel .final-cta-primary .kicker::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 2s infinite;
}

/* Headline styling */
.cta-panel .final-cta-copy h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #1f2430 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px !important;
}

/* SLA Banner (Purple Badge) */
.support-sla-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #7c3aed;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.support-sla-banner::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* Advanced Buttons */
.cta-panel .final-cta .button {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}

.cta-panel .final-cta .button-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3), inset 0 1px 0 rgba(255,255,255,0.2) !important;
}

.cta-panel .final-cta .button-primary:hover {
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5), inset 0 1px 0 rgba(255,255,255,0.2) !important;
  transform: translateY(-2px);
}

.cta-panel .final-cta .button-secondary {
  background: #ffffff !important;
  border: 1px solid rgba(124, 58, 237, 0.3) !important;
  color: #7c3aed !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

.cta-panel .final-cta .button-secondary:hover {
  border-color: #7c3aed !important;
  background: rgba(124, 58, 237, 0.04) !important;
  transform: translateY(-2px);
}

/* Email Contact Pills */
.cta-panel .contact-emails {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 12px !important;
  margin-top: 16px !important;
}

.cta-panel .contact-emails a {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  color: #475569 !important;
  font-size: 0.85rem !important;
  font-weight: 600;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
}

.cta-panel .contact-emails a:hover {
  background: #ffffff !important;
  border-color: #7c3aed !important;
  color: #7c3aed !important;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1) !important;
  transform: translateY(-2px);
}

.cta-panel .contact-emails a i {
  color: #94a3b8 !important;
  transition: color 0.3s ease !important;
}

.cta-panel .contact-emails a:hover i {
  color: #7c3aed !important;
}


/* WHX INTERACTIVE MODAL & PILL SYSTEM */
.whx-interactive-pill {
  cursor: pointer !important;
  transition: all 0.3s ease, opacity 0.4s ease, box-shadow 0.3s ease !important;
  position: relative;
  border-radius: 20px;
}
.whx-interactive-pill:hover,
.whx-interactive-pill:focus-visible {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4) !important;
  outline: none;
}
.whx-interactive-pill.is-dimmed {
  opacity: 0.35 !important;
  filter: grayscale(80%) !important;
}
.whx-interactive-pill.is-active-node {
  box-shadow: 0 0 0 2px var(--accent-purple), 0 8px 24px rgba(124, 58, 237, 0.6) !important;
  z-index: 10;
}

/* Modal Dialog Base */
.whx-info-modal {
  padding: 0;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 20px;
  background: var(--bg-surface, #0f172a);
  color: var(--text-primary, #e2e8f0);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  max-width: 600px;
  width: 92vw;
  margin: auto;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.whx-info-modal[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.whx-info-modal::backdrop {
  background: rgba(4, 6, 14, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.whx-info-modal[open]::backdrop {
  opacity: 1;
}

/* Modal Inner Layout */
.whx-modal-content {
  position: relative;
  padding: 32px 32px 40px;
  background: linear-gradient(145deg, rgba(30,41,59,0.8) 0%, rgba(15,23,42,1) 100%);
}
.whx-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--text-secondary, #94a3b8);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  min-width: 44px;
  min-height: 44px;
}
.whx-modal-close:hover,
.whx-modal-close:focus-visible {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: rotate(90deg);
  outline: none;
}

/* Modal Header */
.whx-modal-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 20px;
}
.whx-modal-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-purple, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.whx-modal-icon svg {
  width: 28px;
  height: 28px;
}
.whx-modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.whx-modal-status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(124, 58, 237, 0.2);
  color: #94a3b8;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(124, 58, 237, 0.4);
}

/* Modal Body */
.whx-modal-body p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary, #cbd5e1);
  margin: 0 0 24px;
}
.whx-modal-body h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-purple, #a78bfa);
  margin: 0 0 12px;
}
#whx-modal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#whx-modal-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: #f1f5f9;
  line-height: 1.5;
}
#whx-modal-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-purple, #8b5cf6);
  font-weight: 700;
}
.whx-integration-text {
  font-size: 0.9rem !important;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--accent-purple, #8b5cf6);
  border-radius: 4px;
  margin-bottom: 0 !important;
}
.whx-modal-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  background: var(--accent-purple, #7c3aed);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.whx-modal-btn:hover {
  background: #6d28d9;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(124, 58, 237, 0.3);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .whx-info-modal {
    width: 100vw;
    max-width: 100vw;
    border-radius: 24px 24px 0 0;
    margin: auto 0 0 0;
    border: none;
    border-top: 1px solid rgba(124, 58, 237, 0.3);
  }
  .whx-modal-content {
    padding: 24px 20px 32px;
  }
  .whx-modal-close {
    top: 16px;
    right: 16px;
  }
  .whx-interactive-pill {
    /* Touch target expansion */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}


/* ==========================================================================
   Custom Insights Workflow Diagram
   ========================================================================== */
.insights-workflow {
  margin: 32px 0;
  padding: 32px 24px;
  background: linear-gradient(to right, rgba(124, 58, 237, 0.03), rgba(34, 197, 94, 0.03));
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 20px;
  font-family: 'Space Grotesk', sans-serif;
  text-align: center;
  box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.1);
}

.insights-workflow-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.insights-workflow-nodes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .insights-workflow-nodes {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
}

.iw-node {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: #475569;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.iw-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
  border-color: #7c3aed;
  color: #7c3aed;
}

.iw-node.success {
  border-color: rgba(34, 197, 94, 0.3);
}

.iw-node.success:hover {
  border-color: #22c55e;
  color: #22c55e;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}

.iw-icon {
  font-size: 1.15rem;
  color: #7c3aed;
}

.iw-node.success .iw-icon {
  color: #22c55e;
}

.iw-arrow {
  color: #94a3b8;
  font-size: 1.2rem;
  animation: pulseArrow 2s infinite;
}

@media (max-width: 767px) {
  .iw-arrow {
    transform: rotate(90deg);
  }
}

@keyframes pulseArrow {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

@media (max-width: 767px) {
  @keyframes pulseArrow {
    0%, 100% { opacity: 0.5; transform: rotate(90deg) translateY(0); }
    50% { opacity: 1; transform: rotate(90deg) translateY(-4px); }
  }
}

/* ==========================================
   Code Vibe Modal
   ========================================== */
.code-vibe-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.code-vibe-window {
  width: 100%;
  max-width: 800px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.1);
  animation: modalPopup 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.code-vibe-header {
  background: #1e1e1e;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #333;
}

.code-vibe-dots {
  display: flex;
  gap: 8px;
}

.code-vibe-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.code-vibe-dots span:nth-child(1) { background: #ff5f56; }
.code-vibe-dots span:nth-child(2) { background: #ffbd2e; }
.code-vibe-dots span:nth-child(3) { background: #27c93f; }

.code-vibe-title {
  color: #858585;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.code-vibe-close {
  background: none;
  border: none;
  color: #858585;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.code-vibe-close:hover {
  color: #fff;
}

.code-vibe-body {
  background: #0d1117;
  padding: 30px;
  flex: 1;
  overflow-y: auto;
}

.code-vibe-modal pre {
  margin: 0;
  font-family: 'Space Mono', 'Fira Code', monospace;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3fb950;
  white-space: pre-wrap;
  text-shadow: 0 0 5px rgba(63, 185, 80, 0.4);
}

@keyframes modalPopup {
  0% { opacity: 0; transform: scale(0.95) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.system-online-indicator {
  transition: all 0.2s ease;
  cursor: pointer;
}
.system-online-indicator:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.status-text {
  transition: all 0.2s ease;
  cursor: pointer;
}
.status-text:hover {
  color: #3fb950 !important;
  text-shadow: 0 0 8px rgba(63, 185, 80, 0.5);
}

/* ============================================================
   PRIMARY SEARCH SERVICES (LOCAL SEO, GMP, CITATIONS, LINK BUILDING)
   ============================================================ */
.primary-search-services {
  position: relative;
  padding: 5rem 0;
}

.primary-search-services .section-head {
  margin-bottom: 3.5rem;
  max-width: 900px;
}

.primary-search-services .section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary, #586274);
  line-height: 1.7;
  margin-top: 1rem;
}

.search-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 3.5rem;
}

@media (max-width: 860px) {
  .search-services-grid {
    grid-template-columns: 1fr;
  }
}

.search-service-card {
  position: relative;
  background: var(--bg-card, rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color, rgba(31, 36, 48, 0.08));
  border-radius: var(--radius-card, 20px);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft, 0 12px 26px rgba(17, 24, 39, 0.04));
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.search-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.09);
  border-color: rgba(124, 58, 237, 0.35);
}

.search-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.search-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(59, 130, 246, 0.12));
  color: var(--accent-purple, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.search-icon-box.gmp-accent {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(59, 130, 246, 0.12));
  color: #0284c7;
  border-color: rgba(6, 182, 212, 0.25);
}

.search-icon-box.citations-accent {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.12));
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}

.search-icon-box.links-accent {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(236, 72, 153, 0.12));
  color: #9333ea;
  border-color: rgba(168, 85, 247, 0.25);
}

.search-service-badge {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  color: var(--accent-purple, #7c3aed);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.search-service-badge.badge-cyan {
  background: rgba(6, 182, 212, 0.08);
  color: #0284c7;
  border-color: rgba(6, 182, 212, 0.2);
}

.search-service-badge.badge-emerald {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.2);
}

.search-service-badge.badge-purple {
  background: rgba(168, 85, 247, 0.08);
  color: #9333ea;
  border-color: rgba(168, 85, 247, 0.2);
}

.search-service-num {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-purple, #7c3aed);
  margin-bottom: 6px;
  display: block;
}

.search-service-card h3 {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary, #1f2430);
  margin: 0 0 12px;
  line-height: 1.3;
}

.search-service-desc {
  font-size: 0.96rem;
  color: var(--text-secondary, #586274);
  line-height: 1.6;
  margin: 0 0 20px;
}

.search-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-feature-list li {
  font-size: 0.9rem;
  color: var(--text-primary, #1f2430);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.search-feature-list li i {
  color: #10b981;
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.search-card-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-color, rgba(31, 36, 48, 0.08));
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.search-impact-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary, #586274);
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-impact-tag i {
  color: var(--accent-purple, #7c3aed);
}

.search-card-cta {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-purple, #7c3aed);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.search-card-cta:hover {
  color: var(--accent-purple-hover, #6d28d9);
  transform: translateX(4px);
}

/* Growth Integration Banner */
.search-growth-banner {
  background: linear-gradient(135deg, #ffffff 0%, #faf8ff 50%, #f5f3ff 100%);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: var(--radius-panel, 24px);
  padding: 38px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  box-shadow: 0 16px 40px -12px rgba(124, 58, 237, 0.1), 0 4px 16px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
}

.search-growth-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: radial-gradient(circle at 80% 30%, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 860px) {
  .search-growth-banner {
    flex-direction: column;
    text-align: left;
    align-items: stretch;
    padding: 28px 24px;
    gap: 22px;
  }
}

.growth-banner-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.growth-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.22);
  color: #7c3aed;
  font-family: var(--font-display, Space Grotesk, sans-serif);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.growth-banner-content h3 {
  font-family: var(--font-display, Space Grotesk, sans-serif);
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #0f172a;
  line-height: 1.3;
}

.growth-banner-content p {
  font-size: 1rem;
  color: #475569;
  margin: 0;
  line-height: 1.65;
}

.growth-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.growth-banner-actions .button {
  text-align: center;
  justify-content: center;
  white-space: nowrap;
}

.growth-banner-actions .button-secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

.growth-banner-actions .button-secondary:hover {
  border-color: rgba(124, 58, 237, 0.45);
  background: #f8fafc;
  color: #7c3aed;
}

@media (min-width: 861px) {
  .growth-banner-actions {
    min-width: 240px;
  }
}

/* ============================================================
   SAAS HERO ENHANCEMENTS: LIVE PROOF & BADGE
   ============================================================ */
.saas-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 999px;
  padding: 6px 16px;
  font-family: var(--font-display, Space Grotesk, sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary, #1f2430);
  margin-bottom: 14px;
}

.saas-hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  animation: pulseGreen 2s infinite;
}

.saas-hero-badge .badge-sep {
  color: rgba(31, 36, 48, 0.25);
}

.saas-hero-badge .badge-highlight {
  color: var(--accent-purple, #7c3aed);
}

.hero-cta-actions-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.hero-trust-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-avatars {
  display: flex;
  align-items: center;
}

.proof-avatars .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -10px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.proof-avatars .avatar:first-child {
  margin-left: 0;
}

.proof-avatars .a1 { background: linear-gradient(135deg, #7c3aed, #3b82f6); }
.proof-avatars .a2 { background: linear-gradient(135deg, #06b6d4, #10b981); }
.proof-avatars .a3 { background: linear-gradient(135deg, #ec4899, #f59e0b); }

.proof-text {
  display: flex;
  flex-direction: column;
}

.proof-stars {
  color: #f59e0b;
  font-size: 0.82rem;
  letter-spacing: 2px;
}

.proof-text span {
  font-size: 0.82rem;
  color: var(--text-secondary, #586274);
  font-weight: 500;
}

.proof-text strong {
  color: var(--text-primary, #1f2430);
}

/* ============================================================
   GOOGLE MAPS 3-PACK & GEO-GRID LIVE RADAR MOCKUP (PREMIUM SAAS)
   ============================================================ */
.gmp-interactive-mockup-wrapper {
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: var(--radius-panel, 24px);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  margin-bottom: 3.5rem;
  color: #0f172a;
}

.mockup-header-strip {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.mockup-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-live-radar-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.mockup-title strong {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1e293b;
}

.mockup-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
}

/* Preset selector bar */
.mockup-presets-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: #faf5ff;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.preset-label {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #6d28d9;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.preset-chips-scroll {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.preset-chip:hover {
  border-color: #c4b5fd;
  color: #7c3aed;
  background: #ffffff;
  transform: translateY(-1px);
}

.preset-chip.is-active {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff;
  border-color: #7c3aed;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.mockup-body-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 24px 28px;
}

@media (max-width: 900px) {
  .mockup-body-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/* Search Bar */
.mockup-search-bar {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  margin-bottom: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mockup-search-bar:focus-within {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.search-main-icon {
  color: #7c3aed;
  font-size: 0.95rem;
}

#mockup-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  color: #0f172a;
  font-weight: 600;
  min-width: 140px;
}

.mockup-audit-run-btn {
  background: #ede9fe;
  color: #6d28d9;
  border: 1px solid #c4b5fd;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
}

.mockup-audit-run-btn:hover {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
}

.search-tag-local {
  font-size: 0.74rem;
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.mockup-3pack-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pack-item {
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.2s ease;
}

.pack-item-winner {
  background: linear-gradient(135deg, rgba(237, 233, 254, 0.7) 0%, rgba(240, 253, 250, 0.8) 100%);
  border: 1.5px solid #8b5cf6;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
}

.pack-item-competitor {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  opacity: 0.9;
}

.pack-rank-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.pack-item-winner .pack-rank-badge {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

.pack-item-competitor .pack-rank-badge {
  background: #e2e8f0;
  color: #64748b;
}

.pack-info {
  flex: 1;
}

.pack-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.pack-info strong {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 1.05rem;
  color: #0f172a;
}

.gbp-verified-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.04em;
}

.pack-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f59e0b;
  font-size: 0.78rem;
  margin-bottom: 6px;
}

.pack-stars span {
  color: #64748b;
  font-weight: 600;
  margin-left: 6px;
}

.pack-info p {
  font-size: 0.82rem;
  color: #475569;
  margin: 0 0 8px;
  line-height: 1.4;
}

.pack-actions-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pack-action-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
}

.pack-dir-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
}

.comp-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

.comp-gap-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #d97706;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pack-item-competitor small {
  color: #64748b;
  font-size: 0.78rem;
  display: block;
}

/* Radar & Geo-Grid Column */
.mockup-radar-col {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.radar-header {
  margin-bottom: 16px;
}

.radar-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.radar-header strong {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #0f172a;
}

.radar-scan-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 6px;
}

.radar-header small {
  color: #64748b;
  font-size: 0.78rem;
}

/* Authentic Radar Geo-Grid Map Canvas */
.geogrid-radar-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 20px 16px;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.04) 0%, #ffffff 70%);
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.radar-distance-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.radar-ring {
  position: absolute;
  border: 1px dashed rgba(124, 58, 237, 0.12);
  border-radius: 50%;
}

.radar-ring.ring-1 { width: 70px; height: 70px; }
.radar-ring.ring-2 { width: 150px; height: 150px; }
.radar-ring.ring-3 { width: 220px; height: 220px; }

.grid-node-pin {
  position: relative;
  z-index: 1;
  min-height: 56px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  font-family: inherit;
}

.grid-node-pin .pin-badge {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-weight: 800;
  font-size: 0.88rem;
  color: #047857;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 6px;
  line-height: 1;
  border: 1px solid #a7f3d0;
}

.grid-node-pin small {
  font-size: 0.68rem;
  color: #475569;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.grid-node-pin:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
  border-color: #059669;
}

.grid-node-pin.is-active {
  border-color: #7c3aed;
  background: #faf5ff;
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25), 0 8px 24px rgba(124, 58, 237, 0.2);
}

.grid-node-pin.is-active .pin-badge {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
}

.grid-node-pin.center-pin {
  background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 100%);
  border-color: #8b5cf6;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.15);
}

.grid-node-pin.center-pin .pin-badge {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #ffffff;
  border-color: #7c3aed;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
}

.radar-node-telemetry {
  margin-top: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.telemetry-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tele-label {
  color: #64748b;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.tele-val {
  color: #7c3aed;
  font-size: 0.82rem;
  font-weight: 700;
}

.telemetry-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tele-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.74rem;
  color: #475569;
  font-weight: 500;
}

.tele-pill strong {
  color: #0f172a;
}

.radar-caption {
  font-size: 0.8rem;
  color: #475569;
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
  font-weight: 500;
}

/* ============================================================
   GEO & AIO (GENERATIVE ENGINE OPTIMIZATION) BLOCK (SAAS LIGHT THEME)
   ============================================================ */
.aio-geo-block {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 50%, #f0fdfa 100%);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: var(--radius-panel, 24px);
  padding: 38px 44px;
  margin-bottom: 3.5rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  color: #0f172a;
}

@media (max-width: 900px) {
  .aio-geo-block {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
}

.aio-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-family: var(--font-display, Space Grotesk, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.aio-geo-copy h3 {
  font-family: var(--font-display, Space Grotesk, sans-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
  line-height: 1.3;
}

.aio-geo-copy p {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 20px;
}

.aio-geo-copy p strong {
  color: #0f172a;
}

.aio-engine-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.aio-engine-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #334155;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.aio-engine-tags span i {
  color: var(--accent-purple, #7c3aed);
}

/* Dual-Engine Navigation Switcher */
.dual-engine-nav-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 40px;
}

.engine-nav-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.15);
  padding: 16px 22px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.engine-nav-tab:hover {
  background: #faf5ff;
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.08);
}

.engine-nav-tab.is-active {
  background: linear-gradient(135deg, #f5f3ff 0%, #eff6ff 100%);
  border-color: #8b5cf6;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.12);
}

.engine-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
}
.engine-indicator-dot.green { background: #10b981; color: #10b981; }
.engine-indicator-dot.blue { background: #3b82f6; color: #3b82f6; }

.engine-nav-text strong {
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: #0f172a;
  font-family: var(--font-display, Space Grotesk, sans-serif);
}

.engine-nav-text span {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
}

/* SaaS Vector SVGs */
.saas-svg-icon {
  width: 32px;
  height: 32px;
  display: block;
  transition: transform 0.4s ease;
}

.search-service-card:hover .saas-svg-icon {
  transform: scale(1.1) rotate(2deg);
}

.search-icon-box.local-seo-accent {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(59, 130, 246, 0.04) 70%);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

/* Interactive Radar Improvements */
.geogrid-radar-map button.grid-node-dot {
  background: #ecfdf5;
  border: 1.5px solid #10b981;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  border-radius: 10px;
}

.geogrid-radar-map button.grid-node-dot:hover,
.geogrid-radar-map button.grid-node-dot.is-active {
  background: #d1fae5;
  border-color: #059669;
  transform: scale(1.12);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.geogrid-radar-map button.grid-node-dot.is-active::after {
  content: ";
 position: absolute;
 inset: -5px;
 border-radius: 14px;
 border: 2px solid #10b981;
 animation: radar-pulse 1.8s infinite;
}

@keyframes radar-pulse {
 0% { transform: scale(0.95); opacity: 0.9; }
 100% { transform: scale(1.3); opacity: 0; }
}

.radar-node-telemetry {
 margin-top: 14px;
 background: #ffffff;
 border: 1px solid #e2e8f0;
 border-radius: 12px;
 padding: 12px 16px;
 font-size: 0.8rem;
 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.telemetry-item {
 display: flex;
 align-items: center;
 justify-content: space-between;
 margin-bottom: 8px;
}

.tele-label {
 color: #64748b;
 font-size: 0.72rem;
 letter-spacing: 0.05em;
 font-weight: 700;
}

.tele-val {
 color: #7c3aed;
 font-size: 0.82rem;
 font-weight: 700;
}

.telemetry-pills {
 display: flex;
 gap: 8px;
 flex-wrap: wrap;
}

.tele-pill {
 display: inline-flex;
 align-items: center;
 gap: 5px;
 background: #f8fafc;
 border: 1px solid #e2e8f0;
 border-radius: 6px;
 padding: 4px 10px;
 font-size: 0.74rem;
 color: #475569;
 font-weight: 500;
}

.tele-pill strong {
 color: #0f172a;
}

/* GEO/AIO Interactive SaaS Simulator */
.aio-terminal-simulator {
 background: #ffffff;
 border: 1px solid rgba(124, 58, 237, 0.2);
 border-radius: 18px;
 overflow: hidden;
 box-shadow: 0 12px 32px rgba(124, 58, 237, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
 display: flex;
 flex-direction: column;
}

.aio-terminal-header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 background: #f8fafc;
 border-bottom: 1px solid #e2e8f0;
 padding: 10px 16px;
 flex-wrap: wrap;
 gap: 10px;
}

.aio-terminal-tabs {
 display: flex;
 gap: 6px;
 flex-wrap: wrap;
}

.aio-tab {
 background: #ffffff;
 border: 1px solid #e2e8f0;
 color: #475569;
 padding: 6px 12px;
 border-radius: 8px;
 font-size: 0.78rem;
 font-family: inherit;
 font-weight: 600;
 cursor: pointer;
 display: inline-flex;
 align-items: center;
 gap: 7px;
 transition: all 0.2s ease;
}

.aio-tab:hover {
 color: #7c3aed;
 background: #f5f3ff;
 border-color: #ddd6fe;
}

.aio-tab.is-active {
 background: #7c3aed;
 border-color: #7c3aed;
 color: #ffffff;
 box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.aio-live-indicator {
 font-size: 0.72rem;
 color: #059669;
 display: inline-flex;
 align-items: center;
 gap: 6px;
 letter-spacing: 0.08em;
 font-weight: 700;
}

.aio-live-indicator i {
 font-size: 0.5rem;
 animation: pulse-dot 1.4s infinite;
}

.aio-terminal-content {
 padding: 20px;
 display: flex;
 flex-direction: column;
 gap: 16px;
}

.aio-prompt-bubble {
 display: flex;
 gap: 12px;
 background: #f8fafc;
 border: 1px solid #e2e8f0;
 border-radius: 12px;
 padding: 12px 16px;
}

.user-query-icon {
 color: #7c3aed;
 margin-top: 3px;
 font-size: 0.95rem;
}

.prompt-label {
 font-size: 0.68rem;
 letter-spacing: 0.08em;
 color: #64748b;
 font-weight: 700;
}

.prompt-text p {
 margin: 4px 0 0;
 font-size: 0.9rem;
 color: #0f172a;
 font-weight: 600;
 line-height: 1.4;
}

.aio-reasoning-stream {
 display: flex;
 align-items: center;
}

.reasoning-pill {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 background: #ede9fe;
 border: 1px solid #ddd6fe;
 border-radius: 8px;
 padding: 7px 12px;
 font-size: 0.76rem;
 color: #6d28d9;
 line-height: 1.4;
 font-weight: 500;
}

.reasoning-pill i {
 color: #7c3aed;
}

.aio-response-box {
 background: #f8fafc;
 border: 1px solid #e2e8f0;
 border-radius: 14px;
 padding: 18px;
}

.ai-answer-header {
 display: flex;
 align-items: center;
 gap: 10px;
 margin-bottom: 12px;
}

.ai-bot-avatar {
 width: 28px;
 height: 28px;
 border-radius: 8px;
 background: linear-gradient(135deg, #7c3aed, #3b82f6);
 display: flex;
 align-items: center;
 justify-content: center;
 color: #ffffff;
 font-size: 0.82rem;
}

.ai-answer-header strong {
 font-size: 0.88rem;
 color: #0f172a;
 font-family: var(--font-display, Space Grotesk, sans-serif);
}

.aio-response-box p {
 font-size: 0.88rem;
 color: #334155;
 line-height: 1.6;
 margin: 0 0 14px;
}

.aio-response-box p strong {
 color: #7c3aed;
}

.aio-citations-row {
 display: flex;
 gap: 8px;
 flex-wrap: wrap;
}

.cite-chip {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 background: #ffffff;
 border: 1px solid #cbd5e1;
 border-radius: 6px;
 padding: 4px 10px;
 font-size: 0.74rem;
 color: #334155;
 font-weight: 600;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.aio-stats-summary-row {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 12px;
 margin-top: 24px;
}

.aio-mini-metric {
 background: #ffffff;
 border: 1px solid #e2e8f0;
 border-radius: 12px;
 padding: 12px;
 text-align: center;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.aio-mini-metric strong {
 display: block;
 font-size: 1.35rem;
 color: #7c3aed;
 font-family: var(--font-display, Space Grotesk, sans-serif);
}

.aio-mini-metric small {
 display: block;
 font-size: 0.75rem;
 color: #64748b;
 margin-top: 4px;
 font-weight: 500;
}

/* ============================================================
   SAAS ROI / REVENUE SIMULATOR (SAAS LIGHT THEME)
   ============================================================ */
.saas-roi-calculator-block {
  margin-top: 48px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 24px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
}

.saas-roi-calculator-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #10b981, #7c3aed);
}

.saas-roi-calculator-block .growth-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ede9fe;
  border: 1px solid #c4b5fd;
  color: #6d28d9;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.saas-roi-calculator-block .growth-pill i {
  color: #7c3aed;
}

.roi-calc-header {
  max-width: 680px;
  margin-bottom: 32px;
}

.roi-calc-header h3 {
 font-family: var(--font-display, Space Grotesk, sans-serif);
 font-size: 1.75rem;
 color: #0f172a;
 margin: 10px 0 8px;
}

.roi-calc-header p {
 color: #475569;
 font-size: 0.94rem;
 line-height: 1.6;
 margin: 0;
}

.roi-calc-grid {
 display: grid;
 grid-template-columns: 1.1fr 0.9fr;
 gap: 36px;
 align-items: center;
}

.roi-inputs-col {
 display: flex;
 flex-direction: column;
 gap: 26px;
}

.roi-input-group {
 background: #ffffff;
 border: 1px solid #e2e8f0;
 border-radius: 16px;
 padding: 20px 22px;
 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.roi-label-row {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 14px;
}

.roi-label-row label {
 font-size: 0.9rem;
 color: #334155;
 font-weight: 600;
}

.roi-label-row strong {
 font-size: 1.25rem;
 color: #7c3aed;
 font-family: var(--font-display, Space Grotesk, sans-serif);
}

.roi-slider {
 width: 100%;
 height: 8px;
 border-radius: 4px;
 background: #e2e8f0;
 outline: none;
 -webkit-appearance: none;
 cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
 -webkit-appearance: none;
 appearance: none;
 width: 22px;
 height: 22px;
 border-radius: 50%;
 background: #7c3aed;
 border: 3px solid #ffffff;
 box-shadow: 0 2px 10px rgba(124, 58, 237, 0.4);
 cursor: pointer;
 transition: transform 0.15s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
 transform: scale(1.15);
}

.slider-marks {
 display: flex;
 justify-content: space-between;
 margin-top: 8px;
 font-size: 0.72rem;
 color: #64748b;
 font-weight: 500;
}

.roi-outputs-col {
 display: flex;
 flex-direction: column;
 gap: 16px;
}

.roi-metric-card.highlight {
 background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%);
 border: 1.5px solid #8b5cf6;
 border-radius: 20px;
 padding: 28px 24px;
 text-align: center;
 box-shadow: 0 10px 30px rgba(124, 58, 237, 0.12);
}

.roi-metric-label {
 display: block;
 font-size: 0.82rem;
 letter-spacing: 0.06em;
 color: #475569;
 font-weight: 700;
 text-transform: uppercase;
}

.roi-metric-val {
 display: block;
 font-family: var(--font-display, Space Grotesk, sans-serif);
 font-size: 3rem;
 font-weight: 800;
 color: #0f172a;
 margin: 6px 0;
}

.roi-metric-val small {
 font-size: 1.2rem;
 color: #64748b;
 font-weight: 600;
}

.roi-metric-sub {
 display: block;
 font-size: 0.82rem;
 color: #059669;
 font-weight: 600;
}

.roi-sub-metrics {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 12px;
}

.roi-mini-card {
 background: #ffffff;
 border: 1px solid #e2e8f0;
 border-radius: 14px;
 padding: 14px 18px;
 text-align: center;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.roi-mini-card strong {
 display: block;
 font-size: 1.5rem;
 color: #0f172a;
 font-family: var(--font-display, Space Grotesk, sans-serif);
}

.roi-mini-card span {
 display: block;
 font-size: 0.76rem;
 color: #64748b;
 margin-top: 2px;
 font-weight: 500;
}

.roi-cta-button {
 width: 100%;
 text-align: center;
 justify-content: center;
 padding: 14px 20px;
}

@media (max-width: 900px) {
 .dual-engine-nav-bar {
 grid-template-columns: 1fr;
 }
 .roi-calc-grid {
 grid-template-columns: 1fr;
 }
 .saas-roi-calculator-block {
 padding: 24px 20px;
 }
 .aio-terminal-simulator {
 margin-top: 20px;
 }
}

/* =====================================================================
   PREMIUM AI CHATBOT WIDGET STYLES
   ===================================================================== */
.ai-chat-widget {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 99999 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.ai-chat-toggle {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #3b82f6 100%) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.45), 0 0 0 1px rgba(124, 58, 237, 0.2) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.45rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  outline: none !important;
}

.ai-chat-toggle:hover {
  transform: scale(1.08) rotate(5deg) !important;
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.6) !important;
}

.ai-chat-window {
  position: absolute !important;
  bottom: 74px !important;
  right: 0 !important;
  width: 375px !important;
  max-width: calc(100vw - 32px) !important;
  height: 530px !important;
  max-height: calc(100vh - 120px) !important;
  background: rgba(15, 23, 42, 0.96) !important;
  border: 1px solid rgba(139, 92, 246, 0.35) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px) scale(0.96) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.ai-chat-window.active {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.ai-chat-header {
  padding: 14px 18px !important;
  background: rgba(30, 41, 59, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.ai-chat-header-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  font-family: 'Space Grotesk', sans-serif !important;
}

.ai-chat-header-title i {
  color: #a78bfa !important;
  font-size: 1.1rem !important;
}

.ai-chat-header-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.72rem !important;
  color: #22c55e !important;
  font-weight: 600 !important;
  margin-left: 6px !important;
}

.ai-chat-header-status i {
  width: 6px !important;
  height: 6px !important;
  background: #22c55e !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #22c55e !important;
}

.ai-chat-close {
  background: rgba(255, 255, 255, 0.08) !important;
  border: none !important;
  color: #94a3b8 !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.85rem !important;
  transition: all 0.2s !important;
}

.ai-chat-close:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #ef4444 !important;
}

.ai-chat-messages {
  flex: 1 !important;
  padding: 16px !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(139, 92, 246, 0.3) transparent !important;
}

.ai-message {
  max-width: 88% !important;
  padding: 12px 16px !important;
  border-radius: 14px !important;
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
  word-break: break-word !important;
  animation: ai-msg-in 0.25s ease-out !important;
}

@keyframes ai-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ai-message.bot {
  background: rgba(30, 41, 59, 0.9) !important;
  color: #e2e8f0 !important;
  align-self: flex-start !important;
  border-bottom-left-radius: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.ai-message.user {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%) !important;
  color: #ffffff !important;
  align-self: flex-end !important;
  border-bottom-right-radius: 4px !important;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3) !important;
}

.ai-typing {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 12px 18px !important;
}

.ai-typing span {
  width: 7px !important;
  height: 7px !important;
  background: #a78bfa !important;
  border-radius: 50% !important;
  animation: ai-pulse-dot 1.2s infinite ease-in-out !important;
}

.ai-typing span:nth-child(2) { animation-delay: 0.2s !important; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s !important; }

@keyframes ai-pulse-dot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

.ai-chat-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

.ai-chat-chip {
  background: rgba(124, 58, 237, 0.16) !important;
  border: 1px solid rgba(139, 92, 246, 0.35) !important;
  color: #c4b5fd !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ai-chat-chip:hover {
  background: #7c3aed !important;
  color: #ffffff !important;
  border-color: #a78bfa !important;
  transform: translateY(-2px) !important;
}

.ai-chat-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  margin-top: 8px !important;
  transition: all 0.2s ease !important;
}

.ai-chat-btn.primary {
  background: linear-gradient(135deg, #7c3aed, #6366f1) !important;
  color: #ffffff !important;
}

.ai-chat-btn.secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.ai-chat-btn.whatsapp {
  background: #22c55e !important;
  color: #ffffff !important;
}

.ai-chat-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

.ai-chat-input-area {
  padding: 12px 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(15, 23, 42, 0.95) !important;
  display: flex !important;
  gap: 10px !important;
}

.ai-chat-input {
  flex: 1 !important;
  background: rgba(30, 41, 59, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 0.88rem !important;
  outline: none !important;
  transition: border-color 0.2s !important;
}

.ai-chat-input:focus {
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.25) !important;
}

.ai-chat-send {
  background: #7c3aed !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  width: 42px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 0.95rem !important;
  transition: all 0.2s !important;
}

.ai-chat-send:hover {
  background: #6d28d9 !important;
  transform: scale(1.05) !important;
}

/* RTL Support for Arabic */
.rtl-active { 
  direction: rtl; 
  text-align: right; 
}
.rtl-active .hero-cta-actions { 
  flex-direction: row-reverse; 
}
.rtl-active .logo-link { 
  margin-right: 0; 
  margin-left: auto; 
}
.rtl-active .nav-links { 
  padding-right: 0; 
  padding-left: 2rem; 
}
.rtl-active .main-nav {
  margin-left: 0;
  margin-right: auto;
}
.rtl-active .language-switcher {
  margin-left: 0 !important;
  margin-right: 10px;
}
.rtl-active .lang-dropdown {
  right: auto !important;
  left: 0;
}
.rtl-active .footer-col {
  text-align: right;
}
.rtl-active .cyber-code-stream {
  text-align: right;
}
.rtl-active i.fa-arrow-right {
  transform: scaleX(-1);
}

.lang-option {
  display: block !important;
  padding: 0.75rem 1.25rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  transition: all 0.2s ease !important;
  border-radius: 4px;
}
.lang-option:hover {
  background-color: rgba(124, 58, 237, 0.2) !important;
  color: #fff !important;
}

/* ========================================= */
/* ACCESSIBILITY & CONTRAST OVERRIDES        */
/* ========================================= */

/* Link Distinguishability (WCAG AA) */
p a, li a, .article-content a {
  text-decoration: underline;
  text-decoration-color: rgba(124, 58, 237, 0.4);
  text-underline-offset: 3px;
}
.nav-links a, .site-footer a, .footer-links a, .button, .insights-card, .spec-cta, .nav-cta, .cta-button, .header-cta, .sys-btn, .button-primary, .button-secondary {
  text-decoration: none !important;
}

/* Footer Contrast Override (WCAG AA minimum 4.5:1 on #07090E) */
.site-footer {
  color: #94a3b8 !important;
}
.site-footer p, .site-footer small, .site-footer span {
  color: #94a3b8 !important;
}
.site-footer a, .site-footer-col a, .footer-legal-links a {
  color: #94a3b8 !important;
}
.site-footer a:hover, .site-footer-col a:hover, .footer-legal-links a:hover {
  color: #c4b5fd !important;
}

/* Input Placeholder Contrast */
::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

/* AI Chat Window contrast */
.chat-placeholder {
  color: #94a3b8 !important;
}



/* ============================================================
   HERO LIVE AUTOMATION WORKFLOW PIPELINE
   ============================================================ */
.hero-live-workflow {
  margin: 18px 0 24px 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 30px -4px rgba(124, 58, 237, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.hero-live-workflow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #7c3aed, #38bdf8, #22c55e, transparent);
  animation: hlw-beam 3.5s ease-in-out infinite;
}

@keyframes hlw-beam {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hlw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.hlw-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #15803d;
  background: #dcfce7;
  padding: 3px 8px;
  border-radius: 9999px;
  border: 1px solid #bbf7d0;
}

.hlw-live-badge i {
  font-size: 0.48rem;
  color: #22c55e;
  animation: hlw-pulse 1.8s infinite;
}

@keyframes hlw-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hlw-subtext {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hlw-subtext em {
  font-style: normal;
  color: #7c3aed;
  font-weight: 700;
}

.hlw-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
}

.hlw-node {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.hlw-node-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.hlw-node-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
}

.hlw-node.is-active {
  background: #f5f3ff;
  border-color: #a78bfa;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.18);
}

.hlw-node.is-active .hlw-node-icon {
  background: #7c3aed;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
}

.hlw-node.is-active .hlw-node-label {
  color: #6d28d9;
}

.hlw-node-success.is-active {
  background: #f0fdf4;
  border-color: #86efac;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.18);
}

.hlw-node-success.is-active .hlw-node-icon {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
}

.hlw-node-success.is-active .hlw-node-label {
  color: #15803d;
}

.hlw-arrow {
  color: #94a3b8;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .hlw-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hlw-arrow {
    display: none;
  }
}

/* ============================================================
   PREMIUM INTERACTIVE FAQ ACCORDION SLIDES
   ============================================================ */
.faq-section {
  padding: 56px 0;
  position: relative;
}

.faq-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px -4px rgba(124, 58, 237, 0.06);
}

.faq-item.is-open {
  border-color: #c4b5fd;
  box-shadow: 0 8px 24px -4px rgba(124, 58, 237, 0.12);
  background: #ffffff;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #6d28d9;
}

.faq-item.is-open .faq-question {
  color: #6d28d9;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
}

.faq-item:hover .faq-icon {
  background: #f5f3ff;
  color: #7c3aed;
  border-color: #ddd6fe;
}

.faq-item.is-open .faq-icon {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease, opacity 0.3s ease;
  opacity: 0;
  padding: 0 22px;
}

.faq-item.is-open .faq-answer {
  max-height: 340px;
  opacity: 1;
  padding: 0 22px 20px 22px;
}

.faq-answer p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: #475569;
}

/* ============================================================
   SEOBENCHMARK-STYLE HERO WORKFLOW BOX
   ============================================================ */
.hero-live-workflow {
  margin: 18px 0 24px 0;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 27, 75, 0.94) 100%);
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 16px;
  box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  position: relative;
  overflow: hidden;
  color: #f8fafc;
}

.hero-live-workflow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #a855f7, #38bdf8, #22c55e, transparent);
  animation: hlw-beam 3.5s ease-in-out infinite;
}

@keyframes hlw-beam {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hlw-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hlw-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.74rem;
  color: #e2e8f0;
}

.hlw-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: hlw-pulse 1.8s infinite;
}

@keyframes hlw-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hlw-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
}

.hlw-telemetry {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  color: #94a3b8;
  font-family: monospace;
}

.hlw-latency {
  color: #38bdf8;
}

.hlw-state {
  color: #a78bfa;
  font-weight: 700;
  background: rgba(124, 58, 237, 0.2);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(124, 58, 237, 0.4);
}

.hlw-flow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 12px;
}

.hlw-step-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 7px 9px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
}

.hlw-step-item.is-active {
  background: rgba(124, 58, 237, 0.25);
  border-color: #a78bfa;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.35);
  transform: translateY(-1px);
}

.hlw-step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.hlw-step-item.is-active .hlw-step-dot {
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.hlw-step-info {
  display: flex;
  flex-direction: column;
}

.hlw-step-num {
  font-size: 0.6rem;
  font-weight: 700;
  color: #94a3b8;
  font-family: monospace;
}

.hlw-step-item.is-active .hlw-step-num {
  color: #c4b5fd;
}

.hlw-step-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hlw-step-item.is-active .hlw-step-title {
  color: #ffffff;
  font-weight: 700;
}

.hlw-step-connector {
  width: 10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* Terminal Log Display */
.hlw-terminal-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.hlw-term-prefix {
  color: #a78bfa;
  font-size: 0.75rem;
}

.hlw-term-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hlw-term-label {
  color: #38bdf8;
  font-weight: 700;
  flex-shrink: 0;
}

.hlw-term-text {
  color: #e2e8f0;
  transition: opacity 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hlw-term-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hlw-flow-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .hlw-step-connector {
    display: none;
  }
}

.footer-badges {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 280px !important;
}

.footer-badge {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: rgba(124, 58, 237, 0.12) !important;
  border: 1px solid rgba(124, 58, 237, 0.28) !important;
  color: #c4b5fd !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.footer-badge:hover {
  background: rgba(124, 58, 237, 0.22) !important;
  border-color: rgba(167, 139, 250, 0.5) !important;
  color: #ffffff !important;
  transform: translateX(3px) !important;
}

.footer-badge i {
  color: #a78bfa !important;
  font-size: 0.88rem !important;
  width: 18px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}


/* ============================================================
   GOOGLE MAPS 3-PACK & GEO-GRID LIVE RADAR MOCKUP (PREMIUM SAAS)
   ============================================================ */
.gmp-interactive-mockup-wrapper {
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: var(--radius-panel, 24px);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  margin-bottom: 3.5rem;
  color: #0f172a;
}

.mockup-header-strip {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.mockup-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-live-radar-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.mockup-title strong {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1e293b;
}

.mockup-status-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Industry Presets Bar */
.mockup-presets-bar {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.preset-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.preset-chips-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  outline: none;
}

.preset-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
}

.preset-chip.is-active {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.mockup-body-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding: 24px;
}

@media (max-width: 992px) {
  .mockup-body-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }
}

/* SERP Column */
.mockup-serp-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-search-bar {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 9999px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease;
}

.mockup-search-bar:focus-within {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.mockup-search-bar .search-main-icon {
  color: #94a3b8;
  font-size: 0.95rem;
}

.mockup-search-bar input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: 0.86rem;
  color: #1e293b;
  font-weight: 500;
  font-family: inherit;
}

.mockup-audit-run-btn {
  background: #7c3aed;
  color: #ffffff;
  border: none;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.mockup-audit-run-btn:hover {
  background: #6d28d9;
  transform: translateY(-1px);
}

.search-tag-local {
  font-size: 0.72rem;
  color: #6d28d9;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  padding: 4px 10px;
  border-radius: 9999px;
  white-space: nowrap;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 3-Pack Cards */
.mockup-3pack-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pack-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pack-item-winner {
  border: 1.5px solid #10b981;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.1);
  position: relative;
}

.pack-rank-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pack-item-winner .pack-rank-badge {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.pack-info {
  flex: 1;
}

.pack-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.pack-title-row strong {
  font-size: 0.95rem;
  color: #0f172a;
}

.gbp-verified-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pack-stars {
  color: #f59e0b;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.pack-stars span {
  color: #334155;
  font-weight: 600;
  margin-left: 4px;
}

.pack-item-winner p {
  font-size: 0.8rem;
  color: #475569;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.pack-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pack-action-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pack-dir-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: #7c3aed;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pack-item-competitor {
  opacity: 0.85;
}

.pack-item-competitor:hover {
  opacity: 1;
  background: #f8fafc;
}

.pack-item-competitor .comp-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}

.comp-gap-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #b91c1c;
  background: #fee2e2;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pack-item-competitor small {
  color: #64748b;
  font-size: 0.78rem;
  display: block;
}

/* Radar & Geo-Grid Column */
.mockup-radar-col {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.radar-header {
  margin-bottom: 14px;
}

.radar-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.radar-header strong {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #0f172a;
}

.radar-scan-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 6px;
}

.radar-header small {
  color: #64748b;
  font-size: 0.78rem;
}

/* Authentic Radar Geo-Grid Map Canvas */
.geogrid-radar-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 14px;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.04) 0%, #ffffff 70%);
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.radar-distance-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.radar-ring {
  position: absolute;
  border: 1px dashed rgba(124, 58, 237, 0.12);
  border-radius: 50%;
}

.radar-ring.ring-1 { width: 70px; height: 70px; }
.radar-ring.ring-2 { width: 150px; height: 150px; }
.radar-ring.ring-3 { width: 220px; height: 220px; }

.grid-node-pin {
  position: relative;
  z-index: 1;
  min-height: 52px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #10b981;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  font-family: inherit;
}

.grid-node-pin .pin-badge {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-weight: 800;
  font-size: 0.85rem;
  color: #047857;
  background: #ecfdf5;
  padding: 2px 7px;
  border-radius: 6px;
  line-height: 1;
  border: 1px solid #a7f3d0;
}

.grid-node-pin small {
  font-size: 0.65rem;
  color: #475569;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.grid-node-pin:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: #059669;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.2);
}

.grid-node-pin.is-active,
.grid-node-pin.center-pin {
  background: #10b981;
  border-color: #047857;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.grid-node-pin.is-active .pin-badge,
.grid-node-pin.center-pin .pin-badge {
  background: #ffffff;
  color: #047857;
  border-color: #ffffff;
}

.grid-node-pin.is-active small,
.grid-node-pin.center-pin small {
  color: #ffffff;
}

/* Radar Telemetry Box */
.radar-node-telemetry {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 14px;
}

.telemetry-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tele-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #64748b;
}

.tele-val {
  font-size: 0.8rem;
  font-weight: 700;
  color: #7c3aed;
}

.telemetry-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tele-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.radar-caption {
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569;
  text-align: center;
  margin: 12px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ============================================================
   GEO & AIO INTERACTIVE SIMULATOR BLOCK
   ============================================================ */
.aio-geo-block {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: var(--radius-panel, 24px);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.08);
  margin-bottom: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .aio-geo-block {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

.aio-geo-copy .aio-badge {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #7c3aed;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.aio-geo-copy h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.2;
}

.aio-geo-copy p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.aio-engine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.aio-engine-tags span {
  font-size: 0.76rem;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.aio-stats-summary-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.aio-mini-metric {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
}

.aio-mini-metric strong {
  font-size: 1.25rem;
  color: #7c3aed;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
}

.aio-mini-metric small {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

/* AIO Terminal */
.aio-terminal-simulator {
  background: #0f172a;
  border-radius: 18px;
  border: 1px solid #334155;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.25);
  color: #f8fafc;
}

.aio-terminal-header {
  background: #1e293b;
  border-bottom: 1px solid #334155;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.aio-terminal-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.aio-tab {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.aio-tab:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
}

.aio-tab.is-active {
  background: #7c3aed;
  color: #ffffff;
}

.aio-live-indicator {
  font-size: 0.68rem;
  font-weight: 700;
  color: #34d399;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.aio-terminal-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aio-prompt-bubble {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #1e293b;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #334155;
}

.user-query-icon {
  color: #38bdf8;
  margin-top: 3px;
}

.prompt-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #94a3b8;
  display: block;
  margin-bottom: 2px;
}

.prompt-text p {
  margin: 0;
  font-size: 0.85rem;
  color: #e2e8f0;
  line-height: 1.4;
}

.aio-reasoning-stream .reasoning-pill {
  font-size: 0.72rem;
  color: #cbd5e1;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.25);
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.aio-response-box {
  background: #1e293b;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #334155;
}

.ai-answer-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.ai-bot-avatar {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #7c3aed;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.ai-answer-header strong {
  font-size: 0.82rem;
  color: #f8fafc;
}

.aio-response-box p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 12px 0;
}

.aio-citations-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cite-chip {
  font-size: 0.7rem;
  font-weight: 600;
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   REAL-TIME REVENUE SIMULATOR (ROI CALCULATOR)
   ============================================================ */
.saas-roi-calculator-block {
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: var(--radius-panel, 24px);
  padding: 36px;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.08);
  margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
  .saas-roi-calculator-block {
    padding: 22px;
  }
}

.roi-calc-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px auto;
}

.growth-pill {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 4px 14px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.roi-calc-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.roi-calc-header p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
}

.roi-calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
}

@media (max-width: 992px) {
  .roi-calc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.roi-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.roi-input-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
}

.roi-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.roi-label-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
}

.roi-label-row strong {
  font-size: 1rem;
  font-weight: 800;
  color: #7c3aed;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
}

.roi-slider {
  width: 100%;
  accent-color: #7c3aed;
  cursor: pointer;
}

.roi-outputs-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.roi-output-card {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  border-radius: 18px;
  padding: 24px;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.25);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.roi-output-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 10px;
}

.roi-output-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.roi-output-item span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.roi-output-item strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
}

.roi-output-item.highlight strong {
  color: #34d399;
  font-size: 1.6rem;
}

.roi-action-btn {
  background: #ffffff;
  color: #7c3aed;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.roi-action-btn:hover {
  background: #f5f3ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}


/* ============================================================
   ENHANCED SEARCH SERVICES 4-CARDS TELEMETRY & POLISH
   ============================================================ */
.search-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .search-services-grid {
    grid-template-columns: 1fr;
  }
}

.search-service-card {
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.search-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.12);
}

.card-telemetry-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 14px 0;
  flex-wrap: wrap;
}

.card-metric-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #7c3aed;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-status-pill.green {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.search-card-cta {
  background: #7c3aed;
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.search-card-cta:hover {
  background: #6d28d9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

/* ============================================================
   GEO & AIO REASONING SIMULATOR (RADAR-LEVEL POLISH)
   ============================================================ */
.aio-header-strip {
  border-top-left-radius: var(--radius-panel, 24px);
  border-top-right-radius: var(--radius-panel, 24px);
}

.aio-grid-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  padding: 24px;
  align-items: center;
}

@media (max-width: 992px) {
  .aio-grid-inner {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}

.aio-query-interactive-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.aio-rerun-btn {
  background: #7c3aed;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.aio-rerun-btn:hover {
  background: #6d28d9;
  transform: translateY(-1px);
}

.aio-reasoning-flow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.reasoning-step-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  background: #1e293b;
  border: 1px solid #334155;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.reasoning-step-badge.active {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.08);
}

.ai-confidence-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: auto;
}

.aio-citations-footer {
  border-top: 1px solid #334155;
  padding-top: 10px;
  margin-top: 10px;
}

.cite-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  display: block;
  margin-bottom: 6px;
}

/* ============================================================
   ENHANCED REVENUE SIMULATOR (4 SLIDERS + DYNAMIC PRESETS)
   ============================================================ */
.slider-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 600;
}

.roi-leakage-prevented-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.76rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.roi-leakage-prevented-pill i {
  color: #34d399;
  font-size: 1.1rem;
}


/* ============================================================
   GEO & AIO RADAR AND ROI SIMULATOR CLEAN PROPORTIONS FIX
   ============================================================ */
.aio-geo-wrapper,
.roi-calculator-wrapper {
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: var(--radius-panel, 24px);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  margin-bottom: 3.5rem;
  display: block;
}

.aio-body-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr !important;
  gap: 24px !important;
  padding: 24px !important;
  align-items: center;
}

.roi-body-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr !important;
  gap: 24px !important;
  padding: 24px !important;
}

@media (max-width: 992px) {
  .aio-body-grid,
  .roi-body-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 16px !important;
  }
}

.aio-terminal-simulator {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.aio-geo-block {
  display: block !important;
}


/* ============================================================
   PREMIUM INTERACTIVE FAQ ACCORDION & FILTER SYSTEM
   ============================================================ */
.faq-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.faq-container {
  max-width: 920px;
  margin: 0 auto;
}

.faq-filters-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 32px 0;
}

.faq-filter-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  outline: none;
}

.faq-filter-chip:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1e293b;
}

.faq-filter-chip.is-active {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-hidden {
  display: none !important;
}

.faq-item:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.08);
}

.faq-item.is-open {
  border-color: #7c3aed;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.12);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  font-family: inherit;
  outline: none;
}

.faq-question-text {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}

.faq-q-icon {
  color: #7c3aed;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f3ff;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.faq-item.is-open .faq-icon {
  background: #7c3aed;
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 22px 20px 22px;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.faq-expand-wrapper {
  text-align: center;
  margin-top: 28px;
}

.faq-expand-btn {
  background: #ffffff;
  border: 1.5px solid #7c3aed;
  color: #7c3aed;
  padding: 12px 26px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.12);
}

.faq-expand-btn:hover {
  background: #7c3aed;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.28);
}


/* ============================================================
   GLOBAL SECTION HEAD & TYPOGRAPHY HARMONIZATION
   ============================================================ */
.section-head,
.topic-section-head,
.primary-search-services .section-head,
.intelligent-layer .section-head,
.build-systems .section-head,
.think-act-scale .section-head,
.system-process .section-head,
.feature-band .section-head,
.showcase .section-head,
.case-studies .section-head,
.faq-section .section-head,
#latest-insights .section-head,
#reviews .section-head {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin-bottom: 2.5rem !important;
  max-width: 820px !important;
  text-align: left !important;
}

.section-head.centered,
.section-head.center,
.topic-section-head.centered,
.faq-section .section-head,
#latest-insights .section-head {
  align-items: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.section-head .kicker,
.topic-section-head .kicker,
.kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: var(--font-display, "Space Grotesk", sans-serif) !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #7c3aed !important;
  background: #f5f3ff !important;
  border: 1px solid #ddd6fe !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important;
  margin: 0 0 4px 0 !important;
}

.section-head h2,
.topic-section-head h2 {
  font-family: var(--font-display, "Space Grotesk", sans-serif) !important;
  font-size: clamp(2rem, 3.8vw, 3.2rem) !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
  max-width: 100% !important;
}

.section-head h2 span,
.topic-section-head h2 span {
  color: #7c3aed !important;
}

.section-head .section-subtitle,
.section-subtitle {
  font-size: 1.05rem !important;
  color: #475569 !important;
  line-height: 1.65 !important;
  margin-top: 4px !important;
  max-width: 760px !important;
}

.section-head.centered .section-subtitle,
.faq-section .section-head .section-subtitle {
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ============================================================
   ULTRA-RESPONSIVE MOBILE NAVIGATION & COMPLETE MOBILE OS (<= 992px)
   ============================================================ */

@keyframes mobileNavSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseGlowSoft {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

@media (min-width: 993px) {
  .site-header .menu-toggle {
    display: none !important;
  }
  .site-header .main-nav {
    display: flex !important;
  }
}

@media (max-width: 992px) {
  /* ==========================================
     GLOBAL MOBILE RESETS & VIEWPORT GOVERNANCE
     ========================================== */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
  }

  * {
    -webkit-tap-highlight-color: rgba(124, 58, 237, 0.1);
    box-sizing: border-box !important;
  }

  main, section, .section, .container, .site-header, .site-footer {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* ==========================================
     1. FLOATING HEADER & MOBILE NAVIGATION DRAWER
     ========================================== */
  .site-header {
    width: min(calc(100vw - 20px), 1200px) !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    justify-content: space-between !important;
    border-radius: 9999px !important;
    position: fixed !important;
    top: 10px !important;
    z-index: 999999 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(124, 58, 237, 0.16) !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .site-header .logo,
  .site-header .logo-wrap {
    display: flex !important;
    align-items: center !important;
    max-height: 38px !important;
    overflow: visible !important;
  }

  .site-header .logo svg,
  .site-header .logo-wrap svg,
  .site-header .agent-nexus-header-svg {
    max-height: 30px !important;
    width: auto !important;
  }

  .site-header .menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 10px !important;
    background: #f1f5f9 !important;
    border: 1px solid rgba(124, 58, 237, 0.2) !important;
    color: #0f172a !important;
    font-size: 1.15rem !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    margin-left: auto !important;
    padding: 0 !important;
    outline: none !important;
    flex-shrink: 0 !important;
    z-index: 1000000 !important;
    transition: all 0.2s ease !important;
  }

  .site-header .menu-toggle:hover,
  .site-header .menu-toggle:active,
  .site-header .menu-toggle[aria-expanded="true"] {
    background: rgba(124, 58, 237, 0.12) !important;
    border-color: rgba(124, 58, 237, 0.35) !important;
    color: #7c3aed !important;
    transform: scale(0.96) !important;
  }

  .site-header .main-nav {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid rgba(124, 58, 237, 0.2) !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 48px -8px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(124, 58, 237, 0.08) !important;
    padding: 12px !important;
    flex-direction: column !important;
    display: none !important;
    z-index: 999999 !important;
    max-height: calc(85vh - 70px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 0 !important;
  }

  .site-header .main-nav.open,
  .site-header .main-nav.nav-open {
    display: flex !important;
    animation: mobileNavSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }

  .site-header .main-nav .nav-links {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .site-header .main-nav .nav-links li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header .main-nav .nav-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 14px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }

  .site-header .main-nav .nav-links a:hover,
  .site-header .main-nav .nav-links a:active,
  .site-header .main-nav .nav-links a:focus-visible {
    background: rgba(124, 58, 237, 0.08) !important;
    color: #7c3aed !important;
    border-color: rgba(124, 58, 237, 0.25) !important;
    transform: translateX(3px) !important;
  }

  .site-header .main-nav .nav-item-dashboard {
    margin-left: 0 !important;
    margin-top: 6px !important;
    width: 100% !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding-top: 8px !important;
  }

  .site-header .main-nav .nav-dashboard-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 12px 16px !important;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3) !important;
    text-decoration: none !important;
    margin-top: 2px !important;
  }

  /* ==========================================
     2. HERO SECTION & DUAL-ENGINE HEADINGS
     ========================================== */
  .hero,
  .subpage-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding-top: 78px !important;
    padding-bottom: 24px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    gap: 20px !important;
    min-height: auto !important;
    width: 100% !important;
  }

  .hero::before {
    display: none !important;
  }

  .hero-copy,
  .subpage-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  .saas-hero-badge {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.68rem !important;
    padding: 5px 12px !important;
    border-radius: 9999px !important;
    background: rgba(124, 58, 237, 0.08) !important;
    border: 1px solid rgba(124, 58, 237, 0.22) !important;
    color: #7c3aed !important;
    font-weight: 700 !important;
    max-width: 100% !important;
  }

  .eyebrow {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.7rem !important;
    margin: 10px 0 !important;
    color: #334155 !important;
  }

  .system-online-indicator {
    font-size: 0.65rem !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
  }

  .hero-copy h1,
  .subpage-hero-copy h1,
  h1 {
    font-size: clamp(1.85rem, 7.2vw, 2.45rem) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.04em !important;
    margin: 0 0 10px !important;
    word-break: break-word !important;
    color: #0f172a !important;
    font-weight: 800 !important;
  }

  .whx-rotating-services {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    font-size: 0.8rem !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    background: rgba(124, 58, 237, 0.06) !important;
    border: 1px solid rgba(124, 58, 237, 0.16) !important;
    color: #7c3aed !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    width: 100% !important;
  }

  .lead {
    font-size: 0.94rem !important;
    line-height: 1.6 !important;
    margin: 0 0 14px !important;
    color: #475569 !important;
  }

  .hero-cta-actions-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 6px !important;
  }

  .hero-cta-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .hero-cta-actions .button,
  .button.button-primary,
  .button.button-secondary {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 13px 18px !important;
    min-height: 48px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
  }

  .hero-trust-proof {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(124, 58, 237, 0.12) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    width: 100% !important;
  }

  .hero-visual {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ai-core-visual {
    width: 100% !important;
    max-width: 330px !important;
    aspect-ratio: 1 / 0.88 !important;
    border-radius: 18px !important;
    padding: 8px !important;
    margin: 0 auto !important;
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(124, 58, 237, 0.18) !important;
    box-shadow: 0 12px 32px rgba(91, 33, 182, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .core-node {
    padding: 5px 8px !important;
    border-radius: 8px !important;
    font-size: 0.6rem !important;
    gap: 2px !important;
  }

  .ai-core-center {
    min-width: 116px !important;
    min-height: 70px !important;
    padding: 6px 8px !important;
    border-radius: 12px !important;
  }

  .hero-micro-stats {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 10px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(124, 58, 237, 0.12) !important;
  }

  .hero-micro-stats div {
    padding: 10px 10px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(124, 58, 237, 0.14) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  /* ==========================================
     3. ANSWER-FIRST & DUAL-ENGINE NAV SWITCHER
     ========================================== */
  .answer-first {
    padding: 22px 14px !important;
    margin: 18px 0 !important;
    border-radius: 16px !important;
  }

  .answer-first h2 {
    font-size: 1.4rem !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
  }

  .dual-engine-nav-bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 18px 0 22px !important;
  }

  .engine-nav-tab {
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  /* ==========================================
     4. PRIORITY SEARCH SERVICES CARDS (01 - 04)
     ========================================== */
  .search-services-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .search-service-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
    width: 100% !important;
  }

  .search-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .card-telemetry-strip {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 10px 0 !important;
  }

  .search-feature-list {
    padding: 0 !important;
    margin: 14px 0 !important;
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .search-feature-list li {
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .search-card-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  }

  .search-card-cta {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 12px 16px !important;
    min-height: 46px !important;
    border-radius: 10px !important;
    text-align: center !important;
  }

  /* ==========================================
     5. 25KM GEO-GRID PROXIMITY RADAR SIMULATOR
     ========================================== */
  .gmp-interactive-mockup-wrapper {
    padding: 16px 12px !important;
    border-radius: 18px !important;
    margin-bottom: 22px !important;
    width: 100% !important;
  }

  .mockup-header-strip {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .mockup-status-tag {
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .mockup-presets-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .preset-chips-scroll {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    gap: 6px !important;
    padding-bottom: 4px !important;
  }

  .preset-chip {
    flex-shrink: 0 !important;
    font-size: 0.74rem !important;
    padding: 6px 12px !important;
    min-height: 38px !important;
  }

  .mockup-body-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
  }

  .mockup-search-bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 12px !important;
  }

  #mockup-search-input {
    width: 100% !important;
    min-height: 42px !important;
    font-size: 0.88rem !important;
  }

  #mockup-search-btn {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: center !important;
  }

  .search-tag-local {
    width: 100% !important;
    font-size: 0.72rem !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .mockup-3pack-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .pack-item {
    padding: 12px 10px !important;
    border-radius: 12px !important;
    gap: 8px !important;
  }

  .pack-actions-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 6px !important;
  }

  .mockup-radar-col {
    width: 100% !important;
  }

  .geogrid-radar-map {
    width: 100% !important;
    max-width: 320px !important;
    height: 300px !important;
    margin: 10px auto !important;
    position: relative !important;
  }

  .grid-node-pin {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.65rem !important;
  }

  .radar-node-telemetry {
    padding: 12px !important;
    border-radius: 12px !important;
    width: 100% !important;
  }

  .telemetry-pills {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .tele-pill {
    width: 100% !important;
    font-size: 0.75rem !important;
    padding: 6px 10px !important;
  }

  /* ==========================================
     6. GEO & AIO CITATION ENGINE SIMULATOR
     ========================================== */
  .aio-geo-wrapper {
    padding: 16px 12px !important;
    border-radius: 18px !important;
    margin-bottom: 22px !important;
  }

  .aio-body-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 12px 8px !important;
  }

  .aio-geo-copy h3 {
    font-size: 1.35rem !important;
  }

  .aio-engine-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 10px 0 !important;
  }

  .aio-engine-tags span {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
  }

  .aio-stats-summary-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .aio-mini-metric {
    padding: 8px 4px !important;
    font-size: 0.68rem !important;
    text-align: center !important;
  }

  .aio-mini-metric strong {
    font-size: 1.1rem !important;
  }

  .aio-terminal-simulator {
    width: 100% !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .aio-terminal-header {
    padding: 8px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .aio-terminal-tabs {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    gap: 4px !important;
  }

  .aio-tab {
    flex-shrink: 0 !important;
    font-size: 0.72rem !important;
    padding: 6px 10px !important;
    min-height: 36px !important;
  }

  .aio-prompt-bubble {
    padding: 10px !important;
    gap: 8px !important;
  }

  .aio-query-interactive-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .aio-rerun-btn {
    width: 100% !important;
    min-height: 40px !important;
    justify-content: center !important;
  }

  .aio-reasoning-flow {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
    margin: 8px 0 !important;
  }

  .reasoning-step-badge {
    font-size: 0.72rem !important;
    padding: 4px 8px !important;
    width: 100% !important;
  }

  .aio-response-box {
    padding: 12px 10px !important;
  }

  #aio-answer-text {
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
  }

  .aio-citations-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
  }

  .cite-chip {
    width: 100% !important;
    font-size: 0.72rem !important;
    padding: 5px 8px !important;
  }

  /* ==========================================
     7. GROWTH REVENUE & ROI CALCULATOR
     ========================================== */
  .roi-calculator-wrapper {
    padding: 16px 12px !important;
    border-radius: 18px !important;
    margin-bottom: 22px !important;
  }

  .roi-body-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 12px 8px !important;
  }

  .roi-input-group {
    padding: 12px 10px !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
  }

  .roi-label-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    align-items: flex-start !important;
    margin-bottom: 8px !important;
  }

  .roi-slider {
    width: 100% !important;
    min-height: 38px !important;
  }

  .slider-marks {
    font-size: 0.64rem !important;
    display: flex !important;
    justify-content: space-between !important;
    margin-top: 4px !important;
  }

  .roi-outputs-col {
    width: 100% !important;
  }

  .roi-output-card {
    padding: 14px 12px !important;
    border-radius: 14px !important;
    width: 100% !important;
  }

  .roi-output-item {
    padding: 10px 8px !important;
    font-size: 0.82rem !important;
  }

  .roi-output-item strong {
    font-size: 1.15rem !important;
  }

  .roi-leakage-prevented-pill {
    font-size: 0.74rem !important;
    padding: 8px 10px !important;
    line-height: 1.4 !important;
  }

  .roi-action-btn {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 13px 16px !important;
    min-height: 48px !important;
    font-size: 0.95rem !important;
    border-radius: 10px !important;
    text-align: center !important;
  }

  /* ==========================================
     8. SEARCH GROWTH BANNER & INTELLIGENT PIPELINE
     ========================================== */
  .search-growth-banner {
    padding: 22px 14px !important;
    border-radius: 16px !important;
    margin: 22px 0 !important;
  }

  .search-growth-banner h3 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }

  .growth-banner-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .growth-banner-actions .button {
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .intelligent-pipeline {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 14px !important;
    border-radius: 16px !important;
    width: 100% !important;
  }

  .intelligent-pipeline span,
  .intelligent-pipeline strong {
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
  }

  .intelligent-pipeline .pipeline-arrow {
    display: flex !important;
    justify-content: center !important;
    transform: rotate(90deg) !important;
    margin: 2px 0 !important;
  }

  /* ==========================================
     9. AI SYSTEMS & MULTI-AGENT WORKFORCE
     ========================================== */
  .build-systems-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .build-systems-grid article {
    padding: 18px 14px !important;
    border-radius: 16px !important;
    width: 100% !important;
  }

  .integration-preview {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 20px 14px !important;
    border-radius: 16px !important;
    text-align: left !important;
  }

  .integration-preview .button {
    width: 100% !important;
    justify-content: center !important;
    min-height: 46px !important;
  }

  .system-process-diagram {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .process-node {
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
  }

  .process-arrow {
    display: flex !important;
    justify-content: center !important;
    transform: rotate(90deg) !important;
    margin: 2px 0 !important;
  }

  .multi-agent-architecture {
    width: 100% !important;
    padding: 14px 10px !important;
    border-radius: 16px !important;
  }

  .workforce-agent-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .workforce-agent-row article {
    padding: 8px 4px !important;
    font-size: 0.68rem !important;
    text-align: center !important;
  }

  .collaboration-list,
  .agent-handoff {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  /* ==========================================
     10. REVIEWS, INSIGHTS & FAQ ACCORDION
     ========================================== */
  .reviews-grid,
  .insights-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .review-card,
  .insights-card {
    padding: 18px 14px !important;
    border-radius: 16px !important;
    width: 100% !important;
  }

  .faq-section {
    padding: 2.5rem 0 !important;
  }

  .faq-filters-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    justify-content: flex-start !important;
    margin: 16px 0 20px !important;
  }

  .faq-filter-chip {
    font-size: 0.76rem !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
  }

  .faq-accordion-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .faq-item {
    border-radius: 14px !important;
    width: 100% !important;
  }

  .faq-question {
    padding: 14px !important;
    gap: 10px !important;
    min-height: 48px !important;
  }

  .faq-question-text {
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
  }

  .faq-answer-inner {
    padding: 0 14px 14px 14px !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }

  .faq-expand-btn {
    width: 100% !important;
    max-width: 280px !important;
    min-height: 46px !important;
    justify-content: center !important;
  }

  /* ==========================================
     11. FINAL CTA PANEL & FOOTER
     ========================================== */
  .final-cta {
    padding: 24px 16px !important;
    border-radius: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    text-align: left !important;
  }

  .final-cta-copy h3 {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
  }

  .final-cta-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .final-cta-actions .button {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .site-footer {
    padding: 36px 14px 24px !important;
    width: 100% !important;
  }

  .site-footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
  }

  .site-footer-col {
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 18px !important;
  }

  .site-footer-col:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .site-footer-col ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .site-footer-col ul li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 38px !important;
    font-size: 0.88rem !important;
    color: #cbd5e1 !important;
  }

  .footer-badges {
    width: 100% !important;
    max-width: 100% !important;
  }

  .site-footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    align-items: center !important;
    text-align: center !important;
    padding-top: 18px !important;
    margin-top: 18px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .legal-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: center !important;
  }

  /* ==========================================
     12. FLOATING AI CHATBOT & MODALS ON MOBILE
     ========================================== */
  .ai-chat-toggle {
    bottom: 16px !important;
    right: 16px !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    z-index: 99999 !important;
    font-size: 1.2rem !important;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35) !important;
  }

  .ai-chat-window {
    bottom: 74px !important;
    right: 12px !important;
    width: min(calc(100vw - 24px), 380px) !important;
    height: min(calc(100vh - 120px), 540px) !important;
    max-height: min(calc(100vh - 120px), 540px) !important;
    border-radius: 18px !important;
    z-index: 99999 !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3) !important;
  }

  .ai-chat-input {
    font-size: 16px !important;
    min-height: 42px !important;
  }

  .ai-chat-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin-top: 8px !important;
  }

  .ai-chat-chip {
    font-size: 0.72rem !important;
    padding: 5px 8px !important;
    border-radius: 6px !important;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-left: 10px !important;
    padding-right: 10px !important;
    gap: 16px !important;
  }

  .hero-copy h1 {
    font-size: 1.85rem !important;
    line-height: 1.15 !important;
  }

  .hero-micro-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .hero-micro-stats div {
    padding: 8px 8px !important;
  }
}