/* ============================================
   ADVANCED HEALING — Section-Specific Styles
   Hero · Features · Science · Products ·
   Subscription · Testimonials · Contact · Footer
   ============================================ */

/* ===========================================
   HERO SECTION
   =========================================== */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201,168,76,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 30% 60%, rgba(196,160,212,0.04) 0%, transparent 50%),
    var(--bg-primary);
}

/* Background image layer */
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Gradient overlay — fades image into the dark bg */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

/* Canvas layer — particles fade in center for text readability */
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
  opacity: 0.8;
  mask-image: radial-gradient(ellipse 50% 45% at 50% 50%, transparent 20%, black 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 45% at 50% 50%, transparent 20%, black 70%);
}

/* Content layer — sits above everything */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--space-20) var(--space-6);
  text-align: center;
  margin: 0 auto;
}

/* Tagline label */
.hero__tagline {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: var(--space-4);
  font-weight: var(--weight-semibold);
  display: block;
  text-align: center;
}

/* Main heading */
.hero__title {
  font-size: var(--text-6xl);
  font-weight: var(--weight-extrabold);
  margin-bottom: var(--space-6);
  line-height: var(--leading-tight);
  font-family: var(--font-heading);
  color: var(--text-primary);
}

/* Highlighted text within the title */
.hero__title span.highlight {
  color: #6b4f0e;
  -webkit-text-fill-color: #6b4f0e;
}

/* Subtitle */
.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;

}

/* Action buttons row */
.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

/* Scroll indicator arrow */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-tertiary);
  animation: bounceArrow 2s ease-in-out infinite;
  cursor: pointer;
  transition: color var(--duration-base) var(--ease-smooth);
}

.hero__scroll-indicator:hover {
  color: var(--gold);
}

.hero__scroll-indicator svg {
  width: 28px;
  height: 28px;
}


/* ===========================================
   TRUST BAR — Social Proof Strip
   =========================================== */
.trust-bar {
  padding-block: var(--space-12);
  border-bottom: var(--border-subtle);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid #e8e0d8;
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-10);
  max-width: 1000px;
  margin: 0 auto;
}

.trust-bar__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.trust-bar__number {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  font-family: var(--font-heading);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.trust-bar__plus {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trust-bar__label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  font-weight: var(--weight-medium);
}

.trust-bar__divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(201,168,76,0.25), transparent);
}

@media (max-width: 640px) {
  .trust-bar__inner {
    gap: var(--space-6);
    padding: var(--space-6);
  }
  .trust-bar__divider {
    display: none;
  }
  .trust-bar__item {
    flex: 1 1 40%;
  }
}


/* ===========================================
   FEATURES STRIP
   =========================================== */
#features {
  background: var(--bg-secondary);
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
  padding-block: var(--space-20);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Individual feature card */
.feature-card {
  text-align: center;
  padding: var(--space-8);
  background: #ffffff;
  border: 1px solid #e8e0d8;
  border-radius: var(--radius-xl);
  transition: transform var(--duration-base) var(--ease-smooth),
              border-color var(--duration-base) var(--ease-smooth),
              box-shadow var(--duration-base) var(--ease-smooth);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: var(--shadow-md);
}

/* Feature icon */
.feature-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__icon svg,
.feature-card__icon i {
  width: 100%;
  height: 100%;
}

/* Feature title */
.feature-card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
  font-family: var(--font-heading);
}

/* Feature description */
.feature-card__description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}


/* ===========================================
   SCIENCE SECTION
   =========================================== */
#science {
  padding-block: var(--space-32);
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

/* Science nutrient category card */
.science-card {
  background: #ffffff;
  border: 1px solid #e8e0d8;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--duration-base) var(--ease-smooth),
              border-color var(--duration-base) var(--ease-smooth),
              box-shadow var(--duration-base) var(--ease-smooth);
}

.science-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Category-specific accent colors */
.science-card--minerals {
  border-color: rgba(92, 184, 163, 0.25);
}

