/* ============================================================
   AETERNUM LABS — HOMEPAGE
   ============================================================ */

/* ---- Hero ---- */
/* Full-width dark hero — pull up behind sticky nav */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-top: -90px;
  overflow: hidden;
  background: var(--navy);
}

/* Background image fills the full hero */
.hero-bg-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 90% center;
  display: block;
}

/* Dark gradient overlay — heavier on left for text legibility, fades right to show vial */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 18, 38, 0.90) 0%,
    rgba(10, 18, 38, 0.72) 40%,
    rgba(10, 18, 38, 0.25) 100%
  );
  pointer-events: none;
}

/* Text content — left-aligned, white */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  padding: 160px 0 100px;
}

.hero-content .eyebrow { color: var(--gold); }

.hero-content h1 {
  color: var(--white);
  margin: 20px 0 28px;
  font-size: clamp(52px, 6vw, 88px);
}
.hero-content h1 em { font-style: italic; color: var(--gold); }

.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* 99%+ purity badge — pinned bottom-right of hero */
.hero-purity-badge {
  position: absolute;
  bottom: 36px;
  right: 48px;
  z-index: 2;
  background: rgba(13, 31, 56, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--cream-warm);
  border-top: 1px solid rgba(13,31,56,0.06);
  border-bottom: 1px solid rgba(13,31,56,0.06);
  padding: 20px 0;
  overflow: hidden;
}

.trust-track { animation-duration: 28s; }

.trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: var(--semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  padding-right: 48px;
  white-space: nowrap;
}
.trust-bar__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---- Featured Products ---- */
.featured-products { padding: var(--space-xl) 0; background: var(--cream); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.vial-placeholder {
  width: 50px; height: 120px;
  border-radius: 6px 6px 25px 25px;
  background: linear-gradient(160deg, rgba(13,31,56,0.06), rgba(13,31,56,0.02));
  border: 1px solid rgba(13,31,56,0.1);
}

.featured-products__cta { text-align: center; }

/* ---- Parallax Banner ---- */
.parallax-banner {
  position: relative;
  background: var(--navy);
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
  color: var(--cream);
}
.parallax-banner__bg {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,169,110,0.08) 0%, transparent 70%);
  will-change: transform;
}
.parallax-banner__content { position: relative; z-index: 1; }
.parallax-banner__content blockquote {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: var(--thin);
  font-style: italic;
  color: var(--white);
  line-height: 1.2;
  margin: 16px 0 24px;
}
.parallax-banner__content p {
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  margin: 16px auto 0;
}

/* ---- Brand Statement ---- */
.brand-statement { padding: var(--space-xl) 0; background: var(--cream-warm); }
.brand-statement__inner { max-width: 640px; }
.brand-statement__inner h2 { margin: 16px 0; }
.brand-statement__body { font-size: 17px; line-height: 1.8; margin-bottom: 40px; }

/* ---- Why Us ---- */
.why-us { padding: var(--space-xl) 0; background: var(--cream); border-top: 1px solid rgba(13,31,56,0.06); }

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.why-us__item {
  padding: 48px 40px;
  border-right: 1px solid rgba(13,31,56,0.06);
}
.why-us__item:last-child { border-right: none; }
.why-us__number { display: block; margin-bottom: 20px; }
.why-us__item h3 { font-size: 28px; margin-bottom: 16px; }
.why-us__item p  { font-size: 15px; }

/* ---- COA CTA ---- */
.coa-cta { padding: var(--space-xl) 0; background: var(--navy); color: var(--cream); }

.coa-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.coa-cta__text .eyebrow { color: var(--gold); }
.coa-cta__text h2 { color: var(--white); margin: 16px 0 24px; }
.coa-cta__text p  { color: rgba(255,255,255,0.6); margin-bottom: 36px; max-width: 480px; }

.purity-badge--lg { width: 160px; height: 160px; }
.purity-badge--lg .purity-badge__number { font-size: 40px; }
.purity-badge--lg .purity-badge__label  { font-size: 12px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us__grid { grid-template-columns: 1fr; }
  .why-us__item { border-right: none; border-bottom: 1px solid rgba(13,31,56,0.06); }
  .why-us__item:last-child { border-bottom: none; }
  .coa-cta__inner { flex-direction: column; text-align: center; }
}
/* ---- Lab Standards Section ---- */
.lab-standards {
  background: linear-gradient(175deg, #060d1a 0%, #0a1830 60%, #0d1f38 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lab-standards::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 20% 30%, rgba(201,169,110,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 80% 70%, rgba(60,100,180,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.lab-standards__header {
  position: relative;
  z-index: 1;
  margin-bottom: 56px;
}
.lab-standards__header .eyebrow { color: var(--gold); }
.lab-standards__header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: var(--thin);
  color: var(--white);
  margin: 16px 0 24px;
}
.lab-standards__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
}
.lab-standard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 20px;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(201,169,110,0.10);
  transition: background 0.3s ease;
}
.lab-standard:last-child { border-right: none; }
.lab-standard:hover { background: rgba(201,169,110,0.06); }
.lab-standard__stat {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: var(--thin);
  color: var(--gold);
  line-height: 1;
}
.lab-standard__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: var(--semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.lab-standards__cta {
  position: relative;
  z-index: 1;
}

/* ---- Responsive 768px ---- */
@media (max-width: 768px) {
  .hero { min-height: 85vh; }
  .hero-content { padding: 120px 0 60px; }
  .hero-content h1 { font-size: clamp(36px, 10vw, 52px); }
  section.featured-products,
  section.brand-statement,
  section.why-us,
  section.coa-cta { padding: 80px 0; }
  .why-us__grid { gap: 0; }
  .lab-standards { padding: 72px 0; }
  .lab-standards__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  /* Hero */
  .hero { min-height: 90vh; }
  .hero-bg-img { object-position: center center; }
  .hero-content { padding: 140px 0 80px; }
  .hero-content h1 { font-size: 44px; }
  .hero-desc { font-size: 15px; margin-bottom: 28px; }
  .hero-purity-badge { bottom: 20px; right: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }

  /* Sections — reduce 120px padding to 64px */
  .featured-products { padding: 64px 0; }
  .parallax-banner    { padding: 72px 0; }
  .brand-statement    { padding: 64px 0; }
  .why-us             { padding: 64px 0; }
  .coa-cta            { padding: 64px 0; }

  /* Section header */
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 36px; }

  /* Featured products grid */
  .products-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Parallax */
  .parallax-banner__content blockquote { font-size: 30px; }

  /* Brand statement */
  .brand-statement__body { font-size: 15px; }

  /* Why Us */
  .why-us__item { padding: 28px 0; }
  .why-us__item h3 { font-size: 24px; }

  /* COA CTA */
  .coa-cta__inner { gap: 40px; }
  .purity-badge--lg { width: 100px; height: 100px; }
  .purity-badge--lg .purity-badge__number { font-size: 28px; }
  .purity-badge--lg .purity-badge__label  { font-size: 10px; }
}
