:root {
  --color-primary: #3D2914;
  --color-secondary: #5C4020;
  --color-accent: #FF8C00;
  --color-bg-light: #FFFBF0;
  --color-bg-alt: #FEF0C7;
}

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

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

/* =====================
   Button / CTA 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
   ===================== */
html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

/* =====================
   FAQ Accordion
   ===================== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open {
  max-height: 600px;
}

.rotate-180 {
  transform: rotate(180deg);
}

/* =====================
   Decorative Backgrounds
   ===================== */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(61,41,20,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(rgba(61,41,20,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,41,20,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,140,0,0.05) 10px,
    rgba(255,140,0,0.05) 11px
  );
}

.decor-mesh {
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(255,140,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(61,41,20,0.06) 0%, transparent 60%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,140,0,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(61,41,20,0.1) 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(255,140,0,0.12), transparent);
  border-bottom-left-radius: 100%;
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(315deg, rgba(255,140,0,0.10), transparent);
  border-top-right-radius: 100%;
  pointer-events: none;
}

.decor-glow-element {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,140,0,0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

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

/* =====================
   Star Rating
   ===================== */
.stars {
  display: inline-flex;
  gap: 2px;
  color: #FF8C00;
}

/* =====================
   Form Styles
   ===================== */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 9999px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  background: #fff;
}

.form-input:focus {
  border-color: #FF8C00;
  box-shadow: 0 0 0 3px rgba(255,140,0,0.15);
}

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

.form-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  padding-left: 1rem;
  display: none;
}

.form-error.visible {
  display: block;
}

/* =====================
   Badge
   ===================== */
.badge-popular {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: linear-gradient(135deg, #FF8C00, #e67e00);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.875rem;
  border-radius: 9999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(255,140,0,0.4);
}

/* =====================
   Guarantee Badge
   ===================== */
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #FFFBF0, #FEF0C7);
  border: 2px solid rgba(255,140,0,0.3);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #3D2914;
}

/* =====================
   Section utility
   ===================== */
.section-bg-light {
  background-color: var(--color-bg-light);
}

.section-bg-alt {
  background-color: var(--color-bg-alt);
}

/* =====================
   Mobile menu animation
   ===================== */
#mobile-menu {
  transition: all 0.3s ease;
}

/* =====================
   Lucide icon alignment
   ===================== */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* =====================
   Ingredient card hover
   ===================== */
.ingredient-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ingredient-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(61,41,20,0.15);
}

/* =====================
   Testimonial style: minimal
   ===================== */
.testimonial-minimal {
  border-left: 4px solid #FF8C00;
  padding-left: 1.5rem;
}

/* =====================
   Number counter animation
   ===================== */
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FF8C00;
  line-height: 1;
}

/* =====================
   Order form highlight
   ===================== */
#order_form {
  scroll-margin-top: 5rem;
}

/* =====================
   Price display
   ===================== */
.price-current {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3D2914;
  line-height: 1;
}

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

.price-badge {
  background: #FF8C00;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
}