@import url('https://fonts.googleapis.com/css2?family=Itim&display=swap');

* {
  font-family: 'Itim', cursive !important;
}

/* Reset font-family for Font Awesome icons to prevent global * override */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, [class*="fa-"] {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'Font Awesome 5 Free', 'Font Awesome 5 Brands', sans-serif !important;
}
.fa-brands, .fab {
  font-family: 'Font Awesome 6 Brands', 'Font Awesome 5 Brands', sans-serif !important;
  font-weight: 400 !important;
}
.fa-solid, .fas {
  font-weight: 900 !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Kanit', sans-serif;
  background: #fff0f3;
}

@font-face {
  font-family: 'SukhumvitSet';
  src: url('assets/font/SukhumvitSet.ttc');
}

/* บังคับให้ลิงก์ในหน้าเว็บ (หรือเฉพาะส่วนที่ต้องการ) เป็นสีขาว */
.contact-list p a {
  color: #ff8fab !important;
  /* เปลี่ยนสีฟอนต์เป็นสีขาว */
  text-decoration: none;
  /* (แถม) ลบเส้นใต้ลิงก์ออกเพื่อความสวยงาม */
}

/* (แถม) เวลาเอาเมาส์ไปชี้ (Hover) อยากให้เปลี่ยนสีหรือมีเส้นใต้เพิ่มขึ้นมา */
.contact-list p a:hover {
  color: #ff8fab;
  /* เมื่อเอาเมาส์ชี้ ให้เปลี่ยนเป็นสีชมพูอ่อน */
  text-decoration: underline;
  /* ให้แสดงเส้นใต้ขึ้นมาตอนชี้ */
}


/* ===== NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  background: transparent;
  border-radius: 0 0 20px 20px;
  /* box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05); */
  box-shadow: none;
  position: absolute;
  top: 0;
  z-index: 1000;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.navbar-logo:hover .logo-img {
  animation: cuteWiggle 0.6s ease-in-out;
}

@keyframes cuteWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-6deg) scale(1.08); }
  75% { transform: rotate(6deg) scale(1.08); }
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff6b9d, #ff8fab);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  position: relative;
}

.logo-icon::after {
  content: '♥';
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 12px;
  color: #ff4081;
}

.logo-text h1 {
  font-size: 22px;
  font-weight: 800;
  color: #333;
  line-height: 1.1;
}

.logo-text span {
  font-size: 9px;
  color: #999;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-menu li a {
  text-decoration: none;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #ff4081;
  background: #fff0f3;
  font-weight: 500;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.search-box {
  display: flex;
  align-items: center;
  background: #f8f8f8;
  border-radius: 25px;
  padding: 8px 16px;
  gap: 8px;
  border: 1px solid #eee;
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  color: #999;
  width: 150px;
  min-width: 0;
}

.search-box i {
  color: #999;
}

.nav-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  color: #ff4081;
  font-size: 20px;
}

.nav-icon:hover {
  background: #fff0f3;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ff4081;
  color: #fff;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* ===== NAV TOGGLE (Hamburger) ===== */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: #fff0f3;
  color: #ff4081;
  border-radius: 50%;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s;
}

.nav-toggle:hover {
  background: #ffe0e8;
}

.nav-search-mobile {
  display: none;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffe0e8;
}

.hero-bg-image {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(255, 240, 243, 0.1) 0%,
      rgba(255, 240, 243, 0) 40%,
      rgba(255, 240, 243, 0) 60%,
      rgba(255, 240, 243, 0.3) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 40px 20px;
}

.hero-subtitle {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.hero-title {
  font-size: 64px;
  font-weight: 900;
  color: #ff4081;
  text-shadow:
    3px 3px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 4px 15px rgba(255, 64, 129, 0.3);
  line-height: 1.2;
  margin-bottom: 25px;
}

/* ===== FLOATING HEARTS ===== */
.hero-bg-hearts {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2;
}

.floating-heart {
  position: absolute;
  color: #ff8fab;
  opacity: 0.4;
  animation: floatHeart 6s ease-in-out infinite;
}

.floating-heart:nth-child(1) {
  top: 10%;
  left: 5%;
  font-size: 30px;
  animation-delay: 0s;
}

.floating-heart:nth-child(2) {
  top: 20%;
  left: 15%;
  font-size: 20px;
  animation-delay: 1s;
}

.floating-heart:nth-child(3) {
  top: 60%;
  left: 8%;
  font-size: 25px;
  animation-delay: 2s;
}

.floating-heart:nth-child(4) {
  top: 15%;
  right: 25%;
  font-size: 35px;
  animation-delay: 0.5s;
}

.floating-heart:nth-child(5) {
  top: 70%;
  left: 45%;
  font-size: 18px;
  animation-delay: 1.5s;
}

.floating-heart:nth-child(6) {
  top: 30%;
  right: 5%;
  font-size: 28px;
  animation-delay: 3s;
}

@keyframes floatHeart {

  0%,
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }

  50% {
    transform: translateY(-25px) scale(1.15) rotate(15deg);
  }
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 14px 35px;
  border-radius: 30px;
  box-shadow: 0 5px 25px rgba(255, 64, 129, 0.2);
  font-size: 20px;
  color: #555;
}

.hero-tagline .heart-icon {
  color: #ff4081;
  font-size: 22px;
}

.hero-tagline strong {
  color: #ff4081;
  font-weight: 700;
}

/* ===== FEATURES BAR ===== */
.features-bar {
  background: #fff;
  margin: -30px 40px 40px;
  border-radius: 20px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.features-marquee {
  overflow: hidden;
  width: 100%;
  padding: 22px 0;
}

.features-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-ltr 22s linear infinite;
}


@keyframes marquee-ltr {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-50%);
  }
}

