/* =====================================================
   Future Nexus — Centurion University
   Dark Grid + Neon Glassmorphism Design System
   ===================================================== */

:root {
  --navy:       #0c1a22;
  --navy-mid:   #0e1d2b;
  --navy-light: #142131;
  --purple:     #1a6868;
  --purple-glow:#2ab5ae;
  --violet:     #5dd4cd;
  --cyan:       #2ab5ae;
  --blue:       #1e8c86;
  --white:      #edf2f4;
  --grey:       #7a8e9c;
  --accent:     #2ab5ae;
  --gold:       #f59e0b;

  /* Card system */
  --card-bg:    #111e28;
  --card-bg-mid: #142030;
  --card-border: rgba(255,255,255,0.07);

  /* Glass system */
  --glass-bg:      rgba(255, 255, 255, 0.03);
  --glass-bg-mid:  rgba(255, 255, 255, 0.055);
  --glass-bg-strong: rgba(255, 255, 255, 0.08);
  --glass-border:  rgba(255, 255, 255, 0.07);
  --glass-border-bright: rgba(255, 255, 255, 0.12);
  --glass-blur:    blur(24px);
  --glass-shadow:  0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  --glass-shadow-hover: 0 20px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);

  --font-head:  'Space Grotesk', 'Manrope', sans-serif;
  --font-body:  'Inter', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;

  --radius:     14px;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NOISE GRAIN ────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ─── HALFTONE DOT OVERLAY ───────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(42,181,174,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ─── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: rgba(42,181,174,0.4); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(42,181,174,0.7); }

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; }
h1 { font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--grey); line-height: 1.8; }
a  { text-decoration: none; color: inherit; }

/* ══════════════════════════════════════════════════════
   BLOB SYSTEM
   ════════════════════════════════════════════════════ */
.blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  animation: blobDrift var(--dur, 50s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}

@keyframes blobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(var(--tx1, 20px), var(--ty1, -30px)) scale(1.04); }
  66%  { transform: translate(var(--tx2, -15px), var(--ty2, 15px)) scale(0.97); }
  100% { transform: translate(var(--tx3, 25px), var(--ty3, 35px)) scale(1.06); }
}

.blob-cyan-lg {
  width: 800px; height: 800px;
  background: radial-gradient(circle at 40% 35%, rgba(20,110,105,0.28), rgba(15,80,80,0.10) 55%, transparent 80%);
  filter: blur(100px);
  top: -200px; right: -80px;
  --dur: 48s; --tx1: 40px; --ty1: 30px; --tx2: -20px; --ty2: -15px; --tx3: 30px; --ty3: 50px;
}

.blob-blue-lg {
  width: 900px; height: 900px;
  background: radial-gradient(circle at 50% 50%, rgba(18,90,90,0.20), rgba(10,55,55,0.07) 55%, transparent 80%);
  filter: blur(120px);
  bottom: -300px; left: -250px;
  --dur: 60s; --delay: -20s; --tx1: 30px; --ty1: -40px; --tx2: -25px; --ty2: 20px; --tx3: -40px; --ty3: -30px;
}

.blob-magenta {
  width: 550px; height: 550px;
  background: radial-gradient(circle at 50% 45%, rgba(30,120,115,0.14), transparent 70%);
  filter: blur(90px);
  top: 15%; left: 28%;
  --dur: 54s; --delay: -30s; --tx1: -30px; --ty1: 25px; --tx2: 40px; --ty2: -20px; --tx3: -15px; --ty3: 40px;
}

.blob-cyan-sm {
  width: 400px; height: 400px;
  background: radial-gradient(circle at 50% 50%, rgba(42,181,174,0.14), transparent 70%);
  filter: blur(75px);
  top: 38%; left: -100px;
  --dur: 42s; --delay: -12s; --tx1: 25px; --ty1: -15px; --tx2: -10px; --ty2: 30px; --tx3: 20px; --ty3: -25px;
}

.blob-gold {
  width: 360px; height: 360px;
  background: radial-gradient(circle at 50% 50%, rgba(20,100,100,0.12), transparent 70%);
  filter: blur(80px);
  top: 18%; right: -30px;
  --dur: 66s; --delay: -38s; --tx1: -35px; --ty1: -25px; --tx2: 20px; --ty2: 30px; --tx3: -20px; --ty3: -40px;
}

