/* ============================================================
   Beginner Peptide Guide — shared stylesheet
   Dark navy-black + electric neon (blue/purple/magenta) + gold
   ============================================================ */
:root {
  --bg: #050914;
  --bg-2: #0a1128;
  --bg-3: #0e1633;
  --card: #0b1330;
  --text: #eef1ff;
  --muted: #a3abd4;
  --faint: #6b739e;
  --blue: #22d3ee;
  --blue-deep: #0ea5e9;
  --purple: #a855f7;
  --magenta: #ff2ea6;
  --gold: #f5c542;
  --gold-dim: #b98f1f;
  --danger: #ff5d5d;
  --ok: #34d399;
  --border: rgba(34, 211, 238, 0.22);
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  font-size: 17px;
  background-image:
    radial-gradient(1200px 500px at 15% -5%, rgba(168, 85, 247, 0.14), transparent 60%),
    radial-gradient(1000px 480px at 85% 0%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(255, 46, 166, 0.08), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: #fff; text-shadow: 0 0 12px var(--blue); }

/* ---------- layout ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.content { padding: 26px 0 70px; }
.content h2 {
  font-size: 1.65rem; margin: 2.2em 0 0.7em; color: #fff;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.55);
}
.content h2:first-child { margin-top: 0.4em; }
.content h3 { font-size: 1.25rem; margin: 1.8em 0 0.6em; color: var(--gold); }
.content p { margin: 0 0 1.1em; color: #dfe4ff; }
.content ul, .content ol { margin: 0 0 1.2em 1.4em; color: #dfe4ff; }
.content li { margin-bottom: 0.55em; }
.content strong { color: #fff; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* red callout used in Peptides 101 */
.callout-red {
  border: 1px solid rgba(255, 93, 93, 0.55);
  background: rgba(255, 93, 93, 0.08);
  color: #ffb3b3; border-radius: var(--radius);
  padding: 16px 20px; margin: 1.6em 0; font-weight: 600;
  box-shadow: 0 0 24px rgba(255, 93, 93, 0.15);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 9, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 10px 22px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { width: 46px; height: 46px; border-radius: 50%;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.6); }
.brand-name { font-weight: 800; letter-spacing: 1px; font-size: 1.02rem;
  text-shadow: 0 0 14px rgba(168, 85, 247, 0.8); white-space: nowrap; }
.nav-links { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted); font-size: 0.95rem; font-weight: 600;
  padding: 9px 13px; border-radius: 9px; letter-spacing: 0.3px;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff; background: rgba(34, 211, 238, 0.12);
  text-shadow: 0 0 10px var(--blue);
}
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border);
  color: var(--text); font-size: 1.4rem; border-radius: 9px; padding: 4px 12px; cursor: pointer; }

/* ---------- page hero (title banner images) ---------- */
.page-hero { text-align: center; padding: 34px 0 8px; }
.page-hero img.title-banner {
  max-width: 640px; width: 88%; margin: 0 auto;
  filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.45));
}
.page-hero .subtitle { color: var(--muted); margin-top: 10px; font-size: 1.1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-weight: 800; letter-spacing: 1.5px;
  padding: 15px 34px; border-radius: 12px; border: none; cursor: pointer;
  font-size: 1rem; color: #04121f; text-transform: uppercase;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); color: #04121f;
  box-shadow: 0 0 36px rgba(168, 85, 247, 0.65); text-shadow: none; }
.btn-ghost {
  background: transparent; color: var(--gold);
  border: 2px solid var(--gold-dim);
  box-shadow: 0 0 18px rgba(245, 197, 66, 0.18);
}
.btn-ghost:hover { color: #fff; border-color: var(--gold);
  box-shadow: 0 0 28px rgba(245, 197, 66, 0.4); text-shadow: 0 0 10px var(--gold); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin: 30px 0; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin: 30px 0; }