.features-marquee:hover .features-track {
  animation-play-state: paused;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 0 40px;
  white-space: nowrap;
}

.feature-icon {
  font-size: 22px;
  color: #ff4081;
  flex-shrink: 0;
}

.feature-text {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

/* ===== YOUTUBE VIDEO SECTION ===== */
.youtube-video-container {
  max-width: 760px;
  margin: 0 auto;
}

.youtube-embed-wrapper {
  margin: 10px auto 0;
  max-width: 500px;
  width: 100%;
  background: #fff;
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(255, 92, 138, 0.08);
  border: 4px solid #ffb3c6;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.youtube-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* 9:16 ratio (Shorts vertical) */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
}

.youtube-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .youtube-embed-wrapper {
    padding: 10px;
    border-radius: 20px;
  }
  .youtube-responsive {
    border-radius: 12px;
  }
  .youtube-responsive iframe {
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .youtube-embed-wrapper {
    max-width: 100%;
    padding: 8px;
    border-width: 3px;
    border-radius: 16px;
  }
  .youtube-responsive {
    border-radius: 10px;
  }
  .youtube-responsive iframe {
    border-radius: 10px;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 60px 40px;
  background: #fff0f3;
}

.testimonial-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Slider Layout */
.testimonial-slider {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.testimonial-track-wrapper {
  flex: 1;
  overflow: hidden;
  padding: 10px 0;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

/* แต่ละ Slide - แสดง 3 ใบพร้อมกัน */
.testimonial-slide {
  flex: 0 0 calc(33.333% - 14px);
  flex-shrink: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.testimonial-slide.active {
  opacity: 1;
  transform: scale(1);
}


.testimonial-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(255, 64, 129, 0.12);
  height: 250px;
  aspect-ratio: unset;
  background: #ffe0e8;
}

.testimonial-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.testimonial-slide.active .testimonial-photo {
  transform: scale(1.02);
}


.testimonial-stories {
  max-width: 680px;
  margin: 24px auto 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-story-item {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.8;
  text-align: center;
  margin: 0;
  padding: 18px 24px;
  background: linear-gradient(135deg, #ffffff 0%, #fff3f6 100%);
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(255, 64, 129, 0.06);
  border: 1.5px solid rgba(255, 64, 129, 0.12);
  border-left: 5px solid #ff5c8a;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.testimonial-story-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 64, 129, 0.15);
  border-color: rgba(255, 64, 129, 0.3);
}

/* Caption 3 บรรทัดด้านล่าง */
.testimonial-caption {
  text-align: center;
  max-width: 680px;
  margin: 22px auto 0;
  padding: 0 20px;
  background: #fff8fa;
  border-radius: 16px;
  padding: 18px 28px;
  box-shadow: 0 2px 12px rgba(255, 64, 129, 0.08);
}

.caption-name-role {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin: 0 0 4px 0;
}

.caption-rating {
  font-size: 16px;
  letter-spacing: 2px;
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.caption-text {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
  font-style: italic;
  margin: 0;
  overflow-wrap: break-word;
}

/* Slider Buttons */
.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #ff4081;
  background: #fff;
  color: #ff4081;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(255, 64, 129, 0.2);
}

.slider-btn:hover {
  background: #ff4081;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(255, 64, 129, 0.3);
}

.slider-btn:active {
  transform: scale(0.95);
}

/* Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffb3c6;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #ff4081;
  width: 35px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 968px) {
  .testimonial-slide {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 640px) {
  .testimonial-slider {
    gap: 10px;
  }

  .testimonial-track {
    gap: 0;
  }

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

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .testimonial-card {
    padding: 0;
  }
}

/* ===== STEPS SECTION ===== */
/* ===== STEPS HERO BANNER ===== */
.steps-hero {
  display: block;
  line-height: 0;
}

.steps-hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== STEPS CARDS SECTION ===== */
.steps-cards-section {
  padding: 50px 20px;
  background: linear-gradient(180deg, #fff2f5 0%, #ffd6e0 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Background elements like sparkles from image (cute stars and sparkles) */
.steps-cards-section::before,
.steps-cards-section::after {
  content: '✦';
  position: absolute;
  color: #ffb3c6;
  font-size: 24px;
  opacity: 0.6;
}
.steps-cards-section::before {
  top: 10%;
  left: 5%;
  animation: floatHeart 4s ease-in-out infinite;
}
.steps-cards-section::after {
  bottom: 15%;
  right: 5%;
  content: '✧';
  font-size: 20px;
  animation: floatHeart 5s ease-in-out infinite alternate;
}

.steps-roadmap-container {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Gap between cards */
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.step-roadmap-row {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  width: 100%;
}

.step-timeline-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  width: 50px;
  align-self: stretch; /* Stretch to row height to enable connection line */
}

.step-number-circle {
  width: 44px;
  height: 44px;
  background: #ff5c8a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(255, 92, 138, 0.3);
  z-index: 5;
  border: 2px solid #fff;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.4s ease, box-shadow 0.4s ease;
}

.step-roadmap-row:hover .step-number-circle {
  transform: scale(1.15) rotate(-8deg);
  background: #ff4081;
  box-shadow: 0 6px 15px rgba(255, 64, 129, 0.45);
}

.step-line-connector {
  position: absolute;
  top: 44px;
  bottom: -16px; /* should cross the gap of 16px to meet the next circle's top */
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.step-line-connector::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  border-left: 2px dashed #ff8fab;
  transform: translateX(-50%);
}

.step-heart-icon {
  color: #ff5c8a;
  font-size: 11px;
  background: #fff3f6; /* matches the local background behind the connector */
  padding: 2px;
  border-radius: 50%;
  z-index: 3;
}

.step-card-col {
  flex: 1;
}

.step-card-body {
  background: #ffffff;
  border-radius: 24px;
  padding: 10px 24px;
  box-shadow: 0 10px 25px rgba(255, 92, 138, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card-body:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 92, 138, 0.18);
}

.step-card-title {
  font-size: 32px;
  font-weight: 800;
  color: #4a4a4a;
  margin: 0;
  text-align: left;
  line-height: 1.2;
}

.step-card-img-wrapper {
  width: 140px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-card-img {
  max-width: 100%;
  max-height: 120%; /* let it overflow slightly for 3D look */
  object-fit: contain;
  transform: translateY(-5px); /* subtle floating look */
  transition: transform 0.3s ease;
}

.step-card-body:hover .step-card-img {
  animation: cuteBounce 1.5s ease-in-out infinite;
}

@keyframes cuteBounce {
  0%, 100% { transform: translateY(-5px) scale(1.02) rotate(0deg); }
  50% { transform: translateY(-16px) scale(1.08) rotate(3deg); }
}

.btn-contact {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b9d, #ff4081);
  color: #fff;
  padding: 14px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  margin-top: 40px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: buttonPulse 2s infinite;
}

.btn-contact:hover {
  animation: none;
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 30px rgba(255, 64, 129, 0.5);
}

@keyframes buttonPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(255, 64, 129, 0.3);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 10px 25px rgba(255, 64, 129, 0.5);
  }
}

/* ===== CUTE IMAGE BUTTONS ===== */
.btn-cute-image-wrap {
  display: inline-block;
  text-decoration: none;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin: 0;
  vertical-align: middle;
  cursor: pointer;
  outline: none;
}

.cute-button-img {
  display: block;
  width: auto;
  max-width: 250px;
  height: auto;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
  animation: cuteButtonBounce 2s infinite;
}

.btn-cute-image-wrap:hover .cute-button-img {
  animation: none;
  transform: scale(1.08) translateY(-4px) rotate(1.5deg);
  filter: brightness(1.05) drop-shadow(0 10px 20px rgba(255, 64, 129, 0.3));
}

@keyframes cuteButtonBounce {
  0%, 100% {
    transform: scale(1) translateY(0) rotate(0deg);
  }
  50% {
    transform: scale(1.04) translateY(-6px) rotate(-1.5deg);
  }
}

/* Responsive adjustment for mobile screens */
@media (max-width: 600px) {
  .steps-roadmap-container {
    gap: 12px;
  }

  .step-roadmap-row {
    gap: 12px;
  }
  
  .step-timeline-col {
    width: 36px;
    align-self: stretch;
  }
  
  .step-number-circle {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .step-line-connector {
    top: 32px;
    bottom: -12px;
  }
  
  .step-card-body {
    padding: 8px 16px;
    min-height: 90px;
    border-radius: 20px;
  }
  
  .step-card-title {
    font-size: 22px;
  }
  
  .step-card-img-wrapper {
    width: 100px;
    height: 80px;
  }
  
  .step-card-img {
    max-height: 110%;
  }
}

/* ===== WHY CHOOSE US ===== */
.why-section {
  position: relative;
  padding: 60px 40px;
  background: #fcf0f5;
  overflow: hidden;
}

.section-bg-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.section-sparkle {
  position: absolute;
  color: #ffb3c6;
  animation: sparkleTwinkle 2.4s ease-in-out infinite;
}

.ss-1 {
  top: 6%;
  left: 5%;
  font-size: 16px;
  animation-delay: 0s;
}

.ss-2 {
  top: 14%;
  left: 88%;
  font-size: 13px;
  animation-delay: 0.5s;
}

.ss-3 {
  top: 28%;
  left: 12%;
  font-size: 12px;
  animation-delay: 1s;
}

.ss-4 {
  top: 22%;
  left: 78%;
  font-size: 18px;
  animation-delay: 1.5s;
}

.ss-5 {
  top: 48%;
  left: 4%;
  font-size: 14px;
  animation-delay: 2s;
}

.ss-6 {
  top: 42%;
  left: 92%;
  font-size: 11px;
  animation-delay: 0.3s;
}

.ss-7 {
  top: 62%;
  left: 9%;
  font-size: 17px;
  animation-delay: 0.8s;
}

.ss-8 {
  top: 58%;
  left: 85%;
  font-size: 13px;
  animation-delay: 1.3s;
}

.ss-9 {
  top: 78%;
  left: 15%;
  font-size: 12px;
  animation-delay: 1.8s;
}

.ss-10 {
  top: 74%;
  left: 80%;
  font-size: 16px;
  animation-delay: 2.3s;
}

.ss-11 {
  top: 90%;
  left: 6%;
  font-size: 11px;
  animation-delay: 0.6s;
}

.ss-12 {
  top: 88%;
  left: 90%;
  font-size: 14px;
  animation-delay: 1.1s;
}

.why-header,
.why-grid,
.why-footer-wrap {
  position: relative;
  z-index: 1;
}

.why-header {
  text-align: center;
  margin-bottom: 10px;
}

.why-title-badge {
  display: inline-block;
  border-radius: 14px;
  padding: 10px 28px;
  font-size: 30px;
  font-weight: 600;
  color: #2d2d2d;
}

.why-title-brand {
  color: #fb5e8a;
  font-family: emoji;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.why-card:nth-child(1) {
  grid-column: 1 / span 3;
}

.why-card:nth-child(2) {
  grid-column: 4 / span 3;
}

.why-card:nth-child(3) {
  grid-column: 1 / span 2;
}

.why-card:nth-child(4) {
  grid-column: 3 / span 2;
}

.why-card:nth-child(5) {
  grid-column: 5 / span 2;
}

/* แถวบนตามภาพ = การ์ดที่ 1,2 กว้างเต็มครึ่งจอ (มือถือ); บน desktop ใช้ grid 3 คอลัมน์เรียบๆ ตามธรรมชาติ */
.why-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 10px 24px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-card:hover {
  transform: translateY(-10px) scale(1.06) rotate(1.5deg);
}

.why-img-wrap {
  position: relative;
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
}

/* ขนาดเดียวกันสำหรับทั้ง 5 cards */
.why-card:nth-child(1) .why-img-wrap,
.why-card:nth-child(2) .why-img-wrap,
.why-card:nth-child(3) .why-img-wrap,
.why-card:nth-child(4) .why-img-wrap,
.why-card:nth-child(5) .why-img-wrap {
  max-width: 160px;
}

.why-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.why-check {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 36px;
  height: 36px;
  background: #fb5e8a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.4s ease;
}

.why-card:hover .why-check {
  transform: scale(1.25) rotate(-12deg);
  background-color: #fb5e8a;
}

.why-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ff5580;
  line-height: 1.3;
}

.why-footer-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 5px;
  padding: 20px 0;
}

.why-footer-text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ffeef2, #ffd9e3);
  color: #fb5e8a;
  font-size: 16px;
  padding: 12px 28px 12px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(251, 94, 138, 0.18);
}

.why-footer-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fb5e8a;
  border-radius: 50%;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(251, 94, 138, 0.3);
}

/* ===== SPARKLES (ดาวฟุ้งๆ รอบ badge) ===== */
.why-sparkle {
  position: absolute;
  color: #ffb3c6;
  font-size: 16px;
  animation: sparkleTwinkle 2.4s ease-in-out infinite;
  pointer-events: none;
}

.why-sparkle-1 {
  top: 0;
  left: 18%;
  font-size: 14px;
  animation-delay: 0s;
}

.why-sparkle-2 {
  bottom: 4px;
  left: 30%;
  font-size: 10px;
  animation-delay: 0.7s;
}

.why-sparkle-3 {
  top: 6px;
  right: 22%;
  font-size: 18px;
  animation-delay: 1.2s;
}

.why-sparkle-4 {
  bottom: 0;
  right: 32%;
  font-size: 11px;
  animation-delay: 1.8s;
}

@keyframes sparkleTwinkle {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.15) rotate(20deg);
  }
}

/* ===== EBOOK SECTION ===== */
.ebook-section {
  padding: 70px 40px;
  background: #fff;
  text-align: center;
  overflow: hidden;
}

.ebook-container {
  max-width: 760px;
  margin: 0 auto;
}

/* ----- Title ----- */
.ebook-title {
  font-size: 70px;
  color: #2d2d2d;
  line-height: 1.25;
  margin-bottom: 30px;
}


.ebook-title-free {
  color: #ff4081;
  font-weight: 900;
  font-family: 'SukhumvitSet';
}

.ebook-title-sub {
  display: inline-block;
  font-size: 26px;
  font-weight: 700;
  color: #2d2d2d;
  vertical-align: middle;
  margin-left: 4px;
  line-height: 1.3;
}

/* ----- Visual: cover + open book ----- */
.ebook-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.ebook-cover {
  flex: 1;
  min-width: 220px;
  max-width: 420px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ebook-cover:hover {
  transform: translateY(-10px) rotate(2deg) scale(1.04);
}

.ebook-cover img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
}

.ebook-open-wrap {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
}

.ebook-frame {
  background: #ffe5ec;
  padding: 14px;
  border-radius: 28px;
  border: 6px solid #ff8fab;
  box-shadow: 
    0 15px 35px rgba(255, 64, 129, 0.15),
    inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  transform: none; /* Align straight */
  position: relative;
}

.ebook-frame::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: #ff4081;
  border-radius: 50%;
  opacity: 0.6;
}

.ebook-open {
  position: relative;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(255, 64, 129, 0.1);
  overflow: visible; /* Allow page-flip to overlap bezel */
  perspective: 1500px;
  user-select: none;
  aspect-ratio: 3 / 4;
}

.ebook-open:hover {
  filter: drop-shadow(0 15px 30px rgba(255, 64, 129, 0.15));
}

.ebook-page-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: rotateY(0deg);
  transform-origin: left center;
  transition: transform 0.8s ease-in-out, opacity 0.8s ease;
  pointer-events: none;
  z-index: 1;
  backface-visibility: hidden;
}

.ebook-page-img.active {
  opacity: 1;
  transform: rotateY(0deg);
  z-index: 2;
  pointer-events: auto;
}

.ebook-page-img.flipped {
  opacity: 0;
  transform: rotateY(-180deg);
  z-index: 3;
  transition: transform 0.8s ease-in-out, opacity 0.8s ease;
}

.ebook-open-caption {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #ff4081;
}

/* ----- CTA title ----- */
.ebook-cta-title {
  font-size: 26px;
  font-weight: 800;
  color: #2d2d2d;
}

.ebook-cta-title span {
  color: #ff4081;
}

/* ----- Footer row ----- */
.ebook-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ebook-footer-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  text-align: left;
}

