/* ==============================
   VARIABLES & RESET
   ============================== */
:root {
  --bg: #fafafa;
  --bg-alt: #f5f7fa;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-dark: #4f46e5;
  --accent-bg: #eef2ff;
  --accent-border: #c7d2fe;
  --accent-secondary: #06b6d4;
  --accent-warm: #f97316;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow: 0 4px 16px -2px rgba(99,102,241,0.1), 0 2px 6px -2px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 40px -8px rgba(99,102,241,0.15), 0 8px 16px -8px rgba(0,0,0,0.08);
  --shadow-xl: 0 28px 60px -16px rgba(99,102,241,0.2);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(80px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes waveMove {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes circuitPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
  75% { transform: translateY(-25px) rotate(3deg); }
}
@keyframes orbitMove {
  0% { transform: rotate(0deg) translateX(150px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}
@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0.3; }
  100% { transform: scale(0.8); opacity: 0.8; }
}
@keyframes textReveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes maskReveal {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@keyframes smoothBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes parallaxFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.02); }
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  width: 100%;
}

/* ==============================
   MODERN BACKGROUND GRAPHICS
   ============================== */
.bg-decoration {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Traveling Sound Wave Pulses */
.sound-pulse-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.sound-pulse {
  position: absolute;
  width: 100%;
  height: 120px;
  left: 0;
  opacity: 0.15;
}

.sound-pulse-1 {
  top: 15%;
  animation: soundPulseTravel 8s linear infinite;
}

.sound-pulse-2 {
  top: 45%;
  animation: soundPulseTravel 10s linear infinite;
  animation-delay: -3s;
  opacity: 0.12;
}

.sound-pulse-3 {
  top: 75%;
  animation: soundPulseTravel 12s linear infinite;
  animation-delay: -6s;
  opacity: 0.1;
}

.sound-pulse .pulse-wave {
  fill: none;
  stroke: url(#pulseGradient);
  stroke-width: 2;
  stroke-linecap: round;
}

.sound-pulse-1 .pulse-wave {
  stroke: rgba(99, 102, 241, 0.6);
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.4));
}

.sound-pulse-2 .pulse-wave {
  stroke: rgba(6, 182, 212, 0.5);
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.3));
}

.sound-pulse-3 .pulse-wave {
  stroke: rgba(139, 92, 246, 0.5);
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
}

@keyframes soundPulseTravel {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Mesh Gradient Background */
.bg-mesh {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 60% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

/* Subtle Grid Pattern */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 70%);
}

/* Noise Texture Overlay */
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==============================
   HEXAGONAL GRID BACKGROUND
   ============================== */
.bg-hexagons {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
}

.hex-path {
  stroke: var(--accent);
  animation: hexPulse 4s ease-in-out infinite;
}

@keyframes hexPulse {
  0%, 100% { stroke-opacity: 0.3; }
  50% { stroke-opacity: 0.8; }
}

/* Animated Hexagon Clusters */
.hex-cluster {
  position: absolute;
  display: flex;
  gap: 8px;
  opacity: 0.12;
}

.hex-cluster-1 {
  top: 15%;
  left: 5%;
  transform: rotate(-15deg);
  animation: hexClusterFloat1 20s ease-in-out infinite;
}

.hex-cluster-2 {
  bottom: 20%;
  right: 8%;
  transform: rotate(10deg);
  animation: hexClusterFloat2 25s ease-in-out infinite;
}

.hex-single {
  width: 60px;
  height: 52px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  animation: hexRotate 15s linear infinite;
}

.hex-cluster-1 .hex-single:nth-child(1) { animation-delay: 0s; }
.hex-cluster-1 .hex-single:nth-child(2) { animation-delay: -5s; stroke: var(--accent-secondary); }
.hex-cluster-1 .hex-single:nth-child(3) { animation-delay: -10s; }

.hex-cluster-2 .hex-single:nth-child(1) { animation-delay: -3s; stroke: var(--accent-secondary); }
.hex-cluster-2 .hex-single:nth-child(2) { animation-delay: -8s; }

@keyframes hexClusterFloat1 {
  0%, 100% { transform: rotate(-15deg) translate(0, 0); }
  25% { transform: rotate(-10deg) translate(30px, -20px); }
  50% { transform: rotate(-20deg) translate(-20px, 30px); }
  75% { transform: rotate(-12deg) translate(15px, 15px); }
}

@keyframes hexClusterFloat2 {
  0%, 100% { transform: rotate(10deg) translate(0, 0); }
  33% { transform: rotate(15deg) translate(-25px, -30px); }
  66% { transform: rotate(5deg) translate(20px, 25px); }
}

@keyframes hexRotate {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(90deg) scale(1.1); }
  50% { transform: rotate(180deg) scale(1); }
  75% { transform: rotate(270deg) scale(0.9); }
  100% { transform: rotate(360deg) scale(1); }
}

/* ==============================
   SOUND WAVE VISUALIZER
   ============================== */
.bg-soundwaves {
  position: absolute;
  height: 60%;
  width: 150px;
  top: 20%;
  opacity: 0.15;
}

.bg-soundwaves-left {
  left: 0;
}

.bg-soundwaves-right {
  right: 0;
  transform: scaleX(-1);
}

.wave-bar {
  fill: var(--accent);
  animation: waveBar 1.5s ease-in-out infinite;
  transform-origin: center;
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; fill: var(--accent-secondary); }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; fill: var(--accent-secondary); }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; fill: var(--accent-secondary); }
.wave-bar:nth-child(7) { animation-delay: 0.6s; }
.wave-bar:nth-child(8) { animation-delay: 0.7s; fill: var(--accent-secondary); }
.wave-bar:nth-child(9) { animation-delay: 0.8s; }
.wave-bar:nth-child(10) { animation-delay: 0.9s; fill: var(--accent-secondary); }

@keyframes waveBar {
  0%, 100% { 
    transform: scaleY(0.5);
    opacity: 0.5;
  }
  50% { 
    transform: scaleY(1.2);
    opacity: 1;
  }
}

/* Waveform Lines */
.bg-waveform {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 100%;
  height: 150px;
  opacity: 0.1;
}

.waveform-path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.waveform-1 {
  stroke: var(--accent);
  animation: waveformMove 8s ease-in-out infinite;
}

.waveform-2 {
  stroke: var(--accent-secondary);
  animation: waveformMove 10s ease-in-out infinite reverse;
  stroke-dasharray: 20 10;
}

.waveform-3 {
  stroke: rgba(139, 92, 246, 0.8);
  animation: waveformMove 6s ease-in-out infinite;
  stroke-dasharray: 5 15;
}

@keyframes waveformMove {
  0%, 100% {
    d: path("M0,100 Q60,50 120,100 T240,100 T360,100 T480,100 T600,100 T720,100 T840,100 T960,100 T1080,100 T1200,100 T1320,100 T1440,100");
    transform: translateX(0);
  }
  25% {
    transform: translateX(-30px) translateY(-10px);
  }
  50% {
    d: path("M0,100 Q60,150 120,100 T240,100 T360,100 T480,100 T600,100 T720,100 T840,100 T960,100 T1080,100 T1200,100 T1320,100 T1440,100");
    transform: translateX(-60px);
  }
  75% {
    transform: translateX(-30px) translateY(10px);
  }
}

/* Selection styling */
::selection {
  background: var(--accent);
  color: white;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Animated underline for links */
.link-hover {
  position: relative;
}
.link-hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.link-hover:hover::after {
  width: 100%;
}

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0; width: 100%;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1600px; margin: 0 auto; padding: 0 4rem; width: 100%;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo {
  font-size: 1.1rem; font-weight: 700; color: var(--text);
  white-space: nowrap;
}
.nav-links {
  display: flex; gap: 0.25rem; margin-left: auto;
}
.nav-links a {
  padding: 0.4rem 0.75rem; font-size: 0.85rem; font-weight: 500;
  color: var(--text-secondary); border-radius: 8px; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent); background: var(--accent-bg);
}
.nav-actions { flex-shrink: 0; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--text); border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: var(--transition); font-family: var(--font);
  position: relative; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}
