:root {
  --color-primary: #0F2027;
  --color-secondary: #1A3A40;
  --color-accent: #00F5A0;
}

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

body { 
  font-family: 'Nunito 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%;
}

/* Header scroll behavior */
#header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  color: #111827;
}

#header.scrolled a {
  color: #4B5563;
}

#header.scrolled a:hover {
  color: #111827;
}

#header.scrolled .bg-accent {
  background-color: var(--color-accent);
}

/* 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(0, 245, 160, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

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

.decor-gradient-blur {
  position: relative;
  overflow: hidden;
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 245, 160, 0.1) 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(-45deg, var(--color-accent), transparent);
  opacity: 0.1;
  pointer-events: none;
}

.decor-corner-bl::before {
  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%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 245, 160, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.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-lg focus:ring-2 focus:ring-accent focus:border-transparent;
}

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

/* Product badge */
.product-badge {
  @apply inline-flex items-center gap-1 px-2 py-1 bg-accent text-white text-xs font-medium rounded-full;
}

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

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

/* CTA style variations */
.cta-solid {
  @apply bg-accent text-white hover:bg-accent/90 px-6 py-3 font-semibold rounded-lg transition-colors;
}

.cta-solid-rounded {
  @apply bg-accent text-white hover:bg-accent/90 px-6 py-3 font-semibold rounded-full transition-colors;
}

.cta-outline {
  @apply border-2 border-accent text-accent hover:bg-accent hover:text-white px-6 py-3 font-semibold rounded-lg transition-colors;
}

.cta-gradient {
  @apply bg-gradient-to-r from-accent to-green-400 text-white hover:from-accent/90 hover:to-green-400/90 px-6 py-3 font-semibold rounded-lg transition-all;
}

.cta-shadow {
  @apply bg-accent text-white hover:bg-accent/90 px-6 py-3 font-semibold rounded-lg shadow-lg hover:shadow-xl transition-all;
}

.cta-minimal {
  @apply text-accent hover:text-accent/80 px-4 py-2 font-semibold underline-offset-4 hover:underline transition-colors;
}