.btn-ebook {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff6b9d, #ff4081);
  color: #fff;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  flex-shrink: 0;
}

.btn-ebook:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 64, 129, 0.4);
}

/* ===== HOROSCOPE SECTION ===== */
.horoscope-section {
  padding: 60px 40px;
  background: #fff;
  text-align: center;
}

.horoscope-box {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, #fff5f7, #ffe0e8);
  border-radius: 20px;
  padding: 40px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 10px 25px rgba(255, 64, 129, 0.05);
}

.horoscope-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 64, 129, 0.12);
}

.horoscope-image {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 20px;
  border-radius: 16px;
  overflow: hidden;
}

.horoscope-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.horoscope-box h3 {
  font-size: 28px;
  font-weight: 800;
  color: #333;
  margin-bottom: 10px;
}

.horoscope-code {
  color: #ff4d8d;
}

.horoscope-box p {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
}

.horoscope-example {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

/* ===== BRACELET SECTION ===== */
.bracelet-section {
  padding: 24px 12px 32px;
  background: linear-gradient(180deg, #ffe0e8, #fff0f3);
}

/* กล่องหลักมีขอบม่วง */
.toppy-proof {
  max-width: 460px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffd9e6 0%, #fff5f8 100%);
  border-radius: 20px;
  padding: 16px 0 20px;
  overflow: hidden;
}

/* หัวข้อริวิวส่งของ */
.toppy-proof-title {
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  color: #ff4081;
  margin: 0 0 20px;
  padding: 0 4px;
  letter-spacing: 0.5px;
}

/* ===== DELIVERY FEED (GRID SLIDE FROM CORNERS) ===== */
.toppy-delivery-grid-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10px 16px;
  margin-bottom: 25px;
  background: transparent;
}

.toppy-delivery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.delivery-grid-card-outer {
  width: 100%;
}

.delivery-grid-card-inner {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(255, 64, 129, 0.12);
  background: #fff;
  border: 3.5px solid #fff;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  animation: cuteFloatOdd 6s ease-in-out infinite;
}

.delivery-grid-card-outer:nth-child(even) .delivery-grid-card-inner {
  animation: cuteFloatEven 5s ease-in-out infinite;
}

.delivery-grid-card-inner:hover {
  transform: scale(1.05) translateY(-6px) rotate(0.5deg) !important;
  box-shadow: 0 15px 35px rgba(255, 64, 129, 0.22);
}

.delivery-grid-card-inner img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes cuteFloatOdd {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1.2deg);
  }
}