.blob-purple {
  width: 500px; height: 500px;
  background: radial-gradient(circle at 50% 50%, rgba(18,90,88,0.16), transparent 70%);
  filter: blur(90px);
  bottom: 5%; right: 15%;
  --dur: 52s; --delay: -25s; --tx1: 20px; --ty1: 30px; --tx2: -30px; --ty2: -20px; --tx3: 35px; --ty3: -35px;
}

.blob-section-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(30,110,108,0.14), transparent 65%);
  filter: blur(80px);
  --dur: 56s;
}

.blob-section-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(20,90,88,0.10), transparent 65%);
  filter: blur(70px);
  --dur: 44s; --delay: -18s;
}

/* ══════════════════════════════════════════════════════
   GLASSMORPHISM UTILITIES
   ════════════════════════════════════════════════════ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-mid {
  background: var(--glass-bg-mid);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-border-bright);
  box-shadow: var(--glass-shadow);
}

/* ─── NAVBAR ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  transition: background 0.5s var(--transition), backdrop-filter 0.5s;
}

#navbar.scrolled {
  background: rgba(10, 20, 28, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(42,181,174,0.1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-logo img {
  height: 70px;
  margin-block: -13px;
  transition: opacity 0.3s;
}
.nav-logo img:hover { opacity: 0.85; }

.nav-links { display: flex; gap: 1.8rem; list-style: none; }

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.3s;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width 0.3s var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

/* ─── DROPDOWN NAV ───────────────────────────────────── */
.has-dropdown { position: relative; }

.nav-chevron {
  width: 11px; height: 11px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
  margin-top: -2px;
  transition: transform 0.25s var(--transition);
  stroke: currentColor;
}

.has-dropdown:hover .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 210px;
  background: rgba(4, 6, 18, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 0.4rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s var(--transition);
  box-shadow: 0 20px 56px rgba(0,0,0,0.7);
  z-index: 200;
}

.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* small top notch */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: rgba(4, 6, 18, 0.97);
  border-left: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid rgba(255,255,255,0.07);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.nav-dropdown li a {
  display: block;
  padding: 0.65rem 1.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(240,244,255,0.75);
  letter-spacing: 0.01em;
  text-transform: none;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
  white-space: nowrap;
}

.nav-dropdown li a::after { display: none; }

.nav-dropdown li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
  padding-left: 1.6rem;
}

.nav-dropdown li + li { border-top: 1px solid rgba(255,255,255,0.04); }

.nav-cta {
  padding: 0.55rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: rgba(37,99,235,0.5);
  border-color: var(--purple-glow);
  box-shadow: 0 0 24px rgba(37,99,235,0.4);
}

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* ─── SIDE DECORATIONS ───────────────────────────────── */
.side-label {
  position: fixed; top: 50%;
  writing-mode: vertical-rl;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(139,154,191,0.5);
  z-index: 100;
}
.side-label.left  { left: 1.8rem; transform: translateY(-50%) rotate(180deg); }
.side-label.right { right: 1.8rem; transform: translateY(-50%); }

.side-socials {
  position: fixed; right: 1.5rem; bottom: 3.5rem;
  display: flex; flex-direction: column; gap: 1.2rem;
  z-index: 100;
}
.side-socials a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(139,154,191,0.5);
  transition: color 0.3s, transform 0.3s;
}
.side-socials a:hover { color: var(--purple-glow); transform: scale(1.2); }
.side-socials svg { width: 16px; height: 16px; fill: currentColor; }

/* ─── HERO ───────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0c1a22 0%, #0d1f2b 50%, #091520 100%);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 9rem 6rem 4rem;
  width: 100%;
  max-width: 1300px;
}

.hero-eyebrow {
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  color: rgba(93,212,205,0.65);
  background: rgba(42,181,174,0.06);
  border: 1px solid rgba(42,181,174,0.18);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.6rem;
  width: fit-content;
}
.hero-eyebrow::before { display: none; }

.hero-title {
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 1.05;
  margin-bottom: 1.4rem;
  background: linear-gradient(135deg, #ffffff 0%, #5dd4cd 60%, #2ab5ae 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.025em;
}

.typewriter-wrap {
  display: block;
  min-height: 1.15em;
  white-space: nowrap;
  font-size: clamp(2.4rem, 5.2vw, 5rem);
}

.typewriter-text {
  background: linear-gradient(90deg, #2ab5ae, #5dd4cd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typewriter-cursor {
  display: inline-block;
  -webkit-text-fill-color: rgba(42,181,174,0.9);
  color: rgba(42,181,174,0.9);
  animation: blink 0.75s step-end infinite;
  font-weight: 300;
  margin-left: 2px;
}

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

.hero-subtitle {
  font-size: 1rem;
  color: rgba(139,154,191,0.9);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.8rem 1.6rem;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 6px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; text-transform: none;
  color: #0d1a22;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
  cursor: pointer;
}
.btn-primary:hover {
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
.btn-primary svg { width: 15px; height: 15px; stroke: currentColor; fill: none; transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(240,244,255,0.8);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, background 0.3s;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
}

.hero-scroll {
  position: absolute;
  bottom: 5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(139,154,191,0.5);
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  z-index: 10;
  animation: scrollBounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(59,130,246,0.7), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─── HERO TICKER ────────────────────────────────────── */
