:root {
  --color-primary: #0F2027;
  --color-secondary: #1A3A40;
  --color-accent: #00F5A0;
  --color-bg-light: #ECFDF5;
  --color-bg-alt: #D1FAE5;
}

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

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

/* ─── Button 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 html.js-anim [data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

html.js-anim [data-animate][data-delay="100"] { transition-delay: 0.1s; }
html.js-anim [data-animate][data-delay="200"] { transition-delay: 0.2s; }
html.js-anim [data-animate][data-delay="300"] { transition-delay: 0.3s; }
html.js-anim [data-animate][data-delay="400"] { transition-delay: 0.4s; }
html.js-anim [data-animate][data-delay="500"] { transition-delay: 0.5s; }

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

/* ─── Decorative patterns ─── */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(0,245,160,0.15) 1px, transparent 1px);
  background-size: 28px 28px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(rgba(0,245,160,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,160,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

.decor-mesh {
  background: radial-gradient(ellipse at 20% 50%, rgba(0,245,160,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(15,32,39,0.12) 0%, transparent 50%);
}

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

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

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26,58,64,0.2) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
  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(0,245,160,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(0,245,160,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.decor-glow-element {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,245,160,0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ─── Hero gradient ─── */
.hero-gradient {
  background: linear-gradient(135deg, #0F2027 0%, #1A3A40 50%, #0F2027 100%);
}

/* ─── Accent text gradient ─── */
.text-accent-gradient {
  background: linear-gradient(90deg, #00F5A0, #00c87e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Card styles ─── */
.card-base {
  border-radius: 1rem;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.card-base:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ─── Star rating ─── */
.stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

/* ─── Progress bar ─── */
.progress-bar {
  height: 6px;
  border-radius: 3px;
  background: #e5e7eb;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #00F5A0, #00c87e);
  transition: width 1s ease-out;
}

/* ─── Form styles ─── */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
  font-family: 'Source Sans 3', system-ui, sans-serif;
}

.form-input:focus {
  border-color: #00F5A0;
}

.form-input.error {
  border-color: #ef4444;
}

/* ─── Testimonial slider ─── */
.testimonial-slider {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
}

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

.faq-answer.open {
  max-height: 400px;
}

/* ─── Badge ─── */
.badge-new {
  background: linear-gradient(135deg, #00F5A0, #00c87e);
  color: #0F2027;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Guarantee badge ─── */
.guarantee-badge {
  border: 2px dashed rgba(0,245,160,0.4);
  border-radius: 1rem;
  background: rgba(0,245,160,0.05);
}

/* ─── Mobile menu transition ─── */
#mobile-menu {
  transition: max-height 0.3s ease-out;
}

/* ─── Quantity selector ─── */
.qty-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  background: white;
}

.qty-btn:hover {
  border-color: #00F5A0;
  color: #00F5A0;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #00F5A0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #00c87e; }

/* ─── Section accent line ─── */
.section-accent-line {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #00F5A0, #00c87e);
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* ─── Print ─── */
@media print {
  header, footer, #cookie-consent { display: none !important; }
}