/* ========================================
   BIODYN — Design System & Styles
   ======================================== */

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

/* --- Custom Properties --- */
:root {
  /* Colors */
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1425;
  --bg-card: rgba(22, 28, 50, 0.6);
  --bg-card-hover: rgba(30, 38, 65, 0.8);
  --bg-glass: rgba(16, 22, 42, 0.55);
  --border-glass: rgba(100, 140, 255, 0.12);
  --border-glass-hover: rgba(100, 180, 255, 0.25);

  --accent-cyan: #00d4ff;
  --accent-teal: #00c9a7;
  --accent-violet: #7c5cfc;
  --accent-pink: #f472b6;
  --accent-blue: #3b82f6;

  --text-primary: #e8ecf4;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-heading: #f1f5f9;

  --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #0d1530 30%, #131b3a 60%, #0a0e1a 100%);
  --gradient-accent: linear-gradient(135deg, #00d4ff, #7c5cfc);
  --gradient-accent-2: linear-gradient(135deg, #00c9a7, #00d4ff);
  --gradient-card: linear-gradient(145deg, rgba(22, 28, 50, 0.7), rgba(15, 20, 40, 0.4));

  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-teal);
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Section --- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 20px;
}

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

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-medium);
}

.nav.scrolled {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

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

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

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

.nav-cta {
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--gradient-accent);
  color: var(--bg-primary) !important;
  font-weight: 600;
  font-size: 0.85rem;
  -webkit-text-fill-color: var(--bg-primary) !important;
}

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

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: 32px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

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

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: var(--gradient-accent);
  color: var(--bg-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.25);
  color: var(--bg-primary);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border-glass-hover);
  cursor: pointer;
  transition: all var(--transition-medium);
}

.btn-secondary:hover {
  background: rgba(100, 140, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-glass);
}

.hero-stat h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-accent-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Grid mesh background --- */
.mesh-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.mesh-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(100, 140, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 140, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* --- Vision Section --- */
.vision {
  background: var(--bg-secondary);
}

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

.vision-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 24px;
}

.vision-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.vision-text p:last-child {
  margin-bottom: 0;
}

.vision-highlight {
  color: var(--accent-cyan) !important;
  font-weight: 500;
}

.vision-visual {
  position: relative;
}

.vision-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vision-stat-card {
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  transition: all var(--transition-medium);
}

.vision-stat-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateX(4px);
}

.vision-stat-card .icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.vision-stat-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.vision-stat-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Research Areas --- */
.research-areas {
  background: var(--bg-primary);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.research-card {
  padding: 40px 36px;
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--gradient-accent));
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.research-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

.research-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
}

.research-card:nth-child(2) .card-icon {
  background: rgba(124, 92, 252, 0.08);
  border-color: rgba(124, 92, 252, 0.15);
}

.research-card:nth-child(3) .card-icon {
  background: rgba(0, 201, 167, 0.08);
  border-color: rgba(0, 201, 167, 0.15);
}

.research-card:nth-child(4) .card-icon {
  background: rgba(244, 114, 182, 0.08);
  border-color: rgba(244, 114, 182, 0.15);
}

.research-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.research-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.research-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.research-card .tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.07);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.12);
}

.research-card:nth-child(2) .tag {
  background: rgba(124, 92, 252, 0.07);
  color: var(--accent-violet);
  border-color: rgba(124, 92, 252, 0.12);
}

.research-card:nth-child(3) .tag {
  background: rgba(0, 201, 167, 0.07);
  color: var(--accent-teal);
  border-color: rgba(0, 201, 167, 0.12);
}

.research-card:nth-child(4) .tag {
  background: rgba(244, 114, 182, 0.07);
  color: var(--accent-pink);
  border-color: rgba(244, 114, 182, 0.12);
}

/* --- How It Works (Flywheel) --- */
.flywheel {
  background: var(--bg-secondary);
}

.flywheel-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.flywheel-step {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition-medium);
  counter-increment: step;
}

.flywheel-step:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-3px);
}

.flywheel-step .step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.flywheel-step h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.flywheel-step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Why It Matters --- */
.why-matters {
  background: var(--bg-primary);
  position: relative;
}

.why-matters::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

.why-card {
  padding: 40px 32px;
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all var(--transition-medium);
  text-align: center;
}

.why-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
}

.why-card .why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
}

.why-card:nth-child(2) .why-icon {
  background: rgba(124, 92, 252, 0.08);
  border-color: rgba(124, 92, 252, 0.15);
}

.why-card:nth-child(3) .why-icon {
  background: rgba(0, 201, 167, 0.08);
  border-color: rgba(0, 201, 167, 0.15);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Portfolio --- */
.portfolio {
  background: var(--bg-secondary);
}

.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.portfolio-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: all var(--transition-medium);
}

.portfolio-item:hover {
  border-color: var(--border-glass-hover);
  transform: translateX(4px);
}

.portfolio-rank {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 36px;
}

.portfolio-info h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.portfolio-title-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
  display: inline-block;
}

.portfolio-title-link:hover {
  color: var(--accent-cyan);
}

.portfolio-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.portfolio-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-active {
  background: rgba(0, 201, 167, 0.1);
  color: var(--accent-teal);
  border: 1px solid rgba(0, 201, 167, 0.2);
}

.status-active::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  animation: pulse-dot 2s infinite;
}

.status-watchlist {
  background: rgba(100, 116, 139, 0.1);
  color: var(--text-muted);
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.status-completed {
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.24);
}

.status-paused {
  background: rgba(244, 114, 182, 0.1);
  color: #f9a8d4;
  border: 1px solid rgba(244, 114, 182, 0.24);
}

/* --- Publications --- */
.publications {
  background: var(--bg-primary);
}

.pub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pub-card {
  padding: 36px 32px;
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all var(--transition-medium);
}

.pub-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-3px);
}

.pub-type {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-violet);
  margin-bottom: 16px;
}

.pub-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
  line-height: 1.4;
}

.pub-title-link {
  color: var(--text-heading);
}

.pub-title-link:hover {
  color: var(--accent-cyan);
}

.pub-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pub-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.pub-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pub-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-glass-hover);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 600;
}

.pub-link:hover {
  border-color: var(--accent-cyan);
}

.content-empty,
.content-error {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.content-error {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.35);
}

/* --- Team --- */
.team {
  background: var(--bg-secondary);
}

.team-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px;
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  text-align: center;
  transition: all var(--transition-medium);
}

.team-card:hover {
  border-color: var(--border-glass-hover);
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bg-primary);
  margin: 0 auto 24px;
}

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 8px;
}

.team-affiliation {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.team-card .team-bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.team-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.team-link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
}

/* --- Footer --- */
.footer {
  padding: 60px 0 40px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-glass);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

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

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

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 14, 26, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 40px;
  }

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

  .nav-links a {
    font-size: 1.2rem;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .flywheel-steps {
    grid-template-columns: 1fr;
  }

  .portfolio-item {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  .portfolio-status {
    grid-column: 2;
  }

  .team-card {
    padding: 32px 24px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