.btn:hover::before {
  left: 100%;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 30px rgba(99,102,241,0.45);
  transform: translateY(-3px);
}
.btn-outline {
  background: rgba(255,255,255,0.9); color: var(--text);
  border: 2px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-bg);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 0.5rem 1.25rem; font-size: 0.8rem; font-weight: 600;
  background: var(--accent); color: #fff; border-radius: 8px;
}
.btn-sm:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-sm {
  padding: 0.5rem 1.25rem; font-size: 0.8rem; font-weight: 600;
  background: transparent; color: var(--text-secondary); border: 1px solid var(--border); border-radius: 8px;
}
.btn-outline-sm:hover { border-color: var(--accent); color: var(--accent); }

/* ==============================
   HERO
   ============================== */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 6rem 0 2rem;
  background: #1a1510;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 55%;
  background: linear-gradient(to right, rgba(26,21,16,0.95) 0%, rgba(26,21,16,0.8) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(199,123,0,0.3);
}

/* Premium Honeycomb Lattice Backdrop */
.hero-honeycomb-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Hero 3D Topological Acoustics Canvas */
.hero-3d-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-3d-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.85;
}

.honeycomb-lattice {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  animation: honeycombFadeIn 1.5s ease-out;
}

.honeycomb-lattice .hex-cell {
  animation: hexCellPulse 4s ease-in-out infinite;
}

.honeycomb-lattice .accent-hexagons polygon {
  animation: accentHexGlow 3s ease-in-out infinite;
}

.honeycomb-lattice .accent-hexagons polygon:nth-child(2) {
  animation-delay: -0.6s;
}

.honeycomb-lattice .accent-hexagons polygon:nth-child(3) {
  animation-delay: -1.2s;
}

.honeycomb-lattice .accent-hexagons polygon:nth-child(4) {
  animation-delay: -1.8s;
}

.honeycomb-lattice .accent-hexagons polygon:nth-child(5) {
  animation-delay: -2.4s;
}

.honeycomb-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 70% 30%, transparent 0%, rgba(250,250,255,0.7) 100%),
    linear-gradient(180deg, transparent 0%, rgba(250,250,255,0.3) 60%, rgba(250,250,255,0.9) 100%);
  pointer-events: none;
}

@keyframes honeycombFadeIn {
  0% { 
    opacity: 0; 
    transform: scale(1.1) rotate(-2deg);
  }
  100% { 
    opacity: 0.4; 
    transform: scale(1) rotate(0deg);
  }
}

@keyframes hexCellPulse {
  0%, 100% { stroke-opacity: 0.4; }
  50% { stroke-opacity: 0.7; }
}

@keyframes accentHexGlow {
  0%, 100% { 
    opacity: 0.3;
    filter: drop-shadow(0 0 4px currentColor);
  }
  50% { 
    opacity: 0.6;
    filter: drop-shadow(0 0 12px currentColor);
  }
}

/* Hero Decorative SVGs */
.hero-quantum {
  position: absolute;
  bottom: 15%; right: 5%;
  width: 200px; height: 200px;
  z-index: 0;
  pointer-events: none;
  animation: floatSlow 6s ease-in-out infinite;
}
.hero-wave {
  position: absolute;
  bottom: 25%; left: 10%;
  width: 250px; height: 80px;
  z-index: 0;
  pointer-events: none;
  animation: floatSlow 8s ease-in-out infinite reverse;
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
/* Section Decorative Elements */
.section-decor {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}
.section-decor-left {
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 150px; height: 300px;
  animation: floatSlow 10s ease-in-out infinite;
}
.section-decor-right {
  right: 0; top: 30%;
  width: 120px; height: 250px;
  animation: floatSlow 12s ease-in-out infinite reverse;
}
.hero-inner, .hero-credentials { position: relative; z-index: 2; }
.hero-inner {
  max-width: 1600px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
  padding: 0 6rem;
}
.hero-text {
  padding-top: 0;
}
.hero-badge {
  display: inline-block; padding: 0.6rem 1.5rem;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.4);
  border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.9); margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  animation: slideInLeft 0.6s ease-out;
}
.hero h1 {
  font-size: clamp(2.75rem, 5.5vw, 5rem); font-weight: 900;
  line-height: 1.05; letter-spacing: -0.03em; color: #ffffff; margin-bottom: 1.5rem;
  animation: slideInLeft 0.6s ease-out 0.1s both;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero h1 .accent {
  color: var(--accent);
}
.hero-tagline {
  font-size: 1.15rem; color: rgba(255,255,255,0.9); line-height: 1.8; margin-bottom: 1rem;
  max-width: 580px;
  animation: slideInLeft 0.6s ease-out 0.2s both;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-sub {
  font-size: 0.9rem; color: rgba(255,255,255,0.7); font-weight: 500; margin-bottom: 2rem;
  animation: slideInLeft 0.6s ease-out 0.3s both;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; animation: slideInUp 0.6s ease-out 0.4s both; }
.hero-photo {
  display: flex; justify-content: flex-end; align-items: flex-start;
  animation: slideInRight 0.8s ease-out 0.3s both;
  margin-top: 0;
}
.hero-photo img {
  width: 320px; height: 320px; object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255,255,255,0.1), 0 0 40px 10px rgba(0,0,0,0.5);
  border: 3px solid rgba(255,255,255,0.15);
  transition: var(--transition);
  filter: contrast(1.05) brightness(1.02);
  background: #1a1510;
}
.hero-photo img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 5px rgba(255,255,255,0.15), 0 0 50px 15px rgba(0,0,0,0.6);
  border-color: rgba(255,255,255,0.25);
}
.hero-credentials {
  max-width: 1600px; margin: 3rem auto 0; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 3rem;
  padding: 1.75rem 4rem;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.8);
  flex-wrap: wrap;
}
.cred { text-align: center; }
.cred strong { display: block; font-size: 1.1rem; color: var(--accent); font-weight: 700; }
.cred span { font-size: 0.8rem; color: var(--text-muted); }
.cred-divider { width: 1px; height: 40px; background: var(--border); }

/* ==============================
   SECTIONS
   ============================== */