@keyframes cuteFloatEven {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1.2deg);
  }
}

/* ========== แถว 2: slide รูปรีวิว 10 รูป ========== */
.toppy-review-row {
  padding: 4px 0 0;
}

/* track scroll */
.toppy-review-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px 16px 10px;
  scrollbar-width: none;
  align-items: center; /* จัดระเบียบการจัดวางตามแกนกลางแนวตั้งสำหรับรูปภาพที่สูงต่างกัน */
}

.toppy-review-track::-webkit-scrollbar {
  display: none;
}

.toppy-review-card {
  flex: 0 0 auto;
  width: 250px;
  max-width: 85%;
  border-radius: 12px;
  overflow: hidden;
  border: 2.5px solid #fff;
  background: #ffe0e8;
  scroll-snap-align: start;
  box-shadow: 0 2px 8px rgba(123, 47, 247, 0.10);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
}

.toppy-review-card:hover {
  transform: translateY(-8px) scale(1.05) rotate(-2.5deg) !important;
  border-color: #ff4081 !important;
  box-shadow: 0 10px 22px rgba(255, 64, 129, 0.25) !important;
  z-index: 10;
}

.toppy-review-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* การ์ดที่ active (ตรงกลาง scroll) */
.toppy-review-card.active {
  border-color: #e73bf7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 107, 255, 0.22);
}

