:root {
  --color-primary: #1B4332;
  --color-secondary: #2D6A4F;
  --color-accent: #40C057;
}

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

body { 
  font-family: 'Source Sans 3', 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); 
}

/* FAQ Animations */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-content.open {
  max-height: 500px;
  padding-top: 1rem;
}

/* 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: radial-gradient(ellipse at top, currentColor, transparent),
              radial-gradient(ellipse at bottom, currentColor, transparent);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--color-accent), var(--color-secondary));
  opacity: 0.1;
  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, currentColor, transparent);
  opacity: 0.1;
}

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

.decor-glow-element {
  position: relative;
  z-index: 10;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-accent), transparent);
  opacity: 0.2;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.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 stroke='%2340C057' stroke-width='1' stroke-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3Ccircle cx='30' cy='30' r='15'/%3E%3Ccircle cx='30' cy='30' r='10'/%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; 
}

/* Utility Classes */
.bg-gradient-accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
}

.text-gradient-accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.border-accent {
  border-color: var(--color-accent);
}

/* Form Enhancements */
.form-floating {
  position: relative;
}

.form-floating input {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}

.form-floating label {
  position: absolute;
  top: 0;
  left: 0.75rem;
  height: 100%;
  padding: 1rem 0;
  pointer-events: none;
  border: none;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}

.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

/* Product showcase animations */
.product-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Star rating */
.star-rating {
  display: flex;
  gap: 0.125rem;
}

.star-rating .star {
  color: #FFC107;
}

.star-rating .star.empty {
  color: #E5E7EB;
}