.section { padding: 7rem 4rem; position: relative; width: 100%; z-index: 1; }
.section-alt { 
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
/* Section decorative accents */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
  opacity: 0.5;
}
.container { max-width: 1400px; margin: 0 auto; width: 100%; }
.container-wide { max-width: 1600px; margin: 0 auto; width: 100%; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  color: #fff; text-transform: uppercase; letter-spacing: 0.15em;
  background: var(--accent);
  padding: 0.5rem 1.25rem; border-radius: 50px;
  margin-bottom: 1.25rem; 
  box-shadow: 0 4px 15px rgba(99,102,241,0.25);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -0.04em;
  color: var(--text); margin-bottom: 1rem;
  line-height: 1.1;
}
/* About Header with flanking 3D models */
.about-header-with-models {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

.about-title-center {
  flex: 1;
  min-width: 0;
}

.about-title-model {
  width: 200px;
  height: 380px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.about-title-model iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .about-title-model {
    width: 160px;
    height: 320px;
  }
}

@media (max-width: 768px) {
  .about-header-with-models {
    flex-direction: column;
    gap: 1rem;
  }
  .about-title-model {
    width: 140px;
    height: 260px;
  }
  .about-title-model-left { order: -1; }
  .about-title-center { order: 0; }
  .about-title-model-right { order: 1; }
}

@media (max-width: 480px) {
  .about-title-model {
    display: none;
  }
}

/* Full-Width 3D Visual Embeds */
.visual-3d-strip {
  display: flex;
  width: 100%;
  gap: 0;
  background: linear-gradient(135deg, #0a0a1a 0%, #111133 50%, #0a0a1a 100%);
  overflow: hidden;
}

.visual-3d-embed {
  flex: 1;
  width: 50%;
  height: 500px;
  border: none;
  display: block;
  background: transparent;
}

/* Spline viewer container — fills its flex cell */
.visual-3d-spline {
  position: relative;
  overflow: hidden;
}
.visual-3d-spline spline-viewer {
  display: block;
  width: 100%;
  height: 100%;
}
/* Hide Spline watermark */
.visual-3d-spline spline-viewer::part(logo) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
}

@media (max-width: 768px) {
  .visual-3d-strip {
    flex-direction: column;
  }
  .visual-3d-embed {
    width: 100%;
    height: 380px;
  }
}

.text-reveal-wrapper {
  display: inline-block;
}
.text-reveal-wrapper span {
  display: inline-block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.text-reveal.visible .text-reveal-wrapper span {
  transform: translateY(-3px);
}
.section-desc {
  font-size: 1.15rem; color: var(--text-secondary); max-width: 750px;
  margin: 0 auto; line-height: 1.9;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

/* ==============================
   ABOUT
   ============================== */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: start; }
.about-text p { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.8; }
.about-text strong { color: var(--text); }
.about-quote {
  margin-top: 2rem; padding: 1.5rem; background: var(--accent-bg);
  border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
}
.about-quote blockquote { font-style: italic; color: var(--text-secondary); font-size: 0.95rem; }
.about-quote cite { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; display: block; }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.impact-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem; text-align: center; transition: var(--transition);
  position: relative; overflow: hidden;
}
.impact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.impact-card:hover::before { transform: scaleX(1); }
.impact-card:hover { border-color: var(--accent-border); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.impact-card:nth-child(1) .impact-num { color: var(--accent); }
.impact-card:nth-child(1)::before { background: var(--accent); }
.impact-card:nth-child(2) .impact-num { color: var(--accent-secondary); }
.impact-card:nth-child(2)::before { background: var(--accent-secondary); }
.impact-card:nth-child(3) .impact-num { color: #10b981; }
.impact-card:nth-child(3)::before { background: #10b981; }
.impact-card:nth-child(4) .impact-num { color: #f59e0b; }
.impact-card:nth-child(4)::before { background: #f59e0b; }
.impact-num {
  display: block; font-size: 2.25rem; font-weight: 900;
  font-family: var(--mono);
}
.impact-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.about-location {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--accent); font-size: 0.85rem; font-weight: 500;
}

/* ==============================
   RESEARCH 3D CANVAS
   ============================== */
.research-3d-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.research-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

#research {
  position: relative;
  overflow: hidden;
}

#research .container,
#research .section-header,
#research .research-featured,
#research .research-grid,
#research .research-collaborators {
  position: relative;
  z-index: 1;
}

/* ==============================
   RESEARCH - Clean Professional Design
   ============================== */

/* Featured Research */
.research-featured {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.research-featured:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(99, 102, 241, 0.12);
}

.research-featured-accent {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.5rem;
}

.research-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 12px;
}

.research-featured-content {
  display: flex;
  flex-direction: column;
}

.research-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.research-featured h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.research-featured p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.research-featured p strong {
  color: var(--text);
  font-weight: 600;
}

.research-metrics {
  display: flex;
  gap: 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.research-tags span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--accent-border);
  transition: all 0.2s ease;
}

.research-tags span:hover {
  background: var(--accent);
  color: #fff;
}

/* Research Grid */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.research-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.research-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.1);
  transform: translateY(-4px);
}

.research-item .research-num {
  width: 36px;
  height: 36px;
  font-size: 0.75rem;
  margin-bottom: 1.25rem;
  border-radius: 8px;
}

.research-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.research-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.research-item p strong {
  color: var(--text);
  font-weight: 600;
}

.research-highlight {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.research-item .research-tags {
  margin-top: auto;
}

.research-item .research-tags span {
  font-size: 0.65rem;
  padding: 0.3rem 0.6rem;
}

/* Collaborators */
.research-collaborators {
  background: linear-gradient(135deg, rgba(99,102,241,0.05) 0%, rgba(6,182,212,0.05) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.collab-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.02em;
}

.collab-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: center;
  align-items: center;
}

.collab-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-secondary);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  min-width: 90px;
}

.collab-logo-item:hover {
  color: var(--accent);
  transform: translateY(-4px);
  background: rgba(99,102,241,0.06);
}

.collab-logo-item img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  filter: grayscale(0.6) brightness(1.1);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.collab-logo-item:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}

.collab-logo-item span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .collab-logos {
    gap: 1rem 1.25rem;
  }
  .collab-logo-item {
    min-width: 72px;
    padding: 0.5rem;
  }
  .collab-logo-item img {
    height: 40px;
    width: 40px;
  }
  .collab-logo-item span {
    font-size: 0.65rem;
  }
}

/* Software Logo Strip */
.software-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  padding: 1.5rem 1rem;
  background: rgba(99,102,241,0.03);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.sw-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 70px;
}

.sw-logo-item:hover {
  color: var(--accent);
  transform: translateY(-3px);
  background: rgba(99,102,241,0.06);
}

.sw-logo-item img {
  height: 40px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  filter: grayscale(0.4) brightness(1.05);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.sw-logo-item:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}

.sw-logo-item span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .software-logos {
    gap: 0.75rem 1rem;
    padding: 1rem 0.5rem;
  }
  .sw-logo-item {
    min-width: 56px;
    padding: 0.35rem;
  }
  .sw-logo-item img {
    height: 28px;
    max-width: 60px;
  }
  .sw-logo-item span {
    font-size: 0.6rem;
  }
}

/* ==============================
   RESEARCH 3D HERO SPLIT
   ============================== */
.research-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #0f0f12 0%, #1a1a2e 100%);
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
}

.research-3d-panel {
  position: relative;
  background: #0a0a0f;
  min-height: 400px;
}

.research-3d-panel iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

