/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0a0f;
  --bg2:       #0f0f1a;
  --indigo:    #6366f1;
  --indigo-dim:#4f52c9;
  --cyan:      #22d3ee;
  --green:     #4ade80;
  --red:       #f87171;
  --text:      #e2e8f0;
  --muted:     #94a3b8;
  --border:    rgba(99,102,241,0.2);
  --card-bg:   rgba(255,255,255,0.04);
  --glow-i:    rgba(99,102,241,0.35);
  --glow-c:    rgba(34,211,238,0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Grid background ──────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── Utility ──────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.gradient-text {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-text {
  color: #a5b4fc;
}

/* ── Navbar ───────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  background: rgba(8,8,14,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(99,102,241,0.15), 0 4px 24px rgba(0,0,0,0.3);
}

/* Scroll-progress bar at very top of nav */
.nav-progress {
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  transition: width 0.1s linear;
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo span { color: var(--indigo); }

.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 7px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav-links a.nav-active {
  color: var(--text);
  background: rgba(99,102,241,0.1);
}

.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 7px 16px !important;
  font-size: 0.83rem !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dim));
  color: #fff;
  box-shadow: 0 0 20px var(--glow-i);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px var(--glow-i);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: rgba(99,102,241,0.06);
}

/* ── Mobile nav ───────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 10px;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px 28px;
  background: rgba(10,10,15,0.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-drawer.open { display: flex; }

.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-drawer-links a {
  display: block;
  padding: 12px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}

.nav-drawer-links a:hover { color: var(--text); }

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(99,102,241,0.28) 0%, transparent 70%);
  top: -120px; left: -160px;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(34,211,238,0.18) 0%, transparent 70%);
  bottom: 0px; right: -80px;
  animation: orbFloat 11s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

/* ── Hero headline — centered text block above the living network ── */
.hero-headline {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 0 44px;
  flex-shrink: 0;
}

.hero-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 10px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.hero-cursor {
  display: inline-block;
  color: var(--cyan);
  font-weight: 300;
  animation: cursorBlink 0.85s step-end infinite;
  margin-left: 2px;
}

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

.hero-cursor.done { animation: none; opacity: 0; }

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-ctas .btn { padding: 14px 28px; font-size: 1rem; }

/* ── Agent Activity Canvas — fills the section, flows below headline ── */
.agent-canvas {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Atmospheric gradient blend — no hard border between headline and network */
.ac-canvas-blend {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 72px;
  background: linear-gradient(to bottom, var(--bg), transparent);
  z-index: 10;
  pointer-events: none;
}

.ac-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── Stage: the dark living space ── */
.ac-stage {
  position: relative;
  flex: 1;
  min-height: 400px;
  z-index: 1;
  overflow: hidden;
}

/* Atmosphere: drifting orbs */
.ac-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.ac-orb-1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(99,102,241,0.16) 0%, transparent 70%);
  top: -12%; left: 8%;
  animation: acDrift 14s ease-in-out infinite;
}

.ac-orb-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(34,211,238,0.10) 0%, transparent 70%);
  bottom: -16%; right: 10%;
  animation: acDrift 18s ease-in-out infinite reverse;
}

.ac-orb-3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  top: 32%; left: 44%;
  animation: acDrift 22s ease-in-out infinite;
}

@keyframes acDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(26px, -18px) scale(1.06); }
}

/* Atmosphere: twinkling specks (created by JS) */
.ac-speck {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: #8b93f8;
  opacity: 0;
  animation: acTwinkle 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

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

/* ── Luminous SVG paths ── */
.ac-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}

.ac-links path {
  fill: none;
  stroke: rgba(99,102,241,0.13);
  stroke-width: 1;
  stroke-dasharray: 3 18;
  animation: acDash 3.2s linear infinite;
}

.ac-route .ac-path-base {
  fill: none;
  stroke: rgba(99,102,241,0.25);
  stroke-width: 1.5;
  transition: stroke 0.5s;
}

