/* 
   AI Strategy — Premium Visual System v2
   Sora + DM Sans + Newsreader
   Stunning · Editorial · Cinematic
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  /* Warm Off-White Palette */
  --bg-primary: #F5F4F0;
  --bg-secondary: #FCFBF9;
  --bg-accent: #EDECE7;
  --bg-elevated: #FFFFFF;
  --bg-deep: #E6E5E0;
  --bg-wash: #F9F8F5;
  --bg-glass: rgba(255, 255, 255, 0.65);

  /* Ink & Text */
  --text-primary: #161615;
  --text-secondary: #55544F;
  --text-tertiary: #93928C;
  --text-muted: #B5B4AF;

  /* Accent Palette — Restrained, Sophisticated */
  --accent: #3B4F7A;
  --accent-light: #5269A0;
  --accent-subtle: rgba(59, 79, 122, 0.06);
  --accent-tint: #E8ECF4;
  --accent-glow: rgba(59, 79, 122, 0.12);

  /* Functional Colors (muted tones) */
  --color-blue: #4171A8;
  --color-blue-subtle: rgba(65, 113, 168, 0.07);
  --color-indigo: #5558A0;
  --color-indigo-subtle: rgba(85, 88, 160, 0.07);
  --color-green: #3E8A6E;
  --color-green-subtle: rgba(62, 138, 110, 0.07);
  --color-amber: #9A7A3E;
  --color-amber-subtle: rgba(154, 122, 62, 0.07);
  --color-red: #A05050;
  --color-red-subtle: rgba(160, 80, 80, 0.07);
  --color-cyan: #3A8A9E;
  --color-cyan-subtle: rgba(58, 138, 158, 0.07);
  --color-purple: #7A5AA0;
  --color-purple-subtle: rgba(122, 90, 160, 0.07);

  /* Typography */
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --space-5xl: 12rem;

  /* Layout */
  --container-width: 1120px;
  --container-narrow: 800px;
  --container-wide: 1320px;
  --container-padding: 2.5rem;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 60px rgba(59, 79, 122, 0.08);

  /* Borders */
  --border-subtle: 1px solid rgba(0, 0, 0, 0.04);
  --border-light: 1px solid rgba(0, 0, 0, 0.06);
  --border-medium: 1px solid rgba(0, 0, 0, 0.1);
  --divider: 1px solid rgba(0, 0, 0, 0.05);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.4s var(--ease-out);
  --transition-slow: 0.7s var(--ease-out);
  --transition-glacial: 1.2s var(--ease-out);

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;
}

/* ============================================================
   RESET & FOUNDATIONS
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
  font-optical-sizing: auto;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Film grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.018;
  pointer-events: none;
  z-index: 10000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Subtle dot grid pattern */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
  background-image: radial-gradient(circle, var(--text-primary) 0.5px, transparent 0.5px);
  background-size: 24px 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

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

::selection {
  background: var(--accent-tint);
  color: var(--accent);
}

/* ============================================================
   TYPOGRAPHY — Three-Layer System
   ============================================================ */

/* Sora for all headings — geometric, modern, impactful */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

/* Display Scale — Dramatic, Oversized */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.display-2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.display-3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

/* Oversized statement sections */
.statement {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

/* Body Text — DM Sans, clean and warm */
.text-xl {
  font-family: var(--font-sans);
  font-size: 1.3125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: -0.005em;
}

.text-lg {
  font-family: var(--font-sans);
  font-size: 1.175rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 400;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.005em;
}

.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-muted { color: var(--text-muted); }

/* Serif accent — Newsreader for editorial moments */
.serif {
  font-family: var(--font-serif);
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
}

/* All-caps micro label */
.label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.font-bold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-center { text-align: center; }

/* Gradient text effect */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--color-indigo) 50%, var(--color-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animated shimmer text */
.shimmer-text {
  background: linear-gradient(
    105deg,
    var(--text-primary) 0%,
    var(--text-primary) 40%,
    var(--accent-light) 50%,
    var(--text-primary) 60%,
    var(--text-primary) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% center; }
  50% { background-position: -200% center; }
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.section-full {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header .display-2 {
  margin-bottom: var(--space-sm);
}

.section-header .text-xl {
  max-width: 560px;
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-gap-xl { gap: var(--space-xl); }
.grid-gap-2xl { gap: var(--space-2xl); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --container-padding: 1.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--space-xl) 0; }
}

/* ============================================================
   COMPONENTS
   ============================================================ */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9375rem 2.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  position: relative;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-accent);
  border-color: rgba(0, 0, 0, 0.1);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

/* Cards — Glass-touched, elevated */
.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: var(--border-subtle);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card:hover::before {
  opacity: 1;
}

/* Card accent — thin refined top line */
.card-accent-blue { border-top: 2px solid var(--color-blue); }
.card-accent-indigo { border-top: 2px solid var(--color-indigo); }
.card-accent-green { border-top: 2px solid var(--color-green); }
.card-accent-amber { border-top: 2px solid var(--color-amber); }
.card-accent-red { border-top: 2px solid var(--color-red); }
.card-accent-cyan { border-top: 2px solid var(--color-cyan); }
.card-accent-purple { border-top: 2px solid var(--color-purple); }
.card-accent-navy { border-top: 2px solid var(--accent); }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-accent);
  margin-bottom: var(--space-lg);
  font-size: 1.25rem;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* Insight / Quote Box — now using serif */
.insight-box {
  padding: var(--space-2xl) var(--space-2xl);
  background: var(--bg-wash);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  position: relative;
}

.insight-box p {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.55;
  color: var(--text-primary);
  font-weight: 400;
  font-style: italic;
}

/* Progress Bar */
.progress-bar {
  height: 3px;
  background: var(--bg-deep);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1.8s var(--ease-out);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: inherit;
  box-shadow: 0 0 8px currentColor;
}

/* ============================================================
   NAVIGATION — Premium Glassmorphism Dock
   ============================================================ */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 var(--space-lg) var(--space-xl);
  pointer-events: none;
}

.nav-dock {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 7px 8px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.75) 100%
  );
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.02),
    0 1px 1px rgba(0, 0, 0, 0.02),
    0 4px 8px rgba(0, 0, 0, 0.03),
    0 12px 24px rgba(0, 0, 0, 0.05),
    0 24px 48px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.02);
  pointer-events: auto;
  max-width: calc(100vw - var(--space-xl));
  position: relative;
  overflow: hidden;
}

.nav-dock::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  border-radius: 20px 20px 0 0;
}

.nav-scroll-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
  padding: 0 4px;
  position: relative;
  z-index: 1;
}

.nav-scroll-container::-webkit-scrollbar { display: none; }

.nav-links {
  display: flex;
  gap: 2px;
  padding: 2px;
  white-space: nowrap;
  position: relative;
}

.nav-indicator {
  position: absolute;
  height: calc(100% - 4px);
  top: 2px;
  background: linear-gradient(
    135deg,
    rgba(59, 79, 122, 0.12) 0%,
    rgba(59, 79, 122, 0.08) 100%
  );
  border-radius: 10px;
  border: 1px solid rgba(59, 79, 122, 0.15);
  box-shadow: 
    0 2px 8px rgba(59, 79, 122, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.nav-indicator.visible {
  opacity: 1;
}

.nav-link {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 450;
  color: var(--text-tertiary);
  padding: 0.4rem 0.9rem;
  border-radius: 10px;
  transition: color 0.25s ease, transform 0.15s ease, text-shadow 0.25s ease;
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  line-height: 1.1;
}

.nav-link-num {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.5;
  font-variant-numeric: tabular-nums;
}

.nav-link.active .nav-link-num {
  opacity: 0.8;
}

.nav-link-text {
  position: relative;
}

.nav-link:hover {
  color: var(--text-secondary);
}

.nav-link:active {
  transform: scale(0.96);
}

.nav-link.active {
  color: var(--accent);
  font-weight: 600;
  text-shadow: 0 0 30px rgba(59, 79, 122, 0.3);
}

.nav-divider {
  width: 1px;
  height: 26px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.06) 15%,
    rgba(0, 0, 0, 0.08) 50%,
    rgba(0, 0, 0, 0.06) 85%,
    transparent 100%
  );
  flex-shrink: 0;
  margin: 0 var(--space-xs);
  position: relative;
  z-index: 1;
}

.nav-theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.03) 0%,
    rgba(0, 0, 0, 0.01) 100%
  );
  color: var(--text-tertiary);
  border: 1px solid rgba(0, 0, 0, 0.04);
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.25s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.nav-theme-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0.03) 100%
  );
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nav-theme-btn:active {
  transform: scale(0.92);
}

.nav-theme-btn svg {
  position: absolute;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.dark-mode .theme-icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.dark-mode .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

#app {
  padding-bottom: 100px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.stagger-1 { transition-delay: 0.06s; }
.stagger-2 { transition-delay: 0.14s; }
.stagger-3 { transition-delay: 0.22s; }
.stagger-4 { transition-delay: 0.3s; }
.stagger-5 { transition-delay: 0.38s; }
.stagger-6 { transition-delay: 0.46s; }

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   VISUAL EFFECTS — Atmospheric, Layered
   ============================================================ */

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: -1;
  animation: float-gentle 18s ease-in-out infinite;
}

@keyframes float-gentle {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(15px, -20px) scale(1.03); }
  50% { transform: translate(-10px, 12px) scale(0.97); }
  75% { transform: translate(8px, -8px) scale(1.01); }
}

