:root {
  --color-primary: #0D4F6F;
  --color-secondary: #1E6B8A;
  --color-accent: #00BCD4;
}

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

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

/* 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 {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, var(--color-accent), transparent),
              radial-gradient(ellipse 80% 50% at 50% 120%, var(--color-secondary), transparent);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, var(--color-accent), transparent 70%),
              radial-gradient(circle at 70% 80%, var(--color-secondary), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--color-accent), transparent);
  opacity: 0.1;
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--color-secondary), transparent);
  opacity: 0.1;
}

.decor-glow-element {
  position: relative;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-accent), transparent 70%);
  opacity: 0.1;
  filter: blur(60px);
  z-index: -1;
}

.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='%2300BCD4' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='5'/%3E%3Ccircle cx='30' cy='30' r='15'/%3E%3Ccircle cx='30' cy='30' r='25'/%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; 
}

/* Custom form styles */
.form-input {
  @apply w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-accent/20 focus:border-accent outline-none transition-all;
}

.form-select {
  @apply w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-accent/20 focus:border-accent outline-none transition-all appearance-none bg-white;
}

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

/* Product badge styles */
.product-badge {
  @apply inline-flex items-center gap-1 px-3 py-1 rounded-full text-xs font-medium bg-accent/10 text-accent border border-accent/20;
}

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

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

.star-rating .star.empty {
  @apply text-gray-300;
}

/* Price display */
.price-display {
  @apply text-3xl font-bold text-gray-900;
}

.price-old {
  @apply text-lg text-gray-500 line-through;
}

.price-save {
  @apply text-sm text-green-600 font-medium;
}

/* Loading states */
.loading {
  @apply opacity-50 pointer-events-none;
}

.spinner {
  @apply inline-block w-4 h-4 border-2 border-white/30 border-t-white rounded-full animate-spin;
}

/* Responsive images */
.product-image {
  @apply w-full h-auto object-contain;
}

.ingredient-image {
  @apply w-16 h-16 object-cover rounded-lg;
}

/* Testimonial styles */
.testimonial-quote::before {
  content: '"';
  @apply text-4xl text-accent font-bold leading-none;
}

.testimonial-quote::after {
  content: '"';
  @apply text-4xl text-accent font-bold leading-none;
}

/* FAQ styles */
.faq-item {
  @apply border border-gray-200 rounded-xl overflow-hidden;
}

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

.faq-answer {
  @apply px-6 py-4 text-gray-600 border-t border-gray-100;
}

/* Trust indicators */
.trust-indicator {
  @apply flex items-center gap-2 text-sm text-gray-600;
}

.trust-indicator .icon {
  @apply w-5 h-5 text-green-500;
}

/* Country flag */
.country-flag {
  @apply text-lg;
}

/* Payment methods */
.payment-methods {
  @apply flex items-center gap-2 flex-wrap;
}

.payment-method {
  @apply flex items-center gap-1 px-2 py-1 bg-gray-100 rounded text-xs text-gray-600;
}

/* Security badges */
.security-badge {
  @apply flex items-center gap-2 text-sm text-green-600;
}

.security-badge .icon {
  @apply w-4 h-4;
}