: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: 'Outfit', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ─── Button normalization ─── */
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 adds html.js-anim) ─── */
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; }

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

/* ─── Accent color helpers ─── */
.text-accent { color: #00F5A0; }
.bg-accent { background-color: #00F5A0; }
.border-accent { border-color: #00F5A0; }
.ring-accent { --tw-ring-color: #00F5A0; }

/* ─── Decorative patterns ─── */
.decor-grid-dots {
  background-image: radial-gradient(circle, #0F2027 1px, transparent 1px);
  background-size: 24px 24px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(rgba(15,32,39,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,32,39,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

.decor-mesh {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,245,160,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(26,58,64,0.12) 0%, transparent 50%);
}

/* ─── Decorative accent elements ─── */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(0,245,160,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  bottom: -4rem;
  left: -4rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(26,58,64,0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background: linear-gradient(135deg, transparent 50%, rgba(0,245,160,0.12) 50%);
  pointer-events: none;
}

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

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

/* ─── Intensity modifiers ─── */
.decor-subtle { opacity: 0.05; }
.decor-moderate { opacity: 0.10; }
.decor-bold { opacity: 0.20; }

/* ─── Hero gradient ─── */
.hero-gradient {
  background: linear-gradient(135deg, #0F2027 0%, #1A3A40 60%, #0d3330 100%);
}

/* ─── Card hover effects ─── */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

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

/* ─── Accent underline ─── */
.accent-underline {
  position: relative;
  display: inline-block;
}
.accent-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #00F5A0;
  border-radius: 2px;
}

/* ─── Order form ─── */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: #00F5A0;
  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);
}

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

/* ─── Progress bar (for how-it-works, etc.) ─── */
.progress-bar {
  height: 4px;
  background: linear-gradient(90deg, #00F5A0, #00c97a);
  border-radius: 2px;
}

/* ─── Mobile menu transition ─── */
#mobile-menu {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ─── Cookie consent ─── */
#cookie-consent {
  animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ─── FAQ item ─── */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1.25rem;
}
.faq-question {
  font-weight: 600;
  color: #0F2027;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.faq-question::before {
  content: '→';
  color: #00F5A0;
  flex-shrink: 0;
}
.faq-answer {
  color: #4b5563;
  font-size: 0.925rem;
  line-height: 1.6;
  padding-left: 1.25rem;
}

/* ─── Ingredient card image ─── */
.ingredient-img-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: #ECFDF5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 2px solid rgba(0,245,160,0.2);
}

/* ─── Testimonial quote ─── */
.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: rgba(0,245,160,0.3);
  font-family: Georgia, serif;
  display: block;
  margin-bottom: -1rem;
}

/* ─── Section divider ─── */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
}

/* ─── Guarantee badge ─── */
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,245,160,0.1);
  border: 1px solid rgba(0,245,160,0.25);
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0F2027;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #00F5A0; border-radius: 3px; }