/* ============================================
   RadioLite Therapeutics Design System v4
   Brand-aligned: violet-to-crimson spectrum
   Fonts: Poppins (display) + Inter (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --ultraviolet: #21124B;
  --wine: #510833;
  --deep-red: #AC0809;
  --crimson: #D70D1D;
  --crimson-bright: #E30B23;
  --ink: #1A1330;
  --slate: #6B6577;
  --mist: #F6F3F9;
  --night: #080522;
  --white: #FFFFFF;

  --gradient: linear-gradient(90deg, var(--ultraviolet), var(--wine), var(--deep-red), var(--crimson-bright));
  --gradient-hero: linear-gradient(90deg, #7C3AED, #A855F7, #C026D3, #DB2777);
  --gradient-vert: linear-gradient(180deg, var(--ultraviolet), var(--wine), var(--deep-red), var(--crimson-bright));
  --gradient-radial: radial-gradient(ellipse at center, var(--wine) 0%, var(--ultraviolet) 70%);

  --accent-glow: rgba(215, 13, 29, 0.15);
  --accent-glow-strong: rgba(215, 13, 29, 0.3);

  --bg: #FFFFFF;
  --bg-warm: #F6F3F9;
  --bg-cream: #FAF8FC;
  --bg-dark: var(--night);

  --text: var(--ink);
  --text-secondary: var(--slate);
  --text-light: #9B95A7;
  --text-on-dark: rgba(255,255,255,0.85);
  --text-on-dark-dim: rgba(255,255,255,0.6);

  --border: #E8E3EE;
  --border-light: #F0ECF5;
  --border-dark: rgba(255,255,255,0.08);

  --shadow-sm: 0 1px 3px rgba(8,5,34,0.06);
  --shadow: 0 4px 24px rgba(8,5,34,0.08);
  --shadow-lg: 0 12px 48px rgba(8,5,34,0.12);
  --shadow-accent: 0 8px 32px rgba(172,8,9,0.18);
  --shadow-glow: 0 0 40px rgba(215,13,29,0.15);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1280px;
  --nav-height: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ultraviolet);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

p { color: var(--text-secondary); margin-bottom: 1.2rem; line-height: 1.7; }

a {
  color: var(--deep-red);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--crimson); }

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

/* ============================================
   Layout Utilities
   ============================================ */

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

.section { padding: 100px 0; }
.section-alt { background: var(--bg-warm); }
.section-cream { background: var(--bg-cream); }
.section-dark {
  background: #ffffff;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-radial);
  opacity: 0.15;
  pointer-events: none;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: var(--text-on-dark-dim); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 1;
}

.section-header h2 { margin-bottom: 16px; }

/* Spectrum rule divider */
.spectrum-rule {
  width: 80px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* ============================================
   Navigation
   ============================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Logo sphere + text */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-sphere {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #A78BFA, #7C3AED, #D946EF, #E11D48);
  box-shadow: 0 0 12px rgba(215, 13, 29, 0.25), inset 0 0 8px rgba(255,255,255,0.15);
  display: inline-block;
  position: relative;
  animation: logo-pulse 3s ease-in-out infinite;
  flex-shrink: 0;
}

.logo-sphere::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #A78BFA, #7C3AED, #D946EF, #E11D48);
  opacity: 0.25;
  filter: blur(6px);
  animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ultraviolet);
  letter-spacing: -0.03em;
}

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gradient);
  display: inline-block;
  position: relative;
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.logo-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.3;
  animation: pulse-ring 2.5s ease-in-out infinite;
}

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

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

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

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  font-family: var(--font-body);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  border-radius: 1px;
  transition: var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active { color: var(--deep-red); }

.nav-cta {
  padding: 10px 24px;
  background: var(--gradient);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  font-family: var(--font-display);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(172,8,9,0.25);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(172,8,9,0.35);
  color: #fff !important;
}

.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ultraviolet);
  transition: var(--transition);
  border-radius: 1px;
}

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

/* ============================================
   Hero
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--night);
  padding-top: var(--nav-height);
}

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

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  padding: 60px 28px;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  margin-bottom: 28px;
  font-weight: 700;
}

.hero-content h1 .accent {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(172,8,9,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(172,8,9,0.4);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}

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

.btn-outline {
  background: transparent;
  color: var(--deep-red);
  border: 1.5px solid var(--deep-red);
}

.btn-outline:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Hero visual — Sphere */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual-inner {
  width: 400px;
  height: 400px;
  position: relative;
}

