/*
Theme Name: Lifegen Peptides
Theme URI: https://lifegenpeptides.com
Author: Lifegen Peptides
Description: Custom dark, research-illuminated theme for Lifegen Peptides. Built for WooCommerce.
Version: 3.6 (banners reverted to original colors, no tint or overlay)
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: lifegen-peptides
*/

/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: #05070d;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(70,140,255,0.12) 0%, rgba(5,7,13,0) 55%),
    repeating-linear-gradient(120deg, rgba(80,160,255,0.035) 0px, rgba(80,160,255,0.035) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(60deg, rgba(80,160,255,0.035) 0px, rgba(80,160,255,0.035) 1px, transparent 1px, transparent 60px);
  color: #d7e6f7;
  font-family: 'Exo 2', 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: 'Audiowide', 'Exo 2', sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #eaf4ff;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f7bff, #1257e0);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 0 14px rgba(47,123,255,0.55);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(47,123,255,0.85);
}
.btn-outline {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(120,180,255,0.5);
  color: #bfe0ff !important;
  font-weight: 600;
  background: rgba(20,35,60,0.4);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(6,10,20,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(90,150,255,0.15);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.site-logo {
  font-family: 'Audiowide', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #7fd4ff, #3f8bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo img { height: 48px; width: auto; border-radius: 6px; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 10px;
}
.main-nav a {
  font-size: 0.98rem;
  font-weight: 600;
  color: #dbeaff;
  opacity: 0.9;
}
.main-nav a:hover { opacity: 1; color: #7fd4ff; }
.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(120,180,255,0.4);
  border-radius: 8px;
  color: #eaf4ff;
  font-size: 1.3rem;
  padding: 4px 12px;
  cursor: pointer;
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 0;
  }
  .main-nav li { width: 100%; border-top: 1px solid rgba(255,255,255,0.08); }
  .main-nav a { display: block; padding: 12px 4px; }
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 70px 20px 40px;
}
.hero .dna-logo {
  max-width: 320px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 35px rgba(60,140,255,0.55));
}
.hero h1 {
  font-size: 2.4rem;
  margin: 10px 0 4px;
  text-shadow: 0 0 25px rgba(90,170,255,0.6);
}
.hero .tagline {
  font-family: 'Exo 2', sans-serif;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #a9c9ef;
  font-size: 1rem;
  margin-bottom: 10px;
}