.card {
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.card { color: var(--text); display: block; }
a.card:hover { transform: translateY(-4px); color: var(--text);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.25); text-shadow: none; }
.card h3 { margin: 0 0 10px; color: #fff; font-size: 1.2rem;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.5); }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.card .card-img { border-radius: 10px; margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25); }

/* ---------- learning path ---------- */
.path-list { list-style: none; margin: 24px 0; padding: 0; counter-reset: step; }
.path-list li {
  counter-increment: step; display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 14px;
}
.path-list li::before {
  content: counter(step); flex: 0 0 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; color: #04121f;
  background: linear-gradient(135deg, var(--gold), #ffdf8a);
  box-shadow: 0 0 18px rgba(245, 197, 66, 0.5);
}
.path-list a { color: #fff; font-weight: 700; font-size: 1.1rem; }
.path-list p { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- entry gate ---------- */
.gate-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(3, 6, 16, 0.96);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
}
.gate-box {
  max-width: 560px; width: 100%;
  background: linear-gradient(165deg, #0c1434, #070d22);
  border: 1px solid rgba(168, 85, 247, 0.5); border-radius: 18px;
  padding: 38px 36px; text-align: center;
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.35), 0 0 120px rgba(34, 211, 238, 0.15);
}
.gate-box img.gate-logo { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.7); }
.gate-box h2 { color: #fff; margin-bottom: 8px; font-size: 1.5rem;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.7); }
.gate-box .gate-sub { color: var(--muted); font-size: 0.98rem; margin-bottom: 22px; }
.gate-field { text-align: left; margin-bottom: 18px; }
.gate-field label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--gold);
  font-size: 0.95rem; letter-spacing: 0.5px; }
.gate-field input[type="email"] {
  width: 100%; padding: 14px 16px; border-radius: 10px; font-size: 1rem;
  background: #060b1e; border: 1px solid var(--border); color: var(--text);
}
.gate-field input[type="email"]:focus { outline: none; border-color: var(--blue);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.35); }
.gate-checks { text-align: left; margin: 6px 0 22px; display: grid; gap: 13px; }
.gate-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  font-size: 0.95rem; color: #dfe4ff; }
.gate-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--purple);
  cursor: pointer; flex-shrink: 0; }
.gate-note { font-size: 0.85rem; color: var(--faint); margin-top: 16px; }
.gate-error { color: var(--danger); font-size: 0.9rem; margin-top: 10px; min-height: 1.4em; }
.gate-success { color: var(--ok); font-size: 0.92rem; margin-top: 10px; }

/* ---------- forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--gold); }
.form-group input[type="text"], .form-group input[type="email"],
.form-group input[type="number"], .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; font-size: 1rem;
  background: #060b1e; border: 1px solid var(--border); color: var(--text);
  font-family: var(--font);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 14px rgba(34, 211, 238, 0.3); }
.form-wrap { max-width: 640px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }

/* ---------- FAQ accordion ---------- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; background: var(--card); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  color: #fff; font-size: 1.05rem; font-weight: 700; padding: 18px 22px;
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
  font-family: var(--font); }
.faq-q:hover { text-shadow: 0 0 12px rgba(34, 211, 238, 0.6); }
.faq-q .faq-icon { color: var(--magenta); font-size: 1.4rem; flex-shrink: 0;
  text-shadow: 0 0 10px var(--magenta); transition: transform 0.2s ease; }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 22px 20px; color: #dfe4ff; }
.faq-item.open .faq-a { max-height: 600px; }

/* ---------- protocols ---------- */
.letter-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 26px 0; }
.letter-nav button {
  min-width: 46px; height: 46px; border-radius: 10px; cursor: pointer;
  background: var(--card); border: 1px solid var(--border); color: var(--muted);
  font-weight: 800; font-size: 1rem; font-family: var(--font);
}
.letter-nav button:hover, .letter-nav button.active {
  color: #04121f; background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.5); }
.letter-nav button:disabled { opacity: 0.25; cursor: default; }
.search-row { max-width: 520px; margin: 0 auto 30px; }
.search-row input {
  width: 100%; padding: 14px 20px; border-radius: 999px; font-size: 1rem;
  background: #060b1e; border: 1px solid var(--border); color: var(--text);
  font-family: var(--font); text-align: center; }
.search-row input:focus { outline: none; border-color: var(--purple);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.35); }
.protocol-group { margin-bottom: 36px; }
.protocol-group h2 { border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.protocol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
a.protocol-card {
  display: block; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px; color: var(--text); }
a.protocol-card:hover { border-color: var(--purple); color: #fff;
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.35); text-shadow: none; }
.protocol-card .p-name { font-weight: 800; color: #fff; margin-bottom: 6px; }
.protocol-card .p-meta { font-size: 0.85rem; color: var(--muted); }
.protocol-card .p-type { display: inline-block; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
  margin-top: 10px; }
.p-type.single { background: rgba(34, 211, 238, 0.15); color: var(--blue); }
.p-type.blend { background: rgba(168, 85, 247, 0.18); color: var(--purple); }
.p-type.stack { background: rgba(255, 46, 166, 0.15); color: var(--magenta); }

/* protocol detail */
.vial-switcher { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 30px; }
.vial-switcher button {
  padding: 10px 20px; border-radius: 999px; cursor: pointer; font-weight: 800;
  background: var(--card); border: 1px solid var(--border); color: var(--muted);
  font-family: var(--font); font-size: 0.95rem; }
.vial-switcher button:hover, .vial-switcher button.active {
  color: #04121f; background: linear-gradient(135deg, var(--gold), #ffdf8a);
  box-shadow: 0 0 18px rgba(245, 197, 66, 0.45); border-color: transparent; }
.dose-table-wrap { overflow-x: auto; margin: 20px 0 30px;
  border: 1px solid var(--border); border-radius: var(--radius); }
table.dose-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.dose-table th { background: rgba(168, 85, 247, 0.16); color: #fff; text-align: left;
  padding: 13px 16px; font-size: 0.85rem; letter-spacing: 0.6px; text-transform: uppercase; }
.dose-table td { padding: 12px 16px; border-top: 1px solid rgba(34, 211, 238, 0.1);
  color: #dfe4ff; }
.dose-table tr:nth-child(even) td { background: rgba(34, 211, 238, 0.04); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; margin: 22px 0; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; }
.stat .stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--faint); margin-bottom: 6px; }
.stat .stat-value { font-weight: 800; color: #fff; font-size: 1.05rem; }
.recon-steps { margin: 0 0 1.2em 1.4em; }
.proto-section { background: rgba(11, 19, 48, 0.6); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 26px; margin: 22px 0; }
.proto-section h3 { margin-top: 0; }
.back-link { display: inline-block; margin: 10px 0 20px; font-weight: 700; }

/* ---------- calculator ---------- */
.calc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px;
  align-items: start; margin-top: 26px; }