.research-3d-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(99, 102, 241, 0.9);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.research-3d-link {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.research-3d-link:hover {
  background: rgba(99, 102, 241, 0.8);
  border-color: var(--accent);
}

.research-content-panel {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.research-content-panel .research-label {
  color: var(--accent-secondary);
}

.research-content-panel h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.research-content-panel p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.research-content-panel p strong {
  color: var(--accent-secondary);
}

.research-content-panel .research-metrics {
  border-color: rgba(255, 255, 255, 0.15);
}

.research-content-panel .metric-value {
  color: #fff;
}

.research-content-panel .metric-label {
  color: rgba(255, 255, 255, 0.5);
}

.research-content-panel .research-tags span {
  background: rgba(99, 102, 241, 0.2);
  color: var(--accent-secondary);
  border-color: rgba(99, 102, 241, 0.3);
}

.research-content-panel .research-tags span:hover {
  background: var(--accent);
  color: #fff;
}

/* Research 3D Banner */
.research-3d-banner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  align-items: center;
}

.research-3d-preview {
  height: 180px;
  position: relative;
  background: #0a0a0f;
}

.research-3d-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

.research-3d-info {
  padding: 1.5rem 2rem 1.5rem 0;
  color: #fff;
}

.research-3d-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.research-3d-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.btn-secondary {
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

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

/* ==============================
   RESEARCH CARDS WITH INLINE 3D MODELS
   ============================== */
.research-card-3d {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: center;
}

.research-card-3d.reverse {
  grid-template-columns: 500px 1fr;
}

.research-card-3d.reverse .research-card-content {
  order: 2;
}

.research-card-3d.reverse .research-card-model {
  order: 1;
}

.research-card-content {
  padding: 1rem 0;
}

.research-card-content .research-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.research-card-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.research-card-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.research-card-content p strong {
  color: var(--text);
  font-weight: 600;
}

.research-card-content .research-metrics {
  display: flex;
  gap: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.research-card-content .research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.research-card-content .research-tags span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  border: 1px solid var(--accent-border);
  transition: all 0.2s ease;
}

.research-card-content .research-tags span:hover {
  background: var(--accent);
  color: #fff;
}

/* 3D Model Container - Transparent background */
.research-card-model {
  width: 500px;
  height: 500px;
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.research-card-model iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  pointer-events: auto;
}

/* Responsive Research Cards 3D */
@media (max-width: 1024px) {
  .research-card-3d,
  .research-card-3d.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .research-card-3d.reverse .research-card-content,
  .research-card-3d.reverse .research-card-model {
    order: unset;
  }
  
  .research-card-model {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    height: 400px;
  }
}

@media (max-width: 600px) {
  .research-card-model {
    height: 280px;
  }
  
  .research-card-content h3 {
    font-size: 1.4rem;
  }
}

/* Responsive 3D Research */
@media (max-width: 900px) {
  .research-hero-split {
    grid-template-columns: 1fr;
  }
  
  .research-3d-panel {
    min-height: 300px;
  }
  
  .research-3d-banner {
    grid-template-columns: 1fr;
  }
  
  .research-3d-preview {
    height: 200px;
  }
  
  .research-3d-info {
    padding: 1.5rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .research-featured {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .research-featured-accent {
    justify-content: flex-start;
  }
  
  .research-metrics {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .research-grid {
    grid-template-columns: 1fr;
  }
}

/* Legacy styles kept for compatibility */
.research-hero { display: none; }
.research-grid-modern { display: none; }
.collab-banner-modern { display: none; }

.research-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.research-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.research-hero-orb {
  width: 200px;
  height: 200px;
  position: relative;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#researchOrbCanvas {
  width: 200px;
  height: 200px;
  display: block;
}

.research-hero-svg {
  width: 100%;
  height: 100%;
}

.orb-ring-1 { animation: orb-rotate 20s linear infinite; transform-origin: center; }
.orb-ring-2 { animation: orb-rotate 15s linear infinite reverse; transform-origin: center; }
.orb-ring-3 { animation: orb-rotate 10s linear infinite; transform-origin: center; }
.orb-core { animation: orb-pulse 3s ease-in-out infinite; transform-origin: center; }

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

@keyframes orb-pulse {
  0%, 100% { opacity: 1; r: 15; }
  50% { opacity: 0.7; r: 18; }
}

.research-hero-num {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--accent-border);
}

.research-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.research-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.research-hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: live-dot 2s ease-in-out infinite;
}

.research-hero h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.research-hero p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.research-hero p strong {
  color: var(--accent);
  font-weight: 600;
}

.research-hero p sub { font-size: 0.75em; }

.research-hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.rh-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rh-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  font-family: var(--mono);
}

.rh-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.research-hero .rc-tags span {
  background: var(--accent-bg);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.research-hero .rc-tags span:hover {
  background: var(--accent);
  color: #fff;
}

/* Modern Research Cards Grid */
.research-grid-modern {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
  perspective: 1000px;
}

.research-card-modern {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 20px;
  padding: 1.75rem;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  transform-style: preserve-3d;
}

.research-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.research-card-modern::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.research-card-modern:hover {
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: 
    0 30px 60px rgba(99, 102, 241, 0.2),
    0 0 40px rgba(6, 182, 212, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: rgba(99, 102, 241, 0.3);
}

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

.research-card-modern:hover::after {
  opacity: 1;
}

.rcm-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent-bg) 0%, #e0e7ff 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

.rcm-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  transition: transform 0.4s ease;
}

.research-card-modern:hover .rcm-icon {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
  transform: scale(1.05);
}

.research-card-modern:hover .rcm-icon svg {
  color: #fff;
  transform: scale(1.1);
}

.rcm-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-light);
  background: var(--bg-alt);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}

.research-card-modern h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.research-card-modern p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.research-card-modern p strong {
  color: var(--accent);
  font-weight: 600;
}

.rcm-highlight {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.research-card-modern .rc-tags {
  margin-top: auto;
}

.research-card-modern .rc-tags span {
  font-size: 0.65rem;
  padding: 0.3rem 0.6rem;
}

/* Modern Collaboration Banner */
.collab-banner-modern {
  background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 100%);
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.collab-banner-modern::before {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.collab-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.collab-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.collab-icon svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

.collab-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.collab-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.collab-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.collab-logos span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.collab-logos span:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Legacy tags support */
.rc-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.rc-tags span {
  padding: 0.35rem 0.75rem; font-size: 0.7rem; font-weight: 600;
  background: var(--accent-bg); color: var(--accent); border-radius: 50px;
  transition: var(--transition);
}
.rc-tags span:hover { background: var(--accent); color: #fff; }

/* Research Responsive */
@media (max-width: 1200px) {
  .research-grid-modern {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .research-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem;
  }
  
  .research-hero-visual {
    justify-content: center;
  }
  
  .research-hero-orb {
    width: 160px;
    height: 160px;
  }
  
  .research-hero-stats {
    justify-content: center;
  }
  
  .research-hero .rc-tags {
    justify-content: center;
  }
  
  .research-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .research-grid-modern {
    grid-template-columns: 1fr;
  }
  
  .research-hero h3 {
    font-size: 1.5rem;
  }
  
  .research-hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .collab-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==============================
   PROJECTS
   ============================== */
.project-block { margin-bottom: 4rem; }
.project-block:last-child { margin-bottom: 0; }
.project-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text); }
.project-desc { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.7; max-width: 800px; }

/* Modern Dynamic Project Gallery */
.project-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.proj-img {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  cursor: pointer;
}

.proj-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.05) 0%, rgba(6,182,212,0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.proj-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #06b6d4 50%, #10b981 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.proj-img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px -15px rgba(99, 102, 241, 0.2),
    0 10px 20px -10px rgba(0, 0, 0, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
}

.proj-img:hover::before { opacity: 1; }
.proj-img:hover::after { transform: scaleX(1); }

/* Staggered animation on scroll */
.proj-img:nth-child(1) { animation-delay: 0s; }
.proj-img:nth-child(2) { animation-delay: 0.1s; }
.proj-img:nth-child(3) { animation-delay: 0.2s; }
.proj-img:nth-child(4) { animation-delay: 0.3s; }
.proj-img:nth-child(5) { animation-delay: 0.4s; }
.proj-img:nth-child(6) { animation-delay: 0.5s; }

.proj-img img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  transition: transform 0.4s ease, filter 0.3s ease;
}

.proj-img:hover img {
  transform: scale(1.05);
}

.proj-img span {
  display: block;
  padding: 0.875rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(180deg, rgba(248,250,252,0.9) 0%, rgba(255,255,255,1) 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.08);
  position: relative;
  z-index: 2;
}

.proj-img span::before {
  content: '→';
  position: absolute;
  right: 1.25rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--accent);
}

.proj-img:hover span::before {
  opacity: 1;
  transform: translateX(0);
}

.project-details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pd-item {
  padding: 1.5rem; background: var(--bg-alt); border-radius: var(--radius);
  border: 1px solid var(--border);
}
.pd-item strong { font-size: 0.9rem; color: var(--text); display: block; margin-bottom: 0.5rem; }
.pd-item p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* YouTube Video Grid */
.youtube-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-bottom: 2rem;
}
.youtube-grid-expanded {
  grid-template-columns: repeat(4, 1fr);
}
.youtube-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); display: block;
}
.youtube-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent-border); transform: translateY(-5px); }
.youtube-card.youtube-featured {
  grid-column: span 2;
  border-color: var(--accent-border);
  box-shadow: var(--shadow);
}
.yt-thumb {
  position: relative; width: 100%; aspect-ratio: 16/9;
  overflow: hidden; background: #000;
}
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.youtube-card:hover .yt-thumb img { transform: scale(1.08); }
.yt-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: rgba(255,0,0,0.9); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.yt-play svg { width: 28px; height: 28px; color: #fff; margin-left: 4px; }
.youtube-card:hover .yt-play { background: #ff0000; transform: translate(-50%, -50%) scale(1.15); }
.yt-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
  letter-spacing: 0.5px;
}
.yt-info { padding: 1.25rem; }
.yt-info h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; }
.yt-info p { font-size: 0.85rem; color: var(--text-muted); }

