:root {
  --color-primary: #2F4F2F;
  --color-secondary: #4A6B4A;
  --color-accent: #FFB300;
  --color-bg-light: #FFFBEB;
  --color-bg-alt: #FEF3C7;
}

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

/* Custom styles */
.rotate-180 {
  transform: rotate(180deg);
}

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

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

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

.decor-mesh {
  background: radial-gradient(circle at 25% 25%, rgba(255, 179, 0, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 75% 75%, rgba(47, 79, 47, 0.1) 0%, transparent 50%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 179, 0, 0.1), rgba(47, 79, 47, 0.1));
  filter: blur(60px);
  pointer-events: none;
}

.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(-135deg, rgba(255, 179, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

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

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  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='%232F4F2F' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3Ccircle cx='30' cy='30' r='10' stroke='%232F4F2F' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='20' stroke='%232F4F2F' stroke-width='1'/%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; }

/* Form styles */
.form-input {
  @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-accent focus:border-transparent transition-all;
}

.form-select {
  @apply w-full px-4 py-3 border border-gray-300 rounded-lg bg-white focus:ring-2 focus:ring-accent focus:border-transparent transition-all;
}

.form-checkbox {
  @apply rounded border-gray-300 text-accent focus:ring-accent;
}

/* Product card styles */
.product-card {
  @apply bg-white rounded-2xl shadow-lg p-6 border border-gray-100 transition-all hover:shadow-2xl;
}

/* Testimonial styles */
.testimonial-card {
  @apply bg-gray-50 p-6 rounded-xl;
}

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

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

.rating-star.empty {
  color: #E5E7EB;
}

/* Order form styles */
.order-section {
  @apply bg-white rounded-2xl shadow-xl p-8 border border-gray-100;
}

/* FAQ styles */
.faq-item {
  @apply py-4 border-b border-gray-200;
}

.faq-question {
  @apply w-full text-left font-medium text-gray-900 hover:text-primary transition-colors;
}

.faq-answer {
  @apply mt-3 text-gray-600 hidden;
}

.faq-answer.open {
  @apply block;
}

/* Ingredient card styles */
.ingredient-card {
  @apply bg-white rounded-xl p-6 shadow-lg border border-gray-100;
}

/* Benefit card styles */
.benefit-card {
  @apply bg-white rounded-xl p-6 text-center border border-gray-100 hover:border-accent transition-all;
}

/* Trust badge styles */
.trust-badge {
  @apply flex items-center gap-2 text-sm text-gray-600;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}