.calc-results { background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; position: sticky; top: 90px; }
.calc-results .big-number { font-size: 2.6rem; font-weight: 800; color: #fff;
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.8); }
.calc-results .unit-label { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.syringe-box { margin-top: 22px; text-align: center; }
.syringe-svg { width: 120px; margin: 0 auto; filter: drop-shadow(0 0 14px rgba(34,211,238,0.5)); }
.syringe-caption { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }
.disclaimer-box {
  border: 1px solid rgba(245, 197, 66, 0.45); background: rgba(245, 197, 66, 0.07);
  border-radius: var(--radius); padding: 18px 22px; margin: 30px 0; color: #ffe9b3;
  font-size: 0.95rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px;
  background: rgba(5, 9, 20, 0.9); }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 38px 22px 30px; text-align: center; }
.footer-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.fb-cta { display: inline-block; margin: 6px 0 22px; }
.footer-disclaimer { color: var(--faint); font-size: 0.85rem; max-width: 760px; margin: 0 auto 14px; }
.footer-copy { color: var(--faint); font-size: 0.82rem; }

/* ---------- misc ---------- */
.hero { text-align: center; padding: 60px 0 30px; }
.hero img.hero-logo { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 24px;
  box-shadow: 0 0 44px rgba(34, 211, 238, 0.65); }
.hero h1 { font-size: 2.6rem; letter-spacing: 2px; color: #fff; margin-bottom: 12px;
  text-shadow: 0 0 30px rgba(34, 211, 238, 0.7), 0 0 70px rgba(168, 85, 247, 0.5); }
.hero .tagline { font-size: 1.25rem; color: var(--gold); font-weight: 600; margin-bottom: 18px;
  text-shadow: 0 0 16px rgba(245, 197, 66, 0.4); }
.hero p.intro { max-width: 720px; margin: 0 auto 10px; color: #dfe4ff; }
.section-title { text-align: center; font-size: 1.8rem; color: #fff; margin: 56px 0 8px;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.6); }
.section-sub { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 10px; }
.inline-img { border-radius: var(--radius); margin: 26px auto;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.25); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin: 30px 0; }
.notice-soon { text-align: center; padding: 34px; border: 1px dashed var(--gold-dim);
  border-radius: var(--radius); color: var(--gold); font-weight: 700; letter-spacing: 1px;
  margin: 26px 0; background: rgba(245, 197, 66, 0.05); }

@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(5, 9, 20, 0.98); flex-direction: column; padding: 12px 22px 20px;
    border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .site-header { position: relative; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-results { position: static; }
  .two-col { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .gate-box { padding: 28px 22px; }
}
