:root {
  --color-primary: #2C3E50;
  --color-secondary: #3D5266;
  --color-accent: #48C9B0;
}

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

body { 
  font-family: 'Inter', 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: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

/* Decorative elements */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(72, 201, 176, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(72, 201, 176, 0.05) 10px,
    rgba(72, 201, 176, 0.05) 20px
  );
}

.decor-mesh {
  background: 
    radial-gradient(ellipse at top, rgba(72, 201, 176, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(44, 62, 80, 0.1) 0%, transparent 50%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(72, 201, 176, 0.2), rgba(44, 62, 80, 0.1));
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 150px;
  height: 150px;
  background: linear-gradient(225deg, rgba(44, 62, 80, 0.2), rgba(72, 201, 176, 0.1));
  border-radius: 50%;
  filter: blur(30px);
  z-index: -1;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(225deg, rgba(72, 201, 176, 0.1) 0%, transparent 70%);
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(72, 201, 176, 0.1) 0%, transparent 70%);
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(72, 201, 176, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cpattern id='ring' x='0' y='0' width='60' height='60' patternUnits='userSpaceOnUse'%3e%3ccircle cx='30' cy='30' r='25' fill='none' stroke='%2348C9B0' stroke-width='1' opacity='0.1'/%3e%3ccircle cx='30' cy='30' r='15' fill='none' stroke='%2348C9B0' stroke-width='1' opacity='0.1'/%3e%3c/pattern%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='url(%23ring)'/%3e%3c/svg%3e");
}

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

/* Order form styles */
.order-form-container {
  background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
  border: 2px solid rgba(72, 201, 176, 0.2);
}

.product-badge {
  background: linear-gradient(135deg, #48C9B0, #2C3E50);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.price-display .old-price {
  text-decoration: line-through;
  color: #6B7280;
}

.price-display .current-price {
  color: #48C9B0;
  font-weight: 700;
}

.rating-stars {
  color: #FCD34D;
}

/* Testimonial slider */
.testimonial-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-slide {
  scroll-snap-align: center;
  flex-shrink: 0;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .order-form-container {
    margin: 0 -1rem;
  }
  
  .mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: white;
    border-top: 1px solid #E5E7EB;
    padding: 1rem;
  }
}