@media (max-width: 1200px) {
  .youtube-grid-expanded { grid-template-columns: repeat(3, 1fr); }
  .youtube-card.youtube-featured { grid-column: span 1; }
}
@media (max-width: 900px) {
  .youtube-grid-expanded { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .youtube-grid-expanded { grid-template-columns: 1fr; }
}

.yt-link { text-align: center; margin-top: 1.5rem; }
.project-timeline { border-left: 2px solid var(--accent-border); padding-left: 2rem; }
.pt-item { display: flex; gap: 1.5rem; margin-bottom: 2rem; position: relative; }
.pt-item::before {
  content: ''; position: absolute; left: -2.55rem; top: 0.3rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--accent-border);
}
.pt-year { font-family: var(--mono); font-weight: 700; color: var(--accent); font-size: 0.9rem; min-width: 50px; }
.pt-content h4 { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.25rem; }
.pt-content p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ==============================
   SKILLS
   ============================== */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.skill-category {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem; transition: var(--transition);
  border-left: 4px solid var(--accent);
}
.skill-category:nth-child(2) { border-left-color: var(--accent-secondary); }
.skill-category:nth-child(3) { border-left-color: #10b981; }
.skill-category:nth-child(4) { border-left-color: #f59e0b; }
.skill-category:nth-child(5) { border-left-color: #ec4899; }
.skill-category:nth-child(6) { border-left-color: #8b5cf6; }
.skill-category:nth-child(7) { border-left-color: #ef4444; }
.skill-category:nth-child(8) { border-left-color: #14b8a6; }
.skill-category:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.skill-category h3 { 
  font-size: 0.95rem; font-weight: 800; color: var(--text); 
  margin-bottom: 1rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tags span {
  padding: 0.4rem 0.85rem; font-size: 0.75rem; font-weight: 600;
  background: var(--bg-alt); color: var(--text-secondary); border-radius: 50px;
  transition: var(--transition); border: 1px solid var(--border);
}
.skill-tags span:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ==============================
   TIMELINE / EXPERIENCE
   ============================== */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: ''; position: absolute; left: 5px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--accent), var(--accent-secondary));
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute; left: -2.5rem; top: 0.5rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--accent-bg);
  transition: var(--transition);
}
.timeline-item:hover .tl-dot { transform: scale(1.3); background: var(--accent-secondary); }
.tl-content {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; transition: var(--transition);
  border-left: 4px solid transparent;
}
.tl-content:hover { 
  box-shadow: var(--shadow-lg); border-color: var(--accent-border);
  border-left-color: var(--accent);
}
.tl-date { 
  display: inline-block;
  font-family: var(--mono); font-size: 0.75rem; 
  color: #fff; background: var(--accent);
  padding: 0.3rem 0.8rem; border-radius: 50px;
  margin-bottom: 0.75rem; font-weight: 600;
}
.tl-content h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.35rem; color: var(--text); }
.tl-content h4 { 
  font-size: 0.9rem; color: var(--accent-secondary); font-weight: 600; 
  margin-bottom: 1rem; 
}
.tl-content ul { padding-left: 1.25rem; list-style: none; }
.tl-content li { 
  font-size: 0.9rem; color: var(--text-secondary); 
  margin-bottom: 0.75rem; line-height: 1.7;
  position: relative; padding-left: 1rem;
}
.tl-content li::before {
  content: '→';
  position: absolute; left: -1rem;
  color: var(--accent); font-weight: bold;
}
.tl-content li strong { color: var(--accent); font-weight: 700; }

/* ==============================
   PUBLICATIONS
   ============================== */
.pub-stats {
  display: flex; justify-content: center; gap: 4rem;
  margin-bottom: 3.5rem; flex-wrap: wrap;
}
.pub-stat { text-align: center; }
.ps-num {
  display: block; font-size: 2.5rem; font-weight: 900;
  font-family: var(--mono);
}
.pub-stat:nth-child(1) .ps-num { color: var(--accent); }
.pub-stat:nth-child(2) .ps-num { color: var(--accent-secondary); }
.pub-stat:nth-child(3) .ps-num { color: #10b981; }
.pub-stat:nth-child(4) .ps-num { color: #f59e0b; }
.ps-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.pub-list { max-width: 850px; margin: 0 auto; }
.pub-year-group { margin-bottom: 2rem; }
.pub-year {
  font-family: var(--mono); font-size: 1rem; font-weight: 700;
  color: var(--accent); margin-bottom: 0.75rem;
}
.pub-items { display: flex; flex-direction: column; gap: 0.75rem; }
.pub-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem; transition: var(--transition);
}
.pub-item:hover { box-shadow: var(--shadow); border-color: var(--accent-border); }
.pub-type {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0.3rem 0.5rem; border-radius: 4px;
  flex-shrink: 0; margin-top: 0.15rem; white-space: nowrap;
}
.pub-type.journal { background: var(--accent-bg); color: var(--accent); }
.pub-type.patent { background: #ecfdf5; color: #059669; }
.pub-type.conference { background: #fff7ed; color: #c2410c; }
.pub-type.thesis { background: #fdf2f8; color: #be185d; }
.pub-info h4 { font-size: 0.9rem; font-weight: 600; line-height: 1.4; color: var(--text); }
.pub-info p { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; line-height: 1.5; }
.pub-info em { font-style: italic; }
.pub-under-review {
  max-width: 850px; margin: 2rem auto 0;
  padding: 1.25rem 1.5rem; background: var(--bg-card); border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.pub-under-review h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.pub-under-review ul { padding-left: 1.25rem; list-style: disc; }
.pub-under-review li { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.25rem; }
.pub-cta { text-align: center; margin-top: 2rem; }

/* ==============================
   JOURNEY TIMELINE (Compact)
   ============================== */
.journey-timeline {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.journey-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 280px;
}

.journey-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-bg);
  border: 2px solid var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.journey-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.journey-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.journey-date {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.journey-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.journey-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* ==============================
   PUBLICATION STATS
   ============================== */
.pub-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

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

.pub-stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  font-family: var(--mono);
}

.pub-stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

/* Featured Publications */
.pub-featured {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.pub-featured-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  max-width: 380px;
  transition: all 0.3s ease;
}

.pub-featured-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.pub-type {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.pub-featured-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 0.5rem 0;
}

.pub-venue {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 768px) {
  .journey-timeline {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .pub-stats {
    gap: 2rem;
  }
  
  .pub-stat-number {
    font-size: 2rem;
  }
  
  .pub-featured {
    flex-direction: column;
    align-items: center;
  }
}

/* ==============================
   EDUCATION
   ============================== */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.edu-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.edu-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 3px;
  background: var(--accent);
  transition: left 0.4s ease;
}
.edu-card:hover::before { left: 0; }
.edu-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent-border); transform: translateY(-5px); }
.edu-degree {
  font-family: var(--mono); font-size: 1.5rem; font-weight: 800;
  color: var(--accent); margin-bottom: 0.75rem;
}
.edu-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; }
.edu-card h4 { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; margin-bottom: 0.5rem; }
.edu-year { font-family: var(--mono); font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 0.75rem; }
.edu-detail { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; text-align: left; border-top: 1px solid var(--border); padding-top: 0.75rem; margin-top: 0.25rem; }

.awards-certs { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.ac-col h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.ac-col ul { padding-left: 1.25rem; list-style: disc; }
.ac-col li { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0.75rem; line-height: 1.5; }
.ac-col li strong { color: var(--text); }

/* ==============================
   ARTICLES
   ============================== */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.articles-grid-5 { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.article-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem; transition: var(--transition);
  display: block; position: relative; overflow: hidden;
}
.article-card::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 100%;
  background: rgba(99,102,241,0.03);
  transition: width 0.4s ease;
  z-index: 0;
}
.article-card:hover::before { width: 100%; }
.article-card > * { position: relative; z-index: 1; }
.article-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent-border); transform: translateX(5px); }
.article-featured {
  background: #f0f9ff;
  border-color: var(--accent-border);
}
.article-featured:hover { background: #e0f2fe; }
.article-badge {
  position: absolute; top: 1rem; right: 1rem;
  padding: 0.25rem 0.6rem; font-size: 0.6rem; font-weight: 700;
  background: var(--accent); color: #fff;
  border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em;
}
.article-date { font-family: var(--mono); font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.article-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; line-height: 1.35; }
.article-card p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 1rem; }
.article-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.article-tags span {
  padding: 0.2rem 0.45rem; font-size: 0.6rem; font-weight: 600;
  background: var(--accent-bg); color: var(--accent); border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* ==============================
   GALLERY
   ============================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer; transition: var(--transition);
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.75rem; background: rgba(15,23,42,0.85);
  color: #fff; font-size: 0.8rem; font-weight: 500;
}

/* ==============================
   CONTACT
   ============================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.5rem;
}
.contact-item svg { color: var(--accent); flex-shrink: 0; margin-top: 0.15rem; }
.contact-item strong { display: block; font-size: 0.85rem; color: var(--text); margin-bottom: 0.15rem; }
.contact-item a, .contact-item span { font-size: 0.9rem; color: var(--text-secondary); }
.contact-item a:hover { color: var(--accent); }
.social-links { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.social-link {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--text-secondary); transition: var(--transition);
}
.social-link:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-bg); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.85rem 1rem; background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px; font-family: var(--font);
  font-size: 0.9rem; color: var(--text); outline: none; transition: var(--transition);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }

/* ==============================
   FOOTER
   ============================== */
.footer {
  padding: 2.5rem 4rem; border-top: 1px solid var(--border); background: var(--bg); width: 100%;
}
.footer-inner {
  max-width: 1600px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-name { font-weight: 700; font-size: 1rem; color: var(--text); display: block; }
.footer-left p, .footer-center p { font-size: 0.8rem; color: var(--text-muted); }
.footer-right { display: flex; gap: 0.5rem; }

/* ==============================
   APPLE-STYLE MODERN ANIMATIONS
   ============================== */
/* Scroll Reveal Effects - applied via JS only */
[data-aos] {
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-aos]:hover { transform: translateY(-5px); }

/* Staggered Children Animation */
.stagger-children > * {
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.stagger-children:hover > *:nth-child(1) { transition-delay: 0s; }
.stagger-children:hover > *:nth-child(2) { transition-delay: 0.05s; }
.stagger-children:hover > *:nth-child(3) { transition-delay: 0.1s; }
.stagger-children:hover > *:nth-child(4) { transition-delay: 0.15s; }
.stagger-children:hover > *:nth-child(5) { transition-delay: 0.2s; }
.stagger-children:hover > *:nth-child(6) { transition-delay: 0.25s; }

/* Text Reveal Animation */
.text-reveal span {
  display: inline-block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.text-reveal:hover span {
  transform: translateY(-2px);
}

/* Parallax Elements */
.parallax-element {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* Scale on Scroll */
.scale-on-scroll {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.scale-on-scroll.scaled {
  transform: scale(0.95);
}

/* Blur Reveal */
.blur-reveal {
  transition: filter 0.6s ease, transform 0.6s ease;
}
.blur-reveal:hover {
  filter: blur(0);
  transform: scale(1.02);
}

/* Magnetic Hover Effect */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==============================
   SCROLL-REVEAL ANIMATIONS
   ============================== */

/* Base reveal element — starts hidden below fold */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Slide-from-left */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

/* Slide-from-right */
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* Scale-up reveal (for cards) */
.reveal-scale {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.revealed { opacity: 1; transform: translateY(0) scale(1); }

/* Section header — always visible; no hidden initial state to avoid blank gaps */
.section-header.reveal,
.section-header.reveal-scale {
  opacity: 1 !important;
  transform: none !important;
}
.section-header .section-tag,
.section-header h2,
.section-header .section-desc {
  opacity: 1;
  transform: none;
}

/* ==============================
   PAGE HERO (sub-pages)
   ============================== */
.page-hero {
  padding: 7rem 1.5rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero .section-tag {
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1rem;
}
.page-hero h1 .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* nav active link */
.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
}

/* ==============================
   PULSEFIT-STYLE PHOTO CAROUSEL
   ============================== */

/* Container with hidden overflow + edge fades */
.photo-carousel {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0 1.5rem;
  margin: 0 -2rem; /* bleed past section padding */
}

.photo-carousel::before,
.photo-carousel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 5;
  pointer-events: none;
}
.photo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}
.photo-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

/* Section-alt variant (slightly different bg) */
.section-alt .photo-carousel::before {
  background: linear-gradient(90deg, var(--bg-alt) 0%, transparent 100%);
}
.section-alt .photo-carousel::after {
  background: linear-gradient(270deg, var(--bg-alt) 0%, transparent 100%);
}

/* Scrolling track — pause on hover */
.photo-track {
  display: flex;
  gap: 18px;
  padding: 0 2rem;
  width: max-content;
  animation: photo-scroll var(--photo-duration, 32s) linear infinite;
}
.photo-carousel:hover .photo-track {
  animation-play-state: paused;
}

@keyframes photo-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Photo card — landscape (team, events) - TALLER for vertical photos */
.photo-card {
  flex-shrink: 0;
  width: 340px;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.35s ease;
}
.photo-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 18px 48px rgba(0,0,0,0.18);
}

/* Photo card — square/portrait (technical renders like TAMS) */
.photo-card-sq {
  width: 320px;
  height: 340px;
  background: #0f1117;   /* dark bg so transparent PNGs render cleanly */
}

.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.photo-card:hover img {
  transform: scale(1.06);
}

/* Bottom gradient + label */
.photo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.62) 100%);
  pointer-events: none;
}

.photo-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Reverse track (second row, opposite direction) */
.photo-track-reverse {
  animation-direction: reverse;
}

@media (max-width: 768px) {
  .photo-carousel { margin: 0 -1.5rem; }
  .photo-card { width: 280px; height: 320px; }
  .photo-card-sq { width: 260px; height: 280px; }
}

/* Smooth Section Transitions (legacy kept) */
.section {
  opacity: 1;
  transform: translateY(0);
}
.section.animate-in {
  opacity: 0;
  transform: translateY(40px);
}
.section.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Scroll Animation */
.hero-text, .hero-photo {
  transition: transform 0.1s linear, opacity 0.1s linear;
  will-change: transform, opacity;
}

/* Card 3D Tilt Effect */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.tilt-card:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateZ(10px);
}