/* ---------- Split Hero (image + copy) ---------- */
.hero-split { padding: 50px 20px 20px; }
.hero-split .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-split .container { grid-template-columns: 1fr; text-align: center; }
}
.hero-split h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin: 0 0 14px;
  text-shadow: 0 0 25px rgba(90,170,255,0.5);
}
.hero-split .lede { color: #c3d6ec; font-size: 1.1rem; margin-bottom: 22px; }
.trust-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 10px; }
.trust-list li { display: flex; align-items: center; gap: 10px; color: #dbeaff; font-weight: 600; font-size: 0.98rem; }
.trust-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4fd1ff;
  box-shadow: 0 0 10px rgba(79,209,255,0.9);
  flex-shrink: 0;
}
@media (max-width: 900px) { .trust-list { align-items: center; } }
.stars-line { margin-top: 18px; color: #ffcf5c; letter-spacing: 2px; font-size: 0.95rem; }
.stars-line span { color: #a9c9ef; margin-left: 8px; letter-spacing: normal; font-weight: 600; }
.hero-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(47,123,255,0.35);
  border: 1px solid rgba(90,150,255,0.3);
}
.hero-image-wrap img { width: 100%; height: auto; display: block; }

/* ---------- Trust badge row ---------- */
.badge-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 46px;
}
.badge-item {
  text-align: center;
  padding: 22px 14px;
  border-radius: 14px;
  background: rgba(20,35,65,0.4);
  border: 1px solid rgba(90,150,255,0.2);
}
.badge-item .badge-icon { font-size: 1.8rem; margin-bottom: 8px; }
.badge-item h4 { font-size: 1rem; color: #7fd4ff; margin: 0 0 4px; }
.badge-item p { font-size: 0.85rem; color: #a9c9ef; margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq-item {
  border: 1px solid rgba(90,150,255,0.25);
  border-radius: 12px;
  margin-bottom: 12px;
  background: rgba(15,25,45,0.4);
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  color: #eaf4ff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: #7fd4ff; font-size: 1.3rem; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { padding: 0 20px 18px; color: #c3d6ec; font-size: 0.95rem; }

/* ---------- Footer contact ---------- */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: left;
  margin-bottom: 30px;
}
.footer-columns h4 { color: #7fd4ff; font-size: 1rem; margin-bottom: 12px; }
.footer-columns ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-columns ul a { color: #a9c9ef; }
.footer-columns ul a:hover { color: #7fd4ff; }
.fda-disclaimer { font-size: 0.78rem; color: #6f89ab; max-width: 900px; margin: 0 auto 24px; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: 50px 20px; }
.section-title {
  text-align: center;
  font-size: 1.8rem;
  color: #7fd4ff;
  margin-bottom: 18px;
}
.section-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: #c3d6ec;
  font-size: 1.05rem;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.card {
  background: linear-gradient(180deg, rgba(20,35,65,0.55), rgba(10,18,35,0.55));
  border: 1px solid rgba(90,150,255,0.25);
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 0 20px rgba(30,80,200,0.12) inset;
}
.card h3 { color: #7fd4ff; font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: #c3d6ec; font-size: 0.95rem; margin: 0; }

/* ---------- Product grid (Woo + Blends) ---------- */
.product-card {
  background: linear-gradient(180deg, rgba(20,35,65,0.55), rgba(10,18,35,0.55));
  border: 1px solid rgba(90,150,255,0.25);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: 0 0 24px rgba(60,140,255,0.35); transform: translateY(-3px); }
.product-card img { width: 100%; height: auto; }
.product-card .product-info { padding: 16px; }
.product-card h3 { font-size: 1.05rem; color: #eaf4ff; margin: 0 0 6px; }
.product-card .price { color: #7fd4ff; font-weight: 700; }

/* ---------- WooCommerce overrides ---------- */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: linear-gradient(180deg, rgba(20,35,65,0.55), rgba(10,18,35,0.55));
  border: 1px solid rgba(90,150,255,0.25);
  border-radius: 16px;
  padding: 16px;
}
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #eaf4ff;
}
.woocommerce span.price, .woocommerce-page span.price { color: #7fd4ff !important; }
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit,
.woocommerce a.add_to_cart_button {
  background: linear-gradient(135deg, #2f7bff, #1257e0) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 0 14px rgba(47,123,255,0.5);
  border: none !important;
}
.woocommerce div.product p.price, .woocommerce div.product span.price { color: #7fd4ff; }
.research-notice {
  text-align: center;
  color: #ffb454;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin: 20px auto;
  max-width: 700px;
}

/* ---------- Peptide Calculator ---------- */
.calc-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.calc-wrap {
  max-width: 560px;
  flex: 1 1 400px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(20,35,65,0.55), rgba(10,18,35,0.55));
  border: 1px solid rgba(90,150,255,0.25);
  border-radius: 16px;
  padding: 30px;
}
.calc-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.calc-step + .calc-step {
  margin-top: 22px;
}
.calc-step-num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f7bff, #1257e0);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}
.calc-step > div { flex: 1; }
.calc-step-result .calc-step-num { margin-top: 6px; }
.calc-wrap label {
  display: block;
  margin: 0 0 6px;
  color: #bfe0ff;
  font-weight: 600;
}
.calc-wrap input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(90,150,255,0.35);
  background: rgba(5,10,20,0.6);
  color: #eaf4ff;
  font-size: 1rem;
}
.calc-syringe {
  flex: 1 1 220px;
  max-width: 260px;
  text-align: center;
  padding-top: 40px;
}
.calc-syringe svg {
  width: 100%;
  height: auto;
}
.calc-syringe-caption {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #8fa9c9;
  font-style: italic;
}
.calc-result {
  margin-top: 0;
  padding: 22px 18px;
  border-radius: 12px;
  text-align: center;
  background: rgba(5,10,20,0.6);
  border: 1px solid rgba(127,212,255,0.35);
}
.calc-result-value {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: #7fd4ff;
  line-height: 1.1;
  text-shadow: 0 0 18px rgba(127,212,255,0.55);
}
.calc-result-unit {
  display: block;
  font-size: 0.95rem;
  color: #c3d6ec;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.calc-result-sub {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #8fa9c9;
}
@keyframes calcPulse {
  0% { box-shadow: 0 0 0 0 rgba(127,212,255,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(127,212,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(127,212,255,0); }
}
.calc-pulse { animation: calcPulse 0.6s ease-out; }

.calc-extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 40px auto 0;
}
@media (max-width: 700px) {
  .calc-extra-grid { grid-template-columns: 1fr; }
}
.calc-info-card {
  background: linear-gradient(180deg, rgba(20,35,65,0.5), rgba(10,18,35,0.5));
  border: 1px solid rgba(90,150,255,0.2);
  border-radius: 14px;
  padding: 22px;
}
.calc-info-card h3 {
  color: #7fd4ff;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.calc-info-card p {
  color: #c3d6ec;
  font-size: 0.9rem;
  margin: 6px 0;
}
.calc-example-math {
  font-size: 1rem;
  color: #eaf4ff;
  background: rgba(127,212,255,0.08);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 10px 0 !important;
}
.calc-strength-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.calc-strength-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(90,150,255,0.15);
  font-size: 0.9rem;
  color: #c3d6ec;
}
.calc-strength-list li:last-child { border-bottom: none; }
.calc-strength-list li span:first-child { color: #eaf4ff; font-weight: 600; }
  background: rgba(47,123,255,0.12);
  border: 1px solid rgba(90,150,255,0.4);
  text-align: center;
  font-size: 1.1rem;
  color: #7fd4ff;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(90,150,255,0.15);
  background: rgba(5,8,16,0.9);
  padding: 30px 20px;
  text-align: center;
  color: #8fa9c9;
  font-size: 0.88rem;
  margin-top: 40px;
}
.site-footer .notice { letter-spacing: 1px; color: #ffb454; margin-bottom: 6px; font-weight: 600; }
.site-footer .footer-links { margin-top: 10px; }
.site-footer .footer-links a { margin: 0 10px; color: #a9c9ef; }
.site-footer .footer-links a:hover { color: #7fd4ff; }

/* ---------- Account page ---------- */
.account-wrap {
  max-width: 420px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(20,35,65,0.55), rgba(10,18,35,0.55));
  border: 1px solid rgba(90,150,255,0.25);
  border-radius: 16px;
  padding: 30px;
}
.account-wrap label { display: block; margin: 16px 0 6px; color: #bfe0ff; font-weight: 600; }
.account-wrap input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(90,150,255,0.35);
  background: rgba(5,10,20,0.6);
  color: #eaf4ff;
  font-size: 1rem;
}
.account-tabs { display: flex; gap: 10px; margin-bottom: 10px; }
.account-tabs button {
  flex: 1;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid rgba(120,180,255,0.4);
  background: rgba(20,35,60,0.4);
  color: #bfe0ff;
  font-weight: 600;
  cursor: pointer;
}
.account-tabs button.active { background: linear-gradient(135deg, #2f7bff, #1257e0); color: #fff; border-color: transparent; }

/* ---------- Page header banner (original colors, no tint) ---------- */
.page-banner-wrap {
  position: relative;
}
.page-banner {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}
/* ---------- Contact form ---------- */
.contact-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(20,35,65,0.55), rgba(10,18,35,0.55));
  border: 1px solid rgba(90,150,255,0.25);
  border-radius: 16px;
  padding: 30px;
}
.contact-form-wrap label {
  display: block;
  margin: 16px 0 6px;
  color: #bfe0ff;
  font-weight: 600;
}
.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(90,150,255,0.35);
  background: rgba(5,10,20,0.6);
  color: #eaf4ff;
  font-size: 1rem;
  font-family: inherit;
}
.contact-form-wrap textarea { resize: vertical; }

.calc-wrap select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(90,150,255,0.35);
  background: rgba(5,10,20,0.6);
  color: #eaf4ff;
  font-size: 1rem;
}
