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

:root {
  --dark: #060610;
  --dark-2: #0c0c1a;
  --dark-3: #141428;
  --cream: #f5f3ef;
  --cream-2: #eae7e0;
  --white: #ffffff;
  --teal: #00d4aa;
  --teal-dim: #00a888;
  --teal-glow: rgba(0,212,170,0.15);
  --rose: #e8627c;
  --rose-glow: rgba(232,98,124,0.15);
  --blue: #4a7dff;
  --purple: #8b5cf6;
  --gray: #7a7a8e;
  --gray-light: #b0b0be;
  --border-dark: rgba(255,255,255,0.06);
  --border-light: rgba(0,0,0,0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor-glow {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,0.07) 0%, rgba(0,212,170,0.02) 30%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  mix-blend-mode: screen;
}
.cursor-dot {
  position: fixed; pointer-events: none; z-index: 10000;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(0,212,170,0.5);
  transition: width 0.2s, height 0.2s;
}
a:hover ~ .cursor-dot, button:hover ~ .cursor-dot { width: 16px; height: 16px; }

/* Restore default cursor on interactive elements */
a, button, input, textarea, select { cursor: pointer; }

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

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--purple));
  z-index: 10001; width: 0%;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
nav.scrolled {
  background: rgba(6,6,16,0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-dark);
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; filter: brightness(1.1); opacity: 0; transition: opacity 0.4s; }
nav.scrolled .nav-logo img { opacity: 1; }
.nav-brand-name { opacity: 0; transition: opacity 0.4s; }
nav.scrolled .nav-brand-name { opacity: 1; }
.nav-brand { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-name { font-size: 1.15rem; font-weight: 600; color: var(--white); letter-spacing: -0.01em; }
.nav-brand-sub {
  font-family: 'Space Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.18em; color: var(--teal); text-transform: uppercase;
  opacity: 0; transition: opacity 0.4s;
}
nav.scrolled .nav-brand-sub { opacity: 1; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 0.88rem; font-weight: 400;
  color: rgba(255,255,255,0.6); transition: color 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: transparent !important; color: white !important;
  padding: 0.55rem 1.5rem; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.25) !important;
  transition: all 0.3s !important; font-weight: 500 !important;
}
.nav-cta:hover { border-color: var(--teal) !important; color: var(--teal) !important; box-shadow: 0 0 20px rgba(0,212,170,0.15) !important; }
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative; z-index: 1001;
}
.nav-hamburger span { display: block; width: 100%; height: 2px; background: var(--white); position: absolute; left: 0; transition: all 0.3s; }
.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 9px; }
.nav-hamburger span:nth-child(3) { top: 18px; }
.nav-hamburger.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  position: relative; overflow: hidden; padding: 0 2rem;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 200px; background: linear-gradient(to top, var(--dark), transparent);
  z-index: 2; pointer-events: none;
}
#dna-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-content { position: relative; z-index: 3; max-width: 950px; }

.hero-eyebrow {
  font-family: 'Space Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.25em; color: var(--teal); text-transform: uppercase;
  margin-bottom: 2rem; display: inline-flex; align-items: center; gap: 1rem;
  opacity: 0; animation: fadeInUp 0.8s 0.3s forwards;
}
.hero-eyebrow .typing-cursor {
  display: inline-block; width: 2px; height: 1em; background: var(--teal);
  margin-left: 2px; animation: blink 1s infinite;
}
@keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 28px; height: 1px; background: var(--teal); opacity: 0.4;
}

