/* ==========================================================================
   SciGeneX Pharma Pvt. Ltd. - Design System & Stylesheet
   Global Deep-Tech Biotechnology Aesthetic
   ========================================================================== */

:root {
  /* Brand Scientific Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-elevated: rgba(255, 255, 255, 0.92);
  --bg-dark: #0B1528;
  --bg-dark-surface: #111E38;
  
  /* Text */
  --text-main: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #F8FAFC;

  /* Accents */
  --accent-cyan: #0284C7;
  --accent-cyan-light: #E0F2FE;
  --accent-teal: #0D9488;
  --accent-emerald: #059669;
  --accent-emerald-light: #D1FAE5;
  --accent-indigo: #4F46E5;
  --accent-indigo-light: #EEF2FF;
  --accent-amber: #D97706;

  /* Borders & Shadows */
  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-focus: #38BDF8;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow-cyan: 0 0 20px rgba(14, 165, 233, 0.18);
  --shadow-glow-indigo: 0 0 20px rgba(99, 102, 241, 0.18);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 980px;
}

/* Typography Helpers */
.font-mono {
  font-family: var(--font-mono);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background-color: var(--accent-cyan-light);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.6;
}

/* Header & Navigation */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--duration-normal) ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  transition: opacity var(--duration-fast) ease;
}

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

.brand-logo:hover {
  opacity: 0.92;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 195px;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 32px;
    max-width: 145px;
  }
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
  position: relative;
  padding: 0.5rem 0;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  width: 280px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 60;
}

.nav-dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color var(--duration-fast);
}

.dropdown-item:hover {
  background-color: var(--bg-tertiary);
}

.dropdown-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.dropdown-item-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: #0B192C;
  color: #FFFFFF;
  border-color: #0B192C;
}

.btn-primary:hover {
  background-color: #0284C7;
  border-color: #0284C7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #0B192C;
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: #CBD5E1;
}

.btn-accent {
  background: linear-gradient(135deg, #0284C7 0%, #4F46E5 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-accent:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.775rem;
}

.btn-outline-cyan {
  background: transparent;
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.btn-outline-cyan:hover {
  background-color: var(--accent-cyan-light);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all var(--duration-fast);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 4.75rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  padding: 2rem 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 49;
  border-top: 1px solid var(--border-light);
  overflow-y: auto;
}

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

/* Hero Section */
.hero-section {
  position: relative;
  min-height: calc(100vh - 4.75rem);
  display: flex;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
  background: radial-gradient(circle at 85% 15%, rgba(224, 242, 254, 0.45) 0%, transparent 55%),
              radial-gradient(circle at 10% 85%, rgba(238, 242, 255, 0.45) 0%, transparent 50%),
              #FFFFFF;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-mono);
  font-size: calc(0.775rem + 2px); /* Increased by 2px */
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.75rem; /* Reduced vertical gap to SciGeneX eyebrow */
  letter-spacing: 0.04em;
}

.hero-pill-indicator {
  display: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title-prefix {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0B192C;
  margin-bottom: 0.75rem;
  max-width: 900px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #0284C7 0%, #4F46E5 60%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-supporting-headline {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  max-width: 880px;
}

@media (min-width: 768px) {
  .hero-supporting-headline {
    font-size: 1.45rem;
  }
}

.hero-narrative {
  max-width: 880px;
  margin-bottom: 1rem;
}

.hero-narrative p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.hero-narrative p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero-narrative p {
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
  }
}

.hero-subheading {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 840px;
  margin-bottom: 0.65rem;
}

.hero-supporting-line {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0284C7;
  max-width: 880px;
  margin-top: 1.25rem;
  margin-bottom: 2.25rem;
  line-height: 1.5;
  border-left: 3px solid var(--accent-cyan);
  padding-left: 0.85rem;
}

@media (max-width: 768px) {
  .hero-supporting-line {
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 1.75rem;
  }
}

/* Three Business-Segment Cards */
.hero-segments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  margin-top: 0.5rem;
}

@media (min-width: 1024px) {
  .hero-segments-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.segment-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.segment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--accent-cyan));
  opacity: 0.9;
  transition: height var(--duration-fast);
}

.segment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.segment-card:hover::before {
  height: 5px;
}

.segment-card-top {
  margin-bottom: 1.5rem;
}

.segment-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.segment-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.segment-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0B192C;
  line-height: 1.25;
}

.segment-card-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--card-accent, var(--accent-cyan));
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.segment-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.15rem;
}

