/* ═══════════════════════════════════════════════════════════ */
/* ALLURA LONGEVITY — CSS                                      */
/* Hunter Green + Sparkly Gold | Minimal & Polished             */
/* ═══════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  /* Primary */
  --hunter-green: #355E3B;
  --dark-forest: #1B3A23;
  --soft-gold: #C5A55A;
  --bright-gold: #D4B96B;

  /* Secondary */
  --sage: #6B8F71;
  --muted-green: #5A7D60;
  --sage-mist: #C8D5C0;
  --warm-cream: #FAF8F2;
  --white: #FFFFFF;

  /* Text */
  --text-dark: #1B3A23;
  --text-body: #3D3D3D;
  --text-muted: #6B8F71;

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', 'Raleway', Arial, sans-serif;

  /* Spacing */
  --section-pad: clamp(64px, 10vw, 120px);
  --container-max: 1080px;

  /* Gold shimmer gradient */
  --gold-shimmer: linear-gradient(
    135deg,
    #B8963E 0%,
    #D4B96B 25%,
    #F0DFA0 45%,
    #E8D08A 55%,
    #C5A55A 75%,
    #A8882E 100%
  );
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--warm-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── CONTAINER ─────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION BASE ──────────────────────────────────────────── */
.section {
  padding: var(--section-pad) 0;
}

.section--light {
  background: var(--warm-cream);
}

.section--sage {
  background: linear-gradient(180deg, var(--sage-mist) 0%, #dce4d6 100%);
}

.section--dark {
  background: var(--dark-forest);
}

.section--cta {
  background: linear-gradient(135deg, var(--dark-forest) 0%, #244a2d 50%, var(--hunter-green) 100%);
  text-align: center;
}

.section__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 42px);
  color: var(--dark-forest);
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 48px;
}

.section__heading--light {
  color: var(--white);
}

.section__intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--hunter-green);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--dark-forest);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(27, 58, 35, 0.3);
}

.btn--gold {
  background: var(--gold-shimmer);
  color: var(--dark-forest);
  font-weight: 700;
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(197, 165, 90, 0.4);
}

.btn--large {
  font-size: 16px;
  padding: 20px 52px;
}

/* Sparkle effect on buttons */
.btn--sparkle::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 70%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.btn--sparkle:hover::after {
  transform: rotate(45deg) translateX(100%);
}

/* ── LINKS ─────────────────────────────────────────────────── */
.link--gold {
  color: var(--soft-gold);
  border-bottom: 1px solid rgba(197, 165, 90, 0.4);
  transition: border-color 0.2s;
}

.link--gold:hover {
  border-color: var(--soft-gold);
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 1: HERO                                            */
/* ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: url('images/hero.png') center center / cover no-repeat;
  text-align: center;
  padding: 24px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 58, 35, 0.65) 0%,
    rgba(27, 58, 35, 0.50) 40%,
    rgba(27, 58, 35, 0.70) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero__logo svg {
  width: 320px;
  height: auto;
  margin: 0 auto 32px;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 7vw, 56px);
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__subheadline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(15px, 2.5vw, 18px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.hero__contact-link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--soft-gold);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.hero__contact-link:hover {
  color: var(--bright-gold);
}

.hero__trust-bar {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--soft-gold);
}

.hero__trust-divider {
  margin: 0 12px;
  opacity: 0.4;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  animation: bobDown 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes bobDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 2: PAIN POINTS                                     */
/* ═══════════════════════════════════════════════════════════ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.pain-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(200, 213, 192, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(53, 94, 59, 0.08);
}

.pain-card__icon {
  margin-bottom: 16px;
}

.pain-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  font-style: italic;
}

.pain-closing {
  text-align: center;
  font-size: 17px;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-body);
}

.pain-closing strong {
  color: var(--hunter-green);
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 3: BENEFITS GRID                                   */
/* ═══════════════════════════════════════════════════════════ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.benefit-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 24px;
  border: 1px solid rgba(200, 213, 192, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(53, 94, 59, 0.08);
}

.benefit-card__icon {
  font-size: 20px;
  color: var(--soft-gold);
  margin-bottom: 12px;
}

.benefit-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-forest);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 12px;
}

.benefit-card__peptides {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--sage);
  letter-spacing: 0.05em;
  padding-top: 12px;
  border-top: 1px solid var(--sage-mist);
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 4: STEPS                                           */
/* ═══════════════════════════════════════════════════════════ */
.steps {
  max-width: 640px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step + .step__connector + .step,
.step + .step {
  margin-top: 32px;
}

.steps .step:not(:first-child) {
  margin-top: 32px;
}

.step__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--gold-shimmer);
  color: var(--dark-forest);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
  padding-top: 2px;
}