h1 {
  font-size: clamp(3rem, 6.5vw, 6rem); font-weight: 700;
  line-height: 1.02; color: var(--white); margin-bottom: 2rem;
  letter-spacing: -0.04em;
  opacity: 0; animation: fadeInUp 0.8s 0.5s forwards;
}
h1 em {
  font-style: normal; position: relative;
  background: linear-gradient(135deg, var(--teal) 0%, #00e5b8 50%, var(--blue) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

.hero-desc {
  font-size: 1.12rem; line-height: 1.8; color: var(--gray-light);
  max-width: 620px; margin: 0 auto 3rem; font-weight: 300;
  opacity: 0; animation: fadeInUp 0.8s 0.7s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeInUp 0.8s 0.9s forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── BUTTONS ── */
.btn-pill {
  padding: 0.9rem 2.4rem; border-radius: 100px; text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex; align-items: center; gap: 0.5rem;
  position: relative; overflow: hidden;
}
.btn-pill .arrow { transition: transform 0.3s; font-size: 0.85rem; }
.btn-pill:hover .arrow { transform: translate(3px, -3px); }

.btn-primary {
  background: var(--white); color: var(--dark);
  border: 1.5px solid var(--white);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--teal), #00e5b8);
  opacity: 0; transition: opacity 0.35s; border-radius: 100px;
}
.btn-primary:hover {
  color: var(--dark); border-color: var(--teal);
  box-shadow: 0 0 35px rgba(0,212,170,0.3), 0 0 80px rgba(0,212,170,0.1);
  transform: translateY(-2px);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary .arrow { position: relative; z-index: 1; }

.btn-ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 0 25px rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark); color: var(--white);
  border: 1.5px solid var(--dark);
}
.btn-dark:hover {
  box-shadow: 0 0 35px rgba(0,212,170,0.2);
  border-color: var(--teal); transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: fadeInUp 0.8s 1.2s forwards;
}
.scroll-indicator span {
  font-family: 'Space Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray);
}
.scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--dark-2); border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 4rem 6rem; position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,212,170,0.03), transparent, rgba(74,125,255,0.03));
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  position: relative; z-index: 1;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.8rem; font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.3rem; line-height: 1.2;
}
.stat-label {
  font-family: 'Space Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray);
}
.stat-bar {
  width: 40px; height: 2px; margin: 0.6rem auto 0;
  background: linear-gradient(90deg, var(--teal), transparent); border-radius: 1px;
}

/* ── SECTIONS ── */
.section-dark { background: var(--dark); padding: 9rem 6rem; position: relative; }
.section-cream { background: var(--cream); padding: 9rem 6rem; color: var(--dark); position: relative; overflow: hidden; }
.section-cream::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.section-eyebrow {
  font-family: 'Space Mono', monospace; font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.75rem;
}
.section-dark .section-eyebrow { color: var(--teal); }
.section-cream .section-eyebrow { color: var(--rose); }
.section-eyebrow::before { content: ''; width: 28px; height: 1px; }
.section-dark .section-eyebrow::before { background: var(--teal); }
.section-cream .section-eyebrow::before { background: var(--rose); }

h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 1.5rem;
}
.section-dark h2 { color: var(--white); }
.section-cream h2 { color: var(--dark); }
h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-cream h2 em {
  background: linear-gradient(135deg, var(--rose), #c44db8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text p { color: var(--gray); line-height: 1.85; margin-bottom: 1.2rem; font-weight: 300; font-size: 1rem; }
.section-cream .about-text p { color: #5a5a6a; }

.mission-box {
  background: linear-gradient(145deg, var(--dark-2), var(--dark));
  padding: 3rem; border-radius: 20px; border: 1px solid var(--border-dark);
  position: relative; overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}
.mission-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(0,212,170,0.06);
}
.mission-box::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--purple), var(--rose));
  background-size: 300% 100%; animation: gradientShift 5s linear infinite;
}
@keyframes gradientShift { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
.mission-box::after {
  content: '"'; position: absolute; top: -10px; right: 30px;
  font-size: 8rem; color: rgba(0,212,170,0.06); font-weight: 700; line-height: 1;
}
.mission-box h3 { font-family: 'Space Mono', monospace; font-size: 0.6rem; letter-spacing: 0.22em; color: var(--teal); text-transform: uppercase; margin-bottom: 1.2rem; }
.mission-box p { font-size: 1.25rem; color: rgba(255,255,255,0.8); line-height: 1.7; font-weight: 300; position: relative; z-index: 1; }

/* ── TECH SECTION ── */
.tech-header { text-align: center; margin-bottom: 5rem; max-width: 640px; margin-left: auto; margin-right: auto; position: relative; z-index: 2; }
.tech-header .section-eyebrow { justify-content: center; }
.tech-header .section-eyebrow::before { display: none; }
.tech-header p { color: var(--gray); line-height: 1.8; font-weight: 300; }
#tech-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.25; pointer-events: none; }

.tech-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; z-index: 2; }
.tech-card {
  background: rgba(255,255,255,0.02); padding: 2.5rem; border-radius: 20px;
  border: 1px solid var(--border-dark);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.tech-card::before {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(135deg, rgba(0,212,170,0.15), transparent 50%, rgba(74,125,255,0.1));
  opacity: 0; transition: opacity 0.45s; border-radius: 20px;
}
.tech-card::after {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%; opacity: 0;
  background: radial-gradient(circle at center, rgba(0,212,170,0.05) 0%, transparent 50%);
  transition: opacity 0.45s;
}
.tech-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(0,212,170,0.2);
  box-shadow: 0 25px 70px rgba(0,0,0,0.5), 0 0 50px rgba(0,212,170,0.08);
}
.tech-card:hover::before, .tech-card:hover::after { opacity: 1; }

