:root {
  --color-primary: #1A1A2E;
  --color-secondary: #2D2D44;
  --color-accent: #FF6B35;
  --color-bg-light: #FFF7ED;
  --color-bg-alt: #FFEDD5;
}

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

body {
  font-family: 'Urbanist', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ============================================
   DECORATIVE BACKGROUNDS
   ============================================ */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(255,107,53,0.15) 1px, transparent 1px);
  background-size: 28px 28px;
}

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

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,107,53,0.04) 20px,
    rgba(255,107,53,0.04) 21px
  );
}

.decor-mesh {
  background-image:
    radial-gradient(at 20% 30%, rgba(255,107,53,0.12) 0px, transparent 50%),
    radial-gradient(at 80% 70%, rgba(26,26,46,0.08) 0px, transparent 50%);
}

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

/* Gradient blobs */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  filter: blur(60px);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,26,46,0.1) 0%, transparent 70%);
  filter: blur(40px);
  bottom: -80px;
  left: -80px;
  pointer-events: none;
}

/* Corner accents */
.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(225deg, rgba(255,107,53,0.15) 0%, transparent 60%);
  border-radius: 0 0 0 100%;
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, rgba(255,107,53,0.1) 0%, transparent 60%);
  border-radius: 0 100% 0 0;
  pointer-events: none;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero-gradient {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D2D44 50%, #1A1A2E 100%);
}

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

.card-hover:hover {
  transform: translateY(-4px);
}

/* ============================================
   STAR RATING
   ============================================ */
.stars {
  color: #FF6B35;
  letter-spacing: 2px;
}

/* ============================================
   ORDER FORM
   ============================================ */
.form-input {
  width: 100%;
  border: 2px solid #e5e7eb;
  border-radius: 9999px;
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  font-family: 'Urbanist', system-ui, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  background: white;
}

.form-input:focus {
  border-color: #FF6B35;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.12);
}

.form-input.error {
  border-color: #ef4444;
}

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

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

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

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

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
  border-left: 4px solid #FF6B35;
  padding-left: 1.5rem;
}

/* ============================================
   INGREDIENT CARDS
   ============================================ */
.ingredient-card {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border: 1px solid rgba(255,107,53,0.15);
  border-radius: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ingredient-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255,107,53,0.12);
}

/* ============================================
   BADGE
   ============================================ */
.badge-accent {
  background: linear-gradient(135deg, #FF6B35 0%, #ff8c5a 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

/* ============================================
   PRICE DISPLAY
   ============================================ */
.price-main {
  font-size: 3rem;
  font-weight: 700;
  color: #1A1A2E;
  line-height: 1;
}

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

.price-save {
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

/* ============================================
   SECTION TRANSITIONS
   ============================================ */
.section-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF6B35, transparent);
  border: none;
  margin: 0;
}

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

/* ============================================
   MOBILE MENU TRANSITION
   ============================================ */
#mobile-menu {
  transition: opacity 0.2s ease;
}

#mobile-menu.open {
  display: block;
  animation: slideDown 0.25s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   FOCUS VISIBLE
   ============================================ */
*:focus-visible {
  outline: 2px solid #FF6B35;
  outline-offset: 2px;
}

/* ============================================
   SMOOTH IMAGE LOAD
   ============================================ */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img.loaded,
img[loading="lazy"].loaded {
  opacity: 1;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #FF6B35;
  border-radius: 3px;
}