:root{
  --color-primary:#2E2440;
  --color-secondary:#453660;
  --color-accent:#A78BFA;
  --color-bg-light:#FAF5FF;
  --color-bg-alt:#F3E8FF;
}

html{scroll-behavior:smooth;scroll-padding-top:5rem}
body{font-family:'Source Sans 3',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:.5rem
}
form button[type="submit"]{white-space:normal;width:100%}

/* Inputs */
input,select,textarea{
  outline:none
}
input:focus,select:focus,textarea:focus{
  box-shadow:0 0 0 4px rgba(167,139,250,.20)
}

/* Animations */
[data-animate]{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .6s ease-out,transform .6s ease-out
}
[data-animate].is-visible{
  opacity:1;
  transform:translateY(0)
}
.rotate-180{transform:rotate(180deg)}

/* Decorative backgrounds */
.decor-grid-dots{
  background-image:radial-gradient(rgba(46,36,64,.25) 1px, transparent 1px);
  background-size:14px 14px
}
.decor-grid-lines{
  background-image:
    linear-gradient(to right, rgba(46,36,64,.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46,36,64,.12) 1px, transparent 1px);
  background-size:24px 24px
}
.decor-diagonal{
  background-image:repeating-linear-gradient(135deg, rgba(167,139,250,.18) 0 10px, rgba(167,139,250,0) 10px 22px)
}
.decor-mesh{
  background-image:
    radial-gradient(800px 400px at 20% 10%, rgba(167,139,250,.28), transparent 60%),
    radial-gradient(700px 380px at 80% 25%, rgba(69,54,96,.22), transparent 62%),
    radial-gradient(900px 420px at 50% 100%, rgba(46,36,64,.20), transparent 60%);
  background-size:cover
}
.decor-subtle{opacity:.06}
.decor-moderate{opacity:.12}
.decor-bold{opacity:.18}

/* Gradient blobs */
.decor-gradient-blur::before,
.decor-gradient-blur::after{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  border-radius:9999px;
  filter:blur(40px);
  opacity:.35;
  pointer-events:none
}
.decor-gradient-blur::before{
  left:-120px;
  top:-160px;
  background:radial-gradient(circle at 30% 30%, rgba(167,139,250,.95), rgba(167,139,250,0) 62%)
}
.decor-gradient-blur::after{
  right:-160px;
  bottom:-200px;
  background:radial-gradient(circle at 30% 30%, rgba(69,54,96,.90), rgba(69,54,96,0) 62%)
}

/* Corner accents */
.decor-corner-tr::before{
  content:"";
  position:absolute;
  top:-1px;
  right:-1px;
  width:140px;
  height:140px;
  background:radial-gradient(circle at 100% 0%, rgba(167,139,250,.35), transparent 62%);
  pointer-events:none
}
.decor-corner-bl::after{
  content:"";
  position:absolute;
  bottom:-1px;
  left:-1px;
  width:160px;
  height:160px;
  background:radial-gradient(circle at 0% 100%, rgba(46,36,64,.22), transparent 62%);
  pointer-events:none
}

/* Glow element behind product */
.decor-glow-element{
  position:absolute;
  inset:auto;
  width:440px;
  height:440px;
  border-radius:9999px;
  background:radial-gradient(circle at 35% 35%, rgba(167,139,250,.35), rgba(167,139,250,0) 65%);
  filter:blur(10px);
  opacity:.9;
  pointer-events:none
}

/* Rings SVG pattern */
.decor-rings-svg{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23A78BFA' stroke-opacity='0.35'%3E%3Ccircle cx='80' cy='80' r='20'/%3E%3Ccircle cx='80' cy='80' r='40'/%3E%3Ccircle cx='80' cy='80' r='60'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center;
  background-size:120px 120px
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  [data-animate]{transition:none}
}