:root {
  --color-primary: #2C3E50;
  --color-secondary: #3D5266;
  --color-accent: #48C9B0;
}

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

body { 
  font-family: 'Plus Jakarta 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(-2rem);
  transition: opacity 0.6s ease-out, transform 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 at 1px 1px, rgba(72, 201, 176, 0.15) 1px, transparent 0);
  background-size: 20px 20px;
}

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

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

.decor-mesh {
  background: 
    radial-gradient(circle at 20% 20%, rgba(72, 201, 176, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(44, 62, 80, 0.1) 0%, transparent 50%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(72, 201, 176, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  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(72, 201, 176, 0.1) 0%, transparent 50%);
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(72, 201, 176, 0.1) 0%, transparent 50%);
}

.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(72, 201, 176, 0.3) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

.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='a' patternUnits='userSpaceOnUse' width='60' height='60'%3e%3ccircle cx='30' cy='30' r='25' fill='none' stroke='%2348c9b0' stroke-width='0.5' opacity='0.1'/%3e%3ccircle cx='30' cy='30' r='15' fill='none' stroke='%2348c9b0' stroke-width='0.5' opacity='0.15'/%3e%3c/pattern%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='url(%23a)'/%3e%3c/svg%3e");
}

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

/* Order form styles */
.order-form {
  background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
}

.order-form .form-group {
  position: relative;
}

.order-form input, .order-form select {
  transition: all 0.3s ease;
}

.order-form input:focus, .order-form select:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(72, 201, 176, 0.15);
}

/* Product card effects */
.product-card {
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

/* Testimonial cards */
.testimonial-card {
  border-left: 4px solid #48C9B0;
  padding-left: 1.5rem;
}

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

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
}

.faq-toggle {
  transition: transform 0.3s ease;
}

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

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

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

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #48C9B0;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

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

/* Mobile menu animation */
#mobile-menu {
  transition: all 0.3s ease;
  transform: translateY(-100%);
}

#mobile-menu.show {
  transform: translateY(0);
}

/* Cookie consent */
#cookie-consent {
  transition: all 0.4s ease;
  transform: translateY(100%);
}

#cookie-consent.show {
  transform: translateY(0);
}

/* Scroll to top */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Form validation */
.form-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-success {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Product badge */
.product-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #48C9B0, #2C3E50);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

/* Security badges */
.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(72, 201, 176, 0.1);
  border: 1px solid rgba(72, 201, 176, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: #2C3E50;
}

/* Guarantee badge */
.guarantee-badge {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}