:root {
  --color-primary: #3D2C2C;
  --color-secondary: #5A4040;
  --color-accent: #FFAB91;
  --color-bg-light: #FFF5F2;
  --color-bg-alt: #FFE8E0;
}

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

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

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

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

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

.decor-mesh {
  background-image:
    radial-gradient(at 40% 20%, rgba(255, 171, 145, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 80%, rgba(61, 44, 44, 0.08) 0px, transparent 50%);
}

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

/* Gradient blur blobs */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 171, 145, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  top: -50px;
  right: -50px;
  pointer-events: none;
}

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

/* Corner accents */
.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(255, 171, 145, 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(315deg, rgba(255, 171, 145, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* Glow element */
.decor-glow-element {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 171, 145, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   TYPOGRAPHY UTILITIES
   ============================================ */
.text-balance {
  text-wrap: balance;
}

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

.form-input:focus {
  border-color: #FFAB91;
  box-shadow: 0 0 0 3px rgba(255, 171, 145, 0.15);
}

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

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

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

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

/* ============================================
   BADGE STYLES
   ============================================ */
.badge-new {
  background: linear-gradient(135deg, #FFAB91, #ff8a65);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.star-rating .star-empty {
  color: #d1d5db;
}

/* ============================================
   TESTIMONIAL CARD
   ============================================ */
.testimonial-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  transition: box-shadow 0.2s ease;
}

.testimonial-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ============================================
   FAQ STYLES
   ============================================ */
.faq-item {
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 1.5rem;
}

.faq-question {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

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

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

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

/* ============================================
   ORDER FORM
   ============================================ */
.order-form-wrapper {
  background: linear-gradient(135deg, #FFF5F2 0%, #FFE8E0 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 171, 145, 0.3);
}

/* ============================================
   INGREDIENT CARD
   ============================================ */
.ingredient-card {
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  padding: 1.25rem;
  transition: box-shadow 0.2s ease;
}

.ingredient-card:hover {
  box-shadow: 0 4px 16px rgba(61, 44, 44, 0.08);
}

/* ============================================
   BENEFIT ITEM
   ============================================ */
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid rgba(255, 171, 145, 0.2);
}

.benefit-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #FFF5F2, #FFE8E0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #3D2C2C;
}

/* ============================================
   STEP / HOW IT WORKS
   ============================================ */
.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================
   TRUST BADGE ROW
   ============================================ */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #6b7280;
  font-weight: 500;
}

.trust-badge i {
  color: var(--color-accent);
}

/* ============================================
   PRICE DISPLAY
   ============================================ */
.price-main {
  font-size: 2.25rem;
  font-weight: 700;
  color: #3D2C2C;
  line-height: 1;
}

.price-old {
  font-size: 1rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.price-per-day {
  font-size: 0.8125rem;
  color: #6b7280;
}

.discount-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 0.5rem;
}

/* ============================================
   SECTION UTILITY
   ============================================ */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

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

/* ============================================
   LOADING STATE
   ============================================ */
.btn-loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-loading::after {
  content: '';
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255,255,255,0.5);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-left: 0.5rem;
}

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

/* ============================================
   RESPONSIVE HELPERS
   ============================================ */
@media (max-width: 640px) {
  .order-form-wrapper {
    padding: 1.25rem;
  }
}