:root {
  --color-primary: #1A1A2E;
  --color-secondary: #2D2D44;
  --color-accent: #FF6B35;
  --color-bg-light: #FFF7ED;
  --color-bg-alt: #FFEDD5;
}

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

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

/* =====================
   HEADER SCROLL STATES
   ===================== */
#site-header.scrolled {
  background-color: #1A1A2E !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

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

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

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

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

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

.faq-toggle-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

/* =====================
   TESTIMONIAL SLIDER
   ===================== */
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
}

/* =====================
   DECORATIVE ELEMENTS
   ===================== */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(255,107,53,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

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

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,107,53,0.04) 10px,
    rgba(255,107,53,0.04) 11px
  );
}

.decor-mesh {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,107,53,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(26,26,46,0.06) 0%, transparent 50%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  top: -100px;
  right: -100px;
  filter: blur(60px);
}

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

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

.decor-glow-element {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,107,53,0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

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

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

/* =====================
   PRODUCT BADGE
   ===================== */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #FF6B35, #FF8C5A);
  color: white;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(255,107,53,0.4);
}

/* =====================
   ORDER FORM
   ===================== */
.order-form-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  overflow: hidden;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-family: 'Urbanist', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  background: #FAFAFA;
}

.form-input:focus {
  border-color: #FF6B35;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.12);
  background: white;
}

.form-input.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

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

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

/* =====================
   GUARANTEE BADGE
   ===================== */
.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
  border: 1.5px solid rgba(255,107,53,0.2);
  border-radius: 1rem;
}

/* =====================
   CUSTOM SCROLLBAR
   ===================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #FF6B35;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e05a25;
}

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

.bg-accent { background-color: #FF6B35; }
.text-accent { color: #FF6B35; }
.border-accent { border-color: #FF6B35; }
.hover\:bg-accent\/90:hover { background-color: rgba(255,107,53,0.9); }

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

/* =====================
   HERO GRADIENT
   ===================== */
.hero-gradient {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D2D44 50%, #1A1A2E 100%);
}

/* =====================
   SECTION TRANSITIONS
   ===================== */
section {
  position: relative;
}