/* dots ใต้ภาพรีวิว */
.toppy-review-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 4px 16px 0;
}

.toppy-review-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(231, 59, 247, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
  flex: 0 0 auto;
}

.toppy-review-dots .dot:hover {
  background: rgba(231, 59, 247, 0.5);
}

.toppy-review-dots .dot.active {
  background: #e73bf7;
  width: 18px;
  border-radius: 4px;
}

/* ========== Responsive: จอคอม / แท็บเล็ตแนวนอน ========== */
@media (min-width: 768px) {
  .toppy-proof {
    max-width: 760px;
    padding: 22px 0 26px;
  }

  .toppy-proof-title {
    font-size: 22px;
  }

  .toppy-delivery-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    gap: 20px;
  }

  .toppy-review-track {
    padding: 8px 24px 12px;
    gap: 14px;
  }

  .toppy-review-card {
    width: 240px;
    max-width: 280px;
  }

  .toppy-review-dots .dot {
    width: 8px;
    height: 8px;
  }

  .toppy-review-dots .dot.active {
    width: 22px;
  }
}

@media (min-width: 1100px) {
  .toppy-proof {
    max-width: 960px;
  }

  .toppy-review-card {
    width: 240px;
    max-width: 280px;
  }
}

.price-tag {
  font-size: 24px;
  font-weight: 800;
  color: #ff4081;
  margin-bottom: 15px;
}

/* ===== FAQ + REVIEW SECTION ===== */
.faq-section {
  padding: 60px 40px 105px; /* Increased bottom padding to prevent overlap with footer wave */
  background: linear-gradient(160deg, #ffeef2 0%, #ffd9e3 100%);
  position: relative;
}

.faq-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

.faq-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

.faq-review-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  /* ปรับสัดส่วนพื้นที่ตรงนี้ให้สมดุลและยืดสูงเท่ากัน */
  gap: 30px;
  align-items: stretch;
}

/* ----- กล่องคำถามที่พบบ่อย ----- */
.faq-box {
  background: #fff;
  border-radius: 24px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(255, 64, 129, 0.08);
  border: 3px solid #ffe3eb;
}

.faq-box-title {
  font-size: 24px;
  font-weight: 800;
  color: #333;
  margin-bottom: 12px;
}

