: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: 'Work Sans', system-ui, sans-serif;
}

/* =====================
   BUTTON NORMALIZATION
   ===================== */
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;
}

/* =====================
   HEADER SCROLL BEHAVIOR
   ===================== */
#site-header.scrolled {
  background-color: var(--color-primary) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

#site-header.scrolled .nav-link {
  color: rgba(255,255,255,0.75);
}

#site-header.scrolled #logo-text {
  color: #fff;
}

/* =====================
   SCROLL ANIMATIONS
   ===================== */
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 [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; }
html.js-anim [data-animate][data-delay="600"] { transition-delay: 0.6s; }

/* =====================
   UTILITY
   ===================== */
.rotate-180 {
  transform: rotate(180deg);
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

/* =====================
   DECORATIVE ELEMENTS
   ===================== */

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

/* Line grid */
.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;
}

/* Diagonal stripes */
.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
  );
}

/* Mesh gradient overlay */
.decor-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(0,245,160,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(15,32,39,0.15) 0%, transparent 60%);
  pointer-events: none;
}

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

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

/* Corner accents */
.decor-corner-tr::after {
  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::before {
  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;
}

/* Glow element */
.decor-glow-element {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,245,160,0.1) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

/* Intensity modifiers */
.decor-subtle { opacity: 0.5; }
.decor-moderate { opacity: 0.75; }
.decor-bold { opacity: 1; }

/* =====================
   STAR RATING
   ===================== */
.stars {
  display: inline-flex;
  gap: 2px;
  color: #f59e0b;
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* =====================
   FORM STYLES
   ===================== */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.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;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.375rem;
}

.form-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
  display: none;
}

.form-error.visible {
  display: block;
}

/* =====================
   ACCORDION / FAQ
   ===================== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
}

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

/* =====================
   GRADIENT TEXT
   ===================== */
.gradient-text {
  background: linear-gradient(135deg, #00F5A0 0%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================
   SECTION ACCENT LINE
   ===================== */
.section-accent-line {
  width: 48px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.section-accent-line.left {
  margin: 0 0 1.5rem;
}

/* =====================
   CARD HOVER EFFECTS
   ===================== */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* =====================
   TESTIMONIAL CARDS
   ===================== */
.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 16px;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.25;
  font-family: Georgia, serif;
}

/* =====================
   ACCENT BG SECTIONS
   ===================== */
.bg-accent-light {
  background-color: var(--color-bg-light);
}

.bg-accent-alt {
  background-color: var(--color-bg-alt);
}

/* =====================
   MOBILE MENU TRANSITION
   ===================== */
#mobile-menu {
  transition: opacity 0.2s ease;
}

#mobile-menu.is-open {
  display: block !important;
}

/* =====================
   ORDER FORM
   ===================== */
.order-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

/* =====================
   PROGRESS / STEPS
   ===================== */
.step-connector {
  flex: 1;
  height: 2px;
  background: var(--color-bg-alt);
  position: relative;
  top: -16px;
}

/* =====================
   BADGE
   ===================== */
.badge-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: rgba(0,245,160,0.15);
  border: 1px solid rgba(0,245,160,0.3);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

/* =====================
   RESPONSIVE UTILITIES
   ===================== */
@media (max-width: 640px) {
  .hero-img-mobile {
    max-width: 280px;
  }
}

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