
:root {
  --bg-dark: #090d16;
  --bg-card: #111827;
  --bg-card-alt: #1f2937;
  --accent: #6366f1;
  --accent-glow: #818cf8;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border: #374151;
  --font-mono: ui-monospace, Menlo, Monaco, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

/* Header */
.circ-header {
  border-bottom: 1px solid var(--border);
  background: rgba(9, 13, 22, 0.95);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 100;
}
.circ-header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.circ-brand {
  display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.25rem; color: #fff; text-decoration: none;
}
.circ-moon { color: var(--accent-glow); font-size: 1.3rem; }
.circ-nav { display: flex; align-items: center; gap: 18px; }
.circ-nav a { color: var(--text-muted); font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.circ-nav a:hover, .circ-nav a.active { color: var(--accent-glow); }
.circ-live-pill {
  background: #1e1b4b; border: 1px solid #4338ca; color: #c7d2fe;
  padding: 4px 10px; border-radius: 9999px; font-size: 0.75rem; font-family: var(--font-mono);
}

/* Hero Centered */
.circ-hero {
  padding: 60px 0 40px; text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
}
.circ-category {
  color: var(--accent-glow); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; display: inline-block;
}
.circ-title {
  font-size: 2.5rem; font-weight: 900; line-height: 1.2; max-width: 900px; margin: 0 auto 16px; letter-spacing: -0.02em;
}
.circ-sub {
  font-size: 1.12rem; color: var(--text-muted); max-width: 760px; margin: 0 auto 30px;
}
.metrics-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 900px; margin: 0 auto;
}
.metric-box {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; text-align: left;
}
.metric-box span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; }
.metric-box h4 { font-size: 1.35rem; color: #fff; margin-top: 4px; font-family: var(--font-mono); }

/* Interactive Hormone Curve Widget */
.sim-section { padding: 50px 0; border-bottom: 1px solid var(--border); }
.sim-card {
  background: var(--bg-card); border: 1px solid #4338ca; border-radius: 16px; padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.sim-slider-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px;
  background: var(--bg-card-alt); padding: 16px 20px; border-radius: 10px;
}
.slider-val { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 900; color: #a5b4fc; }
.sim-readout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px;
}
.readout-item {
  background: var(--bg-card-alt); padding: 16px; border-radius: 10px; border-left: 4px solid var(--accent);
}
.readout-item h5 { font-size: 0.95rem; margin-bottom: 4px; color: #fff; }
.readout-item p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* Scientific Paper Layout */
.paper-section { padding: 50px 0; }
.paper-block { margin-bottom: 36px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.paper-block h3 { font-size: 1.45rem; font-weight: 850; margin-bottom: 12px; color: #fff; }
.paper-block p { font-size: 1rem; color: #d1d5db; line-height: 1.75; margin-bottom: 14px; }
.author-card-circ {
  display: flex; align-items: center; gap: 16px; background: var(--bg-card); padding: 20px;
  border-radius: 12px; border: 1px solid var(--border); margin: 30px 0;
}
.author-card-circ img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

/* Footer */
.circ-footer { border-top: 1px solid var(--border); padding: 40px 0 20px; font-size: 0.85rem; color: var(--text-muted); }
.circ-footer-links { display: flex; gap: 18px; margin-top: 10px; }
.circ-footer-links a { color: #9ca3af; text-decoration: none; }
.circ-footer-links a:hover { color: #fff; }

@media (max-width: 768px) {
  .metrics-strip { grid-template-columns: 1fr 1fr; }
  .sim-readout { grid-template-columns: 1fr; }
  .circ-title { font-size: 1.8rem; }
}