.sphere {
  position: absolute;
  width: 280px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--gradient-radial);
  box-shadow: 
    0 0 60px 20px rgba(172,8,9,0.2),
    0 0 120px 40px rgba(33,18,75,0.15),
    inset 0 0 60px rgba(255,255,255,0.05);
  animation: sphere-float 6s ease-in-out infinite;
}

.sphere::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.08;
  filter: blur(30px);
  animation: sphere-pulse 4s ease-in-out infinite;
}

.sphere::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: 
    repeating-conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,0.03) 2deg, transparent 4deg);
}

@keyframes sphere-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-15px); }
}

@keyframes sphere-pulse {
  0%, 100% { opacity: 0.08; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(1.05); }
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(215,13,29,0.15);
  animation: rotate 30s linear infinite;
}

.hero-ring:nth-child(2) {
  width: 340px; height: 340px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 45s;
}

.hero-ring:nth-child(3) {
  width: 400px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(81,8,51,0.12);
  animation-direction: reverse;
  animation-duration: 35s;
}

.hero-ring:nth-child(4) {
  width: 460px; height: 460px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(33,18,75,0.08);
  animation-duration: 55s;
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-particles {
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
}

.hero-particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--crimson);
  border-radius: 50%;
  animation: float-particle 5s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes float-particle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-25px) scale(1.5); opacity: 0.9; }
}

/* Wave decoration */
.wave-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--gradient);
  opacity: 0.06;
  clip-path: ellipse(70% 100% at 50% 100%);
  z-index: 1;
}

/* ============================================
   Stats Strip
   ============================================ */

.stats-strip {
  padding: 56px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.stats-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ultraviolet);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-number .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ============================================
   Cards
   ============================================ */

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

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--deep-red);
}

.card-icon svg { stroke: currentColor; }

.card h3 { margin-bottom: 14px; color: var(--ultraviolet); }
.card p { margin-bottom: 0; font-size: 0.95rem; }

/* ============================================
   How It Works / Steps
   ============================================ */

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

.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px; left: 18%; right: 18%;
  height: 2px;
  background: var(--gradient);
  opacity: 0.3;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-number {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--deep-red);
  margin: 0 auto 28px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(172,8,9,0.1);
}

.step-number::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gradient);
  z-index: -1;
}

.step:hover .step-number {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(172,8,9,0.2);
}

.step h3 { margin-bottom: 14px; color: var(--ultraviolet); }
.step p { margin-bottom: 0; font-size: 0.95rem; }

/* ============================================
   Dark Data Section
   ============================================ */

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.data-item {
  text-align: center;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.data-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(215,13,29,0.2);
  transform: translateY(-4px);
}

.data-number {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 14px;
}

.data-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  line-height: 1.5;
}

.data-source {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 12px;
}

/* ============================================
   News / Updates
   ============================================ */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: var(--bg);
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.news-image {
  width: 100%;
  height: 200px;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.08);
}

.news-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--gradient);
  opacity: 0.1;
}

.news-body { padding: 28px; }

.news-date {
  font-size: 0.78rem;
  color: var(--deep-red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.news-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.35;
  color: var(--ultraviolet);
}

.news-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================
   CTA Banner
   ============================================ */

.cta-banner {
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}

.cta-banner h2 { margin-bottom: 16px; color: var(--ultraviolet); }
.cta-banner p { max-width: 560px; margin: 0 auto 32px; }

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--night);
  color: rgba(255,255,255,0.55);
  padding: 80px 0 40px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  font-family: var(--font-display);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }

.footer-col a {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--crimson); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   Page Header (non-home pages)
   ============================================ */

.page-header {
  padding: 150px 0 70px;
  background: var(--night);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-radial);
  opacity: 0.12;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.page-header p {
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.breadcrumb a { color: rgba(255,255,255,0.45); }
.breadcrumb a:hover { color: var(--crimson); }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ============================================
   Content Sections (inner pages)
   ============================================ */

.content-section { padding: 90px 0; }
.content-section-alt { background: var(--bg-warm); }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

.content-text h2 { margin-bottom: 22px; color: var(--ultraviolet); }
.content-text h3 { margin-bottom: 14px; margin-top: 32px; color: var(--wine); }

.content-text ul { list-style: none; padding: 0; }
.content-text li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.content-text li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gradient);
}