.faq-box-underline {
  display: block;
  width: 65px;
  height: 5px;
  border-radius: 4px;
  background: #fb5e8a;
  margin-bottom: 25px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff5f7;
  border-radius: 14px;
  overflow: hidden;
  border-left: 4px solid transparent;
  box-shadow: 0 4px 10px rgba(255, 92, 138, 0.02);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item:hover {
  transform: translateX(6px);
  background: #ffeef2;
  border-left-color: #ffb3c6;
}

.faq-item.open {
  background: #ffe5ec;
  border-left-color: #fb5e8a;
  box-shadow: 0 6px 15px rgba(251, 94, 138, 0.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.faq-icon {
  color: #fb5e8a;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 18px;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 18px 18px;
}

.faq-answer p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ----- ฝั่งขวา: รีวิว + พี่กระต่าย + ช่องทาง ----- */
.review-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.review-banner {
  border-radius: 24px;
  overflow: hidden;
  min-height: 200px;
  flex: 1;
  display: flex;
}

.review-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}

.review-channel-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.review-channel-card:hover {
  transform: translateY(-8px) scale(1.04) rotate(1deg);
  box-shadow: 0 15px 30px rgba(255, 64, 129, 0.18);
}

.review-channel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* รักษาสัดส่วนภาพไม่ให้บิดเบี้ยว */
  display: block;
  transition: transform 0.3s ease;
  /* เพิ่มลูกเล่นให้รูปนิดหน่อย */
}

/* (ออปชันเสริม) ถ้าอยากให้รูปแอบขยายขึ้นนิดๆ ตอนเอาเมาส์ชี้ */
.review-channel-card:hover .review-channel-img {
  transform: scale(1.03);
}

.review-channel-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

.review-channel-card.fb .review-channel-icon {
  background: #1877f2;
}

.review-channel-card.google .review-channel-icon {
  background: #fff;
  color: #ea4335;
  border: 2px solid #f1f1f1;
}

.review-channel-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.review-channel-card.fb h4 {
  color: #1877f2;
}

.review-channel-card.google h4 {
  color: #ea4335;
}

.review-channel-card p {
  font-size: 12px;
  color: #888;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 45px 20px 95px; 
  }

  .footer-actions {
    margin-left: 0;
    justify-content: center;
    /* จัดให้อยู่ตรงกลางหน้าจอเมื่อดูในมือถือ */
    width: 100%;
  }

  .faq-review-grid {
    grid-template-columns: 1fr;
  }

  .review-banner-text {
    max-width: 55%;
    font-size: 17px;
  }

  .review-mascot-frame {
    width: 120px;
    height: 120px;
  }

  .horoscope-section {
    padding: 30px 15px;
  }

  .horoscope-box {
    padding: 24px 16px;
    border-radius: 16px;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: #333;
  color: #fff;
  padding: 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-info h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ff8fab;
}

.footer-info p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 8px;
}

.footer-cta {
  background: linear-gradient(135deg, #ff6b9d, #ff4081);
  color: #fff;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}

.footer-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 64, 129, 0.4);
}

.footer-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .crafted-by {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
}

