:root {
  --color-primary: #2C3E50;
  --color-secondary: #3D5266;
  --color-accent: #48C9B0;
}

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

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

/* Decorative Elements */
.decor-grid-dots {
  background-image: radial-gradient(circle, var(--color-accent) 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-grid-lines {
  background-image: 
    linear-gradient(var(--color-accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-accent) 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    var(--color-accent) 10px,
    var(--color-accent) 11px
  );
}

.decor-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, var(--color-accent), transparent, var(--color-primary));
  opacity: 0.1;
  pointer-events: none;
}

.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  pointer-events: none;
}

.decor-gradient-blur::before {
  top: -150px;
  left: -150px;
}

.decor-gradient-blur::after {
  bottom: -150px;
  right: -150px;
  background: var(--color-primary);
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--color-accent);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.1;
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: var(--color-primary);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  opacity: 0.1;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  opacity: 0.2;
  pointer-events: none;
}

.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='%2348C9B0' fill-opacity='0.05'%3e%3ccircle cx='30' cy='30' r='10'/%3e%3ccircle cx='30' cy='30' r='20'/%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-xl focus:outline-none focus:ring-2 focus:ring-accent focus:border-transparent;
}

.form-checkbox {
  @apply w-4 h-4 text-accent bg-gray-100 border-gray-300 rounded focus:ring-accent;
}

/* Card Styles */
.benefit-card {
  @apply bg-white p-7 rounded-3xl shadow-lg hover:shadow-2xl transition-all duration-300;
}

.ingredient-card {
  @apply bg-gray-50 p-6 rounded-2xl text-center hover:bg-gray-100 transition-colors;
}

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

/* Star Rating */
.star-rating {
  @apply flex items-center gap-1;
}

.star-rating .star {
  @apply w-5 h-5 text-yellow-400;
}

/* Accordion */
.accordion-item {
  @apply border border-gray-200 rounded-xl overflow-hidden;
}

.accordion-header {
  @apply w-full px-6 py-4 text-left font-semibold bg-gray-50 hover:bg-gray-100 transition-colors flex items-center justify-between;
}

.accordion-content {
  @apply px-6 py-4 border-t border-gray-200;
}

/* Loading Animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Order Form Styles */
.order-form {
  @apply bg-white p-8 rounded-3xl shadow-xl;
}

.order-form .product-summary {
  @apply bg-gray-50 p-6 rounded-2xl mb-6;
}

.order-form .price-display {
  @apply text-3xl font-bold text-primary;
}

.order-form .guarantee-badge {
  @apply inline-flex items-center gap-2 text-sm text-green-600 bg-green-50 px-3 py-1 rounded-full;
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .hero-title {
    @apply text-4xl;
  }
  
  .section-padding {
    @apply py-12;
  }
  
  .container-padding {
    @apply px-4;
  }
}

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