:root {
  --color-primary: #0D4F6F;
  --color-secondary: #1E6B8A;
  --color-accent: #00BCD4;
  --color-bg-light: #ECFEFF;
  --color-bg-alt: #CFFAFE;
  --radius-card: 1.5rem;
  --radius-btn: 9999px;
}

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

body {
  font-family: 'Urbanist', 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: translateX(2rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

html.js-anim html.js-anim [data-animate].is-visible {
  opacity: 1;
  transform: translateX(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; }

/* =====================
   DECORATIVE ELEMENTS
   ===================== */

/* Dot grid pattern */
.decor-grid-dots {
  background-image: radial-gradient(circle, var(--color-primary) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Line grid */
.decor-grid-lines {
  background-image:
    linear-gradient(var(--color-accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-accent) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Diagonal stripes */
.decor-diagonal {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    var(--color-accent) 8px,
    var(--color-accent) 9px
  );
}

/* Mesh gradient */
.decor-mesh {
  background-image:
    radial-gradient(at 30% 20%, rgba(0, 188, 212, 0.15) 0%, transparent 50%),
    radial-gradient(at 70% 80%, rgba(13, 79, 111, 0.15) 0%, transparent 50%);
}

/* Gradient blur blobs */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

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

/* Corner accents */
.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, transparent 50%, rgba(0, 188, 212, 0.1) 100%);
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(315deg, transparent 50%, rgba(13, 79, 111, 0.1) 100%);
  pointer-events: none;
}

/* Glow element */
.decor-glow-element {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

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

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

/* Star ratings */
.star-filled { color: #f59e0b; }
.star-empty { color: #d1d5db; }

/* FAQ Accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
}

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

/* Order form highlight */
.order-form-wrapper {
  background: linear-gradient(135deg, #ECFEFF 0%, #CFFAFE 100%);
}

/* Product image glow */
.product-glow {
  filter: drop-shadow(0 0 40px rgba(0, 188, 212, 0.3));
}

/* Hero gradient bg */
.hero-gradient {
  background: linear-gradient(135deg, #ECFEFF 0%, #CFFAFE 60%, #ffffff 100%);
}

/* Section alt bg */
.section-alt {
  background-color: #ECFEFF;
}

/* Card styles */
.card-primary {
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.card-primary:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Pill badge */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Progress bar */
.progress-bar {
  height: 6px;
  border-radius: 9999px;
  background: #e5e7eb;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  transition: width 1s ease-out;
}

/* Ingredient card */
.ingredient-card {
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Newsletter input focus */
input[type="email"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* CTA pulse animation */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(0, 188, 212, 0); }
}

.cta-pulse {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.float-animation {
  animation: float 4s ease-in-out infinite;
}

/* Checkmark list */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2300BCD4'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center center;
  margin-top: 0.125rem;
}

/* Trust bar */
.trust-bar {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

/* Smooth transitions */
* {
  -webkit-tap-highlight-color: transparent;
}

a, button {
  transition: opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

/* Mobile menu animation */
#mobile-menu {
  transition: all 0.3s ease;
}

/* Form error states */
.form-error {
  border-color: #ef4444 !important;
}

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

/* Success state */
.form-success {
  border-color: #10b981 !important;
}

/* Testimonial card */
.testimonial-card {
  border-radius: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.12);
}

/* Responsive image helpers */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}