: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 resets ─── */
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: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Staggered delay helpers */
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }

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

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

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

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

.decor-mesh {
  background-image:
    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 60%);
}

.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.decor-gradient-blur::before {
  width: 400px;
  height: 400px;
  background: rgba(0,245,160,0.12);
  top: -100px;
  right: -100px;
}

.decor-gradient-blur::after {
  width: 300px;
  height: 300px;
  background: rgba(26,58,64,0.2);
  bottom: -80px;
  left: -80px;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(225deg, rgba(0,245,160,0.15) 0%, transparent 70%);
  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.1) 0%, transparent 70%);
  pointer-events: none;
}

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

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

/* ─── Star ratings ─── */
.stars {
  display: inline-flex;
  gap: 2px;
  color: #f59e0b;
}

/* ─── Accent highlight ─── */
.accent-text { color: var(--color-accent); }
.accent-bg   { background-color: var(--color-accent); }

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

/* ─── Card hover ─── */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* ─── 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;
}

/* ─── Form inputs ─── */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  background: #fff;
  color: #111827;
}
.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0,245,160,0.15);
}
.form-input.error {
  border-color: #ef4444;
}

/* ─── Order form submit loader ─── */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}
.btn-loading::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: #0F2027;
  border-radius: 9999px;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* ─── Notification toast ─── */
#form-notification {
  position: fixed;
  top: 80px;
  right: 1rem;
  z-index: 200;
  max-width: 360px;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}
#form-notification.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#form-notification.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
#form-notification.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ─── Responsive image safety ─── */
img {
  max-width: 100%;
  height: auto;
}

/* ─── Accent underline on headings ─── */
.heading-accent {
  position: relative;
  display: inline-block;
}
.heading-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: var(--color-accent);
  border-radius: 9999px;
}

/* ─── Testimonial quote marks ─── */
.quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.3;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: -1.5rem;
}