/* ═══════════════════════════════════════════════════════════════════
   SPV Therapeutics — AI-Powered Precision Oncology Design System
   Dual-Mode Architecture: Deep Plum (Dark) & Crisp Lavender-White (Light)
   ═══════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── CSS CUSTOM PROPERTIES (DARK MODE DEFAULT) ─── */
:root {
  /* Background — Deep Plum Palette */
  --bg-primary: #0f0718;
  --bg-secondary: #170d24;
  --bg-card: rgba(30, 10, 42, 0.75);
  --bg-card-hover: rgba(45, 18, 63, 0.92);
  --bg-glass: rgba(20, 8, 32, 0.82);

  /* Borders */
  --border-color: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(233, 30, 99, 0.4);
  --border-active: rgba(142, 36, 170, 0.55);

  /* Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Accents — Electric Magenta × Violet */
  --accent-magenta: #E91E63;
  --accent-magenta-bright: #FF4081;
  --accent-violet: #8E24AA;
  --accent-violet-bright: #7B2CBF;
  --accent-emerald: #10b981;
  --accent-cyan: #00d4ff;
  --accent-amber: #f59e0b;

  /* Gradients */
  --gradient-glow: linear-gradient(135deg, #E91E63 0%, #8E24AA 50%, #FF4081 100%);
  --gradient-hero: linear-gradient(135deg, #E91E63, #8E24AA);
  --gradient-subtle: linear-gradient(180deg, rgba(233,30,99,0.06) 0%, rgba(142,36,170,0.02) 100%);
  --gradient-title: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-glow: 0 0 32px rgba(233, 30, 99, 0.28);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.72);
  --shadow-btn: 0 4px 20px rgba(233, 30, 99, 0.42);

  /* Fonts */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Roadmap Tokens (Dark) */
  --rdmap-bg: rgba(26, 9, 38, 0.75);
  --rdmap-header-bg: rgba(255, 255, 255, 0.03);
  --rdmap-border: rgba(255, 255, 255, 0.09);
  --rdmap-track: rgba(255, 255, 255, 0.08);
  --rdmap-grid: rgba(255, 255, 255, 0.08);
  --rdmap-title: #ffffff;
  --rdmap-sub: #94a3b8;
  --rdmap-header-text: #cbd5e1;
}

/* ─── CSS CUSTOM PROPERTIES (LIGHT MODE OVERRIDES) ─── */
[data-theme="light"] {
  --bg-primary: #f8f6fc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #faf7ff;
  --bg-glass: rgba(255, 255, 255, 0.94);

  --border-color: rgba(107, 33, 168, 0.12);
  --border-glow: rgba(181, 18, 77, 0.3);
  --border-active: rgba(123, 44, 191, 0.4);

  --text-main: #14052b;
  --text-muted: #334155;
  --text-dim: #475569;

  --accent-magenta: #b5124d;
  --accent-magenta-bright: #C2185B;
  --accent-violet: #6b21a8;
  --accent-violet-bright: #7c3aed;
  --accent-emerald: #065f46;
  --accent-cyan: #0369a1;
  --accent-amber: #b45309;

  --gradient-glow: linear-gradient(135deg, #b5124d 0%, #6b21a8 50%, #C2185B 100%);
  --gradient-hero: linear-gradient(135deg, #b5124d, #6b21a8);
  --gradient-title: linear-gradient(135deg, #14052b 30%, #475569 100%);

  --shadow-glow: 0 0 25px rgba(181, 18, 77, 0.15);
  --shadow-card: 0 8px 30px -6px rgba(15, 23, 42, 0.08);
  --shadow-btn: 0 4px 18px rgba(181, 18, 77, 0.32);

  /* Roadmap Tokens (Light) */
  --rdmap-bg: #ffffff;
  --rdmap-header-bg: #f4effc;
  --rdmap-border: rgba(107, 33, 168, 0.12);
  --rdmap-track: #e2e8f0;
  --rdmap-grid: rgba(100, 116, 139, 0.22);
  --rdmap-title: #14052b;
  --rdmap-sub: #475569;
  --rdmap-header-text: #334155;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.65;
  background: var(--bg-primary);
  color: var(--text-main);
  transition: background-color 0.35s ease, color 0.35s ease;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(233, 30, 99, 0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-magenta); }

/* ─── NEURAL CANVAS BACKGROUND ─── */
#neural-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.35s ease;
}

[data-theme="light"] #neural-canvas {
  opacity: 0.18;
}

.canvas-vignette {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 60% 35%, transparent 20%, var(--bg-primary) 80%);
  z-index: 1;
  pointer-events: none;
  transition: background 0.35s ease;
}

/* ─── HEADER NAVIGATION ─── */
.header-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.35s ease;
}