/* Hero background — rich gradient mesh */
.hero-bg {
  background:
    radial-gradient(ellipse 50% 50% at 20% 40%, rgba(59, 79, 122, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(122, 90, 160, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 50% 20%, rgba(59, 79, 122, 0.03) 0%, transparent 70%),
    var(--bg-primary);
}

/* Section gradient wash */
.section-gradient {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-wash) 40%, var(--bg-wash) 60%, var(--bg-primary) 100%);
}

/* Glow effect for emphasis */
.glow-accent {
  box-shadow: var(--shadow-glow);
}

/* Animated background gradient */
.bg-animated-gradient {
  background: linear-gradient(
    -45deg,
    var(--bg-primary),
    var(--bg-wash),
    rgba(59, 79, 122, 0.03),
    var(--bg-primary)
  );
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============================================================
   PAGE-SPECIFIC — Editorial Compositions
   ============================================================ */

/* Hero */
.hero-content { position: relative; z-index: 10; }

.hero-at-symbol {
  color: var(--accent);
  font-style: normal;
  position: relative;
}

.hero-subtitle {
  max-width: 520px;
  margin-bottom: var(--space-2xl);
}


/* ---- AI Neural Network & Orbital Animation System ---- */

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

.ai-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(59, 79, 122, 0.15) 0%, rgba(59, 79, 122, 0.05) 40%, transparent 70%);
  z-index: 2;
  pointer-events: none;
  animation: glow-breathe 5s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}


/* Orbital Rings */
.ai-orbits {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  z-index: 1;
  pointer-events: none;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(59, 79, 122, 0.18);
  box-shadow: 0 0 30px rgba(59, 79, 122, 0.08), inset 0 0 30px rgba(59, 79, 122, 0.03);
}

.orbit::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(59, 79, 122, 0.5), 0 0 25px rgba(59, 79, 122, 0.3);
  animation: orbit-dot-pulse 2s ease-in-out infinite;
}

@keyframes orbit-dot-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.3); }
}

.orbit-1 {
  width: 580px;
  height: 320px;
  top: -160px;
  left: -290px;
  animation: orbit-spin-1 28s linear infinite;
}

.orbit-2 {
  width: 460px;
  height: 250px;
  top: -125px;
  left: -230px;
  border-color: rgba(59, 79, 122, 0.14);
  animation: orbit-spin-2 22s linear infinite;
}

.orbit-2::after {
  width: 6px;
  height: 6px;
  top: -3px;
  background: rgba(59, 79, 122, 0.8);
  animation-delay: -1s;
}

.orbit-3 {
  width: 700px;
  height: 220px;
  top: -110px;
  left: -350px;
  border-color: rgba(59, 79, 122, 0.1);
  animation: orbit-spin-3 35s linear infinite;
}

.orbit-3::after {
  width: 5px;
  height: 5px;
  top: -2.5px;
  background: rgba(59, 79, 122, 0.6);
  animation-delay: -2s;
}

@keyframes orbit-spin-1 {
  from { transform: rotate(-15deg); }
  to   { transform: rotate(345deg); }
}

@keyframes orbit-spin-2 {
  from { transform: rotate(20deg); }
  to   { transform: rotate(-340deg); }
}

@keyframes orbit-spin-3 {
  from { transform: rotate(45deg); }
  to   { transform: rotate(405deg); }
}

/* Floating AI Data Nodes */
.ai-nodes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.ai-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: node-breathe 3.5s ease-in-out infinite;
}

.ai-node::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.3;
  animation: node-ring 3.5s ease-in-out infinite;
}

.ai-node-lg {
  width: 10px;
  height: 10px;
}

.ai-node-lg::after {
  inset: -12px;
}

@keyframes node-breathe {
  0%, 100% { opacity: 0.25; transform: scale(1); box-shadow: 0 0 8px rgba(59, 79, 122, 0.3); }
  50%      { opacity: 0.9; transform: scale(1.4); box-shadow: 0 0 25px rgba(59, 79, 122, 0.5), 0 0 50px rgba(59, 79, 122, 0.25); }
}

@keyframes node-ring {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50%      { transform: scale(1.5); opacity: 0.5; }
}

/* Stat Display — oversized editorial numbers */
.stat-display {
  text-align: center;
  padding: var(--space-xl) 0;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(5rem, 13vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  position: relative;
}

.stat-number::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: var(--space-lg) auto 0;
  border-radius: 2px;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-top: var(--space-md);
  font-weight: 400;
}

.stat-sublabel {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  margin-top: var(--space-2xs);
  font-style: italic;
}

/* Stat Card */
.stat-card { text-align: left; }

.stat-card .stat-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.stat-card .stat-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

/* Quote Cards — editorial serif styling */
.quote-card {
  border-left: 2px solid var(--bg-deep) !important;
  border-top: none !important;
  padding: var(--space-2xl) var(--space-2xl);
}

.quote-card .quote-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 400;
  font-style: italic;
}

.quote-card .quote-text.quote-large {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  line-height: 1.45;
}

.quote-card .quote-author {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-lg);
  letter-spacing: -0.01em;
}

.quote-card .quote-role {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: var(--space-3xs);
}

/* Decorative quote mark */
.quote-card::before {
  content: '';
  display: none;
}

.quote-card::after {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--bg-deep);
  position: absolute;
  top: var(--space-md);
  right: var(--space-xl);
  opacity: 0.6;
}

.quote-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-wash) 0%, rgba(59, 79, 122, 0.03) 100%);
  border-left-color: var(--accent) !important;
}

.quote-featured .quote-text {
  font-size: clamp(1.625rem, 2.5vw, 2rem);
  line-height: 1.4;
}

.quote-featured::after {
  font-size: 7rem;
  color: var(--accent-tint);
}

/* Timeline */
.timeline-vertical {
  position: relative;
  padding-left: 2rem;
}

.timeline-vertical::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--bg-deep);
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: var(--border-subtle);
  transition: all var(--transition-base);
}

.timeline-item:hover { border-color: rgba(0, 0, 0, 0.07); }

.timeline-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: var(--bg-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

/* Phase Cards */
.phase-card {
  border-left: 2px solid var(--bg-deep);
  border-top: none;
}

/* Architecture Nodes */
.node {
  background: var(--bg-elevated);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  border: var(--border-subtle);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8125rem;
  width: 160px;
  text-align: center;
  transition: all var(--transition-base);
  letter-spacing: -0.01em;
}

.node:hover {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
}

.product-node { border-left: 2px solid var(--color-blue); }
.vendor-node { border-right: 2px solid var(--color-purple); }

/* Metric Box */
.metric-box {
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-wash);
  border-radius: var(--radius-md);
  text-align: center;
  border: var(--border-subtle);
}

/* Feature List */
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.feature-list li span:first-child {
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Vendor Cards */
.vendor-card {
  text-align: center;
  padding: var(--space-lg);
}

.vendor-card .card-icon {
  margin: 0 auto var(--space-md);
}

/* Framework Banner */
.framework-banner {
  background: linear-gradient(135deg, var(--bg-wash) 0%, rgba(59, 79, 122, 0.03) 100%);
  padding: var(--space-xl) var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  border: var(--border-subtle);
}

/* ============================================================
   DARK MODE
   ============================================================ */

.dark-mode {
  --bg-primary: #121211;
  --bg-secondary: #1A1A18;
  --bg-accent: #222220;
  --bg-elevated: #1C1C1A;
  --bg-deep: #282826;
  --bg-wash: #181817;
  --bg-glass: rgba(28, 28, 26, 0.7);

  --text-primary: #EEEDEA;
  --text-secondary: #96958F;
  --text-tertiary: #636260;
  --text-muted: #454542;

  --accent: #8B9ECE;
  --accent-light: #A3B4DD;
  --accent-subtle: rgba(139, 158, 206, 0.08);
  --accent-tint: #262A35;
  --accent-glow: rgba(139, 158, 206, 0.1);

  --border-subtle: 1px solid rgba(255, 255, 255, 0.04);
  --border-light: 1px solid rgba(255, 255, 255, 0.06);
  --border-medium: 1px solid rgba(255, 255, 255, 0.1);
  --divider: 1px solid rgba(255, 255, 255, 0.05);

  --shadow-xs: none;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);

  --color-blue: #7AA5D4;
  --color-indigo: #9598CC;
  --color-green: #70B89E;
  --color-amber: #C8B078;
  --color-red: #CC8888;
  --color-cyan: #70B8CC;
  --color-purple: #A88ECC;
}

.dark-mode body::before { opacity: 0.012; }
.dark-mode body::after { opacity: 0.015; }

.dark-mode .nav-dock {
  background: linear-gradient(
    135deg,
    rgba(32, 32, 30, 0.85) 0%,
    rgba(28, 28, 26, 0.75) 50%,
    rgba(32, 32, 30, 0.8) 100%
  );
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.3),
    0 1px 1px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.15),
    0 12px 24px rgba(0, 0, 0, 0.2),
    0 24px 48px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.dark-mode .nav-dock::before {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.dark-mode .nav-indicator {
  background: linear-gradient(
    135deg,
    rgba(139, 158, 206, 0.18) 0%,
    rgba(139, 158, 206, 0.12) 100%
  );
  border-color: rgba(139, 158, 206, 0.25);
  box-shadow: 
    0 2px 12px rgba(139, 158, 206, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dark-mode .nav-link.active {
  text-shadow: 0 0 30px rgba(139, 158, 206, 0.5);
}

.dark-mode .nav-divider {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 15%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.06) 85%,
    transparent 100%
  );
}

.dark-mode .nav-theme-btn {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-color: rgba(255, 255, 255, 0.06);
}

.dark-mode .nav-theme-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 12px rgba(139, 158, 206, 0.15);
}