.segment-capabilities-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.segment-capabilities-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.segment-cap-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.35;
}

.segment-cap-bullet {
  color: var(--card-accent, var(--accent-cyan));
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Reagents 4 Category Capabilities Styling */
.reagents-capabilities-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.reagent-cap-item {
  border-left: 2px solid var(--card-accent, var(--accent-cyan));
  padding-left: 0.65rem;
}

.reagent-cap-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: #0B192C;
  line-height: 1.3;
}

.reagent-cap-desc {
  font-size: 0.775rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: 0.15rem;
}

.segment-card-bottom {
  margin-top: auto;
}

.segment-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  color: #0B192C;
  transition: all var(--duration-fast);
}

.segment-card-cta:hover {
  background: var(--card-accent, #0B192C);
  color: #FFFFFF;
  border-color: var(--card-accent, #0B192C);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.segment-card-cta .arrow {
  transition: transform var(--duration-fast);
}

.segment-card-cta:hover .arrow {
  transform: translateX(4px);
}

/* Three Pillars Section */
.pillars-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: var(--bg-secondary);
  position: relative;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--pillar-accent, var(--accent-cyan));
  opacity: 0.8;
  transition: height var(--duration-fast);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.pillar-card:hover::before {
  height: 6px;
}

.pillar-top {
  margin-bottom: 2rem;
}

.pillar-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--pillar-accent, var(--accent-cyan));
  line-height: 1;
}

.pillar-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  font-weight: 600;
}

.pillar-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0B192C;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.pillar-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  font-weight: 500;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pillar-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.pillar-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text-main);
}

.pillar-feature-bullet {
  color: var(--pillar-accent, var(--accent-cyan));
  font-weight: 700;
}

.pillar-bottom {
  margin-top: auto;
}

/* Scrollytelling Section ("From Biology to Impact") */
.scrolly-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: #FFFFFF;
}

.timeline-tracker {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
  scrollbar-width: thin;
}

.timeline-step-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  min-width: 180px;
  text-align: left;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 0;
}

.timeline-step-btn:hover {
  background-color: var(--bg-tertiary);
}

.timeline-step-btn.active {
  background-color: #0B192C;
  border-color: #0B192C;
  box-shadow: 0 4px 15px rgba(11, 25, 44, 0.15);
}

.timeline-step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.timeline-step-btn.active .timeline-step-num {
  color: #38BDF8;
}

.timeline-step-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.25;
}

.timeline-step-btn.active .timeline-step-name {
  color: #FFFFFF;
}

.scrolly-display-card {
  background: linear-gradient(135deg, #0B192C 0%, #112240 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .scrolly-display-card {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.scrolly-stage-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #38BDF8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.scrolly-stage-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.scrolly-stage-desc {
  font-size: 1.05rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.scrolly-metrics-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #34D399;
  margin-bottom: 1.5rem;
}

.scrolly-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.scrolly-tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

/* PrecisionOncoAI Value Chain Interactive */
.ai-platform-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: var(--bg-secondary);
}

.ai-value-chain-container {
  margin-top: 3.5rem;
}

.value-chain-stepper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .value-chain-stepper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .value-chain-stepper {
    grid-template-columns: repeat(6, 1fr);
  }
}

.chain-step-node {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast);
  position: relative;
}

.chain-step-node:hover {
  transform: translateY(-3px);
  border-color: #818CF8;
}

.chain-step-node.active {
  background-color: #4F46E5;
  border-color: #4F46E5;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.chain-node-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #4F46E5;
  margin-bottom: 0.35rem;
}

.chain-step-node.active .chain-node-num {
  color: #C7D2FE;
}

.chain-node-name {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.25;
}

.chain-detail-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.chain-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .chain-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.chain-items-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.chain-data-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-tertiary);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  border-left: 3px solid #4F46E5;
}

/* Circular Bioeconomy Section */
.bioeconomy-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background: #FFFFFF;
}

.bioeconomy-diagram-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3.5rem;
}

@media (min-width: 1024px) {
  .bioeconomy-diagram-container {
    grid-template-columns: 1fr 1fr;
  }
}

.bio-loop-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1/1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loop-center-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669 0%, #0284C7 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  padding: 1.5rem;
  box-shadow: 0 0 35px rgba(5, 150, 105, 0.25);
  z-index: 2;
}

.loop-center-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.loop-center-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  opacity: 0.9;
}

.loop-orbit {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px dashed #CBD5E1;
  border-radius: 50%;
  animation: orbit-rotate 60s linear infinite;
}

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