.tech-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal-glow), rgba(74,125,255,0.1));
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.8rem; font-size: 1.5rem; position: relative; z-index: 1;
  transition: transform 0.3s, box-shadow 0.3s;
}
.tech-card:hover .tech-icon {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(0,212,170,0.2);
}
.tech-card h3 { font-size: 1.2rem; font-weight: 600; color: var(--white); margin-bottom: 0.8rem; position: relative; z-index: 1; }
.tech-card p { color: var(--gray); font-size: 0.92rem; line-height: 1.75; font-weight: 300; position: relative; z-index: 1; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; position: relative; z-index: 1; }
.tech-tag {
  font-family: 'Space Mono', monospace; font-size: 0.52rem;
  letter-spacing: 0.1em; padding: 0.25rem 0.65rem; border-radius: 100px;
  text-transform: uppercase; border: 1px solid; transition: all 0.3s;
}
.tt-teal { color: var(--teal); border-color: rgba(0,212,170,0.25); }
.tt-rose { color: var(--rose); border-color: rgba(232,98,124,0.25); }
.tt-blue { color: var(--blue); border-color: rgba(74,125,255,0.25); }
.tech-card:hover .tt-teal { background: rgba(0,212,170,0.08); }
.tech-card:hover .tt-rose { background: rgba(232,98,124,0.08); }
.tech-card:hover .tt-blue { background: rgba(74,125,255,0.08); }

/* ── RESEARCH ── */
.research-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.research-card-main {
  background: linear-gradient(145deg, var(--dark-2), var(--dark-3));
  padding: 3rem; border-radius: 20px; border: 1px solid var(--border-dark);
  position: relative; z-index: 2; overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}
.research-card-main:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.research-card-main::before {
  content: ''; position: absolute; bottom: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0,212,170,0.12) 0%, transparent 70%);
}
.research-card-main h3 { font-size: 1.5rem; font-weight: 600; color: var(--white); margin-bottom: 1rem; }
.research-card-main p { font-size: 0.92rem; color: var(--gray); line-height: 1.75; font-weight: 300; }
.research-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.badge {
  background: rgba(0,212,170,0.1); border: 1px solid rgba(0,212,170,0.25);
  color: var(--teal); padding: 0.35rem 1rem; border-radius: 100px;
  font-size: 0.7rem; font-family: 'Space Mono', monospace;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: all 0.3s;
}
.badge:hover { background: rgba(0,212,170,0.2); transform: translateY(-1px); }
.badge.rose { background: rgba(232,98,124,0.1); border-color: rgba(232,98,124,0.25); color: var(--rose); }
.badge.rose:hover { background: rgba(232,98,124,0.2); }