.dark-mode .btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.dark-mode .btn-primary:hover {
  background: #fff;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

.dark-mode .hero-bg {
  background:
    radial-gradient(ellipse 50% 50% at 20% 40%, rgba(139, 158, 206, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(168, 142, 204, 0.04) 0%, transparent 70%),
    var(--bg-primary);
}

.dark-mode .ai-glow {
  background: radial-gradient(ellipse, rgba(139, 158, 206, 0.18) 0%, rgba(139, 158, 206, 0.06) 40%, transparent 70%);
}

.dark-mode .orbit {
  border-color: rgba(139, 158, 206, 0.22);
  box-shadow: 0 0 40px rgba(139, 158, 206, 0.1), inset 0 0 30px rgba(139, 158, 206, 0.04);
}

.dark-mode .orbit::after {
  background: rgba(139, 158, 206, 0.9);
  box-shadow: 0 0 15px rgba(139, 158, 206, 0.6), 0 0 30px rgba(139, 158, 206, 0.4);
}

.dark-mode .orbit-2 {
  border-color: rgba(139, 158, 206, 0.16);
}

.dark-mode .orbit-2::after {
  background: rgba(139, 158, 206, 0.7);
}

.dark-mode .orbit-3 {
  border-color: rgba(139, 158, 206, 0.1);
}

.dark-mode .orbit-3::after {
  background: rgba(139, 158, 206, 0.5);
}

.dark-mode .ai-node {
  background: rgba(139, 158, 206, 0.9);
}

.dark-mode .ai-node::after {
  border-color: rgba(139, 158, 206, 0.5);
}


/* ============================================================
   VENDOR EVAL — Premium Animated Grid
   ============================================================ */

.eval-section-viewport {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--space-xl) !important;
  padding-bottom: var(--space-xl) !important;
}

.eval-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.eval-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  perspective: 1200px;
}

.eval-card {
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.eval-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --- Category color tokens --- */
.eval-card[data-category="performance"] { --cat-color: var(--color-blue); --cat-subtle: var(--color-blue-subtle); }
.eval-card[data-category="reach"]       { --cat-color: var(--color-cyan); --cat-subtle: var(--color-cyan-subtle); }
.eval-card[data-category="economics"]   { --cat-color: var(--color-amber); --cat-subtle: var(--color-amber-subtle); }
.eval-card[data-category="outcomes"]    { --cat-color: var(--color-purple); --cat-subtle: var(--color-purple-subtle); }

.eval-card-inner {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: var(--border-subtle);
  border-top: 3px solid var(--cat-color, var(--color-green));
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  will-change: transform;
  cursor: default;
}

.eval-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--accent-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.eval-card-inner:hover::before {
  opacity: 1;
}

.eval-card-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cat-color, var(--accent-light));
  opacity: 0.7;
  transition: opacity 0.4s var(--ease-out);
}

.eval-card-inner:hover::after {
  opacity: 1;
}

.eval-card-inner:hover {
  border-color: rgba(59, 79, 122, 0.12);
  box-shadow: 0 12px 40px rgba(59, 79, 122, 0.1), 0 0 0 1px rgba(59, 79, 122, 0.05);
}

/* --- Number badge --- */
.eval-card-num {
  position: absolute;
  top: 10px;
  left: 12px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cat-color, var(--text-tertiary));
  opacity: 0.55;
  z-index: 2;
  line-height: 1;
  transition: opacity 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.eval-card-inner:hover .eval-card-num {
  opacity: 0.85;
}

/* --- Animation area base --- */
.eval-anim-area {
  width: 100%;
  height: 68px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
  color: var(--cat-color, var(--color-green));
  z-index: 1;
  overflow: hidden;
}

.anim-badge {
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--cat-color, var(--text-tertiary));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.eval-card.visible .anim-badge {
  animation: badge-fade 3s ease-in-out infinite;
}

@keyframes badge-fade {
  0%, 25% { opacity: 0; }
  45%, 75% { opacity: 0.7; }
  100% { opacity: 0; }
}

/* ---- 01 · Latency pulse ---- */
.anim-latency svg { width: 88%; height: 36px; }

.latency-bg {
  stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; opacity: 0.1;
}

.latency-line {
  stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 160; stroke-dashoffset: 160;
}

.eval-card.visible .latency-line {
  animation: latency-draw 2.6s cubic-bezier(0.4,0,0.2,1) infinite;
}

@keyframes latency-draw {
  0%   { stroke-dashoffset: 160; opacity: 0.9; }
  50%  { stroke-dashoffset: 0;   opacity: 1; }
  75%  { stroke-dashoffset: 0;   opacity: 0.4; }
  100% { stroke-dashoffset:-160; opacity: 0; }
}

/* ---- 02 · Interruption waveform bars ---- */
.anim-interrupt {
  display: flex; align-items: flex-end; gap: 2px;
  padding: 10px 6px;
}

.int-bars { display: flex; align-items: flex-end; gap: 2px; height: 48px; }

.int-bars i {
  display: block; width: 4px; border-radius: 2px;
  background: currentColor; transform-origin: bottom;
}

.int-a i { opacity: 0.25; }
.int-a i:nth-child(1) { height: 40%; } .int-a i:nth-child(2) { height: 70%; }
.int-a i:nth-child(3) { height: 50%; } .int-a i:nth-child(4) { height: 85%; }
.int-a i:nth-child(5) { height: 45%; } .int-a i:nth-child(6) { height: 60%; }
.int-a i:nth-child(7) { height: 30%; }

.int-slash {
  width: 2px; height: 34px; margin: 0 3px; align-self: flex-end;
  background: currentColor; opacity: 0;
  transform: rotate(12deg); border-radius: 1px;
}

.int-b i { opacity: 0; transform: scaleY(0); }
.int-b i:nth-child(1) { height: 55%; } .int-b i:nth-child(2) { height: 80%; }
.int-b i:nth-child(3) { height: 65%; } .int-b i:nth-child(4) { height: 40%; }
.int-b i:nth-child(5) { height: 70%; }

.eval-card.visible .int-a i {
  animation-name: intA; animation-duration: 4s;
  animation-timing-function: ease-in-out; animation-iteration-count: infinite;
}
.eval-card.visible .int-slash { animation: intSlash 4s ease-in-out infinite; }
.eval-card.visible .int-b i {
  animation-name: intB; animation-duration: 4s;
  animation-timing-function: ease-in-out; animation-iteration-count: infinite;
}

.int-a i:nth-child(1) { animation-delay: 0s; }  .int-a i:nth-child(2) { animation-delay: .06s; }
.int-a i:nth-child(3) { animation-delay: .12s; } .int-a i:nth-child(4) { animation-delay: .18s; }
.int-a i:nth-child(5) { animation-delay: .24s; } .int-a i:nth-child(6) { animation-delay: .3s; }
.int-a i:nth-child(7) { animation-delay: .36s; }

.int-b i:nth-child(1) { animation-delay: 1.6s; } .int-b i:nth-child(2) { animation-delay: 1.7s; }
.int-b i:nth-child(3) { animation-delay: 1.8s; } .int-b i:nth-child(4) { animation-delay: 1.9s; }
.int-b i:nth-child(5) { animation-delay: 2.0s; }

@keyframes intA {
  0%, 30% { opacity: 0.25; transform: scaleY(1); }
  45%, 85% { opacity: 0.06; transform: scaleY(0.25); }
  100% { opacity: 0.25; transform: scaleY(1); }
}

@keyframes intSlash {
  0%, 35% { opacity: 0; }
  42%, 55% { opacity: 0.35; }
  65%, 100% { opacity: 0; }
}

@keyframes intB {
  0%, 38% { opacity: 0; transform: scaleY(0); }
  52% { opacity: 0.35; transform: scaleY(1); }
  78% { opacity: 0.35; transform: scaleY(1); }
  92%, 100% { opacity: 0; transform: scaleY(0); }
}

/* ---- 03 · Voice Quality equalizer ---- */
.anim-equalizer {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 5px; padding: 8px 0;
}