.hero-ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  overflow: hidden;
  padding: 0.85rem 0;
  background: rgba(6,9,26,0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255,255,255,0.07);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 2.2rem;
  flex-shrink: 0;
}

.ticker-item img {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.3s;
}
.ticker-item img.ticker-png {
  filter: none;
  mix-blend-mode: screen;
  opacity: 0.75;
}
.ticker-item:hover img { opacity: 0.9; }

.ticker-item span {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-mono);
  white-space: nowrap;
  transition: color 0.3s;
}
.ticker-item:hover span { color: rgba(255,255,255,0.75); }

.ticker-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
  margin: 0 0.5rem;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SECTION COMMON ─────────────────────────────────── */
.section { padding: 8rem 3rem; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 0.28rem 1rem;
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: none;
  color: rgba(200,230,228,0.55);
  margin-bottom: 1.2rem;
}
.section-label::before { display: none; }

.section-divider {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
}

/* ─── DOMAINS ────────────────────────────────────────── */
#domains { background: transparent; overflow: hidden; }

.domains-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 4rem; gap: 2rem; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.domains-header h2 { max-width: 600px; }
.domains-header p  { max-width: 320px; text-align: right; }

.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative; z-index: 2;
}

.domain-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--transition), border-color 0.4s, box-shadow 0.4s;
}

.domain-card::before { display: none; }
.domain-card::after { display: none; }

.domain-card:hover {
  transform: translateY(-6px);
  border-color: rgba(42,181,174,0.25);
  box-shadow: var(--glass-shadow-hover);
}

/* ── Visual header area (QDT pattern) ── */
.domain-card-visual {
  position: relative;
  height: 175px;
  background: #090f16;
  overflow: hidden;
  flex-shrink: 0;
}
.domain-card-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(42,181,174,0.13) 1px, transparent 1px);
  background-size: 18px 18px;
  z-index: 0;
}

/* domain-specific dot tint */
.domain-card.xr .domain-card-visual::before { background-image: radial-gradient(circle, rgba(34,211,238,0.13) 1px, transparent 1px); background-size: 18px 18px; }
.domain-card.design .domain-card-visual::before { background-image: radial-gradient(circle, rgba(168,85,247,0.12) 1px, transparent 1px); background-size: 18px 18px; }
.domain-card.blockchain .domain-card-visual::before { background-image: radial-gradient(circle, rgba(245,158,11,0.12) 1px, transparent 1px); background-size: 18px 18px; }

/* diagonal accent line */
.domain-card-visual::after {
  content: '';
  position: absolute;
  top: -40px; left: -80px;
  width: 200%; height: 200%;
  background: linear-gradient(135deg, transparent 45%, rgba(42,181,174,0.07) 50%, transparent 55%);
  pointer-events: none; z-index: 1;
}
.domain-card.xr .domain-card-visual::after { background: linear-gradient(135deg, transparent 45%, rgba(34,211,238,0.07) 50%, transparent 55%); }
.domain-card.design .domain-card-visual::after { background: linear-gradient(135deg, transparent 45%, rgba(168,85,247,0.07) 50%, transparent 55%); }
.domain-card.blockchain .domain-card-visual::after { background: linear-gradient(135deg, transparent 45%, rgba(245,158,11,0.07) 50%, transparent 55%); }

/* ── Card content area ── */
.domain-card-content {
  padding: 1.75rem 2rem;
  flex: 1; display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.domain-number {
  position: absolute; top: 1rem; right: 1.25rem;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.35);
  z-index: 3;
}

