:root {
  --color-primary: #1A1A1A;
  --color-secondary: #404040;
  --color-accent: #111111;
  --color-bg-light: #FFFFFF;
  --color-bg-alt: #F8F8F8;
}

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

body { 
  font-family: 'Nunito 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;
  transition: all 0.2s ease;
}

form button[type="submit"] {
  white-space: normal;
  width: 100%;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger animations */
[data-animate]:nth-child(1) { transition-delay: 0ms; }
[data-animate]:nth-child(2) { transition-delay: 100ms; }
[data-animate]:nth-child(3) { transition-delay: 200ms; }
[data-animate]:nth-child(4) { transition-delay: 300ms; }

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

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

.decor-grid-lines {
  background-image: linear-gradient(rgba(26,26,26,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(26,26,26,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(26,26,26,0.05) 10px,
    rgba(26,26,26,0.05) 11px
  );
}

.decor-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(26,26,26,0.02), rgba(17,17,17,0.02));
  pointer-events: none;
}

.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.decor-gradient-blur::before {
  top: 20%;
  left: 20%;
  width: 200px;
  height: 200px;
  background: rgba(26,26,26,0.1);
}

.decor-gradient-blur::after {
  bottom: 20%;
  right: 20%;
  width: 150px;
  height: 150px;
  background: rgba(17,17,17,0.08);
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(-135deg, rgba(26,26,26,0.1), transparent);
  pointer-events: none;
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(17,17,17,0.1), transparent);
  pointer-events: none;
}

.decor-glow-element {
  position: relative;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(26,26,26,0.05), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  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%3cg fill='none' stroke='%23111111' stroke-width='1' opacity='0.05'%3e%3ccircle cx='30' cy='30' r='10'/%3e%3ccircle cx='30' cy='30' r='20'/%3e%3c/g%3e%3c/svg%3e");
}

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

/* CTA hover effects */
.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
}

/* Form enhancements */
.form-input:focus {
  ring-color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Testimonial cards */
.testimonial-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
}

/* Product image styles */
.product-image {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Stats counter animation */
@keyframes countUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.stat-number.is-visible {
  animation: countUp 0.6s ease-out;
}

/* Mobile menu animation */
#mobile-menu.show {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cookie banner animation */
#cookie-consent.show {
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}