.footer-bottom .crafted-by span {
  color: #ff8fab;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */

/* ----- Tablet (≤968px) ----- */
@media (max-width: 968px) {
  .navbar {
    padding: 12px 20px;
  }

  .nav-menu {
    gap: 4px;
  }

  .nav-menu li a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .search-box input {
    width: 100px;
  }

  .steps-cards-section,
  .why-section,
  .ebook-section,
  .horoscope-section,
  .bracelet-section,
  .faq-section,
  .testimonials {
    padding: 50px 24px;
  }

  .ebook-container,
  .bracelet-container {
    gap: 24px;
  }
}

/* ----- Mobile (≤768px) ----- */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: nowrap;
    padding: 10px 16px;
    gap: 10px;
  }

  .navbar-logo .logo-img {
    height: 36px;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: #fff;
    padding: 80px 20px 30px;
    gap: 4px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li a {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 10px;
  }

  .nav-search-mobile {
    display: block;
    margin-top: 12px;
  }

  .nav-search-mobile .search-box {
    width: 100%;
  }

  .nav-search-mobile .search-box input {
    width: 100%;
  }

  .nav-right {
    gap: 8px;
  }

  .nav-right>.search-box {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 24px 16px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-tagline {
    font-size: 15px;
    padding: 10px 22px;
  }

  .features-bar {
    margin: -20px 16px 30px;
  }

  .features-marquee {
    padding: 16px 0;
  }

  .features-track {
    animation-duration: 16s;
  }

  .feature-item {
    gap: 8px;
    padding: 0 24px;
  }

  .feature-icon {
    font-size: 18px;
  }

  .feature-text {
    font-size: 13px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .section-desc {
    font-size: 14px;
    padding: 0 8px;
  }

  .steps-cards-section,
  .why-section,
  .ebook-section,
  .horoscope-section,
  .bracelet-section,
  .faq-section,
  .testimonials {
    padding: 7px 16px;
  }

  .why-footer-text {
    font-size: 13px;
    padding: 10px 18px 10px 10px;
    gap: 8px;
    text-align: left;
  }

  .why-footer-icon {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step-card {
    position: relative;
    display: flex;
    flex-direction: row;
    /* เปลี่ยนการ์ดเป็นแถวแนวนอนเพื่อทำแนว Timeline */
    align-items: center;
    min-height: 95px;
    gap: 16px;
    padding: 12px 16px 12px 60px;
    /* เว้นพื้นที่ฝั่งซ้ายให้วงกลมตัวเลข */
  }

  .step-card img,
  .step-image-container {
    width: 90px;
    height: 90px;
    order: 2;
    /* สลับรูปไปอยู่ฝั่งขวา */
  }

  .step-card .step-number {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 2;
  }

  /* เปิดใช้งานและระบุสไตล์ของเส้นเชื่อมโยงแนวตั้งระหว่างจุด */
  .step-card .gsap-step-line {
    display: block;
    position: absolute;
    left: 28px;
    /* กึ่งกลางของวงกลมตัวเลขพอดี */
    top: 50%;
    /* เริ่มลากจากกึ่งกลางตัวเลข */
    height: calc(100% + 24px);
    /* ลากความยาวทะลุลงไปหาการ์ดใบถัดไป */
    width: 2px;
    background-color: rgba(255, 143, 171, 0.3);
    /* สีชมพูจางโปร่งแสงเข้ากับธีม */
    z-index: 1;
  }

  .step-card h4 {
    font-size: 22px;
    font-weight: 800;
    text-align: left;
    color: #ff4081;
    flex: 1;
    order: 1;
    /* สลับข้อความมาอยู่ฝั่งซ้าย */
    margin: 0;
  }

  .why-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }

  .why-card:nth-child(1) {
    grid-column: 1 / span 3;
  }

  .why-card:nth-child(2) {
    grid-column: 4 / span 3;
  }

  .why-card:nth-child(3) {
    grid-column: 1 / span 2;
  }

  .why-card:nth-child(4) {
    grid-column: 3 / span 2;
  }

  .why-card:nth-child(5) {
    grid-column: 5 / span 2;
  }

  .why-img-wrap {
    width: 100%;
    max-width: 100%;
  }

  .why-card:nth-child(1) .why-img-wrap,
  .why-card:nth-child(2) .why-img-wrap {
    max-width: 145px;
  }

  .why-card:nth-child(3) .why-img-wrap,
  .why-card:nth-child(4) .why-img-wrap,
  .why-card:nth-child(5) .why-img-wrap {
    max-width: 102px;
  }

  @keyframes whyCardFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
  }

  .why-card {
    padding: 0 !important;
    animation: whyCardFloat 4s ease-in-out infinite;
  }

  .why-card:nth-child(1) { animation-delay: 0s; }
  .why-card:nth-child(2) { animation-delay: 0.8s; }
  .why-card:nth-child(3) { animation-delay: 1.6s; }
  .why-card:nth-child(4) { animation-delay: 2.4s; }
  .why-card:nth-child(5) { animation-delay: 3.2s; }

  .why-check {
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
    border-width: 2px !important;
    top: 2px !important;
    left: 2px !important;
  }

  .bracelet-container {
    flex-direction: column;
    gap: 24px;
  }

  .ebook-title {
    font-size: 28px;
  }

  .ebook-title-sub {
    font-size: 19px;
  }

  .ebook-visual {
    gap: 12px;
  }


  .ebook-cta-title {
    font-size: 20px;
  }

  .ebook-footer {
    flex-direction: column;
    gap: 16px;
  }

  .ebook-footer-text {
    text-align: center;
  }

  .bracelet-content h3 {
    font-size: 22px;
  }

  .horoscope-box {
    padding: 28px 20px;
  }

  .horoscope-box h3 {
    font-size: 22px;
  }

  .review-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer {
    padding: 30px 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
  }

  .footer-actions {
    justify-content: center;
    width: 100%;
  }

  .footer-cta {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    margin-top: 30px;
  }

  /* Testimonial slider buttons tighten up */
  .testimonial-slider {
    gap: 10px;
  }

  .slider-btn {
    width: 38px;
    height: 38px;
  }

  .slider-btn svg {
    width: 18px;
    height: 18px;
  }
}


/* ----- Small mobile (≤480px) ----- */
@media (max-width: 480px) {
  .navbar {
    padding: 8px 12px;
  }

  .navbar-logo .logo-img {
    height: 32px;
  }

  .nav-icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .nav-menu {
    width: 85vw;
    right: -85vw;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-tagline {
    font-size: 13px;
    padding: 8px 16px;
    gap: 6px;
  }

  .features-bar {
    margin: -16px 12px 16px;
  }

  .features-marquee {
    padding: 12px 0;
  }

  .features-track {
    animation-duration: 13s;
  }

  .feature-item {
    gap: 6px;
    padding: 0 16px;
  }

  .feature-icon {
    font-size: 15px;
  }

  .feature-text {
    font-size: 11px;
  }

  .section-badge {
    font-size: 12px;
    padding: 5px 16px;
  }

  .section-title {
    font-size: 21px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
.step-card {
    padding: 10px 12px 10px 52px;
  }
  .step-card .step-number {
    left: 8px;
  }
  .step-card .gsap-step-line {
    left: 26px; /* ขยับเส้นเชื่อมให้ตรงกับตัวเลขบนจอเล็ก */
  }

.step-card img, 
  .step-image-container {
    width: 75px;
    height: 75px;
  }

.step-card h4 {
    font-size: 19px;
  }

  .testimonial-caption p {
    font-size: 13px;
  }

  .testimonial-avatar-wrap {
    width: 52px;
    height: 52px;
  }

  .price-tag {
    font-size: 20px;
  }

  .btn-contact,
  .btn-ebook {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 13px 20px;
  }

  .footer-info h4 {
    font-size: 16px;
  }

  .footer-info p {
    font-size: 13px;
  }

  .ebook-title {
    font-size: 40px;
  }

  .ebook-title-sub {
    font-size: 16px;
  }


  .ebook-page {
    min-height: 170px;
    padding: 12px 10px;
  }

  .ebook-cta-title {
    font-size: 18px;
  }

  .footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    width: 100%;
  }

  .roadmap-container {
    position: relative;
  }

  .step-card .gsap-step-line {
    display: none;
  }

  .step-image-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .step-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* ==========================================================================
   FINAL FIXED STEPS TIMELINE ROADMAP STYLES (OVERRIDE ALL PREVIOUS)
   ========================================================================== */

/* Cloud Divider Styles */
.cloud-divider-container {
  position: relative;
  width: 100%;
  height: 30px;
  margin-top: -29px; /* Pull up to sit on the bottom edge of the banner */
  z-index: 4;
  overflow: visible;
  line-height: 0;
}

.cloud-divider-container svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40px;
  display: block;
}

.cloud-svg-back {
  z-index: 1;
  opacity: 0.75;
  transform: translateY(2.5px);
}

.cloud-svg-front {
  z-index: 2;
  filter: drop-shadow(0 -5px 6px rgba(255, 64, 129, 0.08));
}

/* Reusable Cute SVG Dividers */
.cute-svg-divider {
  position: relative;
  width: 100%;
  z-index: 4;
  overflow: visible;
  line-height: 0;
  pointer-events: none;
}

.cute-svg-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: block;
}

/* Cloud Divider (Type 1) */
.divider-cloud {
  height: 35px;
  margin-top: -34px;
}
.divider-cloud svg {
  height: 45px;
  filter: drop-shadow(0 -5px 6px rgba(255, 64, 129, 0.08));
}

/* Wave Divider (Type 2) */
.divider-wave {
  height: 40px;
  margin-top: -39px;
}
.divider-wave svg {
  height: 50px;
  filter: drop-shadow(0 -5px 6px rgba(255, 64, 129, 0.06));
}

/* Curve Divider (Type 3) */
.divider-curve {
  height: 30px;
  margin-top: -29px;
}
.divider-curve svg {
  height: 40px;
  filter: drop-shadow(0 -4px 6px rgba(255, 64, 129, 0.05));
}

.steps-cards-section {
  position: relative;
  z-index: 5;
  padding: 20px 20px 30px;
  background: #fff0f3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.roadmap-container {
  position: relative;
  max-width: 600px; /* บีบขนาดกล่องไม่ให้กว้างเกินไปให้สวยงามเหมือนต้นฉบับ */
  width: 100%;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr !important; /* บังคับเรียงแนวตั้งลงมาทุกหน้าจอเพื่อเป็น Roadmap */
  gap: 24px !important;
  width: 100%;
}

.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px !important;
  padding: 16px 20px 16px 74px !important; /* เว้นระยะฝั่งซ้ายเผื่อวงกลมตัวเลข */
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 90px !important;
  border: 2px solid rgba(255, 143, 171, 0.2) !important;
  box-shadow: 0 4px 15px rgba(255, 64, 129, 0.05) !important;
  transform: none !important;
}