.science-card--minerals:hover {
  border-color: rgba(92, 184, 163, 0.4);
  box-shadow: var(--shadow-glow-emerald);
}

.science-card--minerals .science-card__icon {
  color: var(--emerald);
}

.science-card--minerals .science-card__number {
  background: var(--gradient-emerald);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.science-card--vitamins {
  border-color: rgba(201, 168, 76, 0.25);
}

.science-card--vitamins:hover {
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: var(--shadow-glow-gold);
}

.science-card--vitamins .science-card__icon {
  color: var(--gold);
}

.science-card--vitamins .science-card__number {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.science-card--amino {
  border-color: rgba(107, 140, 204, 0.25);
}

.science-card--amino:hover {
  border-color: rgba(107, 140, 204, 0.4);
  box-shadow: var(--shadow-glow-blue);
}

.science-card--amino .science-card__icon {
  color: var(--blue);
}

.science-card--amino .science-card__number {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.science-card--efas {
  border-color: rgba(150, 120, 196, 0.25);
}

.science-card--efas:hover {
  border-color: rgba(150, 120, 196, 0.4);
  box-shadow: 0 0 30px rgba(150, 120, 196, 0.15);
}

.science-card--efas .science-card__icon {
  color: var(--purple);
}

.science-card--efas .science-card__number {
  background: linear-gradient(135deg, var(--purple), #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Card inner elements */
.science-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
}

.science-card__icon svg {
  width: 100%;
  height: 100%;
}

.science-card__number {
  font-size: var(--text-5xl);
  font-weight: var(--weight-extrabold);
  line-height: 1;
  margin-bottom: var(--space-3);
  font-family: var(--font-heading);
}

.science-card__category {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.science-card__description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

/* Nutrient list within card */
.science-card__nutrients {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.science-card__nutrients li {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: rgba(201, 168, 76, 0.05);
  border: 1px solid #e8e0d8;
  color: var(--text-secondary);
}


/* ===========================================
   RESEARCH PAPERS
   =========================================== */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.research-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  position: relative;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s;
  cursor: default;
}
.research-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Document type badges */
.research-card__badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.research-card__badge--govt {
  background: rgba(92,184,163,0.1);
  color: var(--emerald-dark);
  border: 1px solid rgba(92,184,163,0.25);
}
.research-card__badge--research {
  background: rgba(139,105,20,0.08);
  color: var(--gold);
  border: 1px solid rgba(139,105,20,0.2);
}
.research-card__badge--science {
  background: rgba(107,140,204,0.1);
  color: var(--blue);
  border: 1px solid rgba(107,140,204,0.25);
}

/* Icon */
.research-card__icon {
  color: var(--text-tertiary);
  margin-bottom: var(--space-3);
  opacity: 0.6;
}

/* Year/source */
.research-card__year {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  font-weight: var(--weight-medium);
  letter-spacing: 0.03em;
  margin-bottom: var(--space-2);
}

/* Title */
.research-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
}

/* Summary */
.research-card__summary {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

/* Findings list */
.research-card__findings {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}
.research-card__findings li {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.research-card__findings li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Download button */
.research-card__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  font-size: var(--text-sm);
  width: fit-content;
}
.research-card__btn svg {
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 900px) {
  .research-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* Dark mode */
[data-theme="dark"] .research-card__badge--govt {
  background: rgba(92,184,163,0.12);
  color: var(--emerald-light);
}
[data-theme="dark"] .research-card__badge--research {
  background: rgba(201,168,76,0.1);
  color: var(--gold-light);
}
[data-theme="dark"] .research-card__badge--science {
  background: rgba(107,140,204,0.12);
  color: var(--blue-light);
}

/* ===========================================
   PRODUCTS SECTION
   =========================================== */
#products {
  padding-block: var(--space-32);
}

/* Filter tabs row */
.product-filter {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.product-filter__btn {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  background: transparent;
  border: var(--border-accent);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-smooth);
  letter-spacing: var(--tracking-wide);
}

.product-filter__btn:hover {
  background: rgba(201, 168, 76, 0.08);
  color: var(--text-primary);
  border-color: var(--gold);
}

.product-filter__btn.active {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
  font-weight: var(--weight-semibold);
}

/* Products standard wrapper */
.products-standard {
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Products grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================================
   TESTIMONIALS
   =========================================== */
.testimonials {
  background: var(--bg-secondary);
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: left;
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: var(--text-lg);
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-style: italic;
  flex-grow: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: var(--border-subtle);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  color: var(--bg-primary);
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  font-size: var(--text-sm);
}

.testimonial-card__location {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

/* ===========================================
   ABOUT — Cathy's Story
   =========================================== */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-16);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about__image-frame {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease-smooth);
}

.about__image-frame:hover .about__image {
  transform: scale(1.05);
}

.about__title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-6);
  line-height: var(--leading-tight);
}

.about__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.about__services {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.about__service-tag {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 168, 83, 0.25);
  color: var(--gold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: var(--weight-medium);
}


/* ===========================================
   SUBSCRIPTION CTA
   =========================================== */
#subscription {
  padding-block: var(--space-32);
}

.subscription-card {
  background: #ffffff;
  border: 1px solid transparent;
  border-image: var(--gradient-border) 1;
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Gradient border workaround (border-image doesn't work with border-radius) */
.subscription-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.subscription-card__title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
}

.subscription-card__description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin: 0 auto var(--space-10);
}

/* Feature icons row */
.subscription-features {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.subscription-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.subscription-feature__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: rgba(201, 168, 76, 0.08);
  border: var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.subscription-feature__icon svg {
  width: 24px;
  height: 24px;
}

.subscription-feature__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: var(--weight-medium);
}


/* ===========================================
   TESTIMONIALS SECTION
   =========================================== */
#testimonials {
  padding-block: var(--space-32);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}


/* ===========================================
   CONTACT SECTION
   =========================================== */
#contact {
  padding-block: var(--space-32);
  text-align: center;
}

/* Phone CTA sits at the top */
#contact .phone-cta {
  margin-bottom: var(--space-16);
}

