: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: 'Urbanist', system-ui, sans-serif;
  background-color: var(--color-bg-light);
}

/* =====================
   BUTTON FIXES
   ===================== */
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;
}

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

/* =====================
   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: 0.1s; }
html.js-anim [data-animate][data-delay="200"] { transition-delay: 0.2s; }
html.js-anim [data-animate][data-delay="300"] { transition-delay: 0.3s; }
html.js-anim [data-animate][data-delay="400"] { transition-delay: 0.4s; }
html.js-anim [data-animate][data-delay="500"] { transition-delay: 0.5s; }

/* =====================
   DECORATIVE ELEMENTS
   ===================== */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(212, 175, 55, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.06) 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-image:
    radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(10, 10, 10, 0.06) 0%, transparent 60%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.10) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  pointer-events: none;
  z-index: 0;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(315deg, rgba(212, 175, 55, 0.10) 0%, transparent 60%);
  pointer-events: none;
}

.decor-glow-element {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.decor-rings-svg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.decor-subtle { opacity: 0.5; }
.decor-moderate { opacity: 0.75; }
.decor-bold { opacity: 1; }

/* =====================
   ROTATE UTILITY
   ===================== */
.rotate-180 { transform: rotate(180deg); }

/* =====================
   CUSTOM COMPONENTS
   ===================== */

/* Star rating */
.stars {
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

/* Gold accent text */
.text-accent { color: var(--color-accent); }
.bg-accent { background-color: var(--color-accent); }
.border-accent { border-color: var(--color-accent); }

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

/* CTA gradient button */
.btn-cta {
  background: linear-gradient(135deg, #D4AF37 0%, #0A0A0A 100%);
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.35);
}

/* Card hover lift */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.10);
}

/* Gold divider */
.divider-gold {
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  border: none;
  margin: 0 auto;
}

/* Section headings underline */
.heading-underline {
  position: relative;
  display: inline-block;
}
.heading-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37, #F5E27A);
  border-radius: 9999px;
}

/* Input focus */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Form success/error */
.form-success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.875rem;
}

.form-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.875rem;
}

/* FAQ item */
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Testimonial card */
.testimonial-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

/* Ingredient card */
.ingredient-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ingredient-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.10);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(212, 175, 55, 0.12);
  color: #A07C10;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37, #F5E27A);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Mobile menu transition */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Hero glow behind product */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* Sticky order bar */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.sticky-bar.visible {
  transform: translateY(0);
}

/* Benefit icon wrapper */
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  border: 1px solid rgba(212,175,55,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

/* Step number */
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #D4AF37, #B8962A);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(212,175,55,0.35);
}

/* Order form card */
.order-card {
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(212,175,55,0.15);
}

/* Price tag styling */
.price-tag {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.price-old {
  font-size: 1.125rem;
  text-decoration: line-through;
  color: #9ca3af;
}
.price-save {
  background: #fef3c7;
  color: #92400e;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}