:root {
  --color-primary: #0F2027;
  --color-secondary: #1A3A40;
  --color-accent: #00F5A0;
}

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

body { 
  font-family: 'Work 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);
}

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

/* Custom Components */
.product-badge {
  @apply inline-flex items-center gap-1 px-2 py-1 bg-accent/20 text-accent text-xs font-medium rounded;
}

.rating-stars {
  @apply flex items-center gap-1 text-yellow-400;
}

.trust-element {
  @apply flex items-center gap-2 text-sm text-gray-600;
}

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

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

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

.decor-diagonal {
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0, 245, 160, 0.1) 10px, rgba(0, 245, 160, 0.1) 20px);
}

.decor-subtle { opacity: 0.3; }
.decor-moderate { opacity: 0.5; }
.decor-bold { opacity: 0.7; }

/* Form Styles */
.form-group {
  @apply space-y-2;
}

.form-label {
  @apply block text-sm font-medium text-gray-700;
}

.form-input {
  @apply w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-accent/20 focus:border-accent;
}

.form-error {
  @apply text-sm text-red-600;
}

.order-form {
  @apply bg-white p-6 rounded-2xl shadow-lg border;
}

/* FAQ Accordion */
.faq-item {
  @apply border-b border-gray-200 last:border-b-0;
}

.faq-question {
  @apply w-full text-left py-4 flex justify-between items-center font-medium hover:text-accent transition-colors;
}

.faq-answer {
  @apply pb-4 text-gray-600 leading-relaxed hidden;
}

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

/* Testimonial Styles */
.testimonial-card {
  @apply bg-white p-6 rounded-2xl shadow-sm border;
}

.testimonial-content {
  @apply text-gray-600 mb-4;
}

.testimonial-author {
  @apply font-medium text-gray-900;
}

/* Loading States */
.btn-loading {
  @apply opacity-70 cursor-not-allowed;
}

.btn-loading::after {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 0.5rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile Menu */
#mobile-menu.show {
  display: block;
}

/* Success Messages */
.success-message {
  @apply bg-green-50 border border-green-200 text-green-800 px-4 py-3 rounded-lg;
}

.error-message {
  @apply bg-red-50 border border-red-200 text-red-800 px-4 py-3 rounded-lg;
}