/* Contact form */
.contact-form {
  background: #ffffff;
  border: 1px solid #e8e0d8;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.contact-form__group {
  margin-bottom: var(--space-5);
}

.contact-form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  letter-spacing: var(--tracking-wide);
}

/* Form inputs + textarea */
.contact-form__input,
.contact-form__textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e8e0d8;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  color: var(--text-primary);
  font-size: var(--text-base);
  transition: border-color var(--duration-base) var(--ease-smooth),
              box-shadow var(--duration-base) var(--ease-smooth);
  outline: none;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--text-tertiary);
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.contact-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form__submit {
  width: 100%;
  margin-top: var(--space-2);
}


/* ===========================================
   FOOTER
   =========================================== */
.footer {
  background: var(--bg-secondary);
  padding: var(--space-16) 0 var(--space-8);
  border-top: var(--border-subtle);
}

/* 4-column grid */
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

/* Brand / About column */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__brand-logo img {
  height: 40px;
  width: auto;
}

.footer__brand-tagline {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* Column heading */
.footer__heading {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
  letter-spacing: var(--tracking-wide);
}

/* Footer links */
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-smooth);
}

.footer__links a:hover {
  color: var(--gold);
  text-decoration: none;
}

/* Contact info in footer */
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Social links */
.footer__socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background var(--duration-base) var(--ease-smooth),
              color var(--duration-base) var(--ease-smooth),
              border-color var(--duration-base) var(--ease-smooth);
}

.footer__social-link:hover {
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold);
  border-color: var(--gold);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

