:root {
  --color-primary: #2D3A2D;
  --color-secondary: #4A5D4A;
  --color-accent: #9C27B0;
}

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: translateX(32px);
  transition: all 0.6s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateX(0);
}

.rotate-180 { 
  transform: rotate(180deg); 
}

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

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

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

.decor-mesh {
  background: linear-gradient(135deg, currentColor 0%, transparent 50%, currentColor 100%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 40%;
  height: 60%;
  background: radial-gradient(ellipse, var(--color-accent), transparent 70%);
  opacity: 0.1;
  filter: blur(40px);
  border-radius: 50%;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: -10%;
  width: 30%;
  height: 40%;
  background: radial-gradient(ellipse, var(--color-primary), transparent 70%);
  opacity: 0.08;
  filter: blur(30px);
  border-radius: 50%;
}

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

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, currentColor, transparent);
  opacity: 0.1;
}

.decor-glow-element {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-accent), transparent 60%);
  opacity: 0.1;
  filter: blur(60px);
  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='%23000' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3Ccircle cx='30' cy='30' r='12'/%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 text-gray-900 placeholder-gray-500 focus:border-accent focus:ring-2 focus:ring-accent/20 focus:outline-none transition-colors;
}

.form-checkbox {
  @apply w-5 h-5 text-accent border-gray-300 rounded focus:ring-accent focus:ring-2 focus:ring-offset-0;
}

/* Loading States */
.loading {
  position: relative;
  color: transparent;
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Rating Stars */
.rating-stars {
  display: inline-flex;
  gap: 1px;
}

.star {
  width: 16px;
  height: 16px;
  fill: #fbbf24;
  color: #fbbf24;
}

.star.empty {
  fill: #e5e7eb;
  color: #e5e7eb;
}

/* Testimonial Cards */
.testimonial-card {
  @apply bg-white p-6 rounded-2xl shadow-sm border border-gray-100 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-gray-900 hover:text-accent transition-colors cursor-pointer flex items-center justify-between;
}

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

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

.price-currency {
  @apply text-lg text-gray-600 font-medium;
}

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

/* Security Icons */
.security-badge {
  @apply inline-flex items-center gap-2 px-3 py-2 bg-gray-50 rounded-lg text-sm text-gray-600;
}

/* Order Form */
.order-form {
  @apply bg-white rounded-3xl shadow-2xl p-8 max-w-lg mx-auto;
}

/* Mobile Responsive Adjustments */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}