.anim-equalizer i {
  display: block; width: 6px; border-radius: 3px;
  background: currentColor; opacity: 0.3;
  transform-origin: bottom;
  animation: eqBar 1.4s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.eval-card.visible .anim-equalizer i { animation-play-state: running; }

.anim-equalizer i:nth-child(1) { height: 18px; animation-duration: 1.1s; animation-delay: 0s; }
.anim-equalizer i:nth-child(2) { height: 32px; animation-duration: 0.9s; animation-delay: .12s; }
.anim-equalizer i:nth-child(3) { height: 24px; animation-duration: 1.3s; animation-delay: .24s; }
.anim-equalizer i:nth-child(4) { height: 42px; animation-duration: 0.85s; animation-delay: .08s; }
.anim-equalizer i:nth-child(5) { height: 26px; animation-duration: 1.15s; animation-delay: .2s; }
.anim-equalizer i:nth-child(6) { height: 36px; animation-duration: 1.0s; animation-delay: .04s; }
.anim-equalizer i:nth-child(7) { height: 20px; animation-duration: 1.25s; animation-delay: .16s; }

@keyframes eqBar {
  0%   { transform: scaleY(0.25); opacity: 0.15; }
  100% { transform: scaleY(1);    opacity: 0.45; }
}

/* ---- 04 · Naturalness — head + sound waves ---- */
.anim-natural svg { width: 72%; height: 48px; }

.nat-w {
  fill: none; stroke: currentColor; stroke-linecap: round; opacity: 0;
}

.nat-w1 { stroke-width: 2; }
.nat-w2 { stroke-width: 1.6; }
.nat-w3 { stroke-width: 1.2; }

.eval-card.visible .nat-w1 { animation: natPulse 2.4s ease-out 0s    infinite; }
.eval-card.visible .nat-w2 { animation: natPulse 2.4s ease-out 0.35s infinite; }
.eval-card.visible .nat-w3 { animation: natPulse 2.4s ease-out 0.7s  infinite; }

@keyframes natPulse {
  0%   { opacity: 0;   transform: translateX(-3px); }
  25%  { opacity: 0.55; transform: translateX(0); }
  60%  { opacity: 0.25; transform: translateX(2px); }
  100% { opacity: 0;   transform: translateX(4px); }
}

/* ---- 05 · Linguistic Reach — scrolling languages ---- */
.anim-languages {
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.lang-track {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  animation: langScroll 10s linear infinite;
  animation-play-state: paused;
}

.eval-card.visible .lang-track { animation-play-state: running; }

.lang-track span {
  font-family: var(--font-display); font-size: 0.8125rem;
  font-weight: 500; color: currentColor; opacity: 0.5;
  white-space: nowrap; padding: 3px 0;
}

@keyframes langScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* ---- 06 · Dashboard — bars + trend line ---- */
.anim-dashboard {
  flex-direction: column; padding: 6px 10px;
}

.dash-bars {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 6px; height: 55%; width: 100%;
}

.dash-bars i {
  display: block; flex: 1; border-radius: 2px 2px 0 0;
  background: currentColor; opacity: 0.18;
  transform-origin: bottom; transform: scaleY(0);
}

.eval-card.visible .dash-bars i {
  animation: dashGrow 1.8s cubic-bezier(0.16,1,0.3,1) forwards;
}

.dash-bars i:nth-child(1) { height: 50%; animation-delay: .1s; }
.dash-bars i:nth-child(2) { height: 72%; animation-delay: .2s; }
.dash-bars i:nth-child(3) { height: 42%; animation-delay: .3s; }
.dash-bars i:nth-child(4) { height: 88%; animation-delay: .4s; }
.dash-bars i:nth-child(5) { height: 60%; animation-delay: .5s; }

@keyframes dashGrow {
  0%   { transform: scaleY(0); opacity: 0; }
  100% { transform: scaleY(1); opacity: 0.25; }
}

.dash-trend { width: 100%; height: 38%; margin-top: -4px; }

.dash-trend-line {
  stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 110; stroke-dashoffset: 110; opacity: 0.45;
}

.eval-card.visible .dash-trend-line {
  animation: dashDraw 2s cubic-bezier(0.16,1,0.3,1) .65s forwards;
}

@keyframes dashDraw { to { stroke-dashoffset: 0; } }

/* ---- 07 · Cost per Minute — price ticker ---- */
.anim-cost { flex-direction: column; gap: 6px; }

.cost-display {
  display: flex; align-items: baseline; gap: 2px;
  font-family: var(--font-display);
}

.cost-sym  { font-size: 1rem;  font-weight: 700; opacity: 0.35; }
.cost-val  { font-size: 1.5rem; font-weight: 700; opacity: 0.5; letter-spacing: -0.02em; }
.cost-unit { font-size: 0.75rem; font-weight: 500; opacity: 0.25; }

.cost-cursor {
  width: 28px; height: 3px; border-radius: 2px;
  background: currentColor; opacity: 0.15;
  animation: costBlink 1.2s steps(2, start) infinite;
  animation-play-state: paused;
}

.eval-card.visible .cost-cursor { animation-play-state: running; }

@keyframes costBlink {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.3; }
}

/* ---- 08 · Issue Resolution — ring + check ---- */
.anim-resolution svg { width: 48px; height: 48px; }

.res-ring {
  stroke: currentColor; stroke-width: 2.5; fill: none;
  stroke-dasharray: 113; stroke-dashoffset: 113; opacity: 0.2;
}

.res-check {
  stroke: currentColor; stroke-width: 3; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 36; stroke-dashoffset: 36; opacity: 0;
}

.eval-card.visible .res-ring  { animation: resRing 3.5s ease-in-out infinite; }
.eval-card.visible .res-check { animation: resCheck 3.5s ease-in-out infinite; }

@keyframes resRing {
  0%   { stroke-dashoffset: 113; opacity: 0.12; }
  35%  { stroke-dashoffset: 0;   opacity: 0.35; }
  55%  { stroke-dashoffset: 0;   opacity: 0.35; }
  90%, 100% { stroke-dashoffset: 0; opacity: 0.1; }
}

@keyframes resCheck {
  0%, 38%  { stroke-dashoffset: 36; opacity: 0; }
  55%  { stroke-dashoffset: 0; opacity: 0.7; }
  75%  { stroke-dashoffset: 0; opacity: 0.7; }
  92%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

/* ---- 09 · Conversion Rate — upward trend ---- */
.anim-conversion svg { width: 68%; height: 48px; }

.conv-line {
  stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 90; stroke-dashoffset: 90; opacity: 0.4;
}

.conv-arrow {
  stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 22; stroke-dashoffset: 22; opacity: 0;
}

.eval-card.visible .conv-line  { animation: convLine 3s ease-out infinite; }
.eval-card.visible .conv-arrow { animation: convArrow 3s ease-out infinite; }

.conv-pct { font-size: 0.8125rem; font-weight: 700; }

@keyframes convLine {
  0%       { stroke-dashoffset: 90; opacity: 0; }
  45%      { stroke-dashoffset: 0;  opacity: 0.55; }
  75%      { stroke-dashoffset: 0;  opacity: 0.55; }
  100%     { stroke-dashoffset: 0;  opacity: 0; }
}

@keyframes convArrow {
  0%, 35%  { stroke-dashoffset: 22; opacity: 0; }
  55%      { stroke-dashoffset: 0;  opacity: 0.6; }
  75%      { stroke-dashoffset: 0;  opacity: 0.6; }
  100%     { stroke-dashoffset: 0;  opacity: 0; }
}

/* ---- 10 · DIY vs Service — toggle ---- */
.anim-toggle { gap: 10px; }

.tgl-label {
  font-family: var(--font-display); font-size: 0.6875rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: currentColor; opacity: 0.25;
  transition: opacity 0.4s ease;
}

.tgl-track {
  width: 44px; height: 22px; border-radius: 11px;
  background: currentColor; opacity: 0.12;
  position: relative; flex-shrink: 0;
}

.tgl-knob {
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: currentColor; opacity: 0.5;
  animation: tglSlide 4s ease-in-out infinite;
  animation-play-state: paused;
}

.eval-card.visible .tgl-knob { animation-play-state: running; }

@keyframes tglSlide {
  0%, 35%  { left: 3px; }
  45%, 85% { left: 25px; }
  95%, 100% { left: 3px; }
}

.eval-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.eval-card-title span {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.eval-footer-insight {
  position: relative;
  margin-top: var(--space-xl);
  padding: var(--space-lg) var(--space-2xl);
  background: var(--bg-wash);
  border-radius: var(--radius-lg);
  text-align: center;
  border: var(--border-subtle);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out) 0.6s, transform 0.8s var(--ease-out) 0.6s;
}

.eval-footer-insight.visible {
  opacity: 1;
  transform: translateY(0);
}

.eval-footer-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: eval-glow-breathe 4s ease-in-out infinite;
}

@keyframes eval-glow-breathe {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.3); }
}

.eval-footer-insight p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--text-primary);
  font-weight: 400;
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* --- Dark mode overrides --- */
.dark-mode .eval-card-inner:hover {
  border-color: rgba(139, 158, 206, 0.15);
  box-shadow: 0 12px 40px rgba(139, 158, 206, 0.08), 0 0 0 1px rgba(139, 158, 206, 0.06);
}

.dark-mode .eval-card-inner::before {
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(139, 158, 206, 0.08) 0%, transparent 60%);
}

.dark-mode .eval-card-inner::after {
  background: var(--cat-color, var(--accent));
}

.dark-mode .eval-card-num {
  color: var(--cat-color, var(--text-tertiary));
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .eval-grid { grid-template-columns: repeat(3, 1fr); }
  .eval-section-viewport { min-height: auto; }
}

@media (max-width: 768px) {
  .eval-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .eval-card-inner { padding: var(--space-lg) var(--space-md); }
  .eval-anim-area { height: 56px; }
  .eval-card-title { font-size: 0.9375rem; }
  .eval-card-title span { font-size: 0.875rem; }
  .eval-footer-insight p { font-size: 1.125rem; }
  .eval-section-viewport { min-height: auto; }
  .cost-val { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .eval-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
  .eval-card-inner { padding: var(--space-md) var(--space-sm); }
  .eval-anim-area { height: 44px; }
  .eval-card-title { font-size: 0.8125rem; }
  .eval-card-title span { font-size: 0.75rem; }
  .eval-card-num { font-size: 0.5625rem; top: 7px; left: 8px; }
  .cost-val { font-size: 1rem; }
  .tgl-label { font-size: 0.5625rem; }
  .tgl-track { width: 36px; height: 18px; }
  .tgl-knob { width: 12px; height: 12px; }
  @keyframes tglSlide {
    0%, 35% { left: 3px; } 45%, 85% { left: 21px; } 95%, 100% { left: 3px; }
  }
}

/* ============================================================
   OUTBOUND — Hub-and-Spoke Integration Animation
   ============================================================ */

#outbound.section {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  padding-top: var(--space-lg);
  padding-bottom: calc(var(--space-lg) + 80px);
}

#outbound .container {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ob-arena {
  position: relative;
  flex: 1 1 0;
  min-height: 380px;
  margin-top: var(--space-md);
  background: linear-gradient(135deg, var(--bg-wash) 0%, rgba(59, 79, 122, 0.03) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-subtle);
}

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

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

