:root {
  --color-primary: #0F2027;
  --color-secondary: #1A3A40;
  --color-accent: #00F5A0;
}

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

body { 
  font-family: 'Plus Jakarta 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%;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateX(-2rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateX(0);
}

.rotate-180 { 
  transform: rotate(180deg); 
}

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

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

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

.decor-mesh {
  background: linear-gradient(135deg, rgba(0,245,160,0.1) 0%, transparent 50%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0,245,160,0.2) 0%, transparent 50%);
  filter: blur(40px);
  z-index: -1;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(225deg, var(--color-accent), transparent);
  opacity: 0.1;
  border-radius: 0 0 0 100px;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--color-accent), transparent);
  opacity: 0.1;
  border-radius: 0 100px 0 0;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,245,160,0.3) 0%, transparent 70%);
  filter: blur(30px);
  z-index: -1;
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300F5A0' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.decor-subtle { opacity: 0.05; }
.decor-moderate { opacity: 0.1; }
.decor-bold { opacity: 0.2; }

/* Order form enhancements */
.order-form {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(236,253,245,0.95) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,245,160,0.2);
}

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

/* Product badge */
.product-badge {
  background: linear-gradient(135deg, var(--color-accent), #00D890);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}

/* Rating stars */
.rating-stars {
  color: #F59E0B;
}

/* Testimonial quote marks */
.quote-mark {
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 0;
}

/* Ingredient cards */
.ingredient-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(236,253,245,0.9) 100%);
  border: 1px solid rgba(0,245,160,0.2);
  transition: all 0.3s ease;
}

.ingredient-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,245,160,0.15);
  border-color: var(--color-accent);
}

/* CTA button glow effect */
.cta-glow {
  box-shadow: 0 0 20px rgba(0,245,160,0.4);
}

.cta-glow:hover {
  box-shadow: 0 0 30px rgba(0,245,160,0.6);
}

/* Loading spinner */
.spinner {
  border: 2px solid rgba(0,245,160,0.2);
  border-left: 2px solid var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Success checkmark animation */
.checkmark {
  stroke: var(--color-accent);
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: checkmark 0.5s ease-in-out forwards;
}

@keyframes checkmark {
  to {
    stroke-dashoffset: 0;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .card-padding {
    padding: 1.5rem;
  }
}