:root {
  --color-primary: #3D4A3D;
  --color-secondary: #566556;
  --color-accent: #8FBC8F;
}

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%;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

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

/* Decorative Elements */
.decor-grid-dots {
  background-image: radial-gradient(circle at center, rgba(61, 74, 61, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

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

.decor-mesh {
  background: radial-gradient(circle at 20% 50%, rgba(143, 188, 143, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(61, 74, 61, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, rgba(86, 101, 86, 0.1) 0%, transparent 50%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(143, 188, 143, 0.2), transparent);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(61, 74, 61, 0.1), transparent);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

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

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(61, 74, 61, 0.1), transparent);
}

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

.decor-glow-element::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(143, 188, 143, 0.15), transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='30' fill='none' stroke='%233D4A3D' stroke-width='1' opacity='0.1'/%3E%3Ccircle cx='100' cy='100' r='60' fill='none' stroke='%233D4A3D' stroke-width='1' opacity='0.05'/%3E%3Ccircle cx='100' cy='100' r='90' fill='none' stroke='%233D4A3D' stroke-width='1' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  background-position: center;
  background-repeat: no-repeat;
}

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

/* Order Form Styles */
.order-form {
  background: linear-gradient(135deg, #F5FAF5 0%, #E8F5E8 100%);
}

.order-form .form-group {
  position: relative;
}

.order-form input, .order-form select, .order-form textarea {
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 16px;
  transition: all 0.2s ease;
  background: white;
}

.order-form input:focus, .order-form select:focus, .order-form textarea:focus {
  outline: none;
  border-color: #8FBC8F;
  box-shadow: 0 0 0 3px rgba(143, 188, 143, 0.1);
}

.order-form .form-error {
  color: #EF4444;
  font-size: 14px;
  margin-top: 4px;
}

/* Product Badge */
.product-badge {
  background: linear-gradient(135deg, #8FBC8F, #3D4A3D);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Rating Stars */
.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-star {
  color: #FCD34D;
  font-size: 16px;
}

/* Price Display */
.price-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.current-price {
  font-size: 2rem;
  font-weight: 700;
  color: #3D4A3D;
}

.old-price {
  font-size: 1.25rem;
  color: #9CA3AF;
  text-decoration: line-through;
}

.discount-badge {
  background: #EF4444;
  color: white;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

/* Security Icons */
.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(143, 188, 143, 0.1);
  border-radius: 8px;
  font-size: 12px;
  color: #3D4A3D;
}

/* Testimonial Styles */
.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  color: rgba(143, 188, 143, 0.3);
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid #E5E7EB;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #3D4A3D;
}

.faq-answer {
  padding-bottom: 20px;
  color: #6B7280;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .current-price {
    font-size: 1.5rem;
  }
  
  .security-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial-card {
    padding: 16px;
  }
}