.ob-col {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}

.ob-col-left { left: 5%; }
.ob-col-right { right: 5%; }

.ob-node {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elevated);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: var(--border-subtle);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  width: 170px;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  position: relative;
}

.ob-node:hover {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
}

.ob-node-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-blue);
  opacity: 0.7;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.ob-node:hover .ob-node-svg {
  opacity: 1;
}

.ob-vendor .ob-node-svg {
  color: var(--color-purple);
}

.ob-product.ob-connected .ob-node-svg {
  color: var(--accent);
  opacity: 0.85;
}

.ob-vendor.ob-connected .ob-node-svg {
  color: var(--color-purple);
  opacity: 0.85;
}

.ob-node-label {
  white-space: nowrap;
  color: var(--text-primary);
}

.ob-product {
  border-left: 2.5px solid var(--color-blue);
  transform: translateX(-40px);
}

.ob-product.ob-visible {
  opacity: 1;
  transform: translateX(0);
}

.ob-product.ob-connected {
  border-left-color: var(--accent);
  box-shadow: var(--shadow-sm), 0 0 12px rgba(59, 79, 122, 0.08);
}

.ob-vendor {
  border-right: 2.5px solid var(--color-purple);
  flex-direction: row-reverse;
  text-align: right;
  transform: translateX(40px);
}

.ob-vendor.ob-visible {
  opacity: 1;
  transform: translateX(0);
}

.ob-vendor.ob-connected {
  border-right-color: var(--color-purple);
  box-shadow: var(--shadow-sm), 0 0 12px rgba(122, 90, 160, 0.08);
}

.ob-vendor-new {
  border-style: dashed;
  border-right-width: 2px;
  border-right-color: var(--text-tertiary);
}

.ob-vendor-new.ob-visible {
  animation: ob-new-pulse 3s ease-in-out infinite;
}

@keyframes ob-new-pulse {
  0%, 100% { border-right-color: var(--text-tertiary); }
  50% { border-right-color: var(--color-purple); }
}

/* Vendor arrival cycling animation */
.ob-vendor-new .ob-node-label {
  display: inline-block;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ob-vendor-new.ob-text-swapping .ob-node-label {
  opacity: 0;
  transform: translateY(-10px);
}

.ob-vendor-new.ob-vendor-morphed {
  animation: none;
  border-style: solid;
  border-right-color: var(--color-purple);
  box-shadow: var(--shadow-sm), 0 0 20px rgba(122, 90, 160, 0.2);
  transition: border-style 0.3s ease, border-right-color 0.3s ease, box-shadow 0.4s ease;
}

.ob-vendor-new.ob-vendor-morphed .ob-node-svg {
  opacity: 0.85;
  color: var(--color-purple);
}

.ob-vendor-new.ob-vendor-morphed .ob-node-label {
  color: var(--color-purple);
  font-weight: 600;
}

@keyframes ob-line-pulse {
  0%   { stroke-width: 3.5; opacity: 0.9; }
  100% { stroke-width: 1.5; opacity: 0.2; }
}

.ob-line.ob-line-pulse-active {
  animation: ob-line-pulse 0.8s ease-out forwards;
}

/* --- Central Hub --- */
.ob-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  z-index: 5;
}

/* Expanding pulse rings */
.ob-hub-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0;
  pointer-events: none;
}

.ob-hub-ring-1 {
  width: 210px; height: 210px;
  top: -105px; left: -105px;
}
.ob-hub-ring-2 {
  width: 260px; height: 260px;
  top: -130px; left: -130px;
}
.ob-hub-ring-3 {
  width: 310px; height: 310px;
  top: -155px; left: -155px;
}

.ob-hub-ring.ob-ring-active {
  animation: ob-ring-pulse 3.5s ease-out infinite;
}
.ob-hub-ring-2.ob-ring-active { animation-delay: 0.8s; }
.ob-hub-ring-3.ob-ring-active { animation-delay: 1.6s; }

@keyframes ob-ring-pulse {
  0% { opacity: 0.25; transform: scale(0.85); }
  50% { opacity: 0.06; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.25); }
}

/* Rotating dashed orbit track */
.ob-orbit-track {
  position: absolute;
  width: 220px; height: 220px;
  top: -110px; left: -110px;
  border-radius: 50%;
  border: 1.5px dashed var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s var(--ease-out);
}

.ob-orbit-track.ob-orbit-active {
  opacity: 0.2;
  animation: ob-orbit-spin 20s linear infinite;
}

@keyframes ob-orbit-spin {
  to { transform: rotate(360deg); }
}

/* Orbiting satellite dots */
.ob-orbit-dots {
  position: absolute;
  width: 220px; height: 220px;
  top: -110px; left: -110px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s var(--ease-out);
}

.ob-orbit-dots.ob-orbit-active {
  opacity: 1;
}

.ob-orbit-dot {
  position: absolute;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  top: -3.5px; left: 50%;
  margin-left: -3.5px;
  box-shadow: 0 0 10px rgba(59, 79, 122, 0.5), 0 0 20px rgba(59, 79, 122, 0.25);
  transform-origin: 3.5px 113.5px;
  animation: ob-satellite 12s linear infinite;
  animation-delay: var(--orbit-delay, 0s);
  animation-play-state: paused;
}

.ob-orbit-dots.ob-orbit-active .ob-orbit-dot {
  animation-play-state: running;
}

@keyframes ob-satellite {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Core container with gradient border */
.ob-hub-core {
  position: absolute;
  width: 180px;
  height: 180px;
  top: -90px;
  left: -90px;
  border-radius: 50%;
  z-index: 10;
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ob-hub-core.ob-visible {
  opacity: 1;
  transform: scale(1);
}

/* Rotating gradient border via pseudo-element */
.ob-hub-core::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--accent) 0%,
    transparent 25%,
    var(--color-purple) 50%,
    transparent 75%,
    var(--accent) 100%
  );
  opacity: 0.5;
  z-index: -1;
}

.ob-hub-core.ob-breathing::before {
  animation: ob-border-rotate 6s linear infinite;
}

@keyframes ob-border-rotate {
  to { transform: rotate(360deg); }
}

/* Scanner sweep overlay */
.ob-hub-scanner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}

.ob-hub-scanner.ob-scanner-active {
  opacity: 1;
}

.ob-hub-scanner::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  transform-origin: 0 0;
  background: conic-gradient(
    from 0deg at 0% 0%,
    transparent 0deg,
    rgba(59, 79, 122, 0.08) 30deg,
    transparent 60deg
  );
  animation: ob-scanner-sweep 3s linear infinite;
  animation-play-state: paused;
}

.ob-hub-scanner.ob-scanner-active::after {
  animation-play-state: running;
}

@keyframes ob-scanner-sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Inner content area */
.ob-hub-inner {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow:
    var(--shadow-lg),
    0 0 40px rgba(59, 79, 122, 0.08),
    inset 0 0 20px rgba(59, 79, 122, 0.03);
  overflow: hidden;
}

.ob-hub-core.ob-breathing .ob-hub-inner {
  animation: ob-inner-breathe 4s ease-in-out infinite;
}

@keyframes ob-inner-breathe {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 40px rgba(59, 79, 122, 0.06), inset 0 0 20px rgba(59, 79, 122, 0.02); }
  50% { box-shadow: var(--shadow-lg), 0 0 70px rgba(59, 79, 122, 0.15), inset 0 0 30px rgba(59, 79, 122, 0.05); }
}

/* SVG network icon */
.ob-hub-svg {
  width: 64px;
  height: 64px;
  color: var(--accent);
  flex-shrink: 0;
  margin-bottom: 3px;
}

.ob-hub-svg line {
  animation: ob-svg-dash 4s linear infinite;
}

@keyframes ob-svg-dash {
  to { stroke-dashoffset: -8; }
}

/* Hub text */
.ob-hub-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
}

.ob-hub-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.ob-hub-subtitle {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

/* --- SVG connection lines --- */
.ob-line {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0;
}

.ob-line-product {
  stroke: var(--accent);
}

.ob-line-vendor {
  stroke: var(--color-purple);
}

.ob-line.ob-line-drawing {
  opacity: 0.35;
  stroke-dasharray: var(--line-len);
  stroke-dashoffset: var(--line-len);
  animation: ob-line-draw 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ob-line.ob-line-active {
  opacity: 0.2;
  stroke-dasharray: 6, 4;
  animation: ob-line-flow 1.5s linear infinite;
}

@keyframes ob-line-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes ob-line-flow {
  to { stroke-dashoffset: -20; }
}

/* --- Tagline --- */
.ob-tagline {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elevated);
  padding: 12px 32px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-secondary);
  border: var(--border-subtle);
  z-index: 10;
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  white-space: nowrap;
}

.ob-tagline.ob-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- Dark mode overrides --- */
.dark-mode .ob-product.ob-connected {
  box-shadow: var(--shadow-sm), 0 0 12px rgba(139, 158, 206, 0.1);
}

.dark-mode .ob-vendor.ob-connected {
  box-shadow: var(--shadow-sm), 0 0 12px rgba(168, 142, 204, 0.1);
}

.dark-mode .ob-orbit-dot {
  box-shadow: 0 0 10px rgba(139, 158, 206, 0.6), 0 0 20px rgba(139, 158, 206, 0.3);
}

.dark-mode .ob-hub-inner {
  box-shadow:
    var(--shadow-lg),
    0 0 40px rgba(139, 158, 206, 0.1),
    inset 0 0 20px rgba(139, 158, 206, 0.04);
}