.domain-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; position: relative;
}
.domain-icon-wrap::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 17px;
  border: 1px solid rgba(255,255,255,0.12);
}
.domain-icon-wrap svg { width: 32px; height: 32px; }

.domain-card h3 { margin-bottom: 0.65rem; font-size: 1.2rem; font-weight: 700; }
.domain-card p  { font-size: 0.85rem; margin-bottom: 1.25rem; line-height: 1.7; }

.domain-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }

.tag {
  padding: 0.25rem 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 0.7rem; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
}

.domain-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.45);
  margin-top: auto;
  transition: color 0.3s, gap 0.3s;
}
.domain-link::after { content: ' →'; }
.domain-link svg { display: none; }
.domain-card:hover .domain-link { color: var(--cyan); gap: 0.7rem; }

/* Domain accent overrides */
.domain-card.xr .domain-icon-wrap { background: rgba(34,211,238,0.1); }
.domain-card.xr .domain-icon-wrap svg { stroke: #22d3ee; fill: none; }
.domain-card.xr .tag { color: #22d3ee; border-color: rgba(34,211,238,0.25); background: rgba(34,211,238,0.06); }

.domain-card.design .domain-icon-wrap { background: rgba(168,85,247,0.1); }
.domain-card.design .domain-icon-wrap svg { stroke: #a855f7; fill: none; }
.domain-card.design .tag { color: #c084fc; border-color: rgba(168,85,247,0.25); background: rgba(168,85,247,0.07); }
.domain-card.design .domain-link { color: rgba(255,255,255,0.45); }
.domain-card.design:hover .domain-link { color: #a855f7; }
.domain-card.design:hover { border-color: rgba(168,85,247,0.25); }

.domain-card.blockchain .domain-icon-wrap { background: rgba(245,158,11,0.1); }
.domain-card.blockchain .domain-icon-wrap svg { stroke: var(--gold); fill: none; }
.domain-card.blockchain .tag { color: var(--gold); border-color: rgba(245,158,11,0.25); background: rgba(245,158,11,0.07); }
.domain-card.blockchain .domain-link { color: rgba(255,255,255,0.45); }
.domain-card.blockchain:hover .domain-link { color: var(--gold); }
.domain-card.blockchain:hover { border-color: rgba(245,158,11,0.22); }

.domain-canvas-wrap {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.35; pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s;
}
.domain-card:hover .domain-canvas-wrap { opacity: 0.6; }

/* ─── STATS ──────────────────────────────────────────── */
#stats { padding: 5rem 3rem; position: relative; overflow: hidden; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 2;
}

.stat-item {
  text-align: center; padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  position: relative;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.stat-item::after {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(42,181,174,0.2), transparent);
}
.stat-item:hover { border-color: rgba(42,181,174,0.25); transform: translateY(-4px); box-shadow: var(--glass-shadow-hover); }

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800;
  background: linear-gradient(135deg, #ffffff, #2ab5ae);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }

/* ══════════════════════════════════════════════════════
   PROGRAMS — compact 3-column grid
   ════════════════════════════════════════════════════ */
#programs { overflow: hidden; }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative; z-index: 2;
  align-items: start;
}

.program-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--transition), border-color 0.35s, box-shadow 0.35s;
}

/* Neon top accent stripe */
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--pc-accent, var(--cyan));
  opacity: 0.8;
}

/* Subtle inner top highlight */
.program-card::after {
  content: '';
  position: absolute;
  top: 2px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
}

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

.program-card.xr {
  --pc-accent: var(--cyan);
  border-color: rgba(59,130,246,0.18);
}
.program-card.xr:hover { border-color: rgba(59,130,246,0.35); }

.program-card.design {
  --pc-accent: var(--accent);
  border-color: rgba(37,99,235,0.18);
}
.program-card.design:hover { border-color: rgba(37,99,235,0.35); }

.program-card.blockchain {
  --pc-accent: var(--gold);
  border-color: rgba(245,158,11,0.18);
}
.program-card.blockchain:hover { border-color: rgba(245,158,11,0.35); }

.program-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.program-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.program-icon.xr         { background: rgba(59,130,246,0.12); }
.program-icon.xr svg     { stroke: var(--cyan); }
.program-icon.design     { background: rgba(37,99,235,0.12); }
.program-icon.design svg { stroke: var(--accent); }
.program-icon.blockchain     { background: rgba(245,158,11,0.12); }
.program-icon.blockchain svg { stroke: var(--gold); }
.program-icon svg { width: 22px; height: 22px; }

