:root {
  --color-primary: #2D3A2D;
  --color-secondary: #4A5D4A;
  --color-accent: #9C27B0;
  --color-bg-light: #FAF5FF;
  --color-bg-alt: #F3E8FF;
}

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

::selection { background: rgba(156, 39, 176, 0.18); }

a { text-underline-offset: 3px; }
img { height: auto; }

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

/* Focus */
:focus-visible {
  outline: 2px solid rgba(156, 39, 176, 0.6);
  outline-offset: 3px;
}

/* Premium helpers */
.surface-card {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.glass {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.text-balance { text-wrap: balance; }

.gradient-text {
  background: linear-gradient(90deg, var(--color-accent), #d946ef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Decorative elements (use with absolute overlay divs) */
.decor-subtle { opacity: 0.06; }
.decor-moderate { opacity: 0.12; }
.decor-bold { opacity: 0.2; }

.decor-grid-dots {
  background-image: radial-gradient(rgba(45,58,45,0.25) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: 0 0;
}

.decor-grid-lines {
  background-image:
    linear-gradient(to right, rgba(45,58,45,0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(45,58,45,0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: 0 0;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(156,39,176,0.14),
    rgba(156,39,176,0.14) 1px,
    transparent 1px,
    transparent 12px
  );
}

.decor-mesh {
  background:
    radial-gradient(900px 500px at 15% 20%, rgba(156,39,176,0.25), transparent 55%),
    radial-gradient(900px 500px at 85% 25%, rgba(45,58,45,0.22), transparent 55%),
    radial-gradient(700px 450px at 55% 85%, rgba(74,93,74,0.20), transparent 55%);
}

.decor-gradient-blur { position: relative; }
.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 520px;
  height: 520px;
  border-radius: 9999px;
  filter: blur(60px);
  opacity: 0.22;
  pointer-events: none;
}
.decor-gradient-blur::before {
  left: -180px;
  top: -220px;
  background: radial-gradient(circle at 30% 30%, rgba(156,39,176,0.9), transparent 60%);
}
.decor-gradient-blur::after {
  right: -220px;
  bottom: -260px;
  background: radial-gradient(circle at 40% 40%, rgba(45,58,45,0.85), transparent 60%);
}

.decor-corner-tr,
.decor-corner-bl { position: relative; overflow: hidden; }
.decor-corner-tr::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 40% 40%, rgba(156,39,176,0.25), transparent 65%);
  transform: rotate(18deg);
  pointer-events: none;
}
.decor-corner-bl::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -160px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 45% 45%, rgba(74,93,74,0.22), transparent 65%);
  transform: rotate(-12deg);
  pointer-events: none;
}

.decor-glow-element {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 9999px;
  background: radial-gradient(circle at 40% 40%, rgba(156,39,176,0.28), transparent 60%);
  filter: blur(34px);
  opacity: 0.9;
  pointer-events: none;
}

.decor-rings-svg {
  background-image:
    radial-gradient(circle at center, transparent 36%, rgba(156,39,176,0.12) 36.5%, transparent 37.5%),
    radial-gradient(circle at center, transparent 52%, rgba(45,58,45,0.10) 52.5%, transparent 53.5%),
    radial-gradient(circle at center, transparent 68%, rgba(156,39,176,0.10) 68.5%, transparent 69.5%);
  background-repeat: no-repeat;
  background-size: 520px 520px;
  background-position: center;
}

/* Cookie banner niceties */
#cookie-consent .shadow-2xl { box-shadow: 0 24px 80px rgba(17, 24, 39, 0.22); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-animate] { transition: none !important; transform: none !important; opacity: 1 !important; }
}