/* Bottom bar — copyright, disclaimer */
.footer__bottom {
  border-top: var(--border-subtle);
  padding-top: var(--space-8);
  margin-top: var(--space-12);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.footer__disclaimer {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  max-width: 800px;
  line-height: var(--leading-relaxed);
}


/* ===========================================
   CLASS ALIASES
   The HTML uses BEM-style double-underscore names
   while some CSS above uses single-dash. Map both.
   =========================================== */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); text-align: center; max-width: 1200px; margin-left: auto; margin-right: auto; }
.science__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); text-align: center; max-width: 1000px; margin-left: auto; margin-right: auto; }
.science__card { 
  background: #ffffff;
  border: 1px solid #e8e0d8; border-radius: var(--radius-xl); padding: var(--space-8);
  transition: transform var(--duration-base) var(--ease-smooth), border-color var(--duration-base), box-shadow var(--duration-base);
}
.science__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.science__card[data-color="emerald"] { border-color: rgba(92,184,163,0.2); }
.science__card[data-color="emerald"]:hover { border-color: rgba(92,184,163,0.4); box-shadow: var(--shadow-glow-emerald); }
.science__card[data-color="emerald"] .science__card-number { color: var(--emerald); }
.science__card[data-color="gold"] { border-color: rgba(201,168,76,0.2); }
.science__card[data-color="gold"]:hover { border-color: rgba(201,168,76,0.4); box-shadow: var(--shadow-glow-gold); }
.science__card[data-color="gold"] .science__card-number { color: var(--gold); }
.science__card[data-color="blue"] { border-color: rgba(107,140,204,0.2); }
.science__card[data-color="blue"]:hover { border-color: rgba(107,140,204,0.4); box-shadow: var(--shadow-glow-blue); }
.science__card[data-color="blue"] .science__card-number { color: var(--blue); }
.science__card[data-color="purple"] { border-color: rgba(150,120,196,0.2); }
.science__card[data-color="purple"]:hover { border-color: rgba(150,120,196,0.4); box-shadow: 0 0 30px rgba(150,120,196,0.15); }
.science__card[data-color="purple"] .science__card-number { color: var(--purple); }
.science__card-number { font-size: var(--text-5xl); font-weight: var(--weight-extrabold); line-height: 1; margin-bottom: var(--space-3); font-family: var(--font-heading); }
.science__card-title { font-size: var(--text-xl); font-weight: var(--weight-bold); margin-bottom: var(--space-3); color: var(--text-primary); font-family: var(--font-heading); }
.science__card-text { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); margin-bottom: var(--space-4); }
.science__card-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.science__total { margin-top: var(--space-12); }
.science__total-inner { text-align: center; padding: var(--space-8); max-width: 600px; margin: 0 auto; }

/* Feature card text alias */
.feature-card__text { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); }
.feature-card__icon--emerald { color: var(--emerald); }
.feature-card__icon--blue { color: var(--blue); }

/* Subscription benefits */
.subscription__card { position: relative; }
.subscription__glow { position: absolute; inset: 0; border-radius: var(--radius-xl); pointer-events: none; }
.subscription__benefits { display: flex; justify-content: center; gap: var(--space-10); flex-wrap: wrap; }
.subscription__benefit { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); text-align: center; max-width: 200px; }
.subscription__benefit h4 { font-size: var(--text-base); font-weight: var(--weight-semibold); margin: 0; }
.subscription__benefit p { font-size: var(--text-sm); color: var(--text-secondary); margin: 0; }
.subscription__benefit-icon { width: 56px; height: 56px; border-radius: var(--radius-full); background: rgba(201,168,76,0.08); border: var(--border-accent); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.subscription__benefit-icon--emerald { background: rgba(92,184,163,0.08); border-color: rgba(92,184,163,0.25); color: var(--emerald); }
.subscription__benefit-icon--blue { background: rgba(107,140,204,0.08); border-color: rgba(107,140,204,0.25); color: var(--blue); }

/* Phone CTA */
.contact__phone-cta { margin-bottom: var(--space-12); text-align: center; margin-left: auto; margin-right: auto; }
.contact__form-wrapper { max-width: 600px; margin: 0 auto; }
.contact__form { text-align: left; }

/* Form elements */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { margin-bottom: var(--space-5); }
.form-group label { display: block; font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--text-secondary); margin-bottom: var(--space-2); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: #ffffff; border: 1px solid #e8e0d8; border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4); color: var(--text-primary); font-size: var(--text-base);
  transition: border-color var(--duration-base), box-shadow var(--duration-base); outline: none; box-sizing: border-box;
  font-family: var(--font-body);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-tertiary); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* Footer extras */