.ac-route .ac-path-dash {
  fill: none;
  stroke: rgba(99,102,241,0.7);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 5 16;
  opacity: 0.5;
  filter: drop-shadow(0 0 3px rgba(99,102,241,0.8));
  animation: acDash 1.4s linear infinite;
  transition: opacity 0.5s, stroke 0.5s;
}

.ac-route.lit .ac-path-base { stroke: rgba(99,102,241,0.45); }
.ac-route.lit .ac-path-dash {
  opacity: 1;
  stroke: rgba(139,147,248,0.95);
  filter: drop-shadow(0 0 6px rgba(99,102,241,1));
}

.ac-route.route-out.lit .ac-path-base { stroke: rgba(34,211,238,0.4); }
.ac-route.route-out.lit .ac-path-dash {
  stroke: rgba(103,232,249,0.95);
  filter: drop-shadow(0 0 6px rgba(34,211,238,1));
}

@keyframes acDash { to { stroke-dashoffset: -21; } }

/* ── In / out zones ── */
.ac-zone {
  position: absolute;
  top: 12%; bottom: 12%;
  width: 54px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ac-zone span {
  writing-mode: vertical-rl;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.ac-zone-in {
  left: 0;
  background: linear-gradient(90deg, rgba(99,102,241,0.10), transparent);
  box-shadow: inset 3px 0 18px -6px rgba(99,102,241,0.35);
}

.ac-zone-in span { color: rgba(139,147,248,0.55); transform: rotate(180deg); }

.ac-zone-out {
  right: 0;
  background: linear-gradient(-90deg, rgba(34,211,238,0.08), transparent);
  box-shadow: inset -3px 0 18px -6px rgba(34,211,238,0.3);
}

.ac-zone-out span { color: rgba(34,211,238,0.5); }

/* ── Agent nodes ── */
.ac-node {
  --node: 86px;
  position: absolute;
  z-index: 3;
  transform: translate(-50%, calc(var(--node) / -2));
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.ac-node-orb {
  position: relative;
  width: var(--node);
  height: var(--node);
}

.ac-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(99,102,241,0.55);
  opacity: 0;
  pointer-events: none;
}

.ac-node-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, rgba(139,147,248,0.4) 0%, rgba(99,102,241,0.16) 45%, rgba(12,12,26,0.9) 100%);
  border: 1px solid rgba(99,102,241,0.55);
  box-shadow: 0 0 20px rgba(99,102,241,0.3), inset 0 0 20px rgba(99,102,241,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: acBreathe 3.6s ease-in-out infinite;
  transition: border-color 0.4s, box-shadow 0.4s, background 0.4s;
}

@keyframes acBreathe {
  0%, 100% { box-shadow: 0 0 16px rgba(99,102,241,0.28), inset 0 0 18px rgba(99,102,241,0.24); }
  50%       { box-shadow: 0 0 32px rgba(99,102,241,0.48), inset 0 0 24px rgba(99,102,241,0.36); }
}

.ac-node-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #a5b4fc;
  box-shadow: 0 0 10px rgba(99,102,241,0.9);
  transition: background 0.4s, box-shadow 0.4s;
}

/* Processing spinner arc */
.ac-node-arc {
  position: absolute;
  inset: 7%;
  opacity: 0;
  transition: opacity 0.25s;
  animation: acSpin 1.1s linear infinite;
}

.ac-node-arc circle {
  fill: none;
  stroke: #a5b4fc;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 70 206;
  filter: drop-shadow(0 0 4px rgba(99,102,241,0.9));
}

@keyframes acSpin { to { transform: rotate(360deg); } }

/* Working: sustained bright indigo + spinning arc */
.ac-node.working .ac-node-core {
  animation: none;
  border-color: rgba(139,147,248,0.9);
  box-shadow: 0 0 34px rgba(99,102,241,0.8), 0 0 70px rgba(99,102,241,0.35), inset 0 0 26px rgba(99,102,241,0.5);
}

.ac-node.working .ac-node-arc { opacity: 1; }

