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

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

body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
}

/* ─── Button / CTA base ─────────────────────────────────────── */
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%;
  display: flex;
}

/* ─── Scroll Animations ──────────────────────────────────────── */
html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

html.js-anim html.js-anim [data-animate].is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── Utility ────────────────────────────────────────────────── */
.rotate-180 { transform: rotate(180deg); }

/* ─── Decorative elements ────────────────────────────────────── */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(156,39,176,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(rgba(156,39,176,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156,39,176,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(156,39,176,0.05) 10px,
    rgba(156,39,176,0.05) 11px
  );
}

.decor-mesh {
  background: radial-gradient(ellipse at 20% 50%, rgba(156,39,176,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(45,58,45,0.08) 0%, transparent 60%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156,39,176,0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,58,45,0.12) 0%, transparent 70%);
  bottom: -80px;
  left: -60px;
  pointer-events: none;
  z-index: 0;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: linear-gradient(225deg, rgba(156,39,176,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 200px; height: 200px;
  background: linear-gradient(45deg, rgba(45,58,45,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.decor-glow-element {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156,39,176,0.22) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='40' fill='none' stroke='%239C27B0' stroke-opacity='0.08' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='65' fill='none' stroke='%239C27B0' stroke-opacity='0.06' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='90' fill='none' stroke='%239C27B0' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  background-repeat: repeat;
}

.decor-subtle   { opacity: 0.5; }
.decor-moderate { opacity: 1; }
.decor-bold     { opacity: 1.5; }

/* ─── Card hover ─────────────────────────────────────────────── */
.card-hover {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card-hover:hover {
  box-shadow: 0 20px 40px rgba(156,39,176,0.15);
  transform: translateY(-3px);
}

/* ─── Star rating ────────────────────────────────────────────── */
.stars {
  color: #f5710b;
  letter-spacing: 0.05em;
}

/* ─── Order form input ───────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 9999px;
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  background: #fff;
}
.form-input:focus {
  border-color: #A927B0;
  box-shadow: 0 0 0 3px rgba(156,39,176,0.12);
}
.form-input.error {
  border-color: #ef6644;
}

/* ─── Section headings ───────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A927B0;
  background: rgba(156,39,176,0.08);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

/* ─── FAQ accordion ──────────────────────────────────────────── */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer.open {
  max-height: 600px;
}

/* ─── Gradient text ──────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #A927B0 0%, #2D3A2D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Progress bar (ingredient potency) ─────────────────────── */
.progress-bar {
  height: 6px;
  border-radius: 9999px;
  background: #e5e7eb;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #A927B0, #4A5D4A);
  transition: width 1s ease;
}

/* ─── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f3f4f6; }
::-webkit-scrollbar-thumb { background: #A927B0; border-radius: 9999px; }