:root {
  --color-primary: #0F1729;
  --color-secondary: #1E293B;
  --color-accent: #3B82F6;
}

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

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

.fade-up-enter {
  opacity: 0;
  transform: translateY(30px);
}

.fade-up-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* Order form specific styling */
.order-form {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
}

.order-form .form-group {
  margin-bottom: 1rem;
}

.order-form input[type="text"],
.order-form input[type="tel"],
.order-form input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.order-form input:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Testimonials styling */
.testimonial-quote {
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-accent);
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  font-family: serif;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer.open {
  max-height: 200px;
}

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

/* Pulse animation for CTA */
@keyframes pulse-accent {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.pulse-accent {
  animation: pulse-accent 2s infinite;
}

/* Star ratings */
.star-rating {
  display: flex;
  gap: 0.125rem;
}

.star-rating .star {
  color: #fbbf24;
  font-size: 1rem;
}

/* Product badge */
.product-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: var(--color-accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}