.header-nav.scrolled {
  background: var(--bg-glass);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .header-nav.scrolled {
  box-shadow: 0 4px 20px rgba(107, 33, 168, 0.08);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand Logo */
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(233, 30, 99, 0.45));
  transition: transform 0.35s ease;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.06) rotate(-3deg);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-accent { color: var(--accent-magenta); }

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-magenta);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.85rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-glow);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-magenta);
  font-weight: 600;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(107, 33, 168, 0.07);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-magenta);
  color: var(--accent-magenta);
  transform: rotate(20deg);
  box-shadow: 0 0 12px rgba(233, 30, 99, 0.3);
}

.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  gap: 5px;
  width: 32px;
}

.mobile-toggle-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-toggle-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 7px); }
.mobile-toggle-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -7px); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-hero);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(233, 30, 99, 0.55);
  filter: brightness(1.08);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid var(--border-color);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

[data-theme="light"] .btn-secondary {
  background: rgba(107, 33, 168, 0.06);
}

.btn-secondary:hover {
  background: rgba(233, 30, 99, 0.1);
  border-color: var(--accent-magenta);
  color: var(--accent-magenta);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-ghost:hover {
  color: var(--text-main);
  border-color: var(--accent-magenta);
  background: rgba(233, 30, 99, 0.05);
}

/* ─── BADGES ─── */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-magenta {
  background: rgba(233, 30, 99, 0.15);
  color: var(--accent-magenta-bright);
  border: 1px solid rgba(233, 30, 99, 0.4);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-cyan {
  background: rgba(0, 212, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.4);
}

.badge-violet {
  background: rgba(142, 36, 170, 0.15);
  color: #c084fc;
  border: 1px solid rgba(142, 36, 170, 0.4);
}

[data-theme="light"] .badge-magenta {
  background: rgba(181, 18, 77, 0.1);
  color: #b5124d;
  border-color: rgba(181, 18, 77, 0.3);
}

[data-theme="light"] .badge-emerald {
  background: rgba(4, 120, 87, 0.1);
  color: #065f46;
  border-color: rgba(4, 120, 87, 0.3);
}

[data-theme="light"] .badge-cyan {
  background: rgba(3, 105, 161, 0.1);
  color: #0369a1;
  border-color: rgba(3, 105, 161, 0.3);
}

[data-theme="light"] .badge-violet {
  background: rgba(107, 33, 168, 0.1);
  color: #6b21a8;
  border-color: rgba(107, 33, 168, 0.3);
}

/* ─── MAIN & SECTIONS ─── */
main {
  position: relative;
  z-index: 10;
  padding-top: 72px;
}

.section {
  padding: 6rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 870px;
  margin: 0 auto 4.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-magenta);
  background: rgba(233, 30, 99, 0.1);
  border: 1px solid rgba(233, 30, 99, 0.3);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 1.25rem;
  letter-spacing: -0.028em;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.78;
}

/* ─── GLASS CARD ─── */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  opacity: 0;
  transition: opacity 0.38s ease;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(233, 30, 99, 0.28);
  transform: translateY(-5px);
  box-shadow: 0 24px 55px -12px rgba(233, 30, 99, 0.22);
}

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