/* Complete: cyan shift */
.ac-node.complete .ac-node-core {
  animation: none;
  border-color: rgba(34,211,238,0.75);
  background: radial-gradient(circle at 34% 32%, rgba(103,232,249,0.35) 0%, rgba(34,211,238,0.12) 45%, rgba(10,16,26,0.9) 100%);
  box-shadow: 0 0 30px rgba(34,211,238,0.7), 0 0 70px rgba(34,211,238,0.28), inset 0 0 24px rgba(34,211,238,0.4);
}

.ac-node.complete .ac-node-dot {
  background: #67e8f9;
  box-shadow: 0 0 10px rgba(34,211,238,0.95);
}

/* Node labels */
.ac-node-name {
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.ac-node-role {
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Task chips ── */
.ac-chip {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  padding: 7px 12px;
  border-radius: 11px;
  background: rgba(14,14,30,0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(99,102,241,0.65);
  box-shadow: 0 0 18px rgba(99,102,241,0.35), 0 6px 20px rgba(0,0,0,0.45);
  white-space: nowrap;
  pointer-events: none;
}

.ac-chip-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.ac-chip-icon { font-size: 0.8rem; }

.ac-chip-sub {
  font-size: 0.67rem;
  color: var(--muted);
  line-height: 1.35;
}

.ac-chip.chip-out {
  border-color: rgba(34,211,238,0.6);
  box-shadow: 0 0 18px rgba(34,211,238,0.3), 0 6px 20px rgba(0,0,0,0.45);
}

.ac-chip.chip-out .ac-chip-title { color: var(--cyan); }

/* ── Activity ticker — redesigned glass pill strip ── */
.ac-ticker {
  position: relative;
  z-index: 5;
  height: 48px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(99,102,241,0.14);
  background: rgba(6,6,24,0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.ac-ticker-track {
  display: flex;
  align-items: center;
  padding-left: 40px;
  will-change: transform;
  white-space: nowrap;
}

/* Each ticker item: a floating glass pill */
.ac-tick-item {
  display: inline-flex;
  align-items: center;
  padding-right: 36px;
  white-space: nowrap;
}

.ac-tick-item::after { display: none; }

.ac-tick-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  border-radius: 100px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.18);
}

.ac-tick-dot-live {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 5px var(--cyan);
  flex-shrink: 0;
}

.ac-tick-agent {
  font-size: 0.71rem;
  font-weight: 700;
  color: #a5b4fc;
  letter-spacing: 0.01em;
}

.ac-tick-divider {
  font-size: 0.55rem;
  color: rgba(99,102,241,0.35);
  line-height: 1;
}

.ac-tick-action {
  font-size: 0.71rem;
  color: var(--text);
}

.ac-tick-arrow {
  font-size: 0.62rem;
  color: rgba(34,211,238,0.5);
}

.ac-tick-result {
  font-size: 0.71rem;
  color: var(--cyan);
  font-weight: 600;
}

.ac-tick-item.fresh .ac-tick-pill { animation: acTickIn 0.5s ease-out; }

@keyframes acTickIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }

/* Reduced-motion fallback: freeze the always-on loops */
.agent-canvas.ac-static .ac-dot,
.agent-canvas.ac-static .ac-orb,
.agent-canvas.ac-static .ac-speck,
.agent-canvas.ac-static .ac-node-core,
.agent-canvas.ac-static .ac-node-arc,
.agent-canvas.ac-static .ac-path-dash,
.agent-canvas.ac-static .ac-links path { animation: none; }

.agent-canvas.ac-static .ac-speck { opacity: 0.35; }

/* ── Section base ─────────────────────────────────────────── */
section { padding: 100px 0; position: relative; z-index: 1; }

.section-header { margin-bottom: 56px; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}


/* ── Roster panel — sidebar left, agents right ── */
.roster-panel {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 230px 1fr;
}

/* Left sidebar: vertical team list */
.roster-sidebar {
  border-right: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.15);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Each team item */
.team-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px 14px 20px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background 0.22s, border-color 0.22s;
}

/* Glowing left-edge indicator bar */
.team-tile::before {
  content: '';
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(to bottom, var(--indigo), var(--cyan));
  opacity: 0;
  transform: scaleY(0.3);
  transition: opacity 0.25s, transform 0.25s;
}

.team-tile:hover {
  background: rgba(99,102,241,0.07);
  border-color: rgba(99,102,241,0.18);
}

.team-tile.active {
  background: rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.28);
  box-shadow: 0 0 20px rgba(99,102,241,0.1);
}