.orbit-node {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.65rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.orbit-node:hover, .orbit-node.active {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
  transform: scale(1.05);
}

/* Technology Map Grid */
.tech-map-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: var(--bg-secondary);
}

.tech-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.tech-filter-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.tech-filter-pill:hover {
  border-color: #94A3B8;
}

.tech-filter-pill.active {
  background-color: #0B192C;
  border-color: #0B192C;
  color: #FFFFFF;
}

.tech-capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .tech-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-capabilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.capability-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--duration-normal) var(--ease-spring);
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}

.capability-cat-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.capability-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0B192C;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.capability-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.capability-specs {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  background: var(--bg-tertiary);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  color: #334155;
  margin-bottom: 1rem;
}

.capability-status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

/* Research & Pipeline Tracker */
.pipeline-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: #FFFFFF;
}

.pipeline-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.pipeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pipeline-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  transition: all var(--duration-fast);
}

@media (min-width: 1024px) {
  .pipeline-item-card {
    grid-template-columns: 1.2fr 1fr 0.4fr;
  }
}

.pipeline-item-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.pipeline-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.pipeline-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0B192C;
  margin-bottom: 0.35rem;
}

.pipeline-indication {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.trl-bar-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trl-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.775rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.trl-meter {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 3px;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}

.trl-segment {
  background: #CBD5E1;
  height: 100%;
}

.trl-segment.filled {
  background: linear-gradient(90deg, #0284C7, #059669);
}

/* Products & Catalog Grid */
.products-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: var(--bg-secondary);
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.product-code-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: var(--accent-cyan-light);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0B192C;
  margin-bottom: 0.25rem;
}

.product-indication {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.product-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.product-spec-label {
  color: var(--text-muted);
}

.product-spec-val {
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

/* Partnerships Section */
.partnerships-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: #FFFFFF;
}

.partner-sectors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .partner-sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .partner-sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.partner-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.75rem;
  transition: all var(--duration-fast);
}

.partner-card:hover {
  background: #FFFFFF;
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
}

.partner-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0B192C;
  margin-bottom: 0.75rem;
}

.partner-need-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.partner-need-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.partner-solution-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.partner-solution-text {
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
}

/* Collaboration Builder Form */
.collab-form-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  margin-top: 4rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background: #FFFFFF;
  color: var(--text-main);
  transition: border-color var(--duration-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Comparison Table (Native vs Recombinant) */
.comparison-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: var(--bg-secondary);
}

.comparison-table-wrapper {
  margin-top: 3rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

.comparison-table th {
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-light);
  color: #0B192C;
}

.comparison-table th.highlight-col {
  background: rgba(2, 132, 199, 0.08);
  color: var(--accent-cyan);
}

.comparison-table td {
  padding: 1.15rem 1.5rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table tr:hover td {
  background-color: #FAFAFA;
}

.comparison-table td.highlight-cell {
  background: rgba(2, 132, 199, 0.03);
  font-weight: 600;
  color: #0284C7;
}

/* Modals & Drawers */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 21, 40, 0.65);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-tertiary);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  background-color: var(--bg-dark);
  color: #94A3B8;
  padding-top: 5rem;
  padding-bottom: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.footer-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.footer-brand-title span {
  color: var(--accent-cyan);
}

.footer-tagline {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

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

.footer-link {
  font-size: 0.85rem;
  color: #94A3B8;
  text-decoration: none;
  transition: color var(--duration-fast);
}

.footer-link:hover {
  color: #38BDF8;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.775rem;
  color: #64748B;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.disclaimer-banner {
  background: rgba(2, 132, 199, 0.05);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  color: #0369A1;
  margin-top: 2rem;
  line-height: 1.5;
}

/* Functional Validation Capabilities Grid */
.functional-val-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

/* Native Antigens Catalog Category Tabs & Controls */
.catalog-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.catalog-tab-btn {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.catalog-tab-btn:hover {
  background: #FFFFFF;
  color: #0284C7;
  border-color: #0284C7;
}

.catalog-tab-btn.active {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.product-status-available {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.2);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.product-status-dev {
  background: rgba(2, 132, 199, 0.08);
  color: #0284C7;
  border: 1px solid rgba(2, 132, 199, 0.2);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.trl-unassigned-badge {
  display: inline-block;
  background: #F1F5F9;
  color: #64748B;
  font-size: 0.725rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  border: 1px solid #CBD5E1;
}

