:root {
  --color-primary: #0F1729;
  --color-secondary: #1E293B;
  --color-accent: #3B82F6;
  --color-bg-light: #EFF6FF;
  --color-bg-alt: #DBEAFE;
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: 'Inter', system-ui, sans-serif; }

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

/* ===== HEADER TRANSPARENT → SOLID ===== */
#site-header.scrolled {
  background-color: rgba(15, 23, 41, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

#site-header.scrolled .header-logo-text {
  color: #ffffff;
}

#site-header.scrolled .header-nav-link {
  color: rgba(255,255,255,0.75);
}

#site-header.scrolled .header-nav-link:hover {
  color: #ffffff;
}

/* ===== ANIMATIONS ===== */
html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s 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; }
html.js-anim [data-animate][data-delay="600"] { transition-delay: 0.6s; }

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

/* ===== DECORATIVE BACKGROUNDS ===== */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(59,130,246,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(rgba(59,130,246,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(59,130,246,0.04) 10px,
    rgba(59,130,246,0.04) 11px
  );
}

.decor-mesh {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(59,130,246,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(30,41,59,0.12) 0%, transparent 60%);
}

/* ===== DECORATIVE ACCENT ELEMENTS ===== */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

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

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(225deg, rgba(59,130,246,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(45deg, rgba(59,130,246,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.decor-glow-element {
  filter: drop-shadow(0 0 40px rgba(59,130,246,0.3));
}

/* ===== INTENSITY MODIFIERS ===== */
.decor-subtle { opacity: 0.5; }
.decor-moderate { opacity: 1; }
.decor-bold { opacity: 1.5; }

/* ===== FORM STYLES ===== */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
  color: #111827;
  outline: none;
}

.form-input:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

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

.form-error-msg {
  color: #ef4444;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  display: none;
}

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

/* ===== STAR RATING ===== */
.stars {
  display: inline-flex;
  gap: 2px;
  color: #F59E0B;
}

/* ===== BADGE ===== */
.badge-popular {
  background: linear-gradient(135deg, #3B82F6, #1d4ed8);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: 0.02em;
}

/* ===== PRODUCT CARD ===== */
.product-glow {
  filter: drop-shadow(0 20px 60px rgba(59,130,246,0.25));
}

/* ===== SECTION HELPERS ===== */
.section-heading {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #0F1729;
}

.section-subheading {
  font-size: 1.0625rem;
  color: #4b5563;
  line-height: 1.6;
}

/* ===== INGREDIENT CARD ===== */
.ingredient-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.ingredient-card:hover {
  box-shadow: 0 8px 32px rgba(59,130,246,0.12);
  transform: translateY(-3px);
}

/* ===== TESTIMONIAL QUOTE ===== */
.quote-mark {
  font-size: 5rem;
  line-height: 0.5;
  color: rgba(59,130,246,0.15);
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 0.5rem;
}

/* ===== FAQ CARD ===== */
.faq-card {
  background: #EFF6FF;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.faq-card:hover {
  box-shadow: 0 4px 20px rgba(59,130,246,0.1);
}

/* ===== ORDER FORM ===== */
.order-form-wrap {
  background: linear-gradient(135deg, #0F1729 0%, #1E293B 100%);
  border-radius: 2rem;
  box-shadow: 0 20px 60px rgba(15,23,41,0.4);
}

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

#mobile-menu.open {
  display: block;
}

/* ===== FOOTER ===== */
footer a, footer button {
  display: inline-flex;
  align-items: center;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #3B82F6; border-radius: 3px; }