.research-card-float {
  position: absolute; bottom: -1.5rem; right: -1rem;
  background: var(--white); color: var(--dark);
  padding: 1.2rem 1.5rem; border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3); border-left: 3px solid var(--teal);
  transition: transform 0.3s;
}
.research-card-float:hover { transform: translateY(-3px); }
.research-card-float h4 { font-family: 'Space Mono', monospace; font-size: 0.6rem; color: var(--teal); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.3rem; }
.research-card-float p { font-size: 0.82rem; color: var(--dark); font-weight: 600; }
.research-content p { color: var(--gray); line-height: 1.85; font-weight: 300; font-size: 1rem; margin-bottom: 1rem; }
.section-cream .research-content p { color: #5a5a6a; }
.research-list { list-style: none; margin: 1.5rem 0 2.5rem; }
.research-list li {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 0.75rem 0; font-size: 0.92rem;
  border-bottom: 1px solid var(--border-light);
  transition: padding-left 0.3s;
}
.research-list li:hover { padding-left: 0.5rem; }
.section-cream .research-list li { color: var(--dark); }
.research-list li::before {
  content: ''; flex-shrink: 0; margin-top: 0.5rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 8px rgba(0,212,170,0.4);
}

/* ── COLLABORATE ── */
.collab-section { padding: 9rem 6rem; text-align: center; position: relative; overflow: hidden; }
#collab-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.25; pointer-events: none; }
.collab-content { position: relative; z-index: 2; }
.collab-section .section-eyebrow { justify-content: center; color: var(--teal); }
.collab-section .section-eyebrow::before { display: none; }
.collab-section h2 { color: white; max-width: 750px; margin: 0 auto 1.5rem; }
.collab-content > p { color: var(--gray); max-width: 560px; margin: 0 auto 3rem; line-height: 1.8; font-weight: 300; }
.collab-use-cases { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 3rem; }
.uc-chip {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  padding: 0.45rem 1.1rem; border-radius: 100px;
  font-family: 'Space Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray);
  transition: all 0.35s; cursor: default;
}
.uc-chip:hover {
  background: var(--teal-glow); border-color: rgba(0,212,170,0.3);
  color: var(--teal); transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,212,170,0.1);
}
.collab-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: var(--dark); padding: 5rem 6rem 3rem; border-top: 1px solid var(--border-dark); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand-col .footer-logo-wrap { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.2rem; }
.footer-brand-col img { height: 38px; }
.footer-brand-col .brand-name { font-size: 1.15rem; font-weight: 600; color: var(--white); }
.footer-brand-col .brand-sub { font-family: 'Space Mono', monospace; font-size: 0.5rem; letter-spacing: 0.15em; color: var(--teal); text-transform: uppercase; display: block; }
.footer-brand-col .footer-tagline { color: var(--gray); font-size: 0.88rem; line-height: 1.7; font-weight: 300; }
.footer-col h4 { font-family: 'Space Mono', monospace; font-size: 0.6rem; letter-spacing: 0.18em; color: var(--gray); text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col a { display: block; text-decoration: none; color: rgba(255,255,255,0.55); font-size: 0.9rem; padding: 0.3rem 0; transition: all 0.2s; }
.footer-col a:hover { color: var(--teal); transform: translateX(3px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--border-dark); }
.footer-bottom p { color: var(--gray); font-size: 0.78rem; }

/* ── REVEALS ── */
.reveal { opacity: 0; transform: translateY(35px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Word stagger must preserve gradient text inside em */
.word-stagger em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-cream .word-stagger em {
  background: linear-gradient(135deg, var(--rose), #c44db8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── WORD STAGGER ── */
.word-stagger .word-reveal {
  display: inline-block;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.word-stagger.animate .word-reveal {
  opacity: 1; transform: translateY(0);
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  body { cursor: auto; }
  .cursor-glow, .cursor-dot { display: none; }
  nav { padding: 1rem 1.5rem; }
  .nav-hamburger { display: block; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(6,6,16,0.97); backdrop-filter: blur(20px); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
  .hero { padding: 0 1.5rem; }
  h1 { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .section-dark, .section-cream, .collab-section { padding: 5rem 1.5rem; }
  .stats-bar { padding: 3rem 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .about-grid, .research-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .tech-cards { grid-template-columns: 1fr; }
  footer { padding: 3rem 1.5rem 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .scroll-indicator { display: none; }
  .research-card-float { position: relative; bottom: auto; right: auto; margin-top: 1rem; }
}
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } .stats-grid { grid-template-columns: 1fr 1fr; } }

/* ── 3D FLOATING LOGO ── */
.hero-logo-3d {
  margin-bottom: 2.5rem;
  opacity: 0; animation: logoReveal 1.2s 0.1s forwards;
}
.hero-logo-3d .logo-float {
  width: 180px; height: 180px;
  position: relative; display: inline-block;
  animation: floatLogo 6s ease-in-out infinite;
  perspective: 1000px;
}
.hero-logo-3d .logo-float img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(0,212,170,0.25)) drop-shadow(0 0 60px rgba(0,212,170,0.1));
  animation: rotateY3D 12s linear infinite;
  transform-style: preserve-3d;
}
.hero-logo-3d .logo-glow {
  position: absolute; inset: -30px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,0.12) 0%, rgba(74,125,255,0.06) 40%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite;
  z-index: -1;
}
.hero-logo-3d .logo-ring {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(0,212,170,0.1);
  animation: rotateRing 20s linear infinite;
}
.hero-logo-3d .logo-ring::before {
  content: ''; position: absolute; top: -3px; left: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 10px var(--teal);
}

@keyframes logoReveal {
  from { opacity: 0; transform: translateY(-30px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes rotateY3D {
  0% { transform: rotateY(0deg); }
  25% { transform: rotateY(8deg); }
  50% { transform: rotateY(0deg); }
  75% { transform: rotateY(-8deg); }
  100% { transform: rotateY(0deg); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}
@keyframes rotateRing { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── PIPELINE SECTION ── */
.pipeline-section {
  background: var(--dark-2); padding: 7rem 6rem;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.pipeline-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,212,170,0.03) 0%, transparent 70%);
}
.pipeline-header {
  text-align: center; margin-bottom: 5rem;
  position: relative; z-index: 2;
}
.pipeline-header .section-eyebrow { justify-content: center; color: var(--teal); }
.pipeline-header .section-eyebrow::before { display: none; }
.pipeline-header h2 { color: var(--white); }

.pipeline-steps {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0; align-items: center; max-width: 1000px;
  margin: 0 auto; position: relative; z-index: 2;
}
.pipeline-step {
  text-align: center; padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-dark); border-radius: 20px;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.pipeline-step:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,170,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(0,212,170,0.06);
}
.pipeline-step-num {
  font-family: 'Space Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.pipeline-step-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--teal-glow), rgba(74,125,255,0.08));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem; font-size: 1.6rem;
  transition: transform 0.35s, box-shadow 0.35s;
}
.pipeline-step:hover .pipeline-step-icon {
  transform: scale(1.15);
  box-shadow: 0 0 30px rgba(0,212,170,0.2);
}
.pipeline-step h3 {
  font-size: 1.1rem; font-weight: 600; color: var(--white);
  margin-bottom: 0.5rem;
}
.pipeline-step p {
  font-size: 0.82rem; color: var(--gray); line-height: 1.65; font-weight: 300;
}

.pipeline-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 0.5rem;
}
.pipeline-arrow-line {
  width: 50px; height: 2px; position: relative;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  border-radius: 1px;
  animation: arrowPulse 2s ease-in-out infinite;
}
.pipeline-arrow-line::after {
  content: ''; position: absolute; right: -4px; top: -3px;
  width: 0; height: 0;
  border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  border-left: 6px solid var(--blue);
}
@keyframes arrowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── FLOATING BLOBS ── */
.floating-blob {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0; filter: blur(80px);
  animation: blobFloat 15s ease-in-out infinite;
}
.blob-1 {
  width: 300px; height: 300px; top: 10%; left: -5%;
  background: radial-gradient(circle, rgba(0,212,170,0.08) 0%, transparent 70%);
}
.blob-2 {
  width: 250px; height: 250px; bottom: 15%; right: -3%;
  background: radial-gradient(circle, rgba(74,125,255,0.06) 0%, transparent 70%);
  animation-delay: -5s;
}
.blob-3 {
  width: 200px; height: 200px; top: 40%; left: 60%;
  background: radial-gradient(circle, rgba(139,92,246,0.05) 0%, transparent 70%);
  animation-delay: -10s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.1); }
  50% { transform: translate(-10px, 20px) scale(0.95); }
  75% { transform: translate(15px, 10px) scale(1.05); }
}

/* ── LETTER STAGGER ── */
.letter-stagger span {
  display: inline-block;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.letter-stagger.animate span {
  opacity: 1; transform: translateY(0);
}

/* ── SECTION TRANSITIONS ── */
.section-transition {
  height: 120px; position: relative; z-index: 1;
}
.section-transition.dark-to-cream {
  background: linear-gradient(to bottom, var(--dark), var(--cream));
}
.section-transition.cream-to-dark {
  background: linear-gradient(to bottom, var(--cream), var(--dark));
}

/* ── ANIMATED GRADIENT BORDERS ── */
.gradient-border-wrap {
  position: relative; padding: 2px; border-radius: 22px;
  background: linear-gradient(135deg, var(--teal), var(--blue), var(--purple), var(--rose), var(--teal));
  background-size: 400% 400%;
  animation: borderGradient 8s linear infinite;
}
.gradient-border-wrap > * {
  border-radius: 20px;
}
@keyframes borderGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── PIPELINE MOBILE ── */
@media (max-width: 900px) {
  .pipeline-section { padding: 5rem 1.5rem; }
  .pipeline-steps { grid-template-columns: 1fr; gap: 1rem; }
  .pipeline-arrow { transform: rotate(90deg); padding: 0.5rem 0; }
  .hero-logo-3d .logo-float { width: 130px; height: 130px; }
}

/* ── PRELOADER ── */
.preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
  width: 80px; height: 80px; object-fit: contain;
  animation: preloaderPulse 1.5s ease-in-out infinite;
  margin-bottom: 2rem;
}
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(0,212,170,0.2)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 25px rgba(0,212,170,0.4)); }
}
.preloader-dna {
  display: flex; gap: 6px; justify-content: center; margin-bottom: 1.5rem;
}
.dna-strand {
  width: 4px; height: 28px; border-radius: 2px;
  background: linear-gradient(to top, var(--teal), var(--blue));
  animation: dnaWave 1.2s ease-in-out infinite;
}
.dna-strand:nth-child(2) { animation-delay: 0.15s; }
.dna-strand:nth-child(3) { animation-delay: 0.3s; }
.dna-strand:nth-child(4) { animation-delay: 0.45s; }
@keyframes dnaWave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}
.preloader-text {
  font-family: 'Space Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gray);
}