/* ─── SCROLL REVEAL ANIMATIONS ─── */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.78s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.78s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO SECTION ─── */
.hero-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4rem 2rem;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  max-width: 1440px;
  width: 100%;
}

.hero-content { z-index: 2; }

.hero-badge-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.75rem;
  letter-spacing: -0.035em;
  color: var(--text-main);
}

.text-gradient-magenta {
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2.5rem;
  flex-wrap: wrap;
}

.stat-item { display: flex; flex-direction: column; }

.stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.76rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 46px;
  background: var(--border-color);
  flex-shrink: 0;
}

/* ─── HERO MOLECULE CARD ─── */
.hero-mol-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 0 50px rgba(233, 30, 99, 0.15);
}

.hero-mol-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient-glow);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.mol-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mol-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-magenta);
}

.dock-switcher {
  display: flex;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

[data-theme="light"] .dock-switcher {
  background: rgba(107, 33, 168, 0.06);
}

.dock-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 4px 11px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dock-btn.active,
.dock-btn:hover {
  background: var(--accent-magenta);
  color: #ffffff;
}

.mol-visualizer {
  height: 240px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at center, rgba(233, 30, 99, 0.12) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mol-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.mol-overlay-text {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.mol-name {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-magenta);
  display: block;
}

.mol-sub {
  color: var(--text-muted);
  font-size: 0.78rem;
  display: block;
  margin-top: 0.25rem;
}

.mol-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.mol-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
}

[data-theme="light"] .mol-feature {
  background: rgba(107, 33, 168, 0.04);
}

.mol-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mol-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(233, 30, 99, 0.07);
  border: 1px solid rgba(233, 30, 99, 0.18);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  transition: all 0.3s ease;
}

.metric:hover {
  background: rgba(233, 30, 99, 0.12);
  border-color: rgba(233, 30, 99, 0.35);
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-magenta);
}

.metric-lab {
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
  line-height: 1.3;
  text-align: center;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: float-anim 2.5s ease-in-out infinite;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--border-color);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding: 5px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-magenta);
  border-radius: 2px;
  animation: scroll-wheel-anim 2s ease-in-out infinite;
}

@keyframes float-anim {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-7px); }
}

@keyframes scroll-wheel-anim {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ─── UNMET NEED TABS ─── */
.tab-switcher {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-theme="light"] .tab-btn {
  background: #ffffff;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--accent-magenta);
  color: #ffffff;
  border-color: var(--accent-magenta);
  box-shadow: 0 4px 22px rgba(233, 30, 99, 0.42);
}

.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.unmet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.unmet-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.85rem;
}

.unmet-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.55rem;
}

.unmet-card-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

/* ─── SPV374 SECTION ─── */
.spv374-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.spv374-moa { padding: 2.5rem; }

.moa-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text-main);
  margin: 0.85rem 0 1.75rem;
}

.moa-steps { display: flex; flex-direction: column; }

.moa-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.moa-step-num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-magenta);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  min-width: 52px;
}

.moa-step-label {
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}

.moa-step-desc {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.67;
}

.moa-connector {
  width: 2px;
  height: 26px;
  background: var(--border-color);
  margin: 8px 0 8px 25px;
}

/* Benchmark Table */
.table-responsive { width: 100%; overflow-x: auto; }

.bench-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.bench-table th,
.bench-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.bench-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

[data-theme="light"] .bench-table th {
  background: rgba(107, 33, 168, 0.05);
}

.bench-table td { color: var(--text-main); }

.th-spv { color: var(--accent-magenta) !important; font-weight: 700; }

.td-spv {
  color: var(--accent-magenta);
  font-weight: 600;
}

.bench-table tr:hover td { background: rgba(233, 30, 99, 0.04); }

