/* ===================================================
   ZENITH CLINICAL — COMPLETE DESIGN SYSTEM v2.0
   Covers: Homepage, Women's Health, All 2000 Silo Pages
   =================================================== */

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

:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-glow: rgba(16, 185, 129, 0.25);
  --bg-deep: #020617;
  --bg-surface: rgba(15, 23, 42, 0.8);
  --bg-card: rgba(15, 23, 42, 0.6);
  --text-pure: #ffffff;
  --text-main: #e2e8f0;
  --text-dim: #94a3b8;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(16, 185, 129, 0.3);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(16, 185, 129, 0.06), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(16, 185, 129, 0.03), transparent 50%);
  color: var(--text-pure);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: var(--primary); transition: opacity 0.2s; }
a:hover { opacity: 0.85; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.15;
}

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ══════════════════════════════════════════
   HEADER / NAVIGATION (all pages)
   ══════════════════════════════════════════ */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0;
}

.main-header nav,
.main-header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -1px;
  color: var(--text-pure);
  text-decoration: none;
}

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

.logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-pure);
  opacity: 1;
}

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: var(--bg-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--primary-glow);
  background: #12d393;
  opacity: 1;
}

.btn-glass {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  opacity: 1;
}

.btn-text {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.btn-text:hover { opacity: 0.8; }

/* ══════════════════════════════════════════
   GRADIENT TEXT
   ══════════════════════════════════════════ */
.gradient-text {
  background: linear-gradient(135deg, #10b981, #34d399, #6ee7b7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ══════════════════════════════════════════
   STATUS PILL (silo pages + homepage)
   ══════════════════════════════════════════ */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.status-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* ══════════════════════════════════════════
   HOMEPAGE — HERO
   ══════════════════════════════════════════ */
.hero-grid {
  padding-top: 10rem !important;
  padding-bottom: 6rem !important;
}

.hero-content h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 550px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-metrics {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.hero-metrics .metric {
  display: flex;
  flex-direction: column;
}

.hero-metrics .metric strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-metrics .metric span {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

/* ══════════════════════════════════════════
   HOMEPAGE — TRUST BADGES
   ══════════════════════════════════════════ */
.trust-badges {
  padding: 1.5rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

/* ══════════════════════════════════════════
   HOMEPAGE — SECTION HEADINGS
   ══════════════════════════════════════════ */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 6rem;
}

.section-heading .sub {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
}

/* ══════════════════════════════════════════
   HOMEPAGE — RESEARCH CARDS GRID
   ══════════════════════════════════════════ */
.research-grid-section {
  padding: 4rem 2rem 6rem;
}

.main-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.modern-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-pure);
}

.modern-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-image-placeholder {
  height: 200px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.02));
  border-bottom: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

.card-image-placeholder::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 2px solid rgba(16, 185, 129, 0.15);
  border-radius: 50%;
}

.card-image-placeholder.anatomy { background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 78, 59, 0.08)); }
.card-image-placeholder.physiology { background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(16, 185, 129, 0.05)); }
.card-image-placeholder.registry { background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(16, 185, 129, 0.05)); }

.card-body {
  padding: 1.5rem;
}

.card-body .category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-glass);
}

.read-time {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   HOMEPAGE — FOOTER
   ══════════════════════════════════════════ */
.modern-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 400px;
  margin-top: 0.5rem;
}

.footer-nav {
  display: flex;
  gap: 4rem;
}

.nav-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--text-pure);
}

.nav-col a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.nav-col a:hover {
  color: var(--primary);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding: 2.5rem 0;
}

.affiliate-disclosure {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
  opacity: 0.7;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}

/* ══════════════════════════════════════════
   SILO PAGES — GLASS CARD
   ══════════════════════════════════════════ */
.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s ease;
}

.glass-card:hover {
  border-color: var(--border-hover);
}

/* ══════════════════════════════════════════
   SILO PAGES — VERDICT BOX
   ══════════════════════════════════════════ */
.verdict-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.verdict-score {
  text-align: center;
  padding: 2.5rem;
  background: rgba(16, 185, 129, 0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 185, 129, 0.15);
  min-width: 180px;
}

.verdict-score .score {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
}

.verdict-score .label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-top: 0.75rem;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════
   SILO PAGES — HERO GLOW
   ══════════════════════════════════════════ */
.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* ══════════════════════════════════════════
   SILO PAGES — VISUAL SECTIONS
   ══════════════════════════════════════════ */
.visual-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
  margin-top: 6rem;
}

.visual-section.reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.graphic-payload img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ══════════════════════════════════════════
   SILO PAGES — SCIENCE MODULE
   ══════════════════════════════════════════ */
.science-module,
.science-payload-content {
  margin-top: 2rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
}

.science-module h2,
.science-payload-content h2 {
  color: var(--text-pure);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.science-module p,
.science-payload-content p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.science-text p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.science-stats {
  padding: 2rem !important;
}

.science-stats h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.stats-list {
  list-style: none;
  padding: 0;
}

.stats-list li {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   SILO PAGES — LOGISTICS
   ══════════════════════════════════════════ */
.logistics-module {
  margin-top: 2rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
}

.logistics-module p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.8;
}

.logistics-card {
  background: rgba(16, 185, 129, 0.03);
}

.logistics-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-pure);
}

.delivery-estimate {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  margin: 1rem 0 0.5rem;
}

.shipping-carriers {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ══════════════════════════════════════════
   SILO PAGES — MAIN CONTENT AREA
   ══════════════════════════════════════════ */
.elite-node main.container {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
}

.elite-node main h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 2rem;
}

/* ══════════════════════════════════════════
   TABLES & BIBLIOGRAPHIES (Article pages)
   ══════════════════════════════════════════ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.comparison-table th {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  text-align: left;
  padding: 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comparison-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.9rem;
  color: var(--text-main);
}

.comparison-table tr.highlight {
  background: rgba(16, 185, 129, 0.05);
}

.comparison-table tr.highlight td:first-child {
  color: var(--primary);
  font-weight: 700;
}

.clinical-bibliography {
  margin-top: 4rem;
}

.article-body h2 {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
}

.article-body p {
  margin-bottom: 1.5rem;
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

main {
  animation: fadeInUp 0.6s ease-out;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }

  .main-header nav,
  .main-header > .container {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    gap: 0.75rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content h1 { font-size: 2.5rem; }
  .hero-metrics { flex-direction: column; gap: 1.5rem; }
  .main-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav { flex-direction: column; gap: 2rem; }

  .verdict-box { grid-template-columns: 1fr; text-align: center; }
  .visual-section,
  .visual-section.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .science-grid { grid-template-columns: 1fr; }

  .elite-node main h1 { font-size: 2.5rem; }
}