/* ── SKIP LINK (a11y) ── */
.skip-link {
  position: fixed; top: -100px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: var(--dark); padding: 0.75rem 1.5rem;
  border-radius: 0 0 12px 12px; font-size: 0.85rem; font-weight: 600;
  text-decoration: none; z-index: 100000; transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ── MARQUEE ── */
.marquee-section {
  background: var(--dark-2); padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden; position: relative;
}
.marquee-label {
  position: absolute; left: 2rem; top: 50%; transform: translateY(-50%);
  font-family: 'Space Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.2em; color: var(--gray); z-index: 2;
}
.marquee-track { overflow: hidden; mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-content {
  display: inline-flex; align-items: center; gap: 2rem;
  white-space: nowrap; animation: marqueeScroll 30s linear infinite;
}
.marquee-item {
  font-family: 'Space Mono', monospace; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); transition: color 0.3s;
}
.marquee-item:hover { color: var(--teal); }
.marquee-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(0,212,170,0.3); flex-shrink: 0;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── TIMELINE ── */
.timeline-section { padding: 9rem 6rem; }
.timeline-header { text-align: center; margin-bottom: 5rem; position: relative; z-index: 2; }
.timeline-header .section-eyebrow { justify-content: center; color: var(--teal); }
.timeline-header .section-eyebrow::before { display: none; }
.timeline {
  max-width: 700px; margin: 0 auto; position: relative; z-index: 2;
}
.timeline-line {
  position: absolute; left: 24px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--blue), var(--purple));
  opacity: 0.3;
}
.timeline-item {
  display: flex; gap: 2.5rem; margin-bottom: 3rem;
  position: relative;
}
.timeline-marker {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal); margin-top: 0.3rem;
  box-shadow: 0 0 12px rgba(0,212,170,0.4);
  position: relative; left: 19px;
}
.timeline-card {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border-dark);
  border-radius: 16px; padding: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex: 1;
}
.timeline-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,212,170,0.15);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3), 0 0 30px rgba(0,212,170,0.04);
}
.timeline-year {
  font-family: 'Space Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.15em; color: var(--teal); text-transform: uppercase;
}
.timeline-card h3 {
  font-size: 1.1rem; font-weight: 600; color: var(--white);
  margin: 0.5rem 0 0.5rem;
}
.timeline-card p {
  font-size: 0.88rem; color: var(--gray); line-height: 1.7; font-weight: 300;
}

