/* ============================================
   MENZO S-GLOW — Landing Page Styles
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #1a2a2a;
  background: #f5f0e8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- SECTIONS ---------- */
.section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section > img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- BUTTON WRAP (below content) ---------- */
.section-btn-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 16px 24px;
}

/* ---------- DIVIDER SECTIONS (small banners) ---------- */
.section-divider {
  background: #fffbe6;
}

/* ---------- SPECIFIC SECTION BACKGROUNDS ---------- */
.section-hero {
  background: #a3d5c9;
}

.section-problems {
  background: #faf5e4;
}

.section-product {
  background: #1b2a4a;
}

.section-ingredients {
  background: linear-gradient(180deg, #a3d5c9 0%, #74b9a7 100%);
}

.section-functions {
  background: #a3d5c9;
}

.section-certs {
  background: linear-gradient(135deg, #1b2a4a 0%, #2e4a6a 100%);
}

/* ---------- TESTIMONIAL SLIDER ---------- */
.section-testimonials {
  background: #fffbe6;
  padding: 16px 0 32px;
}

.slider {
  position: relative;
  width: 90%;
  max-width: 300px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.slide img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

/* Arrow buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: #1a3a4a;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.slider-btn:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transform: translateY(-50%) scale(1.08);
}

.slider-prev {
  left: -18px;
}

.slider-next {
  right: -18px;
}

/* Dot indicators */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 4px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(26, 58, 74, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.active {
  background: #daa520;
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(218, 165, 32, 0.4);
}

/* ---------- ORDER SECTION ---------- */
.section-order {
  background: linear-gradient(135deg, #0d1f2d 0%, #1a3a4a 50%, #0d1f2d 100%);
  padding: 64px 24px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-order::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(218,165,32,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.order-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto;
}

.order-content h1 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f0c040, #f5d76e, #daa520);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.order-content p {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.6;
}

.order-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.order-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}

/* ---------- BUTTONS ---------- */
.btn-wa-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  letter-spacing: 0.3px;
  white-space: normal;
}

.btn:active {
  transform: scale(0.96);
}

/* Sizes */
.btn-lg {
  padding: 14px 32px;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
}

.btn-xl {
  padding: 18px 40px;
  font-size: clamp(1rem, 3vw, 1.15rem);
  width: 100%;
  max-width: 360px;
}

/* Primary — WhatsApp green */
.btn-primary {
  background: linear-gradient(135deg, #20bd5a, #25D366, #2ae672);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #25D366, #2ae672, #25D366);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px);
}

/* Secondary — WhatsApp green outline */
.btn-secondary {
  background: rgba(37, 211, 102, 0.15);
  color: #1a8a4a;
  border: 2px solid #25D366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

/* WhatsApp */
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #20bd5a);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #20bd5a, #1da851);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px);
}

/* Shopee */
.btn-shopee {
  background: linear-gradient(135deg, #ee4d2d, #f26132);
  color: #fff;
  box-shadow: 0 4px 20px rgba(238, 77, 45, 0.4);
}

.btn-shopee:hover {
  background: linear-gradient(135deg, #f26132, #f57844);
  box-shadow: 0 6px 28px rgba(238, 77, 45, 0.55);
  transform: translateY(-2px);
}

/* Glow effect on primary */
.btn-glow {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  to   { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.7), 0 0 60px rgba(37, 211, 102, 0.2); }
}

/* Pulse animation */
.pulse {
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

/* ---------- FLOATING CTA ---------- */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  display: flex;
}

.floating-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: #25D366;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.25s ease;
}

.floating-cta-btn:hover {
  background: #20bd5a;
}

.floating-cta-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #0d1f2d;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 24px 16px 80px; /* extra bottom for floating CTA */
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

/* ---------- SCROLL-REVEAL ANIMATIONS ---------- */
.section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */

/* === Small phones (320px - 374px) === */
@media (max-width: 374px) {
  .btn-lg {
    padding: 12px 18px;
    font-size: 0.8rem;
  }

  .btn-wa-icon {
    width: 16px;
    height: 16px;
  }

  .slider {
    width: 85%;
    max-width: 260px;
  }

  .slide img {
    max-height: 400px;
  }

  .slider-btn {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .slider-prev {
    left: 2px;
  }

  .slider-next {
    right: 2px;
  }

  .section-order {
    padding: 40px 16px;
  }

  .order-content h1 {
    font-size: 1.3rem;
  }

  .floating-cta-btn {
    padding: 12px 16px;
    font-size: 0.8rem;
  }

  .floating-cta-icon {
    width: 18px;
    height: 18px;
  }
}

/* === Regular phones (375px - 767px) === */
@media (min-width: 375px) and (max-width: 767px) {
  .slider {
    width: 88%;
    max-width: 300px;
  }

  .slider-prev {
    left: 4px;
  }

  .slider-next {
    right: 4px;
  }

  .section-order {
    padding: 48px 20px;
  }
}

/* === Tablets and up (768px+) === */
@media (min-width: 768px) {
  .section > img {
    max-width: 640px;
    margin: 0 auto;
  }

  .section-btn-wrap {
    max-width: 640px;
    margin: 0 auto;
  }

  .slider {
    max-width: 340px;
  }

  .slider-prev {
    left: -20px;
  }

  .slider-next {
    right: -20px;
  }

  .order-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .btn-xl {
    width: auto;
    max-width: none;
  }
}

/* === Desktop (1024px+) === */
@media (min-width: 1024px) {
  .section > img {
    max-width: 720px;
  }

  .section-btn-wrap {
    max-width: 720px;
  }

  .section-order {
    padding: 80px 32px;
  }

  .slider {
    max-width: 360px;
  }
}
