:root {
  --color-primary: #1A1A2E;
  --color-secondary: #2D2D44;
  --color-accent: #FF6B35;
}

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, rgba(255,107,53,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,107,53,0.05) 10px,
    rgba(255,107,53,0.05) 11px
  );
}

.decor-mesh {
  background: radial-gradient(ellipse at top, rgba(255,107,53,0.1), transparent),
              radial-gradient(ellipse at bottom, rgba(26,26,46,0.1), transparent);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, 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(225deg, rgba(255,107,53,0.1) 0%, transparent 50%);
  z-index: -1;
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(255,107,53,0.1) 0%, transparent 50%);
  z-index: -1;
}

.decor-glow-element {
  box-shadow: 0 0 60px rgba(255,107,53,0.2);
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cpattern id='rings' x='0' y='0' width='60' height='60' patternUnits='userSpaceOnUse'%3e%3ccircle cx='30' cy='30' r='20' fill='none' stroke='rgba(255,107,53,0.1)' stroke-width='1'/%3e%3ccircle cx='30' cy='30' r='10' fill='none' stroke='rgba(255,107,53,0.05)' stroke-width='1'/%3e%3c/pattern%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='url(%23rings)'/%3e%3c/svg%3e");
}

.decor-subtle { opacity: 0.05; }
.decor-moderate { opacity: 0.1; }
.decor-bold { opacity: 0.2; }

/* Form styling */
.form-input {
  @apply w-full px-4 py-3 border border-gray-200 rounded-full focus:ring-2 focus:ring-accent/20 focus:border-accent outline-none transition-colors;
}

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

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

.form-error {
  @apply text-red-500 text-sm mt-1;
}

/* Product card styling */
.product-card {
  @apply bg-white rounded-3xl shadow-sm border border-gray-100 overflow-hidden hover:shadow-lg transition-shadow duration-300;
}

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

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

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

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Testimonial styling */
.testimonial-card {
  @apply border-l-4 border-accent pl-6 py-4;
}

/* FAQ styling */
.faq-item {
  @apply border-b border-gray-100 pb-6;
}

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

.faq-answer {
  @apply text-gray-600 leading-relaxed;
}

/* Order form styling */
.order-form {
  @apply bg-white rounded-3xl shadow-sm border border-gray-200 p-6 lg:p-8;
}

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

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

.discount-badge {
  @apply bg-red-100 text-red-600 px-2 py-1 rounded-full text-sm font-semibold;
}

/* Trust badges */
.trust-badge {
  @apply flex items-center gap-2 text-sm text-gray-600 bg-gray-50 px-3 py-2 rounded-full;
}

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

/* Hero section enhancements */
.hero-gradient {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .mobile-stack {
    @apply flex flex-col gap-4;
  }
  
  .mobile-center {
    @apply text-center;
  }
  
  .mobile-full-width {
    @apply w-full;
  }
}

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