:root {
  --color-primary: #0F1729;
  --color-secondary: #1E293B;
  --color-accent: #3B82F6;
}

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: 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, 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 5px, currentColor 5px, currentColor 6px);
}

.decor-mesh {
  background: radial-gradient(circle at 20% 80%, currentColor 0%, transparent 50%), radial-gradient(circle at 80% 20%, currentColor 0%, transparent 50%);
}

.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
}

.decor-gradient-blur::before {
  top: 10%;
  left: 10%;
  opacity: 0.1;
}

.decor-gradient-blur::after {
  bottom: 10%;
  right: 10%;
  opacity: 0.1;
}

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

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

.decor-glow-element {
  filter: drop-shadow(0 0 30px var(--color-accent));
  opacity: 0.8;
}

.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='50' height='50' patternUnits='userSpaceOnUse'%3e%3ccircle cx='25' cy='25' r='20' fill='none' stroke='currentColor' stroke-width='1'/%3e%3ccircle cx='25' cy='25' r='10' fill='none' stroke='currentColor' stroke-width='1'/%3e%3c/pattern%3e%3c/defs%3e%3crect width='100' height='100' fill='url(%23rings)'/%3e%3c/svg%3e");
}

.decor-subtle {
  opacity: 0.05;
}

.decor-moderate {
  opacity: 0.1;
}

.decor-bold {
  opacity: 0.2;
}

/* Form Styles */
.form-input {
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Rating Stars */
.stars {
  display: inline-flex;
  align-items: center;
}

.stars svg {
  fill: currentColor;
}

/* 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); }
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}