:root {
  --color-primary: #1F2937;
  --color-secondary: #374151;
  --color-accent: #64748B;
  --color-bg-light: #F8FAFC;
  --color-bg-alt: #F1F5F9;
  --font-main: 'Source Sans 3', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =====================
   BUTTON BASE 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 [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);
}

.rotate-180 {
  transform: rotate(180deg);
}

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

/* Grid Dot Pattern */
.decor-grid-dots {
  background-image: radial-gradient(circle, #64748B 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Grid Line Pattern */
.decor-grid-lines {
  background-image:
    linear-gradient(to right, rgba(100,116,139,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(100,116,139,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Diagonal Stripes */
.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(100,116,139,0.05) 10px,
    rgba(100,116,139,0.05) 20px
  );
}

/* Mesh Gradient */
.decor-mesh {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(100,116,139,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(31,41,55,0.1) 0%, transparent 60%);
}

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

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

/* Corner Accents */
.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(225deg, rgba(100,116,139,0.15) 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(31,41,55,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Glow Element */
.decor-glow-element {
  position: relative;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100,116,139,0.2) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

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

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

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

/* =====================
   ORDER FORM
   ===================== */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 0.75rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: #1F2937;
  background-color: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: #64748B;
  box-shadow: 0 0 0 3px rgba(100,116,139,0.15);
}

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

.form-input::placeholder {
  color: #9CA3AF;
}

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

/* =====================
   PRODUCT IMAGE GLOW
   ===================== */
.product-glow {
  filter: drop-shadow(0 20px 40px rgba(100,116,139,0.25));
}

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

#mobile-menu.hidden {
  opacity: 0;
  pointer-events: none;
}

/* =====================
   TESTIMONIAL STYLES
   ===================== */
.testimonial-card {
  border-left: 4px solid #64748B;
  padding-left: 1.5rem;
  transition: border-color 0.2s;
}

.testimonial-card:hover {
  border-left-color: #1F2937;
}

/* =====================
   UTILITY CLASSES
   ===================== */
.section-py {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .section-py {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

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

/* =====================
   PRICE DISPLAY
   ===================== */
.price-old {
  text-decoration: line-through;
  color: #9CA3AF;
  font-size: 0.95em;
}

.price-new {
  color: #1F2937;
  font-weight: 700;
}

.price-badge {
  background-color: #DCFCE7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
}

/* =====================
   BADGE STYLES
   ===================== */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background-color: #1F2937;
  color: #ffffff;
}

/* =====================
   SCROLL INDICATOR
   ===================== */
.scroll-indicator {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

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

/* =====================
   SECTION DIVIDER
   ===================== */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(100,116,139,0.2), transparent);
}

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

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(31,41,55,0.12);
}

/* =====================
   CONSENT CHECKBOX
   ===================== */
.consent-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  border: 1.5px solid #D1D5DB;
  border-radius: 0.25rem;
  accent-color: #64748B;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =====================
   NOTIFICATION / ALERT
   ===================== */
.form-success {
  background-color: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-error-msg {
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
}

/* =====================
   STICKY HEADER TOP BAR
   ===================== */
header + main,
.pt-topbar {
  scroll-padding-top: 6rem;
}