/* Ekho Labs — Narrative-Driven Website */
/* Inspired by structured.money scroll storytelling */

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

/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors */
  --bg-primary: #0A0A0F;
  --bg-surface: #0F0F18;
  --bg-elevated: #161622;
  --bg-card: #14141F;

  --text-primary: #F0F2F5;
  --text-secondary: #B0B8C4;
  --text-tertiary: #6B7280;

  /* Accent - saturated indigo */
  --accent: #818CF8;
  --accent-bright: #A5B4FC;
  --accent-dim: rgba(129, 140, 248, 0.15);
  --blue-medium: #6366F1;
  --blue-dark: #1E1B4B;

  --border: #1F1F2E;
  --border-light: #2D2D40;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Type scale (4 sizes) */
  --text-xl: clamp(2.625rem, 4.5vw, 3.25rem);  /* Headlines - 42-52px */
  --text-lg: clamp(1.5rem, 3vw, 2rem);      /* Section titles */
  --text-md: 1rem;                           /* Body */
  --text-sm: 0.875rem;                       /* Small/labels */

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  /* Layout */
  --max-width: 1200px;
  --content-width: 800px;

  /* Animation */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 600ms;
}

/* ===== BASE ===== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  transition: background var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  background-image: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.85)),
                    linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2) 50%, transparent);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  transition: all var(--duration-fast) var(--ease-out);
}

.nav-cta:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

/* ===== SECTIONS ===== */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
}

/* ===== HERO ===== */
.section-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  overflow: visible;
  padding: 120px var(--space-lg) var(--space-2xl);
  position: relative;
  min-height: 100vh;
}

/* Hero atmospheric mesh gradient */
.section-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 80% 80% at 60% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Globe glow - right side */
.section-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.15) 0%,
    rgba(99, 102, 241, 0.05) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* Hero container - split layout */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: var(--max-width);
  width: 100%;
  align-items: center;
  z-index: 1;
}

/* Hero content - left side */
.hero-content {
  text-align: left;
  z-index: 3;
  position: relative;
}

.hero-headline {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.hero-subhead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xl);
  max-width: 540px;
}

.hero-content .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-arrow {
  font-size: 1.125rem;
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn-primary:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* Hero visual - right side */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
}

/* Globe container base */
.globe-container {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  position: relative;
}

.globe-container svg {
  width: 100%;
  height: 100%;
}

/* Signal boxes - Palantir-style UI cards */
.signal-boxes {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
  z-index: 10;
}

.signal-box {
  position: absolute;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.2s ease;
  pointer-events: auto;
  cursor: pointer;
}

.signal-box:hover {
  border-color: var(--accent);
}

.signal-box.visible {
  opacity: 1;
  transform: scale(1);
}

.signal-box-header {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 2px;
}

.signal-box-sub {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Signal box positions - around the right-side globe */
.signal-box-1 { top: 5%; left: -30%; }
.signal-box-2 { top: 70%; left: -25%; }
.signal-box-3 { top: 10%; right: -10%; left: auto; }
.signal-box-risk { top: 75%; right: -5%; left: auto; }
.signal-box-action { bottom: -15%; left: 50%; transform: translateX(-50%) scale(0.9); }
.signal-box-action.visible { transform: translateX(-50%) scale(1); }

/* Risk state */
.signal-box[data-stage="risk"] .signal-box-header {
  color: #F59E0B;
}

.signal-box[data-stage="risk"].visible {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

/* Action state */
.signal-box[data-stage="action"] .signal-box-header {
  color: #10B981;
}

.signal-box[data-stage="action"].visible {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

/* Connection arcs */
.connection-arcs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
  z-index: 5;
}

.connection-arcs path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  stroke-linecap: round;
  opacity: 0.6;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.connection-arcs path.visible {
  stroke-dashoffset: 0;
}

.connection-arcs path.risk-path {
  stroke: #F59E0B;
}

.connection-arcs path.action-path {
  stroke: #10B981;
}

/* Particle container */
.particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Floating particles */
.floating-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 4px rgba(165, 180, 252, 0.4);
}

/* Signal rings container */
.signal-ring-container {
  position: absolute;
  top: 50%;
  right: 20%;
  transform: translate(50%, -50%);
  width: 400px;
  height: 400px;
  pointer-events: none;
  z-index: 0;
}

/* Signal rings */
.signal-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
}

/* Data fragments */
.data-fragment {
  position: absolute;
  font-size: 0.625rem;
  font-family: monospace;
  color: var(--accent);
  opacity: 0.3;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.data-fragment span {
  display: block;
  animation: dataFlicker 3s ease-in-out infinite;
}

@keyframes dataFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-content {
  text-align: left;
  z-index: 3;
  position: relative;
  will-change: transform, opacity;
}

.hero-headline {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em; /* Tighter tracking - modern practice */
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.hero-subhead {
  font-size: clamp(1.125rem, 2vw, 1.375rem); /* 18-22px - larger for hero */
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xl);
  max-width: 540px;
}

.hero-risk-line {
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xl);
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all var(--duration-fast) var(--ease-out);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  transition: all var(--duration-fast) var(--ease-out);
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

.highlight {
  color: var(--accent);
  font-weight: 500;
}

/* Removed duplicate - using hero-visual definition above */

/* ===== RISK DOMAINS ===== */
.section-domains {
  min-height: auto;
  background: var(--bg-primary);
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: var(--max-width);
  width: 100%;
}

.domain-card {
  padding: var(--space-lg);
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--duration-fast) ease;
}