.team-tile.active::before {
  opacity: 1;
  transform: scaleY(1);
}

.team-tile-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.2;
  transition: color 0.22s;
}

.team-tile:hover .team-tile-name { color: var(--text); }
.team-tile.active .team-tile-name { color: #a5b4fc; }

.team-tile-desc {
  font-size: 0.72rem;
  color: rgba(148,163,184,0.5);
  font-weight: 400;
  line-height: 1.35;
  transition: color 0.22s;
}

.team-tile.active .team-tile-desc { color: rgba(165,180,252,0.55); }

.team-tile-count {
  font-size: 0.68rem;
  color: rgba(148,163,184,0.35);
  font-weight: 500;
  transition: color 0.22s;
  margin-top: 2px;
}

.team-tile.active .team-tile-count { color: rgba(165,180,252,0.6); }

/* Right body: team header + agent cards */
.roster-body {
  padding: 28px;
  min-height: 420px;
  overflow: auto;
}

/* Team header — prominent label confirming the active team */
.roster-team-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: opacity 0.15s ease;
}

.roster-team-header.fading { opacity: 0; }

.roster-team-label {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.roster-team-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #a5b4fc;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.team-agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.team-agent-grid.fading {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.team-agent-grid .agent-card {
  opacity: 0;
  animation: teamCardIn 0.4s ease-out forwards;
}

@keyframes teamCardIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.agent-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 22px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.agent-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--team-color, #6366f1) 50%, transparent);
  box-shadow: 0 14px 40px color-mix(in srgb, var(--team-color, #6366f1) 12%, transparent);
}

.agent-card-accent {
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--team-color, #6366f1);
  opacity: 0.7;
  box-shadow: 0 0 8px var(--team-color, #6366f1);
}

.agent-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.agent-desc {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Agent types ──────────────────────────────────────────── */
#agent-types { padding-top: 40px; }

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.type-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.type-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: 20px;
  pointer-events: none;
}

.type-card.card-indigo::before {
  background: radial-gradient(circle at top left, rgba(99,102,241,0.12) 0%, transparent 60%);
}

.type-card.card-cyan::before {
  background: radial-gradient(circle at top left, rgba(34,211,238,0.12) 0%, transparent 60%);
}

.type-card:hover { transform: translateY(-6px); }
.type-card:hover::before { opacity: 1; }

.type-card.card-indigo:hover {
  border-color: rgba(99,102,241,0.5);
  box-shadow: 0 20px 60px rgba(99,102,241,0.15);
}

.type-card.card-cyan:hover {
  border-color: rgba(34,211,238,0.4);
  box-shadow: 0 20px 60px rgba(34,211,238,0.12);
}

.type-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.icon-indigo {
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  color: var(--indigo);
}

.icon-cyan {
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.25);
  color: var(--cyan);
}

.type-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.type-tag {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 12px;
}

.card-indigo .type-tag { color: var(--indigo); }

.type-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.types-note {
  margin-top: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Platforms & channels ─────────────────────────────────── */
#platforms {
  background: linear-gradient(180deg, transparent 0%, rgba(99,102,241,0.03) 100%);
}

.platform-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.platform-col {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.platform-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.chip:hover {
  border-color: rgba(99,102,241,0.5);
  background: rgba(99,102,241,0.08);
}

.chip-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Proven work ──────────────────────────────────────────── */
.proven-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.proven-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  transition: transform 0.25s, border-color 0.25s;
}

.proven-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.5);
}

.proven-num {
  font-size: 0.85rem;
  font-weight: 800;
  font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.proven-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Use cases ────────────────────────────────────────────── */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.usecase-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s;
}

.usecase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.45);
}

.usecase-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  margin-bottom: 16px;
}

