:root {
  --color-primary: #3D2914;
  --color-secondary: #5C4020;
  --color-accent: #FF8C00;
  --bg-light: #FFFBF0;
  --bg-alt: #FEF0C7;
}

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

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

/* Decorative Elements */
.decor-grid-dots {
  background-image: radial-gradient(circle, var(--color-accent) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    var(--color-accent),
    var(--color-accent) 1px,
    transparent 1px,
    transparent 20px
  );
}

.decor-mesh {
  background: linear-gradient(135deg, var(--color-accent), transparent);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--color-accent), transparent);
  opacity: 0.1;
  filter: blur(40px);
  z-index: -1;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--color-accent);
  clip-path: polygon(100% 0, 100% 50%, 50% 0);
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: var(--color-accent);
  clip-path: polygon(0 100%, 50% 100%, 0 50%);
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--color-accent), transparent);
  opacity: 0.2;
  filter: blur(60px);
  z-index: -1;
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF8C00' fill-opacity='0.05'%3E%3Ccircle cx='20' cy='20' r='4'/%3E%3Ccircle cx='20' cy='20' r='12'/%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; }

/* Utility Classes */
.rotate-180 { 
  transform: rotate(180deg); 
}

.bg-gradient-hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-alt) 100%);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Product Badge */
.product-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: white;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Rating Stars */
.rating-stars {
  display: flex;
  gap: 0.25rem;
}

.rating-star {
  width: 1rem;
  height: 1rem;
  color: #fbbf24;
}

/* Order Form Styles */
.order-form {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 140, 0, 0.1);
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Testimonial Slider */
.testimonial-slider {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.3s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .testimonial-slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .testimonial-slide {
    flex: 0 0 33.333333%;
  }
}

/* FAQ Accordion */
[data-faq-toggle] {
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-faq-toggle]:hover {
  background-color: #f9fafb;
}

[data-faq-content] {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

[data-faq-content].active {
  max-height: 300px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .order-form {
    padding: 1.5rem;
  }
  
  [data-animate] {
    transform: translateY(10px);
  }
}