.domain-card:hover {
  border-color: var(--accent);
  background: rgba(129, 140, 248, 0.03);
}

.domain-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.domain-icon svg {
  width: 100%;
  height: 100%;
}

.domain-name {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.domain-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== SECTION TITLE (used by audience section) ===== */
.section-title {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xl);
  text-align: center;
}

/* ===== ADVISOR QUOTE ===== */
.section-quote {
  background: var(--bg-primary);
  min-height: auto;
  padding: var(--space-3xl) var(--space-lg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-container {
  max-width: 720px;
  width: 100%;
  position: relative;
  padding-left: var(--space-lg);
}

.quote-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(129, 140, 248, 0.2) 100%);
  border-radius: 1px;
}

.quote-text {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-lg);
}

.quote-attribution {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.quote-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quote-name {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
}

.quote-role {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.quote-label {
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 500;
}

.quote-source {
  color: var(--text-tertiary);
  transition: color var(--duration-fast) ease;
  flex-shrink: 0;
}

.quote-source:hover {
  color: var(--accent);
}

.quote-source svg {
  display: block;
}

@media (max-width: 768px) {
  .section-quote {
    padding: var(--space-2xl) var(--space-md);
  }

  .quote-container {
    padding-left: var(--space-md);
  }
}

/* ===== INTEGRATION ===== */
.section-integration {
  background: linear-gradient(180deg, #0C0B14 0%, var(--bg-primary) 100%);
  position: relative;
}

/* Integration centered glow */
.section-integration::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(99, 102, 241, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.integration-container {
  max-width: var(--max-width);
  text-align: center;
}

.integration-headline {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.integration-desc {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-2xl);
}

.integration-diagram {
}

.diagram-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  position: relative;
}

.diagram-node {
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  min-width: 160px;
  cursor: pointer;
  transition: border-color var(--duration-fast) ease;
}

.diagram-node:hover {
  border-color: var(--accent);
}

.diagram-node-center {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.node-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.diagram-node-center .node-label {
  color: var(--accent);
}

.node-sublabel {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.diagram-arrow {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--border-light);
}

.arrow-line {
  width: 40px;
  height: 2px;
  background: var(--border-light);
  position: relative;
  overflow: hidden;
}

.arrow-pulse {
  position: absolute;
  width: 12px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: arrowPulse 2s ease-in-out infinite;
}

.arrow-pulse-delayed {
  animation-delay: 1s;
}

@keyframes arrowPulse {
  0% { transform: translateX(-12px); }
  100% { transform: translateX(52px); }
}

.arrow-head {
  width: 16px;
  height: 16px;
}

/* Center node pulse */
.diagram-node-center {
  position: relative;
}

.node-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  border-radius: 8px;
  animation: nodePulse 3s ease-out infinite;
  pointer-events: none;
}

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

/* ===== AUDIENCE ===== */
.section-audience {
  background: var(--bg-primary);
  min-height: auto;
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.audience-container {
  max-width: 900px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.audience-card {
  padding: var(--space-lg);
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border);
  transition: all var(--duration-fast) ease;
}

.audience-card:hover {
  border-color: var(--accent);
  background: rgba(129, 140, 248, 0.03);
}

.audience-card h3 {
  font-size: var(--text-md);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
  line-height: 1.2;
}

.audience-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== CAPABILITIES - Large Numbered Sections ===== */
.section-capabilities {
  background: var(--bg-primary);
  min-height: auto;
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.capability-block {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  max-width: 900px;
  width: 100%;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border);
}

.capability-block:last-child {
  border-bottom: none;
}

.capability-block-alt {
  flex-direction: row-reverse;
  text-align: right;
}

.capability-number {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 600;
  color: var(--border-light);
  line-height: 1;
  letter-spacing: -0.05em;
  flex-shrink: 0;
  min-width: 120px;
  transition: color var(--duration-normal) ease;
}

.capability-block:hover .capability-number {
  color: var(--accent);
}

.capability-content {
  flex: 1;
}

.capability-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.capability-desc {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== CTA ===== */
.section-cta {
  background: var(--bg-primary);
  min-height: 60vh;
  position: relative;
}

/* CTA dramatic atmospheric glow */
.section-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 900px;
  height: 500px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 80% 40% at 30% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 80% 40% at 70% 40%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-container {
  max-width: var(--content-width);
  text-align: center;
}

.cta-headline {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.cta-desc {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all var(--duration-fast) var(--ease-out);
}

.cta-button:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  padding: var(--space-xl) var(--space-lg);
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  height: 20px;
  width: auto;
  opacity: 0.6;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  letter-spacing: 0;
}

/* ===== SECTION DIVIDERS ===== */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(99, 102, 241, 0.15) 20%,
    rgba(139, 92, 246, 0.25) 50%,
    rgba(99, 102, 241, 0.15) 80%,
    transparent 100%
  );
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 20px;
  background: radial-gradient(
    ellipse at center,
    rgba(99, 102, 241, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ===== REVEAL ANIMATIONS ===== */
/* Elements start visible - JS will handle scroll animations */
[data-reveal] {
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  /* Hero - tablet */
  .hero-visual-centered {
    width: 40vmin;
    height: 40vmin;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: var(--space-sm) var(--space-md);
  }

  .section {
    padding: var(--space-xl) var(--space-md);
  }

  /* Hero - mobile */
  .section-hero {
    padding: 100px var(--space-md) var(--space-xl);
  }

  .hero-visual-centered {
    width: 60vmin;
    height: 60vmin;
    max-width: 280px;
    max-height: 280px;
  }

  .hero-content-centered .hero-headline br {
    display: none;
  }

  .diagram-flow {
    flex-direction: column;
  }

  .diagram-arrow {
    transform: rotate(90deg);
    flex-direction: column;
  }

  .arrow-line {
    width: 2px;
    height: 40px;
  }

  @keyframes arrowPulse {
    0% { transform: translateY(-12px); }
    100% { transform: translateY(52px); }
  }

  .footer-container {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

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

@media (max-width: 480px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .domains-grid {
    grid-template-columns: 1fr;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }
}

/* ===== DATA FLOW DOTS ===== */
.data-dots-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.data-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: dataFlow 4s ease-in-out infinite;
}

.data-dot:nth-child(1) { top: 40%; left: 10%; }
.data-dot:nth-child(2) { top: 50%; left: 25%; }
.data-dot:nth-child(3) { top: 45%; left: 40%; }
.data-dot:nth-child(4) { top: 55%; left: 55%; }
.data-dot:nth-child(5) { top: 48%; left: 70%; }
.data-dot:nth-child(6) { top: 52%; left: 85%; }

@keyframes dataFlow {
  0% {
    opacity: 0;
    transform: translateX(-20px) scale(0.5);
  }
  20% {
    opacity: 0.8;
    transform: translateX(0) scale(1);
  }
  80% {
    opacity: 0.8;
    transform: translateX(20px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(40px) scale(0.5);
  }
}

/* ===== NODE UNDERLINE ===== */
.node-label {
  position: relative;
}

.node-underline {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
}

/* ===== CTA EFFECTS ===== */
.cta-container {
  position: relative;
}

.cta-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.cta-orbit-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  pointer-events: none;
  z-index: 0;
}

.cta-orbit {
  width: 100%;
  height: 100%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

/* ===== BUTTON UNDERLINE ===== */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bg-primary);
}

/* ===== DOMAIN ICON ANIMATION ===== */
.domain-icon svg {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.domain-icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* ===== SCROLL LINE ANIMATION ===== */
.scroll-line-svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.scroll-line-path {
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(129, 140, 248, 0.4));
}

/* Glowing dot that follows the line */
.scroll-line-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.8), 0 0 24px rgba(129, 140, 248, 0.4);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scroll-line-dot.visible {
  opacity: 1;
}

/* Hide on mobile for performance */
@media (max-width: 768px) {
  .scroll-line-svg,
  .scroll-line-dot {
    display: none;
  }
}

/* ===== SELECTION ===== */
::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .domains-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-number {
    font-size: clamp(3rem, 8vw, 5rem);
    min-width: 80px;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    padding: var(--space-sm) var(--space-md);
  }

  .section {
    padding: var(--space-xl) var(--space-md);
  }

  .section-hero {
    padding: 100px var(--space-md) var(--space-xl);
  }

  /* Hero - stack on mobile */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    order: 2;
  }

  .hero-visual {
    order: 1;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-subhead {
    max-width: 100%;
  }

  .hero-content .btn-primary {
    justify-content: center;
  }

  .hero-headline br {
    display: none;
  }

  /* Signal boxes - hide on mobile for cleaner look */
  .signal-boxes {
    display: none;
  }

  /* Risk Domains - 2 columns on tablet, 1 on mobile */
  .domains-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  /* Capabilities - stack on mobile */
  .capability-block,
  .capability-block-alt {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .capability-number {
    font-size: 3rem;
    min-width: auto;
  }

  /* Audience - single column on mobile */
  .audience-grid {
    grid-template-columns: 1fr;
  }

  /* Integration diagram */
  .diagram-flow {
    flex-direction: column;
  }

  .diagram-arrow {
    transform: rotate(90deg);
    flex-direction: column;
  }

  .arrow-line {
    width: 2px;
    height: 40px;
  }

  @keyframes arrowPulse {
    0% { transform: translateY(-12px); }
    100% { transform: translateY(52px); }
  }

  .footer-container {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .domains-grid {
    grid-template-columns: 1fr;
  }
}
