:root {
  --color-primary: #1A1625;
  --color-secondary: #2E2540;
  --color-accent: #7C3AED;
}

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 gradients */
.gradient-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
}

.gradient-secondary {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
}

/* Card hover effects */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

.loading button {
  cursor: not-allowed;
}

/* Form styles */
.form-group {
  position: relative;
}

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

.form-success {
  color: #22c55e;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Mobile menu animation */
#mobile-menu {
  transition: all 0.3s ease;
}

#mobile-menu.show {
  display: block;
}

/* Star rating */
.stars {
  display: inline-flex;
  gap: 1px;
}

.star {
  color: #fbbf24;
}

/* Newsletter form */
.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Testimonial slider */
.testimonial-slider {
  scroll-behavior: smooth;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

/* Hero section background */
.hero-bg {
  background: linear-gradient(135deg, #FAF5FF 0%, #EDE9FE 100%);
}

/* Product image styling */
.product-image {
  filter: drop-shadow(0 20px 40px rgba(124, 58, 237, 0.15));
}

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

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

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

/* Order form styling */
.order-form {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border: 2px solid #f3f4f6;
}

.order-form:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Trust badges */
.trust-badge {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

/* Responsive utilities */
@media (max-width: 640px) {
  .mobile-text-center {
    text-align: center;
  }
  
  .mobile-full-width {
    width: 100%;
  }
}