.program-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--grey);
  margin-bottom: 0.2rem;
  display: block;
}

.program-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.program-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--grey);
  margin-bottom: 1.2rem;
}

.program-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.4rem;
}

.program-list li {
  font-size: 0.77rem;
  color: rgba(139,154,191,0.85);
  padding: 0.42rem 0.8rem;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: border-left-color 0.2s var(--transition), color 0.2s, background 0.2s;
  line-height: 1.4;
}

.program-card.xr .program-list li:hover {
  border-left-color: var(--cyan);
  color: var(--white);
  background: rgba(59,130,246,0.04);
}
.program-card.design .program-list li:hover {
  border-left-color: var(--accent);
  color: var(--white);
  background: rgba(37,99,235,0.04);
}
.program-card.blockchain .program-list li:hover {
  border-left-color: var(--gold);
  color: var(--white);
  background: rgba(245,158,11,0.04);
}

.program-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ── Tool logos — shared base (domain cards + program cards) ── */
.domain-tool-logos,
.tool-logos {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

/* Domain card logo strip */
.domain-tool-logos {
  margin-bottom: 1.2rem;
  padding: 0.7rem 0.85rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}

/* Program card logo strip */
.program-tools {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.tools-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.8rem;
  opacity: 0.7;
}

/* All SVG logos — white, larger */
.domain-tool-logos img,
.tool-logos img {
  height: 26px;
  width: auto;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s, transform 0.25s;
  object-fit: contain;
}

.domain-tool-logos img.no-invert,
.tool-logos img.no-invert {
  filter: none;
  opacity: 0.85;
}

.domain-tool-logos img:hover,
.tool-logos img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* PNG logos (white-background) — frosted chip, original colors */
.domain-tool-logos img.logo-png,
.tool-logos img.logo-png {
  height: 24px;
  filter: none;
  opacity: 0.92;
  background: rgba(255,255,255,0.93);
  border-radius: 5px;
  padding: 3px 10px;
  box-sizing: content-box;
}

/* Program card "Explore Curriculum" link */
.program-explore-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.program-explore-link svg { width: 13px; height: 13px; transition: transform 0.2s; }
.program-explore-link:hover { color: rgba(255,255,255,0.85); gap: 0.75rem; }
.program-explore-link:hover svg { transform: translateX(3px); }
.program-card.xr .program-explore-link:hover { color: #22d3ee; }
.program-card.design .program-explore-link:hover { color: #e040fb; }
.program-card.blockchain .program-explore-link:hover { color: #f59e0b; }

/* ─── ABOUT ──────────────────────────────────────────── */
#about { position: relative; overflow: hidden; }

#about-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.3; pointer-events: none;
}

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
  position: relative; z-index: 2;
}

.about-visual { position: relative; }

.about-image-frame {
  aspect-ratio: 4/5;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  position: relative;
}

.about-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-image-frame::after {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
}

.about-image-frame .placeholder-img {
  width: 80%; height: 80%; border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center; padding: 1rem;
}

.about-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 120px; height: 120px;
  background: rgba(37,99,235,0.6);
  backdrop-filter: blur(16px);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  border: 3px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 40px rgba(37,99,235,0.5);
}
.about-badge .badge-num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; line-height: 1; color: var(--white); }
.about-badge .badge-text { font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.65); }

.about-content h2 { margin-bottom: 1.5rem; }
.about-content .lead { font-size: 1.05rem; color: rgba(240,244,255,0.8); margin-bottom: 2rem; line-height: 1.9; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.5rem; }

.mv-card {
  padding: 1.6rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.mv-card::after {
  content: '';
  position: absolute; top: 0; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.18), transparent);
}
.mv-card:hover { border-color: rgba(255,255,255,0.2); box-shadow: var(--glass-shadow-hover); }

.mv-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.mv-icon svg { width: 20px; height: 20px; stroke: var(--cyan); fill: none; }
.mv-card h4 { margin-bottom: 0.6rem; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cyan); }
.mv-card p  { font-size: 0.84rem; line-height: 1.7; }

/* Full mission/vision cards */
.mv-full { margin-top: 5rem; position: relative; z-index: 2; }
.mv-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.mv-full-card {
  padding: 3rem;
  border-radius: 18px;
  position: relative; overflow: hidden;
  background: var(--glass-bg-mid);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-border-bright);
  box-shadow: var(--glass-shadow);
}
.mv-full-card::after {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.22), transparent);
}

