:root {
  --color-primary: #3D2C2C;
  --color-secondary: #5A4040;
  --color-accent: #FFAB91;
  --color-bg-light: #FFF5F2;
  --color-bg-alt: #FFE8E0;
}

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;
  transition: all 0.2s ease;
}

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, 171, 145, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}

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

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

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255, 171, 145, 0.1) 0%, transparent 50%);
  filter: blur(40px);
  pointer-events: none;
}

.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(-45deg, rgba(255, 171, 145, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, rgba(255, 171, 145, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 171, 145, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23FFAB91' stroke-width='1' opacity='0.1'%3E%3Ccircle cx='50' cy='50' r='20'/%3E%3Ccircle cx='50' cy='50' r='30'/%3E%3Ccircle cx='50' cy='50' r='40'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100px 100px;
  background-repeat: repeat;
}

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

/* Custom gradients */
.bg-gradient-warm {
  background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-alt) 100%);
}

.bg-gradient-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #FF8A65 100%);
}

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

.form-input:focus {
  box-shadow: 0 0 0 3px rgba(255, 171, 145, 0.1);
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

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

/* Rating stars */
.rating-stars {
  color: #FFC107;
}

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

#mobile-menu.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Product image glow */
.product-glow {
  filter: drop-shadow(0 0 20px rgba(255, 171, 145, 0.3));
}

/* Section spacing utilities */
.section-py {
  @apply py-16 lg:py-20;
}

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

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

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

/* Trust badges */
.trust-badge {
  @apply inline-flex items-center gap-2 px-3 py-2 bg-white/10 backdrop-blur-sm rounded-full text-sm;
}

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

/* Testimonial styling */
.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.3;
}

.testimonial-quote::after {
  content: '"';
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.3;
}