/* ── FAQ ── */
.faq-section { padding: 9rem 6rem; }
.faq-header { text-align: center; margin-bottom: 4rem; }
.faq-header .section-eyebrow { justify-content: center; }
.faq-header .section-eyebrow::before { display: none; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0; background: none; border: none;
  font-size: 1rem; font-weight: 500; color: var(--dark);
  cursor: pointer; text-align: left; transition: color 0.3s;
  font-family: 'Inter', sans-serif;
}
.faq-question:hover { color: var(--teal); }
.faq-icon {
  font-size: 1.4rem; font-weight: 300; color: var(--gray);
  transition: transform 0.35s ease, color 0.3s;
  flex-shrink: 0; width: 1.5rem; text-align: center;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--rose); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
  padding: 0 0;
}
.faq-item.open .faq-answer {
  max-height: 300px; padding: 0 0 1.5rem;
}
.faq-answer p {
  font-size: 0.92rem; color: #5a5a6a; line-height: 1.8; font-weight: 300;
}

/* ── CONTACT FORM ── */
.contact-section { padding: 9rem 6rem; border-top: 1px solid var(--border-dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info p { color: var(--gray); line-height: 1.8; font-weight: 300; margin-bottom: 2rem; }
.contact-details { margin-top: 2rem; }
.contact-link {
  display: inline-flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: var(--white); font-size: 0.95rem;
  padding: 0.75rem 1.2rem; border-radius: 12px;
  border: 1px solid var(--border-dark);
  transition: all 0.3s;
}
.contact-link:hover {
  border-color: rgba(0,212,170,0.3); background: rgba(0,212,170,0.05);
  color: var(--teal);
}
.contact-link-icon { font-size: 1.2rem; }
.contact-form {
  display: flex; flex-direction: column; gap: 1.2rem;
}
.form-group { position: relative; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-dark);
  border-radius: 12px; color: var(--white); font-size: 0.92rem;
  font-family: 'Inter', sans-serif; transition: all 0.3s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--teal); box-shadow: 0 0 20px rgba(0,212,170,0.08);
}
.form-group label {
  position: absolute; left: 1.2rem; top: 1rem;
  color: var(--gray); font-size: 0.88rem;
  pointer-events: none; transition: all 0.25s ease;
}
.form-group input:focus ~ label, .form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label, .form-group textarea:not(:placeholder-shown) ~ label {
  top: -0.5rem; left: 0.8rem; font-size: 0.65rem; color: var(--teal);
  background: var(--dark); padding: 0 0.3rem;
}
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--dark); color: var(--white); }
.form-submit { align-self: flex-start; border: none; cursor: pointer; }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--dark-2); border: 1px solid var(--border-dark);
  color: var(--teal); font-size: 1.2rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover {
  background: var(--teal); color: var(--dark);
  box-shadow: 0 0 25px rgba(0,212,170,0.3);
  transform: translateY(-3px);
}

/* ── NEW SECTIONS MOBILE ── */
@media (max-width: 900px) {
  .timeline-section, .faq-section, .contact-section { padding: 5rem 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .timeline-item { gap: 1.5rem; }
  .marquee-label { display: none; }
}