.usecase-tag.tag-live {
  background: rgba(74,222,128,0.1);
  border-color: rgba(74,222,128,0.35);
  color: var(--green);
}

.usecase-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Testimonial ──────────────────────────────────────────── */
#testimonial {
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.04) 50%, transparent);
}

.testimonial-wrap {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 48px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.testimonial-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(99,102,241,0.08) 0%, transparent 55%),
    radial-gradient(circle at bottom right, rgba(34,211,238,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.testimonial-wrap > * { position: relative; z-index: 1; }

.testimonial-quote-mark {
  margin-bottom: 28px;
  opacity: 0.6;
}

.testimonial-text {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.75;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
  font-style: normal;
}

.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.testimonial-author-avatar {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99,102,241,0.3), rgba(34,211,238,0.2));
  border: 1px solid rgba(99,102,241,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #a5b4fc;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.testimonial-author-role {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 3px;
}

/* ── Startup program ──────────────────────────────────────── */
#startup { padding-top: 40px; }

.startup-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.startup-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(34,211,238,0.08) 0%, transparent 55%),
    radial-gradient(circle at bottom left, rgba(99,102,241,0.1) 0%, transparent 55%);
  pointer-events: none;
}

.startup-box > * { position: relative; z-index: 1; }

.startup-copy {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 32px;
}

/* ── Why code0aI ──────────────────────────────────────────── */
.why-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
}

.why-item {
  display: flex;
  gap: 22px;
  padding: 26px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  transition: background 0.2s;
}

.why-item:hover { background: rgba(99,102,241,0.04); }

.why-item:last-child { border-bottom: none; }

.why-item-featured {
  background: rgba(34,211,238,0.04);
  border: 1px solid rgba(34,211,238,0.18);
  border-bottom: 1px solid rgba(34,211,238,0.18);
}

.why-item-featured:hover { background: rgba(34,211,238,0.07); }

.why-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item-featured .why-icon {
  background: rgba(34,211,238,0.08);
  border-color: rgba(34,211,238,0.25);
}

.why-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.why-item-featured h3 { color: #67e8f9; }

.why-item p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── How It Works ─────────────────────────────────────────── */
#how-it-works {
  background: linear-gradient(180deg, rgba(99,102,241,0.03) 0%, transparent 100%);
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.hiw-step {
  position: relative;
  padding: 0 40px;
  text-align: center;
}

.hiw-step:first-child { padding-left: 0; }
.hiw-step:last-child  { padding-right: 0; }

.hiw-step-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(99,102,241,0.4);
  margin-bottom: 20px;
  font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
}

.hiw-connector {
  position: absolute;
  top: 56px;
  right: -2px;
  width: calc(100% - 80px);
  height: 1px;
  background: linear-gradient(90deg, rgba(99,102,241,0.3), rgba(34,211,238,0.3));
  pointer-events: none;
  transform: translateX(40px);
}

.hiw-step:last-child .hiw-connector { display: none; }

.hiw-step-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.hiw-step:hover .hiw-step-icon {
  background: rgba(99,102,241,0.14);
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 0 24px rgba(99,102,241,0.2);
}

.hiw-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text);
}

.hiw-step-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.hiw-step-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.25);
  color: var(--cyan);
}

/* ── Team ─────────────────────────────────────────────────── */
#team {
  background: linear-gradient(180deg, transparent 0%, rgba(99,102,241,0.03) 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99,102,241,0.5);
  box-shadow: 0 18px 50px rgba(99,102,241,0.12);
}

.team-card-ai {
  border-style: dashed;
  border-color: rgba(34,211,238,0.3);
  background: rgba(34,211,238,0.03);
}

.team-card-ai:hover {
  border-color: rgba(34,211,238,0.55);
  box-shadow: 0 18px 50px rgba(34,211,238,0.1);
}

.team-avatar {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.avatar-human {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dim));
  color: #fff;
  box-shadow: 0 0 24px var(--glow-i);
}

.avatar-ai {
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.35);
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(34,211,238,0.15);
}

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(34,211,238,0.12);
  border: 1px solid rgba(34,211,238,0.4);
  color: var(--cyan);
}