@keyframes ob-inner-breathe-dark {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 40px rgba(139, 158, 206, 0.08), inset 0 0 20px rgba(139, 158, 206, 0.03); }
  50% { box-shadow: var(--shadow-lg), 0 0 80px rgba(139, 158, 206, 0.2), inset 0 0 30px rgba(139, 158, 206, 0.06); }
}

.dark-mode .ob-hub-core.ob-breathing .ob-hub-inner {
  animation-name: ob-inner-breathe-dark;
}

.dark-mode .ob-hub-scanner::after {
  background: conic-gradient(
    from 0deg at 0% 0%,
    transparent 0deg,
    rgba(139, 158, 206, 0.1) 30deg,
    transparent 60deg
  );
}

/* --- Outbound Responsive --- */
@media (max-width: 1024px) {
  .ob-node { width: 150px; padding: 10px 16px; font-size: 0.875rem; }
  .ob-node-svg { width: 18px; height: 18px; }
  .ob-hub-core { width: 155px; height: 155px; top: -77.5px; left: -77.5px; }
  .ob-hub-svg { width: 56px; height: 56px; }
  .ob-hub-title { font-size: 0.8125rem; }
  .ob-hub-subtitle { font-size: 0.875rem; }
  .ob-hub-ring-1 { width: 185px; height: 185px; top: -92.5px; left: -92.5px; }
  .ob-hub-ring-2 { width: 230px; height: 230px; top: -115px; left: -115px; }
  .ob-hub-ring-3 { width: 280px; height: 280px; top: -140px; left: -140px; }
  .ob-orbit-track, .ob-orbit-dots { width: 195px; height: 195px; top: -97.5px; left: -97.5px; }
  .ob-orbit-dot { transform-origin: 3.5px 101px; }
}

@media (max-width: 768px) {
  #outbound.section { padding-bottom: calc(var(--space-md) + 80px); }
  .ob-arena { min-height: 340px; }
  .ob-col { gap: 8px; }
  .ob-col-left { left: 3%; }
  .ob-col-right { right: 3%; }
  .ob-node { width: 115px; padding: 8px 12px; font-size: 0.75rem; gap: 6px; }
  .ob-node-svg { width: 16px; height: 16px; }
  .ob-hub-core { width: 130px; height: 130px; top: -65px; left: -65px; }
  .ob-hub-svg { width: 48px; height: 48px; }
  .ob-hub-title { font-size: 0.6875rem; }
  .ob-hub-subtitle { font-size: 0.75rem; }
  .ob-hub-ring-1 { width: 155px; height: 155px; top: -77.5px; left: -77.5px; }
  .ob-hub-ring-2 { width: 190px; height: 190px; top: -95px; left: -95px; }
  .ob-hub-ring-3 { width: 225px; height: 225px; top: -112.5px; left: -112.5px; }
  .ob-orbit-track, .ob-orbit-dots { width: 165px; height: 165px; top: -82.5px; left: -82.5px; }
  .ob-orbit-dot { width: 5px; height: 5px; margin-left: -2.5px; transform-origin: 2.5px 85px; }
  .ob-tagline { font-size: 0.9375rem; padding: 10px 24px; }
}

@media (max-width: 480px) {
  #outbound.section { padding-bottom: calc(var(--space-sm) + 70px); }
  .ob-arena { min-height: 300px; }
  .ob-col { gap: 5px; }
  .ob-node { width: 95px; padding: 6px 8px; font-size: 0.6875rem; gap: 4px; }
  .ob-node-svg { width: 14px; height: 14px; }
  .ob-hub-core { width: 100px; height: 100px; top: -50px; left: -50px; }
  .ob-hub-svg { width: 38px; height: 38px; }
  .ob-hub-title { font-size: 0.5625rem; }
  .ob-hub-subtitle { font-size: 0.625rem; }
  .ob-hub-ring-1 { width: 120px; height: 120px; top: -60px; left: -60px; }
  .ob-hub-ring-2 { width: 145px; height: 145px; top: -72.5px; left: -72.5px; }
  .ob-hub-ring-3 { width: 170px; height: 170px; top: -85px; left: -85px; }
  .ob-orbit-track, .ob-orbit-dots { width: 130px; height: 130px; top: -65px; left: -65px; }
  .ob-orbit-dot { width: 4px; height: 4px; margin-left: -2px; transform-origin: 2px 67px; }
  .ob-tagline { font-size: 0.8125rem; padding: 8px 18px; white-space: normal; text-align: center; max-width: 85%; }
}

/* ============================================================
   PROBLEMS — Two-Column Vertical Stacks
   ============================================================ */

/* Step-by-step reveal */
.p-step {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-step.p-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.p-step-col {
  transform: translateX(30px);
}

.p-step-col.p-visible {
  transform: none;
}

.problems-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

#problems-grid {
  grid-template-columns: 1fr 0fr;
  column-gap: 0;
  transition: grid-template-columns 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              column-gap 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#problems-grid .problems-col--amber {
  overflow: hidden;
}

#problems-grid.problems-two-col {
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-2xl);
}

.problems-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  position: relative;
}

.problems-col--red {
  background: var(--color-red-subtle);
}

.problems-col--amber {
  background: var(--color-amber-subtle);
}

.problems-col-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-bottom: var(--divider);
  position: relative;
}

.problems-col-accent {
  width: 4px;
  height: 44px;
  border-radius: 2px;
  flex-shrink: 0;
}

.problems-col-accent--red { background: var(--color-red); }
.problems-col-accent--amber { background: var(--color-amber); }

.problems-col-title {
  font-family: var(--font-display);
  font-size: 2.125rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.15;
}

.problems-col-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

.problems-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.problems-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: var(--border-subtle);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.problems-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  border-radius: 2px 0 0 2px;
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.problems-item--red::before { background: var(--color-red); }
.problems-item--amber::before { background: var(--color-amber); }

.problems-item:hover {
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.problems-item:hover::before {
  opacity: 1;
}

.problems-item-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0.3;
  flex-shrink: 0;
  padding-top: 0;
  min-width: 3rem;
  transition: opacity var(--transition-base);
}

.problems-item:hover .problems-item-num {
  opacity: 0.5;
}

.problems-item-body {
  flex: 1;
  min-width: 0;
}

.problems-item-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-2xs);
  line-height: 1.3;
}

.problems-item-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Dark mode overrides */
.dark-mode .problems-col--red {
  background: rgba(160, 80, 80, 0.05);
}

.dark-mode .problems-col--amber {
  background: rgba(154, 122, 62, 0.05);
}

.dark-mode .problems-item:hover {
  border-color: rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .problems-columns {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  #problems-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
  }

  #problems-grid.problems-two-col {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: var(--space-xl);
  }

  .problems-col {
    padding: var(--space-lg);
  }

  .problems-col-title {
    font-size: 1.5rem;
  }

  .problems-item-num {
    font-size: 1.75rem;
  }
}

/* ============================================================
   CAPABILITIES — Animated Premium Card Grid
   ============================================================ */

#capabilities.section {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
}

#capabilities .section-header {
  margin-bottom: var(--space-md);
}

/* --- Ambient floating orbs --- */
.cap-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 1.5s var(--ease-out);
}

.cap-orb-1 {
  width: 400px;
  height: 400px;
  top: -10%;
  left: -5%;
  background: radial-gradient(circle, rgba(65, 113, 168, 0.18) 0%, transparent 70%);
  animation: cap-orb-float-1 20s ease-in-out infinite;
}

.cap-orb-2 {
  width: 350px;
  height: 350px;
  bottom: -5%;
  right: -5%;
  background: radial-gradient(circle, rgba(122, 90, 160, 0.15) 0%, transparent 70%);
  animation: cap-orb-float-2 25s ease-in-out infinite;
}

.cap-orb-3 {
  width: 280px;
  height: 280px;
  top: 40%;
  left: 50%;
  background: radial-gradient(circle, rgba(58, 138, 158, 0.12) 0%, transparent 70%);
  animation: cap-orb-float-3 18s ease-in-out infinite;
}

#capabilities.cap-active .cap-orb {
  opacity: 1;
}

@keyframes cap-orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 30px) scale(1.1); }
  66% { transform: translate(-20px, -15px) scale(0.95); }
}

@keyframes cap-orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, -40px) scale(1.08); }
  66% { transform: translate(25px, 20px) scale(0.92); }
}

@keyframes cap-orb-float-3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  33% { transform: translate(calc(-50% + 50px), -30px) scale(1.15); }
  66% { transform: translate(calc(-50% - 35px), 25px) scale(0.9); }
}

/* --- Header subtitle --- */
.cap-subtitle {
  position: relative;
  display: inline-block;
}

/* --- Grid --- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  perspective: 1200px;
  position: relative;
  z-index: 1;
}

/* --- Cards: entrance + 3D tilt + shine --- */
.cap-card {
  --cap-accent: var(--accent);
  --cap-glow: rgba(59, 79, 122, 0.04);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-lg);
  border: var(--border-subtle);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px) scale(0.92) rotateX(8deg);
  transform-origin: center bottom;
  transition: opacity 0.8s var(--ease-out),
              transform 0.8s var(--ease-out),
              border-color 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
  will-change: transform, opacity;
}

.cap-card.cap-visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
}

