/* --- NILUS INSTITUTIONAL BIOTECH THEME --- */

:root {
  --nilus-black: #050505;
  --nilus-navy: #111827;
  --nilus-blue: #2563EB;
  --nilus-text: #111827;
  --nilus-body-grey: #4B5563;
  --nilus-muted: #6B7280;
  --nilus-border: #E5E7EB;
  --nilus-soft-border: #DDE3EA;
  --nilus-bg: #F6F7F8;
  --nilus-card: rgba(255, 255, 255, 0.88);
  --nilus-gold: #B45309;
  --nilus-green: #2563eb;
  --nilus-red: #DC2626;
}

/* GLOBAL RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--nilus-bg);
  color: var(--nilus-text);
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6, .nav-item {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--nilus-black);
  letter-spacing: -0.02em;
}

p {
  color: var(--nilus-body-grey);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* PRE-NAV & NAV */
.pre-nav {
  background: #ffffff;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--nilus-muted);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  border-bottom: 1px solid var(--nilus-border);
}

nav {
  background: rgba(255, 255, 255, 0.98);
  padding: 1.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--nilus-border);
  backdrop-filter: blur(8px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--nilus-muted);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-item:hover, .nav-item.active {
  color: var(--nilus-blue);
}

/* DNA VIDEO BACKGROUND */
.global-dna-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--nilus-bg);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: grayscale(100%) contrast(1.05) brightness(1.08);
  mix-blend-mode: multiply;
}

@media (max-width: 1024px) {
  .hero-video {
    opacity: 0.15;
  }
}

.background-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(246,247,248,0.96) 0%,
    rgba(246,247,248,0.88) 45%,
    rgba(246,247,248,0.62) 100%
  );
  pointer-events: none;
}

.page-content {
  position: relative;
  z-index: 2;
}

/* CARDS */
.nilus-card {
  background: var(--nilus-card) !important;
  border: 1px solid var(--nilus-border) !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 45px rgba(15,23,42,0.06) !important;
  backdrop-filter: blur(10px) !important;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nilus-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(15,23,42,0.08) !important;
}

/* BUTTONS */
.btn-primary {
  background: var(--nilus-navy) !important;
  color: #FFFFFF !important;
  border-radius: 16px !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  border: none !important;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  opacity: 0.9 !important;
}

.btn-secondary {
  background: #FFFFFF !important;
  border: 1px solid var(--nilus-border) !important;
  color: var(--nilus-navy) !important;
  border-radius: 16px !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: #F9FAFB !important;
}

.btn-action {
  background: var(--nilus-blue) !important;
  color: #FFFFFF !important;
  border-radius: 16px !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  border: none !important;
  cursor: pointer;
}

/* BADGES */
.nilus-badge {
  border-radius: 999px !important;
  padding: 8px 14px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--nilus-border) !important;
  background: #ffffff !important;
  color: var(--nilus-muted) !important;
}

.nilus-badge.active, .nilus-badge.blue {
  color: var(--nilus-blue) !important;
  background: #EFF6FF !important;
  border-color: #BFDBFE !important;
}

.nilus-badge.research, .nilus-badge.gold {
  color: var(--nilus-gold) !important;
  background: #FFFBEB !important;
  border-color: #FEF3C7 !important;
}

.nilus-badge.success, .nilus-badge.green {
  color: var(--nilus-green) !important;
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
}

/* SECTIONS */
.section-padding {
  padding: 3rem 5%;
}

.max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

/* CODE / DATA BLOCKS */
code, pre, .mono-text {
  font-family: 'SF Mono', 'Fira Code', monospace !important;
  font-size: 13px !important;
}

/* UTILITIES */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-xs-upper {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  font-weight: 700 !important;
  color: var(--nilus-muted) !important;
}

.text-muted {
  color: var(--nilus-muted) !important;
}
