:root {
  --color-primary: #1E3A5F;
  --color-secondary: #2D5080;
  --color-accent: #00D9FF;
  --color-bg-light: #F0FAFF;
  --color-bg-alt: #E0F5FF;
}

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

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

/* CTA Style */
.bg-accent {
  background-color: var(--color-accent);
}

.hover\:bg-accent\/90:hover {
  background-color: rgba(0, 217, 255, 0.9);
}

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

.border-accent {
  border-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);
}

.transition-all {
  transition: all 0.3s ease;
}

.transition-colors {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.rotate-180 {
  transform: rotate(180deg);
}

/* Decorative Elements */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(0, 217, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

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

.decor-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, transparent 50%, rgba(30, 58, 95, 0.05) 100%);
  pointer-events: none;
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.1) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(225deg, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

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

.decor-subtle {
  opacity: 0.05;
}

.decor-moderate {
  opacity: 0.1;
}

.decor-bold {
  opacity: 0.2;
}

/* Form Styles */
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

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

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

.rating-star {
  color: #fbbf24;
}

/* Price Display */
.price-old {
  text-decoration: line-through;
  color: #6b7280;
}

.price-current {
  color: var(--color-primary);
  font-weight: 700;
}

.price-save {
  background-color: #fecaca;
  color: #dc2626;
}

/* Responsive utilities */
@media (max-width: 768px) {
  .mobile-order-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 1rem;
    z-index: 40;
  }
}

/* Loading spinner */
.spinner {
  border: 2px solid #f3f4f6;
  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); }
}