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

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

/* ============================================================
   ANIMATIONS — gated so bots & no-JS see full content
   ============================================================ */
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="fade_in"] {
  opacity: 0;
  transform: translateY(0);
}

html.js-anim [data-animate="fade_in"].is-visible {
  opacity: 1;
}

html.js-anim [data-animate="slide_left"] {
  opacity: 0;
  transform: translateX(-30px);
}

html.js-anim [data-animate="slide_left"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

html.js-anim [data-animate="slide_right"] {
  opacity: 0;
  transform: translateX(30px);
}

html.js-anim [data-animate="slide_right"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

html.js-anim [data-animate="zoom_in"] {
  opacity: 0;
  transform: scale(0.95);
}

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

/* Animation delays for staggered children */
html.js-anim [data-animate-delay="1"] { transition-delay: 0.1s; }
html.js-anim [data-animate-delay="2"] { transition-delay: 0.2s; }
html.js-anim [data-animate-delay="3"] { transition-delay: 0.3s; }
html.js-anim [data-animate-delay="4"] { transition-delay: 0.4s; }
html.js-anim [data-animate-delay="5"] { transition-delay: 0.5s; }

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

/* ============================================================
   DECORATIVE BACKGROUNDS
   ============================================================ */

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

/* Line grid pattern */
.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;
}

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

/* Mesh gradient */
.decor-mesh {
  background-image:
    radial-gradient(at 40% 20%, rgba(0,245,160,0.12) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(15,32,39,0.08) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(0,245,160,0.06) 0px, transparent 50%);
}

/* Blurred gradient blobs */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,245,160,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(26,58,64,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Corner accents */
.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(0,245,160,0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at bottom left, rgba(0,245,160,0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Glow element */
.decor-glow-element {
  position: relative;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(0,245,160,0.2) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}

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

/* ============================================================
   ACCENT COLOR OVERRIDES (for Tailwind bg-accent etc.)
   ============================================================ */
.bg-accent { background-color: #00F5A0 !important; }
.text-accent { color: #00F5A0 !important; }
.border-accent { border-color: #00F5A0 !important; }
.ring-accent { --tw-ring-color: #00F5A0 !important; }
.hover\:bg-accent:hover { background-color: #00F5A0 !important; }
.hover\:text-accent:hover { color: #00F5A0 !important; }
.bg-accent\/10 { background-color: rgba(0,245,160,0.10) !important; }
.bg-accent\/20 { background-color: rgba(0,245,160,0.20) !important; }
.bg-accent\/90:hover { background-color: rgba(0,245,160,0.9) !important; }
.hover\:bg-accent\/90:hover { background-color: rgba(0,245,160,0.9) !important; }

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

/* ============================================================
   ORDER FORM
   ============================================================ */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  font-family: 'Space Grotesk', system-ui, 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.10);
}

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

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

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

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* ============================================================
   TESTIMONIALS (quotes style)
   ============================================================ */
.quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: rgba(0,245,160,0.25);
  font-family: Georgia, serif;
  leading-trim: both;
  text-edge: cap;
  display: block;
  margin-bottom: -1.5rem;
}

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

#mobile-menu.visible {
  opacity: 1;
}

/* ============================================================
   PROGRESS / STEP INDICATORS
   ============================================================ */
.step-line {
  flex: 1;
  height: 2px;
  background: rgba(0,245,160,0.2);
}

.step-line.active {
  background: #00F5A0;
}

/* ============================================================
   INGREDIENT CARDS
   ============================================================ */
.ingredient-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: rgba(0,245,160,0.4);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0,245,160,0.7);
}

/* ============================================================
   HERO SPECIFIC
   ============================================================ */
.hero-gradient {
  background: linear-gradient(135deg, #0F2027 0%, #1A3A40 50%, #0d2b30 100%);
}

/* ============================================================
   BADGE PILL
   ============================================================ */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ============================================================
   SECTION TRANSITIONS
   ============================================================ */
section {
  position: relative;
}

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