:root {
  --color-primary: #1E3A5F;
  --color-secondary: #2D5080;
  --color-accent: #00D9FF;
}

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

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

.slide-left-enter {
  opacity: 0;
  transform: translateX(32px);
  transition: all 600ms ease-out;
}

.slide-left-enter.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,
    currentColor,
    currentColor 1px,
    transparent 1px,
    transparent 20px
  );
}

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

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

.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
}

.decor-gradient-blur::before {
  top: 10%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: var(--color-accent);
  opacity: 0.1;
}

.decor-gradient-blur::after {
  bottom: 10%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: var(--color-primary);
  opacity: 0.05;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(-45deg, currentColor 0%, transparent 70%);
  opacity: 0.1;
}

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

.decor-glow-element {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  opacity: 0.1;
  filter: blur(40px);
  border-radius: 50%;
  z-index: -1;
}

/* Custom testimonial slider */
.testimonial-slider {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* Form styling */
.form-field {
  position: relative;
}

.form-field input,
.form-field select,
.form-field textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

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

/* Loading spinner */
.spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--color-accent);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

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

/* Rating stars */
.rating-stars {
  display: inline-flex;
  gap: 2px;
}

.star-filled {
  color: #fbbf24;
}

.star-empty {
  color: #d1d5db;
}