.content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-warm);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
  position: relative;
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Team / People
   ============================================ */

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

.team-card {
  text-align: center;
  padding: 44px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
  border-color: transparent;
}

.team-card:hover::before { transform: scaleX(1); }

.team-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--bg-warm);
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  border: 3px solid var(--border);
  overflow: hidden;
  position: relative;
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.team-card:hover .team-avatar::after { opacity: 0.15; }

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 { margin-bottom: 6px; color: var(--ultraviolet); }

.team-role {
  font-size: 0.85rem;
  color: var(--deep-red);
  font-weight: 600;
  margin-bottom: 14px;
  font-family: var(--font-display);
}

.team-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.team-card .team-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.team-card .team-links a {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

.team-card .team-links a:hover { color: var(--deep-red); }

/* ============================================
   Contact Form
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 28px; color: var(--ultraviolet); }

.contact-info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-red);
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--ultraviolet);
}

.contact-info-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ultraviolet);
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--deep-red);
  box-shadow: 0 0 0 4px rgba(172,8,9,0.08);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit { width: 100%; justify-content: center; }

/* ============================================
   Investors Page Specific
   ============================================ */

.investor-highlight {
  background: var(--gradient);
  color: #fff;
  padding: 56px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-accent);
}

.investor-highlight::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: repeating-conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,0.03) 3deg, transparent 6deg);
  animation: slow-rotate 60s linear infinite;
}

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

.investor-highlight h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.investor-highlight p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.use-of-funds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.fund-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.fund-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.fund-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.fund-card:hover::before { transform: scaleX(1); }

.fund-percent {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}

.fund-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.timeline-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.timeline-card:hover::before { transform: scaleX(1); }

.timeline-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.timeline-card h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--ultraviolet);
}

.timeline-card p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ============================================
   Publication Cards
   ============================================ */

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

.pub-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pub-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--deep-red);
}

.pub-card .pub-journal {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--deep-red);
  font-weight: 600;
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.pub-card h4 {
  font-size: 1.05rem;
  line-height: 1.45;
  margin-bottom: 14px;
  color: var(--ultraviolet);
}

.pub-card .pub-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.pub-card .pub-meta a {
  color: var(--deep-red);
  font-weight: 500;
}

/* ============================================
   Pipeline Gantt
   ============================================ */

.pipeline-gantt {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  overflow-x: auto;
}

.gantt-chart { min-width: 900px; }

.gantt-header {
  display: grid;
  grid-template-columns: 220px repeat(8, 1fr);
  gap: 4px;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gantt-header span:first-child { text-align: left; padding-left: 10px; }

.gantt-row {
  display: grid;
  grid-template-columns: 220px repeat(8, 1fr);
  gap: 4px;
  align-items: center;
  margin-bottom: 10px;
  min-height: 40px;
}

.gantt-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ultraviolet);
  padding-right: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-display);
}

.gantt-label small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
  font-family: var(--font-body);
}

.gantt-cell {
  height: 32px;
  border-radius: 6px;
  background: var(--bg-warm);
  position: relative;
}

.gantt-bar {
  position: absolute;
  height: 100%;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  font-family: var(--font-display);
}

.gantt-bar.discovery { background: var(--slate); }
.gantt-bar.preclinical { background: var(--secondary-light); }
.gantt-bar.ind { background: var(--deep-red); }
.gantt-bar.phase1 { background: var(--wine); }
.gantt-bar.phase2 { background: var(--ultraviolet); }

.gantt-legend {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.gantt-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-family: var(--font-display);
}

.gantt-legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

