@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --bg:        #0a0c12;
  --bg2:       #0d1018;
  --surface:   #111520;
  --surface2:  #161b28;
  --border:    #1e2535;
  --border2:   #2a3350;
  --blue:      #4a90d9;
  --purple:    #7b4fd4;
  --cyan:      #00e5ff;
  --text:      #e8eaf6;
  --muted:     #5a6385;
  --muted2:    #3a4260;
  --gradient:  linear-gradient(135deg, #4a90d9, #7b4fd4);
  --glow-blue: rgba(74,144,217,0.15);
  --glow-purple: rgba(123,79,212,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Background mesh ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 10% -10%, rgba(74,144,217,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(123,79,212,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(0,229,255,0.03) 0%, transparent 70%);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 70px;
  background: rgba(10,12,18,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text {
  font-family: 'Oxanium', sans-serif;
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.05em;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500;
  color: var(--muted); text-decoration: none; letter-spacing: 0.04em;
  text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta {
  font-family: 'Oxanium', sans-serif !important; font-size: 0.78rem !important;
  color: var(--cyan) !important; border: 1px solid rgba(0,229,255,0.3);
  padding: 8px 20px; border-radius: 4px;
  background: rgba(0,229,255,0.04) !important;
  transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta:hover { background: rgba(0,229,255,0.1) !important; border-color: rgba(0,229,255,0.6) !important; }

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

/* ── HERO ── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 120px 48px 80px; text-align: center;
}

.hero-inner { max-width: 800px; }

.hero-eyebrow {
  font-family: 'Oxanium', sans-serif; font-size: 0.72rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 24px;
  display: inline-block;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero h1 .grad {
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-sub {
  font-size: 1.1rem; color: var(--muted); max-width: 560px; margin: 0 auto 40px;
  font-weight: 300; line-height: 1.7;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Oxanium', sans-serif; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 14px 32px; border-radius: 4px; border: 1px solid transparent;
  transition: all 0.2s; cursor: pointer;
}
.btn-primary {
  background: var(--gradient); color: #fff; border-color: transparent;
  box-shadow: 0 0 32px rgba(74,144,217,0.25);
}
.btn-primary:hover { box-shadow: 0 0 48px rgba(74,144,217,0.4); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text); border-color: var(--border2);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--glow-blue); }

/* Hero stats */
.hero-stats {
  display: flex; justify-content: center; gap: 48px; margin-top: 64px;
  padding-top: 48px; border-top: 1px solid var(--border);
  animation: fadeUp 0.8s 0.4s ease both;
}
.stat-num {
  font-family: 'Oxanium', sans-serif; font-size: 2rem; font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }

/* ── SECTIONS ── */
section { position: relative; z-index: 1; }

.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  font-family: 'Oxanium', sans-serif; font-size: 0.68rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; display: block;
}
.section-title {
  font-family: 'Oxanium', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
}
.section-title .grad { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-sub { font-size: 1rem; color: var(--muted); max-width: 560px; margin: 16px auto 0; line-height: 1.7; }

/* ── MISSION STRIP ── */
.mission {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.mission-item {
  padding: 40px 48px; border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.mission-item:last-child { border-right: none; }
.mission-item:hover { background: var(--surface2); }
.mission-icon { font-size: 1.8rem; margin-bottom: 16px; }
.mission-item h3 { font-family: 'Oxanium', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 10px; }
.mission-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ── COMPOUNDS GRID ── */
.compounds { padding: 100px 0; }

.compounds-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}

.compound-card {
  background: var(--surface); padding: 36px 32px;
  text-decoration: none; color: inherit;
  transition: background 0.2s, transform 0.2s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.compound-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient); opacity: 0; transition: opacity 0.2s;
}
.compound-card:hover { background: var(--surface2); }
.compound-card:hover::before { opacity: 1; }

.compound-tag {
  font-family: 'Oxanium', sans-serif; font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 3px;
  border: 1px solid; display: inline-block; margin-bottom: 20px; width: fit-content;
}
.tag-recovery  { color: #4ade80; border-color: rgba(74,222,128,0.3); background: rgba(74,222,128,0.06); }
.tag-longevity { color: var(--cyan); border-color: rgba(0,229,255,0.3); background: rgba(0,229,255,0.06); }
.tag-metabolic { color: #fb923c; border-color: rgba(251,146,60,0.3); background: rgba(251,146,60,0.06); }
.tag-mito      { color: #34d399; border-color: rgba(52,211,153,0.3); background: rgba(52,211,153,0.06); }
.tag-senolytic { color: #f472b6; border-color: rgba(244,114,182,0.3); background: rgba(244,114,182,0.06); }
.tag-hormonal  { color: #fde047; border-color: rgba(253,224,71,0.3); background: rgba(253,224,71,0.06); }
.tag-peptide   { color: var(--blue); border-color: rgba(74,144,217,0.3); background: rgba(74,144,217,0.06); }

.compound-card h3 {
  font-family: 'Oxanium', sans-serif; font-size: 1.2rem; font-weight: 700;
  letter-spacing: 0.02em; margin-bottom: 8px;
}
.compound-card .compound-aka { font-size: 0.75rem; color: var(--muted); margin-bottom: 14px; }
.compound-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; flex: 1; }
.compound-arrow {
  margin-top: 20px; font-size: 0.75rem; color: var(--blue);
  font-family: 'Oxanium', sans-serif; letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.compound-card:hover .compound-arrow { gap: 10px; }

/* ── ABOUT ── */
.about { padding: 100px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-label { font-family: 'Oxanium', sans-serif; font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; display: block; }
.about-content h2 { font-family: 'Oxanium', sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 24px; }
.about-content p { font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.about-visual {
  background: var(--surface2); border: 1px solid var(--border); border-radius: 12px;
  padding: 48px; display: flex; flex-direction: column; gap: 24px;
}
.about-stat { border-left: 2px solid var(--blue); padding-left: 20px; }
.about-stat-num { font-family: 'Oxanium', sans-serif; font-size: 2rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

/* ── DISCLAIMER BANNER ── */
.disclaimer-banner {
  padding: 48px 0; background: rgba(251,146,60,0.04);
  border-top: 1px solid rgba(251,146,60,0.15); border-bottom: 1px solid rgba(251,146,60,0.15);
}
.disclaimer-inner { max-width: 800px; margin: 0 auto; padding: 0 48px; text-align: center; }
.disclaimer-banner h4 { font-family: 'Oxanium', sans-serif; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: #fb923c; margin-bottom: 12px; }
.disclaimer-banner p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }

/* ── CONTACT ── */
.contact { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info h2 { font-family: 'Oxanium', sans-serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 20px; }
.contact-info p { font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 32px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 0.88rem; color: var(--muted); }
.contact-detail-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--surface2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-family: 'Oxanium', sans-serif; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 6px; padding: 12px 16px; color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue); background: var(--surface2);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--surface); }
.form-submit { width: 100%; }
.form-note { font-size: 0.75rem; color: var(--muted); margin-top: 12px; text-align: center; line-height: 1.5; }

/* ── COMPOUND DETAIL PAGE ── */
.compound-hero { padding: 140px 0 60px; }
.compound-hero-inner { max-width: 900px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--muted); text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; font-family: 'Oxanium', sans-serif; margin-bottom: 32px; transition: color 0.2s; }
.back-link:hover { color: var(--text); }
.compound-hero h1 { font-family: 'Oxanium', sans-serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.compound-hero .aka { font-size: 1rem; color: var(--muted); margin-bottom: 24px; }
.compound-hero .lead { font-size: 1.1rem; color: var(--muted); line-height: 1.75; max-width: 700px; }

.compound-meta-bar {
  display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0;
  padding: 24px 0; border-top: 1px solid var(--border);
}
.meta-item { display: flex; flex-direction: column; gap: 3px; }
.meta-label { font-family: 'Oxanium', sans-serif; font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.meta-value { font-size: 0.82rem; color: var(--text); font-weight: 500; }
.meta-divider { width: 1px; background: var(--border); margin: 0 8px; align-self: stretch; }

.compound-content { padding: 60px 0 100px; }
.compound-layout { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.compound-body h2 { font-family: 'Oxanium', sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: 0.05em; margin: 40px 0 16px; color: var(--text); }
.compound-body h2:first-child { margin-top: 0; }
.compound-body p { font-size: 0.92rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.compound-body ul { list-style: none; margin-bottom: 16px; }
.compound-body ul li { font-size: 0.92rem; color: var(--muted); line-height: 1.8; padding-left: 20px; position: relative; margin-bottom: 6px; }
.compound-body ul li::before { content: '›'; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

.compound-sidebar { position: sticky; top: 90px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; margin-bottom: 16px; }
.sidebar-card h4 { font-family: 'Oxanium', sans-serif; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.sidebar-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.sidebar-row:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-row-label { font-size: 0.78rem; color: var(--muted); }
.sidebar-row-val { font-size: 0.78rem; color: var(--text); font-weight: 500; text-align: right; }
.research-link { display: block; font-size: 0.78rem; color: var(--blue); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--border); transition: color 0.2s; }
.research-link:last-child { border-bottom: none; }
.research-link:hover { color: var(--cyan); }

/* ── FOOTER ── */
footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin-top: 16px; max-width: 320px; }
.footer-col h5 { font-family: 'Oxanium', sans-serif; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.85rem; color: var(--muted); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.78rem; color: var(--muted); }
.footer-bottom .abn { font-family: 'Oxanium', sans-serif; font-size: 0.68rem; color: var(--muted2); letter-spacing: 0.05em; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .compounds-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .compound-layout { grid-template-columns: 1fr; }
  .compound-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 24px; gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .hero { padding: 100px 24px 60px; }
  .section-inner, .footer-inner { padding: 0 24px; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-item { border-right: none; border-bottom: 1px solid var(--border); }
  .compounds-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .compound-layout { padding: 0 24px; }
  .compound-hero { padding: 100px 0 40px; }
  .compound-meta-bar { gap: 16px; }
  .meta-divider { display: none; }
}
