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

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

body {
  font-family: 'Outfit', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================
   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: 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);
}

/* Stagger delays */
[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }
[data-animate-delay="5"] { transition-delay: 0.5s; }

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

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

/* Dot grid pattern */
.decor-grid-dots {
  background-image: radial-gradient(circle, var(--color-accent) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Line grid */
.decor-grid-lines {
  background-image:
    linear-gradient(to right, rgba(0,245,160,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,245,160,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

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

/* Gradient blur blobs */
.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
}
.decor-gradient-blur::before {
  width: 400px;
  height: 400px;
  background: rgba(0,245,160,0.15);
  top: -100px;
  right: -100px;
}
.decor-gradient-blur::after {
  width: 300px;
  height: 300px;
  background: rgba(15,32,39,0.1);
  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.12) 0%, transparent 60%);
  pointer-events: none;
}

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

/* Concentric rings */
.decor-rings-svg {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
}

/* Intensity modifiers */
.decor-subtle { opacity: 0.05; }
.decor-moderate { opacity: 0.10; }
.decor-bold { opacity: 0.20; }

/* ==========================================
   ACCENT COLOR UTILITIES
   ========================================== */
.text-accent { color: var(--color-accent); }
.bg-accent { background-color: var(--color-accent); }
.border-accent { border-color: var(--color-accent); }
.ring-accent { --tw-ring-color: var(--color-accent); }

/* ==========================================
   CARD STYLES
   ========================================== */
.card-primary {
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08), 0 4px 10px -5px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card-primary:hover {
  box-shadow: 0 20px 40px -8px rgba(0,0,0,0.12), 0 8px 16px -8px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* ==========================================
   FORM STYLES
   ========================================== */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  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.1);
}

.form-error {
  color: #EF4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  padding-left: 1rem;
  display: none;
}

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

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 60%, #0d3830 100%);
}

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

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

/* ==========================================
   SECTION SEPARATOR
   ========================================== */
.section-sep {
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 9999px;
  margin: 0 auto 1.5rem;
}

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

/* ==========================================
   ORDER FORM SPINNER
   ========================================== */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

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

/* ==========================================
   PROGRESS INDICATOR
   ========================================== */
.progress-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), #00c97e);
  border-radius: 9999px;
  transition: width 0.5s ease;
}

/* ==========================================
   SCROLL TO TOP
   ========================================== */
#scroll-top {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
  header, footer, #cookie-consent { display: none !important; }
  main { padding-top: 0 !important; }
}