:root {
  --color-primary: #0F2027;
  --color-secondary: #1A3A40;
  --color-accent: #00F5A0;
  --color-bg-light: #ECFDF5;
  --color-bg-alt: #D1FAE5;
}

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Button Base ─── */
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: 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);
}

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

/* ─── Accent Color Utilities ─── */
.text-accent { color: var(--color-accent); }
.bg-accent { background-color: var(--color-accent); }
.border-accent { border-color: var(--color-accent); }
.bg-accent\/10 { background-color: rgba(0, 245, 160, 0.10); }
.bg-accent\/20 { background-color: rgba(0, 245, 160, 0.20); }
.bg-accent\/30 { background-color: rgba(0, 245, 160, 0.30); }
.hover\:bg-accent\/90:hover { background-color: rgba(0, 245, 160, 0.90); }
.text-primary { color: var(--color-primary); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }

/* ─── Decorative Backgrounds ─── */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(0, 245, 160, 0.15) 1px, transparent 1px);
  background-size: 28px 28px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(rgba(0, 245, 160, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 160, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(0, 245, 160, 0.05) 20px,
    rgba(0, 245, 160, 0.05) 21px
  );
}

.decor-mesh {
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(0, 245, 160, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(15, 32, 39, 0.15) 0%, transparent 50%);
}

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

/* Decorative Blobs */
.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.decor-gradient-blur::before {
  width: 350px;
  height: 350px;
  background: rgba(0, 245, 160, 0.18);
  top: -80px;
  right: -80px;
}

.decor-gradient-blur::after {
  width: 250px;
  height: 250px;
  background: rgba(26, 58, 64, 0.25);
  bottom: -60px;
  left: -60px;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.15) 0%, transparent 70%);
  border-radius: 0 0 0 100%;
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 180px;
  height: 180px;
  background: linear-gradient(315deg, rgba(0, 245, 160, 0.12) 0%, transparent 70%);
  border-radius: 0 100% 0 0;
  pointer-events: none;
}

.decor-glow-element {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 245, 160, 0.20) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ─── Hero Gradient ─── */
.hero-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 60%, rgba(0, 245, 160, 0.08) 100%);
}

/* ─── Section Light Backgrounds ─── */
.bg-brand-light { background-color: var(--color-bg-light); }
.bg-brand-alt { background-color: var(--color-bg-alt); }

/* ─── Rating Stars ─── */
.stars {
  display: inline-flex;
  gap: 2px;
  color: #f59e0b;
}

/* ─── Ingredient Card Hover ─── */
.ingredient-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

/* ─── Form Elements ─── */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 245, 160, 0.15);
}

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

/* ─── Order Form Accent Gradient ─── */
.order-form-bg {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

/* ─── Testimonial Card ─── */
.testimonial-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

/* ─── Pill / Badge ─── */
.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(0, 245, 160, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(0, 245, 160, 0.30);
  border-radius: 9999px;
  padding: 0.25rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Progress / Divider ─── */
.accent-divider {
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 9999px;
  margin: 0.75rem auto 0;
}

/* ─── Scroll to top button ─── */
#scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--color-primary);
  color: var(--color-accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ─── Responsive images ─── */
img {
  max-width: 100%;
  height: auto;
}

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

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

/* ─── FAQ item ─── */
.faq-question {
  cursor: pointer;
  user-select: none;
}

/* ─── Sticky header shadow on scroll ─── */
header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* ─── Print ─── */
@media print {
  header, footer, #cookie-consent, #scroll-top { display: none !important; }
  main { padding-top: 0 !important; }
}