body {
  font-family: 'Anuphan', sans-serif;
  background: linear-gradient(180deg, #fffcf9 0%, #fcf4e7 100%);
  color: #1d2333;
  overflow-x: hidden;
}

.nav-blur {
  backdrop-filter: saturate(180%) blur(12px);
}

/* --- Scroll Animation Styles (In/Out Control) --- */
.reveal-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

/* สถานะเข้ามาในจอ (In) */
.reveal-element.active {
  opacity: 1;
  transform: translateY(0);
}

/* แอนิเมชันเลื่อนแบบสลับฝั่งซ้าย/ขวา */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* การหน่วงเวลาของ Item ที่เรียงกัน (Stagger Delay) */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

/* --- Continuous Floating Animations for Hero Pill Badges --- */
@keyframes badgeFloat1 {

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

  50% {
    transform: translateY(-7px) rotate(-1deg);
  }
}

@keyframes badgeFloat2 {

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

  50% {
    transform: translateY(-9px) rotate(1deg);
  }
}

@keyframes badgeFloat3 {

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

  50% {
    transform: translateY(-6px) rotate(-0.5deg);
  }
}

.animate-badge-1 {
  animation: badgeFloat1 3.8s ease-in-out infinite;
}

.animate-badge-2 {
  animation: badgeFloat2 4.4s ease-in-out infinite 0.5s;
}

.animate-badge-3 {
  animation: badgeFloat3 4.0s ease-in-out infinite 1s;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* --- Apple SF-Style Minimalist Icons --- */
.apple-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background-color: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #1e293b;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}

.apple-icon-box:hover,
.group:hover .apple-icon-box {
  background-color: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  transform: scale(1.04);
}

.apple-icon-box-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background-color: rgba(255, 247, 237, 0.9);
  border: 1px solid rgba(254, 215, 170, 0.7);
  color: #f97316;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-icon-box-accent:hover,
.group:hover .apple-icon-box-accent {
  background-color: #f97316;
  border-color: #f97316;
  color: #ffffff;
  transform: scale(1.04);
}

/* Lucide stroke standard (Apple SF Symbols style) */
[data-lucide],
.lucide {
  stroke-width: 1.75px;
  stroke: currentColor;
  fill: none;
}