:root {
  --color-primary: #2C3E50;
  --color-secondary: #3D5266;
  --color-accent: #48C9B0;
  --bg-light: #F0FDFA;
  --bg-alt: #CCFBF1;
}

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

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

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

.transition-transform {
  transition: transform 0.3s ease;
}

/* Custom backgrounds */
.bg-gradient-radial {
  background: radial-gradient(ellipse at center, var(--color-accent) 0%, transparent 70%);
}

.bg-mesh-pattern {
  background-image: 
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

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

.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-full focus:ring-2 focus:ring-accent focus:border-transparent;
}

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

/* Rating stars */
.rating-stars {
  display: inline-flex;
  gap: 0.125rem;
}

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

/* Testimonial styles */
.testimonial-quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--color-accent);
  line-height: 1;
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
}

.testimonial-quote::after {
  content: '"';
  font-size: 3rem;
  color: var(--color-accent);
  line-height: 1;
  position: absolute;
  bottom: -1rem;
  right: -0.5rem;
}

/* FAQ accordion */
.faq-item {
  transition: all 0.3s ease;
}

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

.faq-answer.active {
  max-height: 300px;
}

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

.spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--color-accent);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

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

/* Order form */
.order-form {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.price-display {
  font-feature-settings: 'tnum';
}

/* Mobile responsive */
@media (max-width: 640px) {
  .container-mobile {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Hero section specific */
.hero-gradient {
  background: linear-gradient(135deg, var(--bg-light) 0%, white 50%, var(--bg-alt) 100%);
}

/* Product showcase */
.product-glow {
  filter: drop-shadow(0 20px 40px rgba(72, 201, 176, 0.2));
}

/* CTA hover effects */
.cta-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}