/* Smooth Link Underline */
.smooth-underline {
  position: relative;
  overflow: hidden;
}
.smooth-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.smooth-underline:hover::after {
  transform: translateX(0);
}

/* Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s linear;
}
[data-aos].visible { opacity: 1; transform: translateY(0); }

/* ==============================
   TAMS VIDEO SECTION
   ============================== */
.tams-videos-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.tams-videos-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.tams-videos-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.tams-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tams-video-card {
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tams-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.tams-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: #1a1a1a;
}

.tams-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.tams-video-info {
  padding: 1rem 1.25rem;
}

.tams-video-info h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.tams-video-feature {
  margin-bottom: 2rem;
}

.tams-video-feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.tams-video-feature-content.reverse {
  direction: rtl;
}

.tams-video-feature-content.reverse > * {
  direction: ltr;
}

.tams-video-feature .tams-video-wrap {
  border-radius: 0;
}

.tams-video-wide {
  padding-top: 56.25%;
}

.tams-video-text {
  padding: 2rem;
}

.tams-video-text h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.tams-video-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.tams-video-full {
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.tams-video-full .tams-video-wrap {
  padding-top: 45%; /* Wider aspect for full-width */
}

.tams-video-full .tams-video-info {
  padding: 1.25rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.03), rgba(6,182,212,0.03));
}

.tams-video-full .tams-video-info h5 {
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .tams-video-grid {
    grid-template-columns: 1fr;
  }
  
  .tams-video-feature-content {
    grid-template-columns: 1fr;
  }
  
  .tams-video-feature-content.reverse {
    direction: ltr;
  }
  
  .tams-video-text {
    padding: 1.5rem;
  }
  
  .tams-video-full .tams-video-wrap {
    padding-top: 56.25%;
  }
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1200px) {
  .articles-grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 0 2rem; }
  .hero-tagline { max-width: 100%; margin: 0 auto 1rem; }
  .hero-cta { justify-content: center; }
  .hero-photo { order: -1; margin-bottom: 1rem; justify-content: center; }
  .hero-photo img { width: 240px; height: 240px; }
  .hero-credentials { padding: 1.5rem 2rem; gap: 2rem; }
  .articles-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 5rem 2rem; }
  .nav-container { padding: 0 2rem; }
  .footer { padding: 2rem; }
  /* Hide decorative SVGs on tablets */
  .hero-honeycomb-backdrop, .hero-quantum, .hero-wave, .section-decor { display: none; }
  /* Reduce background effects on tablet */
  .sound-pulse { opacity: 0.08; }
  .bg-hexagons { opacity: 0.04; }
  .hex-cluster { opacity: 0.06; }
  .bg-soundwaves { opacity: 0.08; }
  .bg-waveform { opacity: 0.05; }
}