.cap-card:nth-child(1) { --cap-accent: var(--color-blue); --cap-glow: rgba(65, 113, 168, 0.06); }
.cap-card:nth-child(2) { --cap-accent: var(--color-indigo); --cap-glow: rgba(85, 88, 160, 0.06); }
.cap-card:nth-child(3) { --cap-accent: var(--color-green); --cap-glow: rgba(62, 138, 110, 0.06); }
.cap-card:nth-child(4) { --cap-accent: var(--color-cyan); --cap-glow: rgba(58, 138, 158, 0.06); }
.cap-card:nth-child(5) { --cap-accent: var(--color-purple); --cap-glow: rgba(122, 90, 160, 0.06); }
.cap-card:nth-child(6) { --cap-accent: var(--color-amber); --cap-glow: rgba(154, 122, 62, 0.06); }

/* Top accent line */
.cap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cap-accent, var(--accent));
  opacity: 0.6;
  transition: opacity 0.4s var(--ease-out);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out), opacity 0.4s var(--ease-out);
}

.cap-card.cap-visible::before {
  transform: scaleX(1);
}

/* Radial glow background */
.cap-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at var(--mouse-x, 50%) var(--mouse-y, 0%), var(--cap-glow, rgba(59, 79, 122, 0.04)) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  z-index: 0;
}

/* Moving light-shine on hover */
.cap-card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 2;
  transition: none;
}

.cap-card:hover .cap-card-shine {
  animation: cap-shine-sweep 0.8s ease-out forwards;
}

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

/* Hover state */
.cap-card:hover {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 0 40px var(--cap-glow);
}

.cap-card:hover::before {
  opacity: 1;
}

.cap-card:hover::after {
  opacity: 1;
}

/* --- Icon --- */
.cap-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-out);
  position: relative;
  z-index: 1;
}

.cap-card-icon svg {
  transition: transform 0.5s var(--ease-out);
}

.cap-card.cap-visible .cap-card-icon {
  animation: cap-icon-pop 0.6s var(--ease-spring) forwards;
  animation-delay: var(--cap-delay, 0s);
}

@keyframes cap-icon-pop {
  0% { transform: scale(0) rotate(-20deg); }
  60% { transform: scale(1.15) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.cap-card:hover .cap-card-icon {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 25px var(--cap-glow);
}

.cap-card:hover .cap-card-icon svg {
  animation: cap-icon-wiggle 0.5s ease-in-out;
}

@keyframes cap-icon-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

.cap-icon-blue {
  background: var(--color-blue-subtle);
  color: var(--color-blue);
  box-shadow: 0 4px 20px rgba(65, 113, 168, 0.1);
}

.cap-icon-indigo {
  background: var(--color-indigo-subtle);
  color: var(--color-indigo);
  box-shadow: 0 4px 20px rgba(85, 88, 160, 0.1);
}

.cap-icon-green {
  background: var(--color-green-subtle);
  color: var(--color-green);
  box-shadow: 0 4px 20px rgba(62, 138, 110, 0.1);
}

.cap-icon-cyan {
  background: var(--color-cyan-subtle);
  color: var(--color-cyan);
  box-shadow: 0 4px 20px rgba(58, 138, 158, 0.1);
}

.cap-icon-purple {
  background: var(--color-purple-subtle);
  color: var(--color-purple);
  box-shadow: 0 4px 20px rgba(122, 90, 160, 0.1);
}

.cap-icon-amber {
  background: var(--color-amber-subtle);
  color: var(--color-amber);
  box-shadow: 0 4px 20px rgba(154, 122, 62, 0.1);
}

/* Continuous subtle float for icons once visible */
.cap-card.cap-visible .cap-card-icon {
  animation: cap-icon-pop 0.6s var(--ease-spring) forwards,
             cap-icon-float 4s ease-in-out infinite;
  animation-delay: var(--cap-delay, 0s), calc(var(--cap-delay, 0s) + 0.6s);
}

@keyframes cap-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* --- Title --- */
.cap-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

/* --- Capability list items with stagger --- */
.cap-card-examples {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.cap-card-examples li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
  padding: 0.3rem var(--space-xs);
  background: var(--bg-wash);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s var(--ease-out),
              transform 0.4s var(--ease-out),
              background 0.2s var(--ease-out);
}

.cap-card.cap-visible .cap-card-examples li {
  opacity: 1;
  transform: translateX(0);
}

.cap-card.cap-visible .cap-card-examples li:nth-child(1) { transition-delay: var(--cap-li-delay-1, 0.3s); }
.cap-card.cap-visible .cap-card-examples li:nth-child(2) { transition-delay: var(--cap-li-delay-2, 0.42s); }
.cap-card.cap-visible .cap-card-examples li:nth-child(3) { transition-delay: var(--cap-li-delay-3, 0.54s); }

.cap-card-examples li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cap-accent, var(--accent));
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.cap-card:hover .cap-card-examples li::before {
  opacity: 0.9;
  transform: scale(1.4);
}

.cap-card:hover .cap-card-examples li {
  background: var(--bg-accent);
}

.cap-card:hover .cap-card-examples li:nth-child(1) { transform: translateX(4px); }
.cap-card:hover .cap-card-examples li:nth-child(2) { transform: translateX(6px); transition-delay: 0.04s; }
.cap-card:hover .cap-card-examples li:nth-child(3) { transform: translateX(8px); transition-delay: 0.08s; }

/* --- Dark-mode orb adjustments --- */
.dark-mode .cap-orb-1 { background: radial-gradient(circle, rgba(139, 158, 206, 0.12) 0%, transparent 70%); }
.dark-mode .cap-orb-2 { background: radial-gradient(circle, rgba(168, 142, 204, 0.1) 0%, transparent 70%); }
.dark-mode .cap-orb-3 { background: radial-gradient(circle, rgba(112, 184, 204, 0.08) 0%, transparent 70%); }

.dark-mode .cap-card:hover {
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 50px var(--cap-glow);
}

.dark-mode .cap-card-shine {
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 55%,
    transparent 60%
  );
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #capabilities.section {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .cap-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    perspective: none;
  }

  #capabilities.section {
    min-height: auto;
  }

  .cap-card {
    padding: var(--space-lg);
    transform: translateY(40px) scale(0.95);
  }

  .cap-card-icon {
    width: 3rem;
    height: 3rem;
  }

  .cap-card-title {
    font-size: 1rem;
  }

  .cap-orb {
    display: none;
  }
}

/* ============================================================
   BUZZWORDS — Chaos Animation
   ============================================================ */

@keyframes chaos-anim {
  0% {
    opacity: 0;
    transform: scale(0.2) translate(0, 0) rotate(0deg);
  }
  15% {
    opacity: 1;
  }
  20% {
    transform: scale(1.1) translate(-2%, 2%) rotate(2deg);
  }
  40% {
    transform: scale(0.9) translate(2%, -2%) rotate(-2deg);
  }
  80% {
    opacity: 0.8;
    transform: scale(1.5) translate(0, -5%);
  }
  100% {
    opacity: 0;
    transform: scale(4) translate(0, -20%) rotate(10deg);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .display-1 { font-size: clamp(3rem, 12vw, 5rem); }
  .statement { font-size: clamp(2.5rem, 8vw, 4rem); }
  .stat-number { font-size: clamp(3.5rem, 13vw, 6rem); }

  .quote-featured { grid-column: span 1; }
  .section-header { margin-bottom: var(--space-lg); }
  .card { padding: var(--space-lg); }
  .quote-card { padding: var(--space-lg); }
  .insight-box { padding: var(--space-lg); }

  .bottom-nav {
    padding: 0 var(--space-sm) var(--space-sm);
  }

  .nav-dock {
    padding: 5px 6px;
    border-radius: 16px;
  }

  .nav-dock::before {
    border-radius: 16px 16px 0 0;
  }

  .nav-indicator {
    border-radius: 8px;
  }

  .nav-link {
    font-size: 0.8125rem;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
  }

  .nav-link-num {
    font-size: 0.5rem;
  }

  .nav-theme-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .nav-theme-btn svg {
    width: 14px;
    height: 14px;
  }

  #app {
    padding-bottom: 88px;
  }

  .orbit-1 {
    width: 360px;
    height: 200px;
    top: -100px;
    left: -180px;
  }
  .orbit-2 {
    width: 290px;
    height: 160px;
    top: -80px;
    left: -145px;
  }
  .orbit-3 {
    width: 420px;
    height: 150px;
    top: -75px;
    left: -210px;
  }
  .orbit::after {
    width: 6px;
    height: 6px;
    top: -3px;
  }
  .orbit-2::after {
    width: 5px;
    height: 5px;
    top: -2.5px;
  }
  .orbit-3::after {
    width: 4px;
    height: 4px;
    top: -2px;
  }
  .ai-glow {
    width: 400px;
    height: 300px;
  }
  .ai-node {
    width: 5px;
    height: 5px;
  }
  .ai-node-lg {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .bottom-nav {
    padding: 0 var(--space-xs) var(--space-sm);
  }

  .nav-dock {
    padding: 4px 5px;
    border-radius: 14px;
  }

  .nav-dock::before {
    border-radius: 14px 14px 0 0;
  }

  .nav-indicator {
    border-radius: 7px;
  }

  .nav-link {
    font-size: 0.75rem;
    padding: 0.3rem 0.5rem;
    border-radius: 7px;
  }

  .nav-link-num {
    font-size: 0.4375rem;
  }

  .nav-divider {
    height: 20px;
    margin: 0 var(--space-2xs);
  }

  .nav-theme-btn {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  #app {
    padding-bottom: 76px;
  }
}

/* ============================================================
   VENDOR FUNNEL PAGE — Cinematic Horizontal Funnel
   ============================================================ */

.vf-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) 0;
}

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

.vf-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vf-section .section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.vf-section .section-header .text-xl {
  max-width: none;
}

