:root {
  --color-primary: #1F2937;
  --color-secondary: #374151;
  --color-accent: #64748B;
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: 'Nunito Sans', system-ui, sans-serif; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* 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;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate="fade_in"] { opacity: 0; transform: translateY(10px); }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }

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

/* Premium focus ring */
:focus-visible {
  outline: 2px solid rgba(100, 116, 139, 0.45);
  outline-offset: 3px;
}

/* Decorative elements */
.decor-subtle { opacity: 0.06; }
.decor-moderate { opacity: 0.12; }
.decor-bold { opacity: 0.18; }

/* Subtle dot grid */
.decor-grid-dots {
  background-image: radial-gradient(circle at 1px 1px, rgba(31,41,55,0.35) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* Line grid */
.decor-grid-lines {
  background-image:
    linear-gradient(to right, rgba(31,41,55,0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,41,55,0.18) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* Diagonal stripes */
.decor-diagonal {
  background-image: repeating-linear-gradient(135deg, rgba(100,116,139,0.22) 0, rgba(100,116,139,0.22) 1px, transparent 1px, transparent 10px);
}

/* Mesh gradient overlay */
.decor-mesh {
  background:
    radial-gradient(800px 400px at 20% 15%, rgba(100,116,139,0.25), transparent 55%),
    radial-gradient(700px 420px at 85% 35%, rgba(31,41,55,0.25), transparent 55%),
    radial-gradient(900px 520px at 35% 95%, rgba(55,65,81,0.22), transparent 55%);
}

/* Gradient blur blobs */
.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 520px;
  height: 520px;
  filter: blur(50px);
  opacity: 0.14;
  pointer-events: none;
  border-radius: 9999px;
}

.decor-gradient-blur::before {
  top: -220px;
  left: -220px;
  background: radial-gradient(circle at 30% 30%, rgba(100,116,139,0.9), transparent 60%);
}

.decor-gradient-blur::after {
  bottom: -240px;
  right: -240px;
  background: radial-gradient(circle at 30% 30%, rgba(31,41,55,0.9), transparent 60%);
}

/* Corner accents */
.decor-corner-tr::after,
.decor-corner-bl::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  pointer-events: none;
  opacity: 0.16;
  background: radial-gradient(circle at 30% 30%, rgba(100,116,139,0.95), transparent 70%);
}

.decor-corner-tr::after { top: -90px; right: -90px; }
.decor-corner-bl::before { bottom: -90px; left: -90px; }

/* Glow element behind product */
.decor-glow-element {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, rgba(100,116,139,0.26), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
}

/* Rings SVG */
.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%2394A3B8' stroke-opacity='0.22'%3E%3Ccircle cx='300' cy='300' r='80'/%3E%3Ccircle cx='300' cy='300' r='140'/%3E%3Ccircle cx='300' cy='300' r='200'/%3E%3Ccircle cx='300' cy='300' r='260'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(520px, 80vw);
}

/* Mobile menu animation helper */
#mobile-menu {
  transform-origin: top;
  animation: menuIn 180ms ease-out;
}

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