/* ============================================
   Newsletter
   ============================================ */

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 32px auto 0;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--deep-red);
  box-shadow: 0 0 0 4px rgba(172,8,9,0.08);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-visual { display: none; }
  .content-grid { grid-template-columns: 1fr; gap: 48px; }
  .content-grid.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .data-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .pub-grid { grid-template-columns: 1fr; }
  .use-of-funds { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: 1fr; }
  .gantt-header, .gantt-row { grid-template-columns: 160px repeat(8, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 28px;
    gap: 18px;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .mobile-toggle { display: flex; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .section { padding: 64px 0; }
  .hero { min-height: auto; }
  .hero-inner { padding: 40px 24px; min-height: auto; }
  .page-header { padding: 130px 0 48px; }
  .investor-highlight { padding: 36px 24px; }
  .contact-form { padding: 28px; }
  .newsletter-form { flex-direction: column; }
}

/* ============================================
   Animations
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ============================================
   Toast notifications
   ============================================ */

.toast-container {
  position: fixed;
  top: 96px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease, toastOut 0.3s ease 3.2s forwards;
  max-width: 380px;
  font-family: var(--font-display);
}

.toast-success { background: #10B981; color: #fff; }
.toast-error { background: #EF4444; color: #fff; }
.toast-info { background: var(--ultraviolet); color: #fff; }

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* ============================================
   Scrollbar & Selection
   ============================================ */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-warm); }
::-webkit-scrollbar-thumb { background: var(--gradient); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--deep-red); }

::selection {
  background: rgba(172, 8, 9, 0.15);
  color: var(--ultraviolet);
}

/* ============================================
   Accessibility focus states
   ============================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--deep-red);
  outline-offset: 3px;
}

/* ============================================
   Preloader
   ============================================ */

.preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--night);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-spinner {
  width: 56px; height: 56px;
  border: 3px solid rgba(255,255,255,0.08);
  border-top-color: var(--crimson);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.preloader-text {
  color: var(--crimson);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

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

/* ============================================
   Back to top
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(172,8,9,0.3);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(172,8,9,0.4);
}


/* Team rows - Leadership and Team */
.leadership-row {
  grid-template-columns: repeat(3, 1fr);
}

.team-row {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.team-divider {
  text-align: center;
  margin: 56px 0 32px;
}

.team-divider h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ultraviolet);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .leadership-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-row {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .leadership-row {
    grid-template-columns: 1fr;
  }
  .team-row {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .team-card {
    padding: 32px 20px;
  }
  .team-avatar {
    width: 80px;
    height: 80px;
  }
  .team-divider {
    margin: 40px 0 24px;
  }
  .team-divider h3 {
    font-size: 1.3rem;
  }
}

/* ============================================
   Global Light Background
   ============================================ */

html,
body {
  background: #ffffff;
}

/* Default text on light pages */
body {
  color: var(--text);
}

/* ============================================
   Light page content
   ============================================ */

.content-section,
.content-section-alt,
.stats-strip,
.cta-banner {
  background-color: #ffffff;
}

/* ============================================
   Keep dark sections DARK
   ============================================ */

.section-dark {
  background: var(--night);
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-dark p {
  color: var(--text-on-dark-dim);
}

/* ============================================
   Keep homepage HERO DARK
   ============================================ */

.hero {
  background: var(--night);
}

.hero-content h1 {
  color: #fff;
}

.hero-content p {
  color: rgba(255,255,255,0.7);
}

/* ============================================
   Keep inner-page headers DARK
   ============================================ */

.page-header {
  background: var(--night);
}

.page-header h1 {
  color: #fff;
}

.page-header p {
  color: rgba(255,255,255,0.65);
}

.breadcrumb a {
  color: rgba(255,255,255,0.45);
}

.breadcrumb span {
  color: rgba(255,255,255,0.25);
}

/* ============================================
   Navigation stays light
   ============================================ */

.site-header {
  background: rgba(255,255,255,0.95);
}

.nav-links a {
  color: var(--ink);
}

/* ============================================
   Footer stays dark
   ============================================ */

.site-footer {
  background: var(--night);
  color: rgba(255,255,255,0.55);
}
/* ============================================
   HOMEPAGE ONLY — LIGHT HERO
   ============================================ */

.hero {
  background: #ffffff;
}

.hero-content h1 {
  color: #21124B;
}

.hero-content p {
  color: #6B6577;
}

.hero .btn-secondary {
  color: #21124B;
  border-color: rgba(33, 18, 75, 0.25);
}

.hero .btn-secondary:hover {
  color: #AC0809;
  border-color: #AC0809;
}