: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: 'DM Sans', 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;
}

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

/* Delay utilities */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

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

.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 10px,
    rgba(0,245,160,0.05) 10px,
    rgba(0,245,160,0.05) 11px
  );
}

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

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

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

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

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

.decor-subtle { opacity: 0.5; }
.decor-moderate { opacity: 0.8; }
.decor-bold { opacity: 1; }

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

/* ===== STAR RATING ===== */
.stars {
  color: #f59e0b;
  letter-spacing: 0.05em;
}

/* ===== ORDER FORM ===== */
.order-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.order-form-input:focus {
  border-color: #00F5A0;
  box-shadow: 0 0 0 3px rgba(0,245,160,0.15);
}

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

/* ===== SLIDER ===== */
.testimonial-slider {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
}

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

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

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

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

/* ===== ACCENT UNDERLINE ===== */
.accent-underline {
  position: relative;
  display: inline-block;
}
.accent-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: #00F5A0;
  border-radius: 2px;
}

/* ===== BENEFIT CARD ===== */
.benefit-icon-wrap {
  width: 3rem;
  height: 3rem;
  background: rgba(0,245,160,0.12);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== INGREDIENT CARD ===== */
.ingredient-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.ingredient-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: #00F5A0;
  border-radius: 3px;
  transition: width 1s ease-out;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  width: 3rem;
  height: 4px;
  background: #00F5A0;
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

/* ===== BADGE ===== */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background: rgba(0,245,160,0.15);
  color: #00c880;
  border: 1px solid rgba(0,245,160,0.3);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ===== NUMBER INPUT HIDE ARROWS ===== */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] { -moz-appearance: textfield; }

/* ===== FORM CHECKBOX ===== */
.custom-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 0.25rem;
  border: 2px solid #d1d5db;
  appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.custom-checkbox:checked {
  background: #00F5A0;
  border-color: #00F5A0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%230F2027' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 100%;
}

/* ===== LOADING SPINNER ===== */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ===== SUCCESS MESSAGE ===== */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
}