.footer__logo { height: 45px; width: auto; }
.footer__tagline { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); }
.footer__location { font-size: var(--text-xs); color: var(--text-tertiary); }
.footer__links a svg { vertical-align: middle; margin-right: var(--space-2); }

/* Hero bg image */
.hero__bg img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }


/* ===========================================
   SHOP PAGE — products.html
   =========================================== */
.shop-hero {
  padding: calc(var(--space-32) + 80px) 0 var(--space-16);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
}

.shop-hero h1 {
  font-size: var(--text-5xl);
  font-weight: var(--weight-extrabold);
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
}

.shop-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

.shop-banner {
  padding: var(--space-6) 0;
}

.shop-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.shop-banner__text h3 {
  font-size: var(--text-2xl);
  font-family: var(--font-heading);
  margin-bottom: var(--space-2);
}

.shop-banner__text p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: 600px;
}

.shop-banner__btn {
  flex-shrink: 0;
}

.shop-catalog {
  padding-block: var(--space-16);
}

/* ======= PRODUCT SEARCH BAR ======= */
.product-search {
  margin-bottom: var(--space-6);
}
.product-search__wrapper {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}
.product-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  pointer-events: none;
  transition: color 0.2s;
}
.product-search__input {
  width: 100%;
  padding: 14px 44px 14px 48px;
  font-size: var(--text-base);
  font-family: var(--font-body);
  background: #ffffff;
  border: 1px solid #e8e0d8;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}
.product-search__input::placeholder {
  color: var(--text-tertiary);
}
.product-search__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.product-search__input:focus ~ .product-search__icon {
  color: var(--gold);
}
.product-search__clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-secondary);
  border: none;
  color: var(--text-tertiary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.product-search__clear:hover {
  background: var(--gold);
  color: #fff;
}
.product-search__count {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-top: var(--space-2);
  min-height: 1.4em;
}
/* Dark mode */
[data-theme="dark"] .product-search__input {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: #f0ede6;
}
[data-theme="dark"] .product-search__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
[data-theme="dark"] .product-search__clear {
  background: rgba(255,255,255,0.08);
}

/* Phone CTA sublabel */
.phone-cta__sublabel {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-2);
}

/* Toast container */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

/* Product card badge — premium glow */
.product-card__badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 2;
  background: var(--gradient-cta);
  color: var(--bg-primary);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.3);
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(201, 168, 76, 0.2); }
  50% { box-shadow: 0 2px 20px rgba(201, 168, 76, 0.4); }
}

/* Product card image wrapper */
.product-card__image-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, #f3ede4, #ebe4d9);
  position: relative;
}

/* Shimmer overlay on hover */
.product-card__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.06) 45%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.06) 55%,
    transparent 60%
  );
  transform: translateX(-200%);
  transition: none;
  z-index: 1;
  pointer-events: none;
}

.product-card:hover .product-card__image-wrap::after {
  transform: translateX(200%);
  transition: transform 0.8s ease;
}

.product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.product-card:hover .product-card__image-wrap img {
  transform: scale(1.08);
}

/* Product card description */
.product-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

/* Product card footer (price + actions) */
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Small button variant */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn-outline {
  background: transparent;
  border: var(--border-accent);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.08);
}

/* Card glare effect */
.card-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover .card-glare {
  opacity: 0.05;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
}

