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

/* ── Button resets ── */
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;
}

/* ── Scroll animations (only when JS is active) ── */
html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

html.js-anim html.js-anim [data-animate].is-visible {
  opacity: 1;
  transform: translateX(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; }

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

/* ── Decorative backgrounds ── */
.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.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.05) 10px,
    rgba(212,175,55,0.05) 11px
  );
}

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

/* ── Gradient blobs ── */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.15), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  top: -100px;
  right: -100px;
  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.1), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  bottom: -80px;
  left: -80px;
  z-index: 0;
}

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

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

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

/* ── Intensity modifiers ── */
.decor-subtle   { opacity: 0.5; }
.decor-moderate { opacity: 0.8; }
.decor-bold     { opacity: 1.0; }

/* ── Gold accent line ── */
.accent-line {
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* ── Star rating ── */
.stars {
  color: var(--color-accent);
  letter-spacing: 2px;
}

/* ── Product image glow ── */
.product-glow {
  filter: drop-shadow(0 0 40px rgba(212,175,55,0.25));
}

/* ── Gold badge ── */
.badge-gold {
  background: linear-gradient(135deg, #D4AF37, #f0d060);
  color: #0A0A0A;
}

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

/* ── 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.12);
}

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

/* ── Slider ── */
.slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

/* ── Testimonial card ── */
.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ── Progress bar ── */
.progress-bar {
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 1s ease;
}

/* ── Gold divider ── */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  margin: 2rem 0;
}

/* ── Responsive helpers ── */
@media (max-width: 768px) {
  .decor-gradient-blur::before,
  .decor-gradient-blur::after {
    width: 200px;
    height: 200px;
  }
}

/* ── FAQ accordion ── */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer.open {
  max-height: 500px;
}

/* ── Number animation ── */
.count-up {
  font-variant-numeric: tabular-nums;
}

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

/* ── CTA pulse effect ── */
@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 ease-in-out infinite;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 3px; }