.mv-full-card.mission { border-color: rgba(37,99,235,0.3); }
.mv-full-card.vision  { border-color: rgba(59,130,246,0.25); }

.mv-full-card .mv-num {
  font-family: var(--font-mono); font-size: 5rem; font-weight: 800;
  position: absolute; top: 1rem; right: 2rem;
  opacity: 0.06; line-height: 1;
}
.mv-full-card h3 { margin-bottom: 1.2rem; }
.mv-full-card p  { font-size: 0.95rem; line-height: 1.9; }

/* ── CONTACT integrated into About ─────────────────── */
.about-contact {
  margin-top: 6rem;
  padding-top: 5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  position: relative; z-index: 2;
}

.about-contact-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.about-contact-header h2 { margin-top: 0.8rem; }

.contact-info-strip {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--grey);
  transition: color 0.3s, border-color 0.3s;
}
.contact-chip:hover { color: var(--white); border-color: rgba(255,255,255,0.2); }
.contact-chip svg { width: 15px; height: 15px; flex-shrink: 0; stroke: var(--cyan); fill: none; }

/* Glassmorphism form — reused from contact */
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-border-bright);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  position: relative;
}
.contact-form::before {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.25), transparent);
  border-radius: 100%;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }

.form-group label { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(139,154,191,0.8); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body); font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  resize: none;
  backdrop-filter: blur(8px);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(59,130,246,0.5);
  background: rgba(255,255,255,0.07);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(139,154,191,0.4); }
.form-group select option { background: #0a0e24; }

.form-submit { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 0.5rem; }

/* ─── FACILITIES ─────────────────────────────────────── */
#facilities { overflow: hidden; }

.facilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; position: relative; z-index: 2; }

.facility-card {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.facility-card::after {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.18), transparent);
}
.facility-card:hover { border-color: rgba(42,181,174,0.25); transform: translateY(-4px); box-shadow: var(--glass-shadow-hover); }

.facility-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.facility-icon svg { width: 24px; height: 24px; stroke: var(--cyan); fill: none; }
.facility-card h4 { margin-bottom: 0.5rem; font-size: 1rem; }
.facility-card p  { font-size: 0.83rem; }

/* ─── LAB GALLERY ─────────────────────────────────────── */
.lab-gallery { margin-top: 3.5rem; }

.lab-gallery-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.4rem;
}

.lab-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.lab-photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.lab-photo-card:hover {
  border-color: rgba(255,255,255,0.2);
  box-shadow: var(--glass-shadow-hover);
}

.lab-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.lab-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.lab-photo-card:hover .lab-photo-wrap img {
  transform: scale(1.07);
}

.lab-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,9,26,0.88) 0%, rgba(6,9,26,0.2) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.1rem;
  gap: 0.35rem;
}

.lab-photo-tag {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  width: fit-content;
}
.lab-photo-tag.xr-tag {
  background: rgba(0,224,255,0.15);
  color: var(--cyan);
  border: 1px solid rgba(0,224,255,0.3);
}
.lab-photo-tag.design-tag {
  background: rgba(183,60,255,0.15);
  color: #93c5fd;
  border: 1px solid rgba(183,60,255,0.35);
}

.lab-photo-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  line-height: 1.3;
}

/* ─── NAV ACTIVE STATE (sub-pages) ───────────────────── */
.nav-links a.nav-active {
  color: var(--white);
}
.nav-links a.nav-active::after {
  width: 100%;
}

/* ─── PAGE HERO (inner pages) ────────────────────────── */
.page-hero {
  position: relative;
  padding: 9rem 0 5rem;
  overflow: hidden;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}
.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0.5rem 0 1.25rem;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(180,190,230,0.75);
  line-height: 1.7;
  max-width: 620px;
}

/* ─── DOMAIN PAGE TABS ────────────────────────────────── */
.domain-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 3rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.domain-tabs::-webkit-scrollbar { display: none; }

.domain-tab {
  padding: 0.75rem 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(180,190,230,0.6);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
  margin-bottom: -1px;
}
.domain-tab:hover { color: rgba(240,244,255,0.9); }
.domain-tab.active {
  color: var(--white);
  border-bottom-color: var(--accent);
}

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

