:root {
  --evera-green: #0C2F24;
  --evera-gold: #C9A03A;
  --evera-white: #FFFFFF;
  --evera-graphite: #2A2A2A;
  --evera-mint: #DDF7ED;
  --evera-teal: #1FB8A6;

  --font-primary: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: "Cormorant Garamond", serif;

  --radius: 8px;
  --transition: 0.25s ease;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-xxl: 96px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background: var(--evera-white);
  color: var(--evera-graphite);
  line-height: 1.6;
  font-size: 18px;
}

/* Layout */
.header {
  background: var(--evera-white);
  border-bottom: 1px solid #eee;
  padding: var(--space-md) var(--space-lg);
}

.nav {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--evera-green);
  font-weight: 500;
  transition: var(--transition);
}

/* header hover */
.nav a:hover {
  color: var(--evera-gold);
}

.layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.footer {
  padding: var(--space-lg);
  text-align: center;
  background: var(--evera-green);
  color: var(--evera-white);
  margin-top: var(--space-xxl);
}

/* Spacing helpers */
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-xxl { margin-top: var(--space-xxl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-xxl { margin-bottom: var(--space-xxl); }

.section {
  margin-bottom: var(--space-xxl);
}

/* Hero */
.hero {
  padding: var(--space-xxl) var(--space-md);
  text-align: center;
  border-radius: var(--radius);
}

.hero-gradient {
  background: linear-gradient(
    180deg,
    rgba(12,47,36,0.12) 0%,
    rgba(12,47,36,0.04) 100%
  );
}

.hero h1 {
  font-size: 44px;
  font-weight: 600;
  color: var(--evera-green);
  margin-bottom: var(--space-sm);
}

.hero p {
  font-size: 22px;
  max-width: 700px;
  margin: 0 auto;
}

/* Typography */
h2 {
  font-size: 32px;
  color: var(--evera-green);
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: 24px;
  color: var(--evera-graphite);
  margin-bottom: var(--space-xs);
}

p, li {
  font-size: 18px;
  margin-bottom: var(--space-sm);
}

.accent {
  font-family: var(--font-accent);
  font-size: 40px;
  color: var(--evera-green);
}

/* Buttons & links */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--evera-green);
  color: var(--evera-white);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn:hover {
  background: var(--evera-gold);
  color: var(--evera-green);
}

.link {
  color: var(--evera-teal);
  text-decoration: none;
  font-weight: 500;
}

.link:hover {
  color: var(--evera-green);
}

/* Cards & grids */
.card {
  background: var(--evera-white);
  border: 1px solid #e5e5e5;
  padding: var(--space-lg);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--evera-gold);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

/* Molecule divider */
.molecule-divider {
  width: 100%;
  height: 2px;
  background-image:
    radial-gradient(circle at 10px, var(--evera-teal) 2px, transparent 2px),
    radial-gradient(circle at 40px, var(--evera-gold) 2px, transparent 2px),
    radial-gradient(circle at 70px, var(--evera-teal) 2px, transparent 2px);
  background-size: 80px 2px;
  background-repeat: repeat-x;
  opacity: 0.4;
  margin: var(--space-xl) 0;
}

/* Lab & data components */
.lab-highlight {
  background: var(--evera-mint);
  border-left: 4px solid var(--evera-teal);
  padding: var(--space-lg);
  border-radius: var(--radius);
}

.data-box {
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: var(--space-lg);
  border-radius: var(--radius);
}

/* CTA bar */
.cta-bar {
  background: var(--evera-green);
  color: var(--evera-white);
  padding: var(--space-xl);
  text-align: center;
  border-radius: var(--radius);
}

/* Product */
.product {
  border: 1px solid #eee;
  padding: var(--space-lg);
  border-radius: var(--radius);
  margin-bottom: var(--space-lg);
}

.product button {
  padding: 12px 24px;
  background: var(--evera-green);
  color: var(--evera-white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.product button:hover {
  background: var(--evera-gold);
  color: var(--evera-green);
}

/* Lists */
ul {
  margin-left: var(--space-md);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
  .layout {
    padding: var(--space-lg) var(--space-sm);
  }
}

/* footer */
.footer {
  background-color: #062b23; /* deep green base */
  color: #f5f5f3; /* soft neutral white */
  text-align: center;
  padding: 3rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: "Inter", "Segoe UI", sans-serif;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: #b8e8dc; /* light aqua for high contrast */
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* visited links override */
.footer-links a:visited {
  color: #b8e8dc;
}

/* hover and focus states */
.footer-links a:hover,
.footer-links a:focus {
  color: #7fffd4; /* bright aqua hover */
  text-shadow: 0 0 6px rgba(127, 255, 212, 0.6);
}

/* active click state */
.footer-links a:active {
  color: #9affea;
}

.footer-text p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  color: #e0e0dc;
}

.footer-text p:first-child {
  font-style: italic;
  color: #d8f3ec;
}

/* Promotion box */
.promo-box {
  background: linear-gradient(145deg, #0b2a24 0%, #103830 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 3rem;
  color: #e8e8e6;
  text-align: center;
  max-width: 800px;
  margin: 3rem auto;
  box-shadow: 0 0 25px rgba(127, 255, 212, 0.15);
}

.promo-box h2 {
  color: #7fffd4;
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.promo-box p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  color: #dcdcd8;
}

.promo-box .btn {
  background-color: #7fffd4;
  color: #062b23;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.promo-box .btn:hover {
  background-color: #9affea;
  transform: translateY(-2px);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: linear-gradient(to bottom, #f8f8f7, #f1f0ee);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo {
  width: 90px;
  height: 70px;
  opacity: 0.6;
}

.nav {
  display: flex;
  gap: 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: #34322d;
}

.support-btn {
  padding: 0.6rem 1.2rem;
  background: #00A89E; /* Cellmetron teal */
  color: #ffffff;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: 
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    filter 0.25s ease;
}

/* Hover animation */
.support-btn:hover {
  background: #089e95;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 0 8px rgba(0,168,158,0.45));
}

/* ACTIVE STATE — Header + Footer */
.nav a.active,
.footer-links a.active {
  color: #00A89E !important;          /* strong teal */
  font-weight: 700;                   /* more visual weight */
  padding-bottom: 4px;                /* space for underline */
  border-bottom: 3px solid #00A89E;   /* thicker underline */
  text-shadow: 0 0 6px rgba(0, 168, 158, 0.4); /* subtle glow */
}

/* Footer hover only */
.footer-links a:hover {
  color: #00A89E;
}

/* =============================== */
/* Investor Hero Section           */
/* =============================== */

.investor-hero {
  position: relative;
  height: 60vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0A1E2E 0%, #003842 50%, #00A89E 100%);
  animation: heroGradient 12s ease-in-out infinite alternate;
}

/* Animated gradient */
@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Subtle particle overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.25;
  animation: particleFloat 18s linear infinite;
}

@keyframes particleFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-200px); }
}

/* Hero content */
.hero-content {
  position: relative;
  max-width: 800px;
  text-align: center;
  color: white;
  animation: fadeInHero 1.6s ease forwards;
  opacity: 0;
}

@keyframes fadeInHero {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(20px); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.85);
}

/* CTA Button */
.hero-cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: #00A89E;
  color: #0A1E2E;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.hero-cta:hover {
  background: #00c7b8;
  transform: translateY(-3px);
}

/* Investor page hero svg animation */
.hero-mito {
  position: absolute;
  width: 240px;
  height: 240px;
  right: 8%;
  bottom: 10%;
  opacity: 0.32;
  animation: mitoFloat 10s ease-in-out infinite alternate;
}

@keyframes mitoFloat {
  0%   { transform: translateY(0) scale(1); }
  100% { transform: translateY(-20px) scale(1.05); }
}

@media (max-width: 768px) {
  .hero-mito {
    width: 160px;
    height: 160px;
    right: 4%;
    bottom: 6%;
    opacity: 0.25;
  }
}
