:root {
  --color-primary: #0A0A0A;
  --color-secondary: #1A1A1A;
  --color-accent: #D4AF37;
  --color-bg-light: #FFFDF5;
  --color-bg-alt: #FEF9E7;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Button Base ─── */
button,
.btn,
[class*="btn-"],
a[href="#order_form"] {
  white-space: nowrap;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}

form button[type="submit"] {
  white-space: normal;
  width: 100%;
  display: flex;
}

/* ─── Scroll Animations ─── */
html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

html.js-anim html.js-anim [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.js-anim [data-animate][data-delay="100"] { transition-delay: 100ms; }
html.js-anim [data-animate][data-delay="200"] { transition-delay: 200ms; }
html.js-anim [data-animate][data-delay="300"] { transition-delay: 300ms; }
html.js-anim [data-animate][data-delay="400"] { transition-delay: 400ms; }
html.js-anim [data-animate][data-delay="500"] { transition-delay: 500ms; }
html.js-anim [data-animate][data-delay="600"] { transition-delay: 600ms; }

/* ─── Utility ─── */
.rotate-180 { transform: rotate(180deg); }

/* ─── Accent Color Helpers ─── */
.text-accent  { color: var(--color-accent); }
.bg-accent    { background-color: var(--color-accent); }
.border-accent{ border-color: var(--color-accent); }
.ring-accent  { --tw-ring-color: var(--color-accent); }

/* ─── Decorative Backgrounds ─── */
.decor-grid-dots {
  background-image: radial-gradient(circle, #D4AF3720 1px, transparent 1px);
  background-size: 24px 24px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(rgba(212,175,55,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(212,175,55,0.04) 10px,
    rgba(212,175,55,0.04) 20px
  );
}

.decor-mesh {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(212,175,55,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(212,175,55,0.08) 0%, transparent 50%);
}

/* Intensity modifiers */
.decor-subtle  { opacity: 0.5; }
.decor-moderate { opacity: 0.75; }
.decor-bold    { opacity: 1; }

/* Gradient blur blobs */
.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.decor-gradient-blur::before {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  background: rgba(212,175,55,0.15);
}
.decor-gradient-blur::after {
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: -80px;
  background: rgba(212,175,55,0.10);
}

/* Corner accents */
.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(212,175,55,0.2), transparent 70%);
  pointer-events: none;
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at bottom left, rgba(212,175,55,0.15), transparent 70%);
  pointer-events: none;
}

/* Glow element */
.decor-glow-element {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* ─── Star Rating ─── */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-accent);
}

/* ─── Gold Gradient Text ─── */
.text-gold-gradient {
  background: linear-gradient(135deg, #D4AF37 0%, #F5D06E 50%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── FAQ Accordion ─── */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.faq-answer.is-open {
  max-height: 500px;
  opacity: 1;
}

.faq-icon {
  transition: transform 0.3s ease-out;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

/* ─── Form Inputs ─── */
.form-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid #E5E7EB;
  border-radius: 9999px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

.form-input.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.form-error-msg {
  display: none;
  color: #EF4444;
  font-size: 0.75rem;
  margin-top: 0.35rem;
  padding-left: 1rem;
}

.form-input.error + .form-error-msg,
.form-input.error ~ .form-error-msg {
  display: block;
}

/* ─── Order Form Card ─── */
.order-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  overflow: hidden;
}

/* ─── Mobile Menu Transition ─── */
#mobile-menu {
  transition: opacity 0.2s ease-out;
}

/* ─── Benefit Cards ─── */
.benefit-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: rgba(212,175,55,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ─── Testimonial Cards ─── */
.testimonial-card {
  background: #FFFDF5;
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(212,175,55,0.15);
}

/* ─── Ingredient Cards ─── */
.ingredient-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.ingredient-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(212,175,55,0.15);
}

/* ─── Stat Cards ─── */
.stat-card {
  background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.02) 100%);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
}

/* ─── Section BG variants ─── */
.section-bg-light { background-color: var(--color-bg-light); }
.section-bg-alt   { background-color: var(--color-bg-alt); }
.section-bg-dark  { background-color: var(--color-primary); color: #fff; }

/* ─── Price Display ─── */
.price-current {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.price-old {
  text-decoration: line-through;
  color: #9CA3AF;
  font-size: 1.125rem;
}

.price-badge {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
}

/* ─── Sticky CTA bar (mobile) ─── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid #E5E7EB;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
  .sticky-cta { display: none; }
}

/* ─── Trust badges ─── */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  white-space: nowrap;
}

/* ─── Pulse animation for CTA ─── */
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(212,175,55,0); }
}

.cta-pulse {
  animation: pulse-gold 2.5s infinite;
}

/* ─── Badge ─── */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}