:root {
  --color-primary: #0A0A0A;
  --color-secondary: #1A1A1A;
  --color-accent: #D4AF37;
}

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

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

/* 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(at 40% 20%, var(--color-accent) 0%, transparent 50%),
    radial-gradient(at 80% 0%, var(--color-accent) 0%, transparent 50%),
    radial-gradient(at 0% 50%, var(--color-accent) 0%, transparent 50%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse, var(--color-accent) 0%, transparent 70%);
  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, var(--color-accent), transparent);
  border-radius: 0 0 0 100px;
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--color-accent), transparent);
  border-radius: 0 100px 0 0;
}

.decor-glow-element {
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cpattern id='rings' x='0' y='0' width='100' height='100' patternUnits='userSpaceOnUse'%3e%3ccircle cx='50' cy='50' r='20' fill='none' stroke='%23D4AF37' stroke-width='1' opacity='0.1'/%3e%3ccircle cx='50' cy='50' r='35' fill='none' stroke='%23D4AF37' stroke-width='1' opacity='0.1'/%3e%3c/pattern%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='url(%23rings)'/%3e%3c/svg%3e");
}

.decor-subtle { 
  opacity: 0.05; 
}

.decor-moderate { 
  opacity: 0.1; 
}

.decor-bold { 
  opacity: 0.2; 
}

/* Order form */
.order-form {
  background: linear-gradient(135deg, #FFFDF5 0%, #FEF9E7 100%);
  border: 2px solid var(--color-accent);
}

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

.order-form input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Badge styles */
.product-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 10;
}

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

/* Price styling */
.price-highlight {
  color: var(--color-accent);
  font-weight: bold;
}

/* Trust indicators */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--color-accent);
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

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

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: between;
  align-items: center;
  width: 100%;
  text-align: left;
}

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

.faq-answer.open {
  max-height: 500px;
}

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

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

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

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

.spinner {
  animation: spin 1s linear infinite;
}

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

/* Form validation */
.form-error {
  border-color: #EF4444 !important;
}

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

/* Success states */
.success-message {
  color: #10B981;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Responsive utilities */
@media (max-width: 640px) {
  .mobile-hide {
    display: none;
  }
}