@media (max-width: 900px) {
  .about-grid, .contact-grid, .awards-certs { grid-template-columns: 1fr; gap: 2rem; }
  .research-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .articles-grid, .articles-grid-5 { grid-template-columns: 1fr; }
  .project-images, .project-details-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Live Interactive Visualizations Section */
.live-viz-section {
  margin-bottom: 4rem;
}

.live-viz-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.live-viz-desc {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.live-viz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.live-viz-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.live-viz-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border-color: var(--accent);
}

.live-viz-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio for larger display */
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  overflow: hidden;
}

.live-viz-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  border: none;
  pointer-events: none;
  transform: scale(0.5);
  transform-origin: top left;
  transition: filter 0.3s ease;
}

.live-viz-card:hover .live-viz-frame iframe {
  pointer-events: auto;
}

.live-viz-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  pointer-events: none;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255,65,108,0.4);
  animation: live-pulse 2s ease-in-out infinite;
}

.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: live-dot 1s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

@keyframes live-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.live-viz-info {
  padding: 1.25rem 1.5rem;
}

.live-viz-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.live-viz-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.live-viz-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.live-viz-link:hover {
  color: var(--accent-dark);
  gap: 8px;
}

.articles-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ==============================
   CURRENT EXPLORATIONS SECTION
   ============================== */
.explorations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.exploration-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}

.exploration-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(99, 102, 241, 0.25);
}

.exploration-viz {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #0a0a14;
}

.exploration-viz iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  border: none;
  pointer-events: none;
  transform: scale(0.5);
  transform-origin: top left;
}

.exploration-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1rem;
}

.exploration-badge {
  background: rgba(99, 102, 241, 0.9);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  animation: pulseBadge 2s ease-in-out infinite;
}

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

.exploration-content {
  padding: 1.25rem 1.5rem;
}

.exploration-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.exploration-icon svg {
  width: 20px;
  height: 20px;
}

.exploration-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.exploration-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.exploration-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.exploration-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.exploration-tags span:hover {
  background: var(--accent);
  color: #fff;
}

.exploration-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.exploration-link:hover {
  color: var(--accent-dark);
  gap: 8px;
}

@media (max-width: 1100px) {
  .explorations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .exploration-viz {
    height: 280px;
  }
  
  .exploration-content {
    padding: 1rem;
  }
}

@media (max-width: 900px) {
  .live-viz-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-links, .nav-actions {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px); padding: 1rem; border-bottom: 1px solid var(--border);
  }
  .nav-links.open, .nav-links.open + .nav-actions { display: flex; }
  .nav-toggle { display: flex; }
  .skills-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 1.25rem; }
  .section-header h2 { font-size: 1.75rem; }
  .hero-credentials { flex-direction: column; gap: 1rem; }
  .cred-divider { width: 60px; height: 1px; }
  .pub-stats { gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 250px; }
  /* Simplify background on mobile */
  .bg-decoration { display: none; }
  .section::before { display: none; }
  .live-viz-grid { grid-template-columns: 1fr; }
  .live-viz-frame { padding-bottom: 65%; }
}

/* ==============================
   ML/AI PROJECTS PAGE
   ============================== */

/* Project Card */
.ml-project-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.ml-project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.ml-project-featured {
  border: 2px solid var(--accent-border);
  position: relative;
}
.ml-project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.ml-project-content {
  padding: 2rem 2.5rem 2.5rem;
}
.ml-project-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.ml-project-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--accent-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.ml-project-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.ml-project-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.ml-project-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Tech Tags */
.ml-project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.ml-tech-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--accent-bg);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid var(--accent-border);
}

/* Metrics */
.ml-project-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.ml-metric {
  text-align: center;
}
.ml-metric-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--mono);
}
.ml-metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Architecture Flow */
.ml-project-arch {
  margin-bottom: 1.75rem;
}
.ml-project-arch h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.ml-arch-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.ml-arch-step {
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--bg-alt);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.ml-arch-highlight {
  background: var(--accent-bg);
  color: var(--accent);
  border-color: var(--accent-border);
}
.ml-arch-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.ml-arch-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Actions */
.ml-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Skills Grid */
.ml-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.ml-skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}
.ml-skill-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow);
}
.ml-skill-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.ml-skill-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ml-skill-card li {
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  padding-left: 1rem;
  position: relative;
}
.ml-skill-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}
.ml-skill-card li:last-child {
  border-bottom: none;
}

/* ==============================
   PHONONICNET DEMO PAGE
   ============================== */

/* Layout */
.demo-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 968px) {
  .demo-layout {
    grid-template-columns: 1fr;
  }
}

.demo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 80px;
}
@media (max-width: 968px) {
  .demo-sidebar {
    position: static;
  }
}

.demo-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Panel */
.demo-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.demo-panel-plot {
  min-height: 400px;
}
.demo-panel-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.demo-panel-title svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Controls */
.demo-control {
  margin-bottom: 1.25rem;
}
.demo-control label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.demo-control input[type="range"] {
  width: 100%;
  height: 6px;
  appearance: none;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
.demo-control input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(99,102,241,0.3);
  transition: var(--transition);
}
.demo-control input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 10px rgba(99,102,241,0.5);
}
.demo-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}
.demo-val {
  font-weight: 600;
  color: var(--accent);
  font-family: var(--mono);
}

/* Toggle buttons */
.demo-toggle-group {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.demo-toggle {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--bg-alt);
  color: var(--text-secondary);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.demo-toggle.active {
  background: var(--accent);
  color: #fff;
}
.demo-toggle:hover:not(.active) {
  background: var(--accent-bg);
  color: var(--accent);
}

/* Compute Button */
.demo-compute-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Status */
.demo-status {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
  font-family: var(--mono);
  padding: 0.5rem;
  border-radius: 6px;
  background: var(--bg-alt);
}

/* Metrics */
.demo-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.demo-metric {
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
}
.demo-metric-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.demo-metric-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
  margin-top: 0.25rem;
}