.step__content h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--dark-forest);
  margin-bottom: 8px;
}

.step__content p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-body);
}

.step__connector {
  display: none;
}

.steps__tagline {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--soft-gold);
  margin-top: 48px;
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION: MEET ASHLEY                                       */
/* ═══════════════════════════════════════════════════════════ */
.ashley {
  display: flex;
  gap: 48px;
  align-items: center;
}

.ashley__photo {
  flex-shrink: 0;
  width: 320px;
}

.ashley__photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(27, 58, 35, 0.15);
}

.ashley__bio h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--dark-forest);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.ashley__role {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft-gold);
  margin-bottom: 20px;
}

.ashley__bio p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 14px;
}

.ashley__bio p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 5: TRANSFORMATION                                  */
/* ═══════════════════════════════════════════════════════════ */
.transformation {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}

.transformation__img {
  width: 100%;
  border-radius: 12px;
}

.transformation__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(27, 58, 35, 0.8) 0%, transparent 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.02em;
}

.testimonial {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.testimonial p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 3vw, 24px);
  color: var(--soft-gold);
  line-height: 1.5;
  margin-bottom: 12px;
}

.testimonial cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 6: TRUST                                           */
/* ═══════════════════════════════════════════════════════════ */
.trust-row {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.trust-row--top {
  margin-bottom: 40px;
}

.trust-row .trust-item {
  flex: 0 1 280px;
}

.trust-item {
  text-align: center;
}

.trust-item__icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.trust-item h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-forest);
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 7: FAQ                                             */
/* ═══════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 720px;
  margin: 0 auto 40px;
}

.faq-item {
  border-bottom: 1px solid rgba(107, 143, 113, 0.3);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-forest);
  text-align: left;
  gap: 16px;
}

.faq-item__chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--soft-gold);
}

.faq-item__question[aria-expanded="true"] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item__answer.open {
  max-height: 200px;
}

.faq-item__answer p {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-body);
}

.faq-cta {
  text-align: center;
  font-size: 15px;
  color: var(--text-body);
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 8: CTA                                             */
/* ═══════════════════════════════════════════════════════════ */
.cta__subheading {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta__actions {
  margin-bottom: 32px;
}

.cta__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.cta__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--soft-gold);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.cta__contact-link:hover {
  color: var(--bright-gold);
}

.cta__contact-link svg {
  flex-shrink: 0;
}

.cta__phone {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.cta__urgency {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft-gold);
  margin-bottom: 24px;
}

.cta__closing {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 3vw, 24px);
  color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 9: FOOTER                                          */
/* ═══════════════════════════════════════════════════════════ */
.footer {
  background: #121f16;
  padding: 48px 0 32px;
  text-align: center;
}

.footer__brand {
  margin-bottom: 24px;
}

.footer__logo {
  width: 200px;
  height: auto;
  margin: 0 auto;
}

.footer__disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  max-width: 560px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.footer__links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--soft-gold);
}

.footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════════════════════════════════════════ */
/* SPARKLE CANVAS OVERLAY                                     */
/* ═══════════════════════════════════════════════════════════ */
#sparkleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ═══════════════════════════════════════════════════════════ */
/* REVEAL ANIMATIONS                                          */
/* ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                 */
/* ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero__trust-bar {
    flex-direction: column;
    gap: 4px;
  }

  .hero__trust-divider {
    display: none;
  }

  .pain-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .benefit-card {
    padding: 20px 16px;
  }

  .step {
    gap: 16px;
  }

  .ashley {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .ashley__photo {
    width: 260px;
  }

  .step__number {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .step__connector {
    margin-left: 21px;
    height: 24px;
  }

  .trust-row {
    flex-wrap: wrap;
    gap: 24px;
  }

  .trust-row .trust-item {
    flex: 0 1 calc(50% - 12px);
  }

  .btn--large {
    padding: 18px 36px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .trust-row .trust-item {
    flex: 1 1 100%;
  }

  .hero__logo svg {
    width: 200px;
  }
}

/* ── PREFERS REDUCED MOTION ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__scroll-hint {
    animation: none;
  }

  .btn--sparkle::after {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }
}