/* ─── CURRICULUM TABLE ────────────────────────────────── */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.curriculum-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.curriculum-card:hover {
  border-color: rgba(99,102,241,0.25);
  transform: translateY(-2px);
}
.curriculum-card .course-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.curriculum-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(240,244,255,0.95);
  margin: 0 0 0.4rem;
  line-height: 1.4;
}
.curriculum-card p {
  font-size: 0.8rem;
  color: rgba(160,175,220,0.7);
  line-height: 1.6;
  margin: 0;
}

/* ─── PLACEHOLDER PANELS ─────────────────────────────── */
.placeholder-panel {
  background: rgba(255,255,255,0.025);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 4rem 3rem;
  text-align: center;
}
.placeholder-panel .placeholder-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-panel .placeholder-icon svg {
  width: 26px;
  height: 26px;
  stroke: rgba(99,102,241,0.7);
}
.placeholder-panel h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(220,228,255,0.8);
  margin: 0 0 0.5rem;
}
.placeholder-panel p {
  font-size: 0.9rem;
  color: rgba(160,175,220,0.55);
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.6;
}
.placeholder-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(99,102,241,0.7);
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 1rem;
}

/* ─── CTA STRIP ──────────────────────────────────────── */
.startup-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(42,181,174,0.06);
  border: 1px solid rgba(42,181,174,0.18);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  flex-wrap: wrap;
}
.startup-cta-strip h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.35rem;
}
.startup-cta-strip p {
  font-size: 0.9rem;
  color: rgba(180,210,208,0.65);
  margin: 0;
}
.startup-cta-strip .btn-primary {
  background: rgba(255,255,255,0.9);
  color: #0c1a22;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .curriculum-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .curriculum-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 7rem 0 3rem; }
  .page-hero-inner { padding: 0 1.5rem; }
  .startup-cta-strip { padding: 1.75rem 1.5rem; }
}

/* ─── STARTUPS ───────────────────────────────────────── */
#startups {
  padding: 6rem 3rem;
  position: relative;
}

.startup-manifesto {
  background: rgba(255,255,255,0.035);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  margin-bottom: 3.5rem;
}

.startup-manifesto > p {
  font-size: 1rem;
  color: rgba(200,210,255,0.75);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 0 2rem 0;
}

.startup-manifesto-pillars {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.manifesto-pillar {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pillar-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-text {
  font-size: 0.9rem;
  color: rgba(220,228,255,0.8);
  line-height: 1.6;
}

.pillar-text strong {
  display: block;
  color: rgba(240,244,255,0.95);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.startup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.startup-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(255,255,255,0.035);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.25s var(--transition), transform 0.25s var(--transition), box-shadow 0.25s var(--transition);
}

.startup-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.startup-logo-badge {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.startup-body {
  flex: 1;
  min-width: 0;
}

.startup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.startup-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(240,244,255,0.95);
  margin: 0;
  line-height: 1.3;
}

.startup-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.22);
  color: rgba(160,170,255,0.9);
  white-space: nowrap;
}

.startup-body > p {
  font-size: 0.84rem;
  color: rgba(180,190,230,0.75);
  line-height: 1.6;
  margin: 0 0 0.75rem 0;
}

.startup-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(100,220,255,0.85);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.startup-link:hover {
  gap: 0.55rem;
  color: rgba(100,220,255,1);
}

.startup-link svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .startup-grid {
    grid-template-columns: 1fr;
  }
  .startup-manifesto {
    padding: 1.75rem 1.5rem;
  }
  .startup-manifesto-pillars {
    flex-direction: column;
    gap: 1.25rem;
  }
}

/* ─── FOOTER ─────────────────────────────────────────── */
#footer {
  background: rgba(5,10,16,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(42,181,174,0.1);
  padding: 4rem 3rem 2rem;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}

.footer-brand img { height: 44px; margin-bottom: 1.2rem; }
.footer-brand p  { font-size: 0.83rem; max-width: 280px; }

.footer-col h5 { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(42,181,174,0.7); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col li a { font-size: 0.83rem; color: var(--grey); transition: color 0.3s; }
.footer-col li a:hover { color: var(--white); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: var(--grey); flex-wrap: wrap; gap: 1rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--grey); transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--cyan); }

/* ─── TEAM ───────────────────────────────────────────── */
#team { overflow: hidden; }

/* Leadership */
.team-leadership {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.team-lead-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--glass-bg-mid);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-bright);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.team-lead-card::after {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
}
.team-lead-card:hover {
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
}
.team-lead-info h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }

/* Section sub-label */
.team-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  margin-top: 3.5rem;
  margin-bottom: 1.4rem;
  padding-left: 2px;
  position: relative;
  z-index: 2;
}