.team-role {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--indigo);
  font-weight: 600;
  margin: 4px 0 14px;
}

.team-card-ai .team-role { color: var(--cyan); }

.team-bio {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.team-card-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-channel-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(34,211,238,0.07);
  border: 1px solid rgba(34,211,238,0.2);
  color: var(--cyan);
  letter-spacing: 0.02em;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  font-family: inherit;
  transition: color 0.2s;
}

.faq-q:hover { color: #a5b4fc; }

.faq-q[aria-expanded="true"] { color: #a5b4fc; }

.faq-arrow {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.3s ease, color 0.2s;
}

.faq-q[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
  color: #a5b4fc;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
  overflow: hidden;
}

.faq-a.open { grid-template-rows: 1fr; }

.faq-a > p {
  overflow: hidden;
  padding-bottom: 22px;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── Contact ──────────────────────────────────────────────── */
#contact { border-top: 1px solid var(--border); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.contact-item:hover { border-color: rgba(99,102,241,0.4); }

.contact-item-icon {
  font-size: 1.2rem;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(99,102,241,0.12);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.contact-item-placeholder {
  color: var(--muted);
  font-style: italic;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  padding: 72px 0 0;
  margin-top: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6,6,18,0.6) 100%);
  border-top: 1px solid rgba(99,102,241,0.12);
}

.footer-top-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--indigo) 30%, var(--cyan) 70%, transparent 100%);
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.4fr 1.4fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Brand column */
.footer-brand { display: flex; flex-direction: column; }

.footer-logo { margin-bottom: 16px; }

.footer-tagline {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.footer-social-link {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  text-decoration: none;
}

.footer-social-link:hover {
  color: #a5b4fc;
  border-color: rgba(99,102,241,0.4);
  background: rgba(99,102,241,0.08);
}

/* Nav columns */
.footer-nav-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-nav-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 18px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: block;
}

.footer-nav-list a:hover {
  color: var(--text);
  padding-left: 4px;
}

/* CTA column */
.footer-cta-col { display: flex; flex-direction: column; }

.footer-cta-box {
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.footer-cta-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-cta-heading {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-email-link {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s;
}

.footer-email-link:hover { color: #a5b4fc; }

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0 28px;
}

.footer-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-copy { font-size: 0.8rem; color: rgba(148,163,184,0.5); }

/* ── Scroll-reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .platform-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .platform-cols { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-cta-col { grid-column: 1 / -1; }
  .footer-cta-box { padding: 24px; }
}

@media (max-width: 900px) {
  .hiw-steps { grid-template-columns: 1fr; gap: 48px; }
  .hiw-step { padding: 0; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
  .hiw-step-icon { margin: 0 0 20px; }
  .hiw-connector { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta-desktop { display: none; }
  .nav-hamburger { display: flex; }

  section { padding: 72px 0; }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-headline { padding: 44px 0 32px; }

  .agent-canvas { min-height: 52vh; }

  .ac-stage { min-height: 340px; }

  .roster-panel { grid-template-columns: 1fr; }

  .roster-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px;
    gap: 6px;
  }

  .roster-sidebar .team-tile {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
  }

  .roster-sidebar .team-tile::before { display: none; }

  .roster-body { min-height: auto; }

  .ac-node { --node: 62px; }

  .ac-node-name { font-size: 0.72rem; margin-top: 8px; }
  .ac-node-role { font-size: 0.6rem; }

  .ac-chip { padding: 5px 9px; border-radius: 9px; }
  .ac-chip-title { font-size: 0.64rem; }
  .ac-chip-sub { font-size: 0.58rem; }

  .ac-zone { width: 34px; }
  .ac-zone span { font-size: 0.52rem; letter-spacing: 0.2em; }

  .ac-tick-item { font-size: 0.65rem; }

  .startup-box { padding: 40px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav-cols { grid-template-columns: 1fr 1fr; }
  .footer-tagline { max-width: 100%; }
  .footer-social { margin-top: 0; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

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