/* วงกลมตัวเลขหน้าสุด */
.step-card .step-number {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  width: 46px !important;
  height: 46px !important;
  background: linear-gradient(135deg, #ff6b9d, #ff4081) !important;
  color: #fff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  z-index: 3 !important;
  box-shadow: 0 4px 10px rgba(255, 64, 129, 0.2) !important;
}

/* เส้นเชื่อมต่อแนวตั้ง */
.step-card .gsap-step-line {
  display: block !important;
  position: absolute !important;
  left: 38px !important; /* ตรงกึ่งกลางวงกลมตัวเลข */
  top: 50% !important;
  height: calc(100% + 24px) !important; /* ลากยาวลงไปหาการ์ดใบถัดไป */
  width: 2.5px !important;
  background-color: rgba(255, 143, 171, 0.4) !important;
  z-index: 1 !important;
}

/* ลบเส้นเชื่อมของการ์ดใบสุดท้าย */
.steps-grid .step-card:last-child .gsap-step-line {
  display: none !important;
}

/* จัดเลย์เอาต์คอนเทนต์ภายในแบ่งซ้าย-ขวา */
.step-content-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 16px !important;
}

.step-card h4 {
  font-family: 'SukhumvitSet', 'Kanit', sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #ff4081 !important;
  margin: 0 !important;
  text-align: left !important;
}

.step-card img,
.step-image-container {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}

/* ===== RESPONSIVE สำหรับหน้าจอมือถือและแท็บเล็ต ===== */
@media (max-width: 768px) {
  .roadmap-container {
    max-width: 100%;
  }
  
  .step-card {
    padding: 12px 16px 12px 64px !important;
  }

  .step-card .step-number {
    left: 12px !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 18px !important;
  }

  .step-card .gsap-step-line {
    left: 32px !important;
    height: calc(100% + 24px) !important;
  }

  .step-card h4 {
    font-size: 21px !important;
  }

  .step-card img,
  .step-image-container {
    width: 70px !important;
    height: 70px !important;
  }
}

@media (max-width: 480px) {
  .steps-grid {
    gap: 20px !important;
  }

  .step-card {
    padding: 10px 14px 10px 56px !important;
    min-height: 75px !important;
  }

  .step-card .step-number {
    left: 10px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }

  .step-card .gsap-step-line {
    left: 27px !important;
    height: calc(100% + 20px) !important;
  }

  .step-card h4 {
    font-size: 19px !important;
  }

  .step-card img,
  .step-image-container {
    width: 60px !important;
    height: 60px !important;
  }
}

/* Custom Fix for Testimonials Slider in Mobile View */
@media (max-width: 640px) {
  .testimonial-slider {
    position: relative !important;
    gap: 0 !important;
  }

  .testimonial-track-wrapper {
    width: 100% !important;
  }

  .testimonial-track {
    gap: 0 !important;
  }

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

  .slider-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    width: 38px !important;
    height: 38px !important;
  }

  .slider-prev {
    left: -8px !important;
  }

  .slider-next {
    right: -8px !important;
  }

  .testimonial-card {
    padding: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
  }

  .testimonial-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* Custom Override to ensure FAQ section padding is not overwritten by responsive queries */
.faq-section {
  padding-bottom: 105px !important;
}

@media (max-width: 768px) {
  .faq-section {
    padding-bottom: 20px !important;
  }
}