:root {
  --color-primary: #2C1810;
  --color-secondary: #4A2C20;
  --color-accent: #DC2626;
}

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

body { 
  font-family: 'Space Grotesk', 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 at 1px 1px, rgba(0,0,0,0.15) 1px, transparent 0);
  background-size: 20px 20px;
}

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

.decor-diagonal {
  background-image: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0,0,0,0.05) 2px, rgba(0,0,0,0.05) 4px);
}

.decor-mesh {
  background: linear-gradient(45deg, rgba(220, 38, 38, 0.1) 0%, rgba(74, 44, 32, 0.1) 100%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

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

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

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

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.3) 0%, transparent 70%);
  filter: blur(50px);
  z-index: -1;
  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='%23DC2626' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3Ccircle cx='30' cy='30' r='8' fill='none' stroke='%23DC2626' stroke-opacity='0.1' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='16' fill='none' stroke='%23DC2626' stroke-opacity='0.05' stroke-width='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Intensity Modifiers */
.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-200 rounded-xl focus:outline-none focus:border-accent focus:ring-2 focus:ring-accent/20 transition-colors;
}

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

/* Product Badge */
.product-badge {
  @apply inline-flex items-center gap-1 px-3 py-1 bg-accent text-white text-sm font-semibold rounded-full;
}

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

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

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

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

/* Testimonial Cards */
.testimonial-card {
  @apply bg-white p-6 rounded-2xl shadow-sm border hover:shadow-md transition-shadow;
}

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

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

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

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

.form-group {
  @apply space-y-2;
}

.form-label {
  @apply block text-sm font-medium text-gray-700;
}

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

.loading-spinner {
  @apply inline-block w-4 h-4 border-2 border-white border-r-transparent rounded-full animate-spin;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .container-mobile {
    @apply px-4;
  }
  
  .text-mobile-lg {
    @apply text-2xl;
  }
  
  .text-mobile-xl {
    @apply text-3xl;
  }
}

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