/* ======= PRODUCT MODAL — Premium Quick View ======= */
.modal__content.product-modal {
  max-width: 850px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.product-modal__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 450px;
}

/* Image panel */
.product-modal__image-wrap {
  position: relative;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-8);
}
.product-modal__image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.product-modal__image {
  width: 85%;
  max-height: 380px;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
  position: relative;
  z-index: 1;
}
.product-modal__image:hover {
  transform: scale(1.08);
}

/* Details panel */
.product-modal__details {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Staggered entrance animation */
.modal.open .product-modal__details > * {
  animation: modalSlideUp 0.45s ease forwards;
  opacity: 0;
}
.modal.open .product-modal__details > *:nth-child(1) { animation-delay: 0.05s; }
.modal.open .product-modal__details > *:nth-child(2) { animation-delay: 0.1s; }
.modal.open .product-modal__details > *:nth-child(3) { animation-delay: 0.15s; }
.modal.open .product-modal__details > *:nth-child(4) { animation-delay: 0.2s; }
.modal.open .product-modal__details > *:nth-child(5) { animation-delay: 0.25s; }
.modal.open .product-modal__details > *:nth-child(6) { animation-delay: 0.3s; }
.modal.open .product-modal__details > *:nth-child(7) { animation-delay: 0.35s; }
.modal.open .product-modal__details > *:nth-child(8) { animation-delay: 0.4s; }

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Badge in modal */
.product-modal__details .product-card__badge {
  position: static;
  display: inline-block;
  width: fit-content;
  margin-bottom: var(--space-3);
}

/* Category label */
.product-modal__details .product-card__category {
  margin-bottom: var(--space-2);
}

/* Title */
.product-modal__title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-extrabold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  line-height: var(--leading-tight);
  font-family: var(--font-heading);
}

/* Price */
.product-modal__price {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--gold);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.product-modal__price::after {
  content: 'USD';
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

/* Description */
.product-modal__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: var(--leading-normal);
}

/* Detailed description */
.product-modal__full-desc {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
}

/* Actions — quantity + add to cart */
.product-modal__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.product-modal__quantity {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.product-modal__quantity .qty-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid #e8e0d8;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.product-modal__quantity .qty-btn:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
}
.product-modal__quantity .qty-input {
  width: 50px;
  text-align: center;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  background: var(--bg-primary);
  border: 1px solid #e8e0d8;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 6px;
}
.product-modal__actions .btn-primary {
  flex: 1;
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-6);
}

/* Phone order section */
.product-modal__phone {
  text-align: center;
  padding-top: var(--space-4);
  border-top: var(--border-subtle);
}
.product-modal__phone p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-3);
}

/* Close button override for product modal */
.product-modal .modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid #e8e0d8;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}
.product-modal .modal__close:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* Dark mode close button */
[data-theme="dark"] .product-modal .modal__close {
  background: rgba(26,23,38,0.85);
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .product-modal .modal__close:hover {
  background: var(--gold);
  color: #fff;
}

/* Dark mode modal */
[data-theme="dark"] .modal__content.product-modal {
  background: #1a1726;
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .product-modal__image-wrap {
  background: #221e2e;
}
[data-theme="dark"] .product-modal__full-desc {
  background: rgba(255,255,255,0.03);
}
[data-theme="dark"] .product-modal__quantity .qty-btn {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #f0ede6;
}
[data-theme="dark"] .product-modal__quantity .qty-input {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: #f0ede6;
}

/* Large modal for checkout */
.modal__content--lg { max-width: 900px; }

@media (max-width: 640px) {
  .product-modal__inner { grid-template-columns: 1fr; }
  .product-modal__image-wrap { padding: var(--space-6); max-height: 280px; }
  .product-modal__image { max-height: 220px; }
  .product-modal__details { padding: var(--space-6); }
  .product-modal__actions { flex-direction: column; }
  .product-modal__actions .btn-primary { width: 100%; }
  .shop-banner__inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}