.highlight-row td {
  background: rgba(233, 30, 99, 0.07) !important;
}

[data-theme="light"] .highlight-row td {
  background: rgba(181, 18, 77, 0.06) !important;
}

/* Data Highlights */
.data-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.data-highlight-card {
  background: rgba(233, 30, 99, 0.07);
  border: 1px solid rgba(233, 30, 99, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

[data-theme="light"] .data-highlight-card {
  background: #ffffff;
  border-color: rgba(181, 18, 77, 0.2);
  box-shadow: 0 4px 18px -4px rgba(181, 18, 77, 0.1);
}

.data-highlight-card:hover {
  background: rgba(233, 30, 99, 0.12);
  border-color: rgba(233, 30, 99, 0.4);
  transform: translateY(-3px);
}

.data-hl-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-magenta);
  margin-bottom: 0.4rem;
}

.data-hl-label {
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.4;
}

.data-hl-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
  display: block;
}

/* ─── AI ENGINE STEPPER ─── */
.ai-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.ai-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  cursor: pointer;
  transition: all 0.38s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ai-step.active {
  border-color: var(--accent-magenta);
  box-shadow: 0 0 35px rgba(233, 30, 99, 0.18);
}

.ai-step:hover {
  border-color: rgba(233, 30, 99, 0.4);
  transform: translateY(-4px);
}

.ai-step-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(233, 30, 99, 0.12);
  border: 1px solid rgba(233, 30, 99, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-magenta);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.ai-step.active .ai-step-icon,
.ai-step:hover .ai-step-icon {
  background: rgba(233, 30, 99, 0.2);
  box-shadow: 0 0 20px rgba(233, 30, 99, 0.3);
}

.ai-step-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-magenta);
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ai-step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.ai-step-desc {
  color: var(--text-muted);
  font-size: 0.83rem;
  line-height: 1.68;
}

.ai-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ai-highlight-card { display: flex; flex-direction: column; gap: 0.75rem; }

.ai-hl-icon {
  font-size: 2rem;
  display: block;
}

.ai-hl-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.ai-hl-desc {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.68;
}

/* ─── PIPELINE GANTT SECTION ─── */
.pipeline-filters {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-theme="light"] .filter-btn {
  background: #ffffff;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent-magenta);
  color: #ffffff;
  border-color: var(--accent-magenta);
  box-shadow: 0 4px 20px rgba(233, 30, 99, 0.38);
}

.pipeline-gantt {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0;
}

.gantt-header {
  display: grid;
  grid-template-columns: 170px 150px 1fr 220px 120px;
  padding: 0.85rem 1.5rem;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

[data-theme="light"] .gantt-header {
  background: rgba(107, 33, 168, 0.05);
}

.gantt-col-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-dim);
  font-weight: 700;
}

.gantt-stages {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pipeline-card {
  display: grid;
  grid-template-columns: 170px 150px 1fr 220px 120px;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background 0.3s ease;
}

.pipeline-card:last-child { border-bottom: none; }

.pipeline-card:hover {
  background: rgba(233, 30, 99, 0.05);
}

.pc-name { display: flex; flex-direction: column; gap: 0.35rem; }

.compound-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--accent-magenta);
}

.target-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(142, 36, 170, 0.14);
  border: 1px solid rgba(142, 36, 170, 0.35);
  color: var(--accent-violet);
  font-weight: 700;
  display: inline-block;
}

.pc-indication {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.pc-progress { width: 100%; }

.progress-track {
  height: 8px;
  width: 100%;
  background: var(--rdmap-track);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-glow);
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-stage-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  font-weight: 600;
}

.pc-detail-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
  font-weight: 600;
  white-space: nowrap;
}

.pc-detail-btn:hover {
  border-color: var(--accent-magenta);
  color: var(--accent-magenta);
  background: rgba(233, 30, 99, 0.08);
}