/* Indicator */
.demo-indicator {
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
}
.demo-indicator.gap-found {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.demo-indicator.no-gap {
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde68a;
}

/* Topology */
.demo-topo-result {
  text-align: center;
  margin-bottom: 0.75rem;
}
.demo-topo-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--text-muted);
}
.demo-topo-badge.topological {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}
.demo-topo-badge.trivial {
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.demo-topo-score {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.demo-topo-factors {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.demo-topo-factor {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}
.demo-topo-factor-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.demo-topo-factor-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.demo-topo-factor-label {
  width: 110px;
  flex-shrink: 0;
  color: var(--text-secondary);
}
.demo-topo-factor-val {
  width: 40px;
  text-align: right;
  font-family: var(--mono);
  color: var(--text-muted);
}

/* Dual Plot */
.demo-dual-plot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 768px) {
  .demo-dual-plot {
    grid-template-columns: 1fr;
  }
}

/* Phase Diagram */
.demo-phase-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.demo-phase-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Progress */
.demo-progress {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.75rem;
}
.demo-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.2s ease;
  width: 0%;
}

/* Architecture Section */
.demo-arch-panel {
  margin-top: 2rem;
}
.demo-arch-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
}
.demo-arch-node {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
}
.demo-arch-node strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}
.demo-arch-node span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.demo-arch-input {
  background: var(--bg-alt);
}
.demo-arch-process {
  background: var(--accent-bg);
  border-color: var(--accent-border);
}
.demo-arch-process strong {
  color: var(--accent);
}
.demo-arch-ml {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.demo-arch-ml strong { color: #fff; }
.demo-arch-ml span { color: rgba(255,255,255,0.8); }
.demo-arch-output {
  background: #dcfce7;
  border-color: #bbf7d0;
}
.demo-arch-output strong {
  color: #166534;
}
.demo-arch-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
}
.demo-arch-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.demo-arch-card {
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.demo-arch-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.demo-arch-card code {
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--accent-border);
}
.demo-arch-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Responsive for demo page */
@media (max-width: 768px) {
  .ml-project-content {
    padding: 1.5rem;
  }
  .ml-project-header {
    flex-direction: column;
  }
  .ml-project-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .demo-arch-flow {
    flex-direction: column;
  }
  .demo-arch-arrow {
    transform: rotate(90deg);
  }
  .demo-phase-controls {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================
   Professional Service & Leadership (about.html)
   ======================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(99,102,241,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.service-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.service-list li:last-child {
  border-bottom: none;
}
.service-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 10px;
  background: rgba(99,102,241,0.12);
  color: var(--accent);
  vertical-align: middle;
  margin-left: 0.3rem;
}

/* ========================================
   Research Impact Page
   ======================================== */

/* TAMS Innovation Cards */
.tams-innovations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.tams-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.tams-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s;
}
.tams-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.tams-card:hover::before {
  opacity: 1;
}
.tams-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.tams-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.tams-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Performance Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.metric-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.metric-accent::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.metric-cyan::before { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.metric-green::before { background: linear-gradient(90deg, #10b981, #34d399); }
.metric-amber::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.metric-purple::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.metric-rose::before { background: linear-gradient(90deg, #f43f5e, #fb7185); }
.metric-value {
  display: block;
  font-family: var(--font);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.metric-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}
.metric-detail {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Deployment Grid */
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.deploy-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.deploy-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.deploy-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(99,102,241,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.deploy-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.deploy-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* National Alignment Grid */
.alignment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.alignment-item {
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}
.alignment-item:hover {
  border-color: var(--accent);
}
.alignment-agency {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #fff;
}
.alignment-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Public Health Stats */
.health-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.health-stat {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.health-num {
  display: block;
  font-family: var(--font);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.health-label {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Entrepreneurship Section */
.startup-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}
.startup-milestones {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 2rem;
}
.startup-milestones::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
  border-radius: 1px;
}
.startup-milestone {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  position: relative;
}
.sm-marker {
  position: absolute;
  left: -2rem;
  top: 1.35rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
  z-index: 1;
}
.sm-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.sm-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}
.startup-targets {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.startup-targets h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-align: center;
}
.target-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.target-item {
  text-align: center;
  padding: 1rem 0.5rem;
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.target-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.target-unit {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.target-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Strategic Grid */
.strategic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.strategic-card {
  padding: 1.75rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.strategic-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.strategic-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.strategic-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Responsive: Impact Page */
@media (max-width: 768px) {
  .startup-content {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-value {
    font-size: 1.6rem;
  }
  .health-num {
    font-size: 1.8rem;
  }
  .target-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .deploy-grid {
    grid-template-columns: 1fr;
  }
  .target-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   BLOG — LISTING PAGE
   ============================== */
.blog-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  padding: 7rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(99,102,241,0.2);
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(99,102,241,0.12) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(6,182,212,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.blog-hero .section-tag {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent-light);
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  font-family: var(--mono);
  position: relative;
}
.blog-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  position: relative;
}
.blog-hero h1 span {
  background: linear-gradient(135deg, #818cf8 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blog-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

/* Category Filter Pills */
.blog-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2.5rem auto 0;
  max-width: 700px;
  position: relative;
}
.blog-filter-pill {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.blog-filter-pill:hover,
.blog-filter-pill.active {
  background: rgba(99,102,241,0.2);
  border-color: rgba(99,102,241,0.5);
  color: #fff;
}

/* Blog Container */
.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}

/* Featured Post */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
  transition: all 0.4s;
}
.blog-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.blog-featured-thumb {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.blog-featured-thumb .blog-thumb-bg {
  position: absolute;
  inset: 0;
}
.blog-featured-thumb .blog-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
}
.blog-featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-body .blog-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-family: var(--mono);
}
.blog-featured-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.blog-featured-body .blog-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.blog-featured-body .blog-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.blog-meta-row .blog-author-name {
  font-weight: 600;
  color: var(--text);
}

/* Blog Badge */
.blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  font-family: var(--mono);
}
.blog-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #00e5ff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,229,255,0.8);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

/* Blog Post Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Blog Post Card */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(99,102,241,0.3);
}
.blog-card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.blog-thumb-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-thumb-icon {
  font-size: 3rem;
  opacity: 0.3;
  filter: blur(0.5px);
}
.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: var(--mono);
}
.blog-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.blog-card-body .blog-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.blog-card-footer .blog-author-name {
  font-weight: 600;
  color: var(--text-secondary);
}
.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.blog-card-tags span {
  font-size: 0.65rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-bg);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

/* External Articles Section */
.blog-ext-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.blog-ext-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.blog-ext-section > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.blog-ext-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-ext-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-ext-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(99,102,241,0.3);
}
.blog-ext-card .blog-ext-date {
  font-size: 0.7rem;
  font-family: var(--mono);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.blog-ext-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.blog-ext-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

/* ==============================
   BLOG — ARTICLE POST PAGE
   ============================== */
.blog-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.blog-article-header {
  padding-top: 6rem;
  margin-bottom: 2rem;
}
.blog-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.blog-breadcrumb:hover { color: var(--accent); }
.blog-breadcrumb svg { width: 16px; height: 16px; }
.blog-article-header .blog-cat {
  margin-bottom: 0.75rem;
}
.blog-article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.blog-article-meta .blog-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.blog-article-meta .blog-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.blog-article-meta .blog-author-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}
.blog-article-meta .blog-meta-details {
  font-size: 0.8rem;
}

/* Demo Embed */
.blog-demo-wrap {
  margin: 2rem -2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #0a0a14;
  position: relative;
}
.blog-demo-wrap iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}
.blog-demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(15,23,42,0.95);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.blog-demo-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-demo-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #00e5ff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,229,255,0.6);
  animation: livePulse 2s ease-in-out infinite;
}
.blog-demo-fullscreen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(99,102,241,0.2);
  border: 1px solid rgba(99,102,241,0.4);
  color: #818cf8;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
}
.blog-demo-fullscreen:hover {
  background: rgba(99,102,241,0.35);
  color: #fff;
}
.blog-demo-fullscreen svg { width: 14px; height: 14px; }

/* Article Content */
.blog-article-content {
  margin-top: 2.5rem;
}
.blog-article-content .blog-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
}
.blog-article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}
.blog-article-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.blog-article-content ul, .blog-article-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.85;
}
.blog-article-content li {
  margin-bottom: 0.5rem;
}
.blog-article-content .blog-highlight {
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.blog-article-content .blog-highlight h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--mono);
}
.blog-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.blog-article-tags span {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-bg);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

/* Related Posts */
.blog-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.blog-related h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.blog-related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
.blog-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(99,102,241,0.3);
}
.blog-related-card .blog-cat {
  font-size: 0.65rem;
  margin-bottom: 0.4rem;
}
.blog-related-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

/* Responsive Blog */
@media (max-width: 768px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-thumb {
    min-height: 200px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-ext-grid {
    grid-template-columns: 1fr;
  }
  .blog-related-grid {
    grid-template-columns: 1fr;
  }
  .blog-container {
    padding: 2rem 1rem 4rem;
  }
  .blog-hero {
    padding: 6rem 1.5rem 3rem;
  }
  .blog-demo-wrap {
    margin: 1.5rem -1rem;
  }
  .blog-demo-wrap iframe {
    height: 350px;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-ext-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Technical Reports Section ─── */
.blog-reports-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(99,102,241,0.15);
}
.blog-reports-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.blog-reports-header h2 {
  font-family: var(--heading);
  font-size: 2rem;
  color: var(--text);
  margin: 0.75rem 0 0.5rem;
}
.blog-reports-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}
/* Report-specific demo bar */
.blog-demo-bar.report-bar {
  background: linear-gradient(90deg, #1e293b 0%, #334155 100%);
}
.blog-demo-bar.report-bar .blog-demo-live::before {
  background: #3b82f6;
}