/* Instructor grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.team-card {
  padding: 1.75rem 1.25rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.team-card::after {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.14), transparent);
}
.team-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
}

/* Avatar */
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700;
  font-family: var(--font-head);
  color: #fff;
  letter-spacing: 0.04em;
  border: 2px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
  position: relative;
}
.team-lead-card .team-avatar {
  width: 88px; height: 88px;
  font-size: 1.5rem;
}
.team-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Domain-coloured avatar backgrounds */
.av-xr        { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.av-design    { background: linear-gradient(135deg, #1d4ed8, #60a5fa); }
.av-blockchain{ background: linear-gradient(135deg, #b45309, #f59e0b); }
.av-edge-ai   { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.av-drone     { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.av-bim       { background: linear-gradient(135deg, #1e3a8a, #60a5fa); }

.team-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}
.team-role {
  font-size: 0.78rem;
  color: var(--grey);
  margin: 0;
  line-height: 1.4;
}
.team-lead-info .team-role { margin-top: 0.15rem; }

/* Tag row */
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
  justify-content: center;
}
.team-lead-card .team-tags { justify-content: flex-start; }

.team-tag {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
}
.tag-xr         { background: rgba(59,130,246,0.12); color: #60a5fa;  border: 1px solid rgba(59,130,246,0.3); }
.tag-design     { background: rgba(37,99,235,0.12);  color: #93c5fd;  border: 1px solid rgba(37,99,235,0.3); }
.tag-blockchain { background: rgba(245,158,11,0.12); color: var(--gold); border: 1px solid rgba(245,158,11,0.3); }
.tag-edge-ai    { background: rgba(59,130,246,0.12); color: #93c5fd;  border: 1px solid rgba(59,130,246,0.3); }
.tag-drone      { background: rgba(37,99,235,0.12);  color: #60a5fa;  border: 1px solid rgba(37,99,235,0.3); }
.tag-bim        { background: rgba(96,165,250,0.12); color: #bfdbfe;  border: 1px solid rgba(96,165,250,0.3); }

/* Domain group separator */
.team-domain-group {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.25rem;
  padding-top: 0.25rem;
}
.team-domain-group:first-child { margin-top: 0; }

.team-domain-group-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.tg-xr         { color: var(--cyan); }
.tg-design     { color: #93c5fd; }
.tg-blockchain { color: var(--gold); }
.tg-drone      { color: #60a5fa; }

.team-domain-group-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}

/* Campus badge */
.team-campus {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
}

/* ─── SCROLL REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.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; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1200px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .domains-grid       { grid-template-columns: 1fr 1fr; }
  .stats-grid         { grid-template-columns: 1fr 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .about-grid         { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual       { max-width: 460px; margin: 0 auto; }
  .about-contact-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  #navbar             { padding: 1rem 1.5rem; }
  .nav-links          { display: none; }
  .nav-hamburger      { display: flex; }
  .hero-content       { padding: 7rem 1.5rem 3rem; }
  .section            { padding: 5rem 1.5rem; }
  .domains-grid       { grid-template-columns: 1fr; }
  .programs-grid      { grid-template-columns: 1fr; }
  .mv-grid            { grid-template-columns: 1fr; }
  .mv-full-grid       { grid-template-columns: 1fr; }
  .contact-form       { grid-template-columns: 1fr; padding: 1.5rem; }
  .footer-grid        { grid-template-columns: 1fr; }
  .side-label         { display: none; }
  .side-socials       { display: none; }
  .facilities-grid    { grid-template-columns: 1fr 1fr; }
  .lab-gallery-grid   { grid-template-columns: 1fr 1fr; }
  .team-leadership    { grid-template-columns: 1fr; }
  .team-grid          { grid-template-columns: repeat(2, 1fr); }
  .domains-header     { flex-direction: column; align-items: flex-start; }
  .domains-header p   { text-align: left; }
  .blob               { opacity: 0.7; }
}

@media (max-width: 480px) {
  .facilities-grid    { grid-template-columns: 1fr; }
  .lab-gallery-grid   { grid-template-columns: 1fr; }
  .team-grid          { grid-template-columns: 1fr 1fr; }
  .stats-grid         { grid-template-columns: 1fr 1fr; }
  .stat-item          { padding: 1.5rem 0.75rem; }
  .stat-number        { font-size: 1.9rem; }
}