/* ─── MODERN 2026 PIPELINE ROADMAP (BOTH MODES) ─── */
.pipeline-roadmap {
  background: var(--rdmap-bg);
  border: 1px solid var(--rdmap-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.rdmap-header {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--rdmap-border);
  background: var(--rdmap-header-bg);
}

.rdmap-header-label {
  padding: 1.1rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--rdmap-header-text);
  border-right: 1px solid var(--rdmap-border);
}

.rdmap-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
}

.rdmap-stage-header {
  padding: 1.1rem 0.75rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rdmap-header-text);
  border-right: 1px solid var(--rdmap-border);
}

.rdmap-stage-header:last-child { border-right: none; }

.rdmap-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--rdmap-border);
  transition: background 0.25s ease;
}

.rdmap-row:last-child { border-bottom: none; }

.rdmap-row:hover {
  background: rgba(233, 30, 99, 0.04);
}

.rdmap-info {
  padding: 1.5rem;
  border-right: 1px solid var(--rdmap-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.rdmap-compound {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--rdmap-title);
  letter-spacing: -0.01em;
}

.rdmap-indication {
  font-size: 0.8rem;
  color: var(--rdmap-sub);
  line-height: 1.45;
}

.rdmap-stage-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-top: 0.3rem;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Semantic Tag Colors (Dark Mode) */
.tag-spv374 {
  background: rgba(233, 30, 99, 0.15);
  color: #ff6097;
  border: 1px solid rgba(233, 30, 99, 0.4);
}

.tag-spv645 {
  background: rgba(20, 184, 166, 0.15);
  color: #2dd4bf;
  border: 1px solid rgba(20, 184, 166, 0.4);
}

.tag-cdk9 {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.tag-cdk4 {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.tag-protac {
  background: rgba(168, 85, 247, 0.15);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

/* Semantic Tag Colors (Light Mode) */
[data-theme="light"] .tag-spv374 {
  background: rgba(181, 18, 77, 0.1);
  color: #b5124d;
  border: 1px solid rgba(181, 18, 77, 0.3);
}

[data-theme="light"] .tag-spv645 {
  background: rgba(13, 148, 136, 0.1);
  color: #0f766e;
  border: 1px solid rgba(13, 148, 136, 0.3);
}

[data-theme="light"] .tag-cdk9 {
  background: rgba(217, 119, 6, 0.1);
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

[data-theme="light"] .tag-cdk4 {
  background: rgba(79, 70, 229, 0.1);
  color: #4338ca;
  border: 1px solid rgba(79, 70, 229, 0.3);
}

[data-theme="light"] .tag-protac {
  background: rgba(126, 34, 206, 0.1);
  color: #6b21a8;
  border: 1px solid rgba(126, 34, 206, 0.3);
}

.rdmap-track-area {
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  position: relative;
}

.rdmap-track-bg {
  width: 100%;
  height: 14px;
  background: var(--rdmap-track);
  border-radius: 7px;
  position: relative;
  overflow: visible;
  transition: background 0.35s ease;
}

.rdmap-grid-lines {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
}

.rdmap-grid-line {
  border-right: 1px dashed var(--rdmap-grid);
}

.rdmap-grid-line:last-child { border-right: none; }

.rdmap-fill {
  height: 100%;
  border-radius: 7px;
  position: absolute;
  top: 0; left: 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rdmap-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 14px currentColor;
  z-index: 2;
}

[data-theme="light"] .rdmap-dot {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Roadmap gradient fills */
.rdmap-fill-magenta { background: linear-gradient(90deg, #E91E63, #FF4081); }
.rdmap-dot-magenta { border-color: #FF4081; color: #FF4081; }

.rdmap-fill-teal { background: linear-gradient(90deg, #0d9488, #14b8a6); }
.rdmap-dot-teal { border-color: #14b8a6; color: #14b8a6; }

.rdmap-fill-amber { background: linear-gradient(90deg, #d97706, #f59e0b); }
.rdmap-dot-amber { border-color: #f59e0b; color: #f59e0b; }

.rdmap-fill-indigo { background: linear-gradient(90deg, #4338ca, #6366f1); }
.rdmap-dot-indigo { border-color: #6366f1; color: #6366f1; }

.rdmap-fill-violet { background: linear-gradient(90deg, #7c3aed, #a855f7); }
.rdmap-dot-violet { border-color: #a855f7; color: #a855f7; }

/* ─── IP PORTFOLIO & SEARCHABLE TABLE ─── */
.ip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.ip-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ip-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ip-flag { font-size: 1.8rem; }

.ip-country {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
}

.ip-app { font-size: 0.84rem; color: var(--text-muted); }
.ip-desc { font-size: 0.81rem; color: var(--text-dim); line-height: 1.62; }

.ip-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.ip-scope {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-magenta);
  font-weight: 700;
}

.ip-search-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

/* Patent Hyperlinks with Verified External Database Lookups */
.patent-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  border-bottom: 1px dashed rgba(0, 212, 255, 0.4);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.patent-link:hover {
  color: var(--accent-magenta);
  border-bottom-color: var(--accent-magenta);
  border-bottom-style: solid;
}

.patent-link svg {
  opacity: 0.7;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.patent-link:hover svg { opacity: 1; }

[data-theme="light"] .patent-link {
  color: #0369a1;
  border-bottom-color: rgba(3, 105, 161, 0.35);
}

[data-theme="light"] .patent-link:hover {
  color: var(--accent-magenta);
  border-bottom-color: var(--accent-magenta);
}

/* ─── FORM ELEMENTS ─── */
.form-input,
.form-select,
.form-textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.82rem 1.1rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  width: 100%;
  transition: all 0.3s ease;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #ffffff;
  border-color: rgba(107, 33, 168, 0.18);
  color: #14052b;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-magenta);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-textarea:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(181, 18, 77, 0.15);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-main);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ─── TEAM ─── */
.team-section-label {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 780px;
  margin-bottom: 4rem;
}

.team-card {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.team-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.team-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.team-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-magenta), var(--accent-violet), #3b82f6, var(--accent-magenta));
  animation: ring-spin 6s linear infinite;
}

.team-avatar-ring::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--bg-card);
  border-radius: 50%;
}

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

.team-info { display: flex; flex-direction: column; gap: 0.45rem; }

.team-name {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-main);
}

.team-role {
  font-size: 0.86rem;
  color: var(--accent-magenta);
  font-weight: 600;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-top: 0.2rem;
}

.team-tags {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.team-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(233, 30, 99, 0.1);
  color: var(--accent-magenta);
  border: 1px solid rgba(233, 30, 99, 0.25);
  font-weight: 700;
}

.sab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.sab-card { text-align: center; padding: 1.75rem; }

.sab-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.9rem;
}

.sab-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.sab-org {
  font-size: 0.78rem;
  color: var(--accent-magenta);
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.sab-bio { font-size: 0.81rem; color: var(--text-dim); line-height: 1.65; }

/* ─── INVESTOR CENTER ─── */
.investor-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.inv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
}

.inv-icon { font-size: 2.2rem; }

.inv-metric {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-magenta);
  line-height: 1;
}

.inv-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.inv-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.68; }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.resource-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(233, 30, 99, 0.12);
  border: 1px solid rgba(233, 30, 99, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.resource-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.resource-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.68;
}

/* ─── PARTNERSHIPS ─── */
.partner-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.partner-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.partner-info-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-main);
}

.partner-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.partner-item-icon { font-size: 1.6rem; flex-shrink: 0; }

.partner-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.partner-item-desc { font-size: 0.86rem; color: var(--text-muted); line-height: 1.68; }

.hq-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .hq-badge {
  background: rgba(107, 33, 168, 0.04);
}

/* ─── TIMELINE ─── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-magenta), var(--accent-violet), rgba(142, 36, 170, 0.1));
}

.timeline-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-magenta);
  box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.2), 0 0 20px rgba(233, 30, 99, 0.4);
  flex-shrink: 0;
  margin-top: 1.25rem;
  z-index: 1;
  position: relative;
}

.tl-card { padding: 1.5rem; }

.tl-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-magenta);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.tl-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.tl-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 0.75rem;
}

/* ─── MODAL ─── */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(10, 4, 18, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
  padding: 2rem;
}

[data-theme="light"] .modal-backdrop {
  background: rgba(248, 246, 252, 0.92);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.75rem;
  position: relative;
  box-shadow: 0 0 70px rgba(233, 30, 99, 0.22);
  transform: scale(0.92);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-content { transform: scale(1); }

.modal-close-btn {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 5rem 2rem 2.5rem;
  margin-top: 4rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  max-width: 1440px;
  margin: 0 auto 3.5rem;
  display: grid;
  grid-template-columns: 1.65fr repeat(3, 1fr);
  gap: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.72;
}

.footer-address {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.25s ease;
}

.footer-links a:hover { color: var(--accent-magenta); }

.footer-disclaimer {
  font-size: 0.73rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-top: 0.5rem;
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── RESPONSIVE BREAKPOINTS ─── */
@media (max-width: 1280px) {
  .hero-container { grid-template-columns: 1fr; gap: 3rem; }
  .hero-mol-card { max-width: 560px; }
  .ip-grid { grid-template-columns: repeat(2, 1fr); }
  .investor-highlights { grid-template-columns: repeat(2, 1fr); }
  .data-highlights { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .section-title { font-size: 2.3rem; }
  .ai-stepper { grid-template-columns: repeat(2, 1fr); }
  .spv374-grid { grid-template-columns: 1fr; }
  .partner-container { grid-template-columns: 1fr; }
  .sab-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .unmet-grid { grid-template-columns: repeat(2, 1fr); }
  .gantt-header,
  .pipeline-card {
    grid-template-columns: 160px 140px 1fr 140px 110px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--bg-glass);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    gap: 0.85rem;
  }

  .nav-menu.open { display: flex; }
  .nav-cta { display: none; }
  .mobile-toggle-btn { display: flex; }

  .hero-title { font-size: 2.3rem; }
  .section-title { font-size: 1.9rem; }
  .section { padding: 4rem 1.25rem; }

  .hero-stats { gap: 1.25rem; }
  .stat-divider { display: none; }
  .hero-mol-card { display: none; }

  .sab-grid { grid-template-columns: 1fr 1fr; }
  .investor-highlights { grid-template-columns: 1fr 1fr; }
  .ip-grid { grid-template-columns: 1fr 1fr; }
  .unmet-grid { grid-template-columns: 1fr; }
  .ai-stepper { grid-template-columns: 1fr; }
  .ai-highlights { grid-template-columns: 1fr; }
  .data-highlights { grid-template-columns: 1fr 1fr; }
  .resource-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .gantt-header { display: none; }
  .pipeline-card {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 0.75rem;
  }

  .form-row { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; align-items: flex-start; }

  .rdmap-header,
  .rdmap-row { grid-template-columns: 1fr; }
  .rdmap-info { border-right: none; border-bottom: 1px solid var(--rdmap-border); }
  .rdmap-header-label { display: none; }
  .rdmap-stages { grid-template-columns: repeat(4, 1fr); }
  .rdmap-stage-header { font-size: 0.62rem; padding: 0.6rem 0.25rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .sab-grid { grid-template-columns: 1fr; }
  .ip-grid { grid-template-columns: 1fr; }
  .investor-highlights { grid-template-columns: 1fr; }
  .data-highlights { grid-template-columns: 1fr; }
}