/* ---- Stage: 3-column horizontal layout ---- */
.vf-stage {
  display: grid;
  grid-template-columns: 200px 1fr 320px;
  align-items: center;
  gap: var(--space-2xl);
  min-height: 340px;
  width: 100%;
}

/* ---- Left: 15+ Vendors Evaluated ---- */
.vf-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  opacity: 0;
  transform: translateX(-40px) scale(0.9);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.vf-input.vf-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.vf-input-label {
  text-align: center;
}
.vf-input-count {
  display: block;
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin: 4px 0;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.vf-input-text {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vf-vendor-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 180px;
}

.vf-icon-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  color: white;
  background: hsl(var(--dot-hue), 50%, 50%);
  box-shadow: 0 0 12px hsla(var(--dot-hue), 60%, 50%, 0.35);
  opacity: 0;
  transform: scale(0) rotate(-180deg);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
              transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--dot-delay);
}
.vf-input.vf-visible .vf-icon-dot {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.vf-icon-dot.vf-dot-pulse {
  animation: vfDotPulse 3s ease-in-out infinite;
  animation-delay: var(--dot-delay);
}
.vf-icon-dot.vf-dot-absorbed {
  transition: all 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  opacity: 0 !important;
  transform: translateX(60px) scale(0.3) !important;
  filter: blur(3px);
}
@keyframes vfDotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 12px hsla(var(--dot-hue), 60%, 50%, 0.35); }
  50% { transform: scale(1.15); box-shadow: 0 0 22px hsla(var(--dot-hue), 60%, 50%, 0.6); }
}

/* ---- Center: Horizontal Funnel ---- */
.vf-funnel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.vf-stream-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.vf-funnel-svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: scaleX(0.6) scaleY(0.85);
  transform-origin: center center;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 30px rgba(59, 79, 122, 0.12));
}
.vf-funnel-svg.vf-visible {
  opacity: 1;
  transform: scaleX(1) scaleY(1);
}

.vf-funnel-body {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 2.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.vf-funnel-svg.vf-visible .vf-funnel-body {
  stroke-dashoffset: 0;
}

.vf-funnel-ring {
  animation: vfRingPulse 3.5s ease-in-out infinite;
}
.vf-ring-1 { animation-delay: 0s; }
.vf-ring-2 { animation-delay: 0.7s; }
.vf-ring-3 { animation-delay: 1.4s; }

@keyframes vfRingPulse {
  0%, 100% { opacity: 0.12; transform: scaleY(1); }
  50% { opacity: 0.35; transform: scaleY(1.06); }
}

/* Funnel activation flash */
.vf-funnel-flash {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at center, var(--accent-light), transparent 70%);
  transition: opacity 0.15s ease-out;
}
.vf-funnel-flash.vf-flash-active {
  animation: vfFlashPulse 0.8s ease-out forwards;
}
@keyframes vfFlashPulse {
  0% { opacity: 0.5; transform: scale(0.8); }
  50% { opacity: 0.2; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.3); }
}

/* Lens at funnel exit (right side) */
.vf-lens {
  position: absolute;
  right: calc(50% - 260px + 6px);
  top: 50%;
  transform: translateY(-50%) scale(0.5);
  width: 52px;
  height: 52px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.vf-lens.vf-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.vf-lens-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
}
.vf-lens-ring-outer {
  inset: 0;
  opacity: 0.3;
  animation: vfLensRotate 8s linear infinite;
  border-style: dashed;
}
.vf-lens-ring-inner {
  inset: 7px;
  opacity: 0.5;
  animation: vfLensRotate 6s linear infinite reverse;
  border-style: dashed;
}
.vf-lens-core {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  opacity: 0.6;
  animation: vfCorePulse 2s ease-in-out infinite;
}

@keyframes vfLensRotate {
  to { transform: rotate(360deg); }
}
@keyframes vfCorePulse {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 0.85; transform: scale(1.15); }
}

/* ---- Right: Down-selected Output cards ---- */
.vf-output {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.vf-output-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: var(--space-2xs);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.vf-output-label.vf-visible {
  opacity: 1;
  transform: translateY(0);
}

.vf-result-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 16px 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  cursor: default;
  opacity: 0;
  transform: translateY(24px) scale(0.92);
  filter: blur(6px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.vf-result-card.vf-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}
.vf-result-card.vf-card-glow {
  border-color: var(--accent-light);
  box-shadow: 0 0 24px rgba(59, 79, 122, 0.25), var(--shadow-lg);
}
.vf-result-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
  transform: translateY(0) scale(1.02);
}

.vf-result-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(ellipse at 15% 50%, var(--accent-subtle), transparent 70%);
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.vf-result-card:hover .vf-result-glow,
.vf-result-card.vf-card-glow .vf-result-glow {
  opacity: 1;
}

.vf-result-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}
.vf-result-icon svg {
  width: 20px;
  height: 20px;
}

.vf-icon-greylabs {
  background: linear-gradient(135deg, #5558A0, #7A5AA0);
  box-shadow: 0 4px 14px rgba(85, 88, 160, 0.3);
}
.vf-icon-arrowhead {
  background: linear-gradient(135deg, #3B4F7A, #4171A8);
  box-shadow: 0 4px 14px rgba(59, 79, 122, 0.3);
}
.vf-icon-gnani {
  background: linear-gradient(135deg, #3E8A6E, #3A8A9E);
  box-shadow: 0 4px 14px rgba(62, 138, 110, 0.3);
}

.vf-result-info {
  flex: 1;
  min-width: 0;
}
.vf-result-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}
.vf-result-focus {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ---- Dark mode ---- */
.dark-mode .vf-result-card {
  background: rgba(30, 30, 40, 0.6);
  border-color: rgba(255, 255, 255, 0.06);
}
.dark-mode .vf-result-card:hover {
  border-color: rgba(139, 158, 206, 0.3);
}
.dark-mode .vf-result-card.vf-card-glow {
  border-color: rgba(139, 158, 206, 0.4);
  box-shadow: 0 0 28px rgba(139, 158, 206, 0.2), var(--shadow-lg);
}
.dark-mode .vf-icon-dot {
  box-shadow: 0 0 14px hsla(var(--dot-hue), 60%, 60%, 0.4);
}
.dark-mode .vf-funnel-svg {
  filter: drop-shadow(0 0 40px rgba(139, 158, 206, 0.25));
}
.dark-mode .vf-result-glow {
  background: radial-gradient(ellipse at 15% 50%, rgba(139, 158, 206, 0.08), transparent 70%);
}

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .vf-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: var(--space-xl);
    justify-items: center;
  }
  .vf-input { flex-direction: row; gap: var(--space-lg); }
  .vf-funnel-wrap { min-height: 200px; width: 100%; }
  .vf-lens { right: 10px; }
  .vf-output { max-width: 360px; width: 100%; }
}

/* ═════════════════════════════════════════════════════════
   Democratize V2 — 3D Human Figure Page
   ═════════════════════════════════════════════════════════ */

.dv2 {
  background: var(--bg-primary) !important;
  position: relative;
  overflow: hidden;
  padding: 0 !important;
}

#dv2-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* ── text overlays ─────────────────────────────────── */

.dv2-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--space-2xl) 0 var(--space-3xl);
  pointer-events: none;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.dv2-content.dv2-hidden {
  opacity: 0;
  transform: translateX(-36px);
}

.dv2-content--back {
  opacity: 0;
  transform: translateX(36px);
}

.dv2-content--back.dv2-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── title ─────────────────────────────────────────── */

.dv2-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.dv2-title-sub {
  display: block;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 400;
  color: var(--text-tertiary);
  margin-top: 0.4em;
  letter-spacing: 0;
}

/* ── blocks ────────────────────────────────────────── */

.dv2-blocks {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.dv2-block {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.dv2-block.dv2-block-in {
  opacity: 1;
  transform: translateY(0);
}

.dv2-num {
  font-family: var(--font-mono, 'SF Mono', 'Fira Code', monospace);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.25rem;
}

.dv2-block-head {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.dv2-block p {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.dv2-tools {
  margin-top: 0.3rem !important;
  color: var(--text-muted) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em;
}

/* ── back view ─────────────────────────────────────── */

.dv2-back-desc {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: -0.2rem;
  margin-bottom: var(--space-xl);
  line-height: 1.5;
}

.dv2-pipeline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dv2-pipe-step {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border: var(--border-subtle, 1px solid rgba(0,0,0,0.08));
  border-radius: 8px;
  background: var(--bg-accent);
  backdrop-filter: blur(4px);
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}

.dv2-pipe-step:hover {
  border-color: var(--accent-light);
  background: var(--accent-subtle);
  box-shadow: var(--shadow-sm);
}

.dv2-pipe-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ── hint ──────────────────────────────────────────── */

.dv2-hint {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.8s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dv2-hint.dv2-hint-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dv2-hint.dv2-hint-hide {
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
}

.dv2-hint-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: var(--border-subtle, 1px solid rgba(0,0,0,0.1));
  border-radius: 5px;
  font-size: 0.72rem;
  color: var(--text-tertiary);
  background: var(--bg-accent);
}

/* ── responsive ────────────────────────────────────── */

@media (max-width: 900px) {
  .dv2-content {
    width: 100%;
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(to right, var(--bg-primary) 55%, transparent);
  }
  .dv2-title { font-size: 1.4rem; }
}

@media (max-width: 600px) {
  .dv2-content { padding: var(--space-lg) var(--space-md); }
  .dv2-title { font-size: 1.2rem; }
  .dv2-pipeline { gap: 0.5rem; }
  .dv2-pipe-step { font-size: 0.8rem; padding: 0.35rem 0.7rem; }
}
