:root {
  --dark-green: #257850;
  --soft-mint: #C1FBDF;
  --secondary-green: #6CC399;
  --white: #FFFFFF;
  --gray-text: #9D9D9D;
  --black: #000000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Bellefair', serif;
  background: #fff;
  color: var(--black);
  overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
  background-color: transparent;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  width: 100%;
  height: 80px;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.navbar.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.navbar-container {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 50px;
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 70px;
  width: auto;
  display: block;
  transform: scale(1.2);
  transform-origin: left center;
}

.navbar-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 60px;
  list-style: none;
  margin: 0;
  padding: 0;
}

:root {
  --accent-mint: #5BC299;
}

.nav-link {
  text-decoration: none;
}

.nav-custom-font .nav-link {
  font-family: 'Abhaya Libre', serif;
  font-weight: 800;
  font-size: 18px;
  color: black !important;
  transition: all 0.3s ease;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration: transparent underline;
}

.nav-custom-font .nav-link:hover,
.nav-custom-font .nav-link.active {
  color: var(--accent-mint) !important;
  text-decoration: underline;
  text-decoration-color: var(--accent-mint);
}

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--dark-green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(108, 195, 153, 0.18) 0%, transparent 60%);
}

.hero-content {
  text-align: center;
  max-width: 1000px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Belanosima', sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 56px;
  font-weight: 600;
}

.hero p {
  font-family: 'Abhaya Libre', serif;
  font-weight: 800;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: 1000px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Bellefair', serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* PRODUCT SECTION */
.product-section {
  padding: 72px 40px 72px 52px;
  border-bottom: 1px solid rgba(37, 120, 80, 0.07);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.product-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-grid {
  display: grid;
  grid-template-columns: 26% 1fr 300px;
  gap: 0 36px;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  align-items: stretch;
}

/* ---- LEFT: GALLERY ---- */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.main-image-wrap {
  flex: 1;
  min-height: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(37, 120, 80, 0.15);
  background: #f3faf6;
  position: relative;
}

.main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnails {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  height: 62px;
}

.thumb {
  flex: 1;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  background: #f3faf6;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.thumb.active {
  opacity: 1;
  box-shadow: 0 0 0 2.5px var(--dark-green);
}

.thumb:hover {
  opacity: 0.85;
}

/* ---- CENTER: INFO ---- */
.product-info {
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-name {
  font-family: 'Abhaya Libre', serif;
  font-weight: 800;
  font-size: clamp(26px, 2.8vw, 36px);
  color: var(--black);
  margin-bottom: 2px;
}

.product-subtitle {
  font-family: 'Bellefair', serif;
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 8px;
}

.divider {
  height: 1px;
  background: var(--secondary-green);
  opacity: 0.35;
  margin: auto 0;
}

.section-label {
  font-family: 'Abhaya Libre', serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--gray-text);
  margin-bottom: 6px;
}

.pills-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
  width: 100%;
}

.pill {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--soft-mint);
  color: var(--dark-green);
  border-radius: 999px;
  padding: 6px 4px;
  font-family: 'Bellefair', serif;
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
}

.efficacy-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.efficacy-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.efficacy-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--secondary-green);
  margin-top: 5px;
  flex-shrink: 0;
}

.efficacy-title {
  font-family: 'Abhaya Libre', serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--dark-green);
  margin-bottom: 2px;
}

.efficacy-desc {
  font-family: 'Bellefair', serif;
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.4;
}

.usage-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.usage-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.usage-icons {
  display: flex;
  gap: 8px;
}

.icon-circle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.usage-text {
  font-family: 'Bellefair', serif;
  font-size: 12px;
  color: #555;
  line-height: 1.4;
}

.feature-pills {
  display: flex;
  gap: 8px;
  margin-top: 0;
  padding-top: 8px;
  width: 100%;
}

.feature-pill {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--secondary-green);
  border-radius: 999px;
  padding: 6px 4px;
  font-family: 'Bellefair', serif;
  font-size: 11px;
  color: var(--dark-green);
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.2;
}

/* ---- RIGHT: PRICING ---- */
.pricing-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding-right: 0;
}

.price-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(37, 120, 80, 0.16);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.price-top {
  background: var(--dark-green);
  padding: 36px 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-label {
  font-family: 'Abhaya Libre', serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.price-value {
  font-family: 'Bellefair', serif;
  font-size: 52px;
  color: var(--white);
  font-weight: 600;
}

.price-body {
  background: var(--white);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.spec-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 160px;
  gap: 16px;
  font-family: 'Bellefair', serif;
  font-size: 16px;
  color: #a0a0a0;
}

.spec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111111;
  flex-shrink: 0;
}

.buy-btn {
  display: block;
  margin: 0 28px 28px;
  background: var(--soft-mint);
  color: var(--dark-green);
  border: none;
  border-radius: 999px;
  padding: 16px;
  font-family: 'Abhaya Libre', serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
  text-decoration: none;
  text-align: center;
}

.buy-btn:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

/* INGREDIENTS */
.ingredients-box {
  background: #f3fdf7;
  border-radius: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(108, 195, 153, 0.25);
  flex-shrink: 0;
}

.ing-label {
  font-family: 'Abhaya Libre', serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--gray-text);
  margin-bottom: 14px;
}

.ing-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ing-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  padding: 11px 14px;
  opacity: 0;
}

.ing-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ing-name {
  font-family: 'Bellefair', serif;
  font-size: 15px;
  color: #333;
}

/* PLACEHOLDER IMAGES */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bellefair', serif;
  font-size: 14px;
  color: var(--dark-green);
  background: linear-gradient(135deg, #e8f8f0 0%, #c1fbe0 100%);
  letter-spacing: 0.06em;
}

/* ANIMATIONS */
@keyframes ingredientPop {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-section.visible .ing-item {
  animation: ingredientPop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.product-section.visible .ing-item:nth-child(1) {
  animation-delay: 0.3s;
}

.product-section.visible .ing-item:nth-child(2) {
  animation-delay: 0.45s;
}

.product-section.visible .ing-item:nth-child(3) {
  animation-delay: 0.6s;
}

/* FOOTER */
.footer-font {
  font-family: 'Belanosima';
  font-size: 12px;
}

.footer.bg-black {
  background-color: #000000 !important;
  padding: 45px;
}

.footer-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.custom-footer-layout {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-text {
  color: #888888;
  font-size: 0.8rem;
  line-height: 1.6;
  letter-spacing: 0.3px;
  font-family: 'Belanosima', sans-serif;
  margin-bottom: 0;
}

.footer-desc {
  margin-top: 15px;
}

.footer-text p {
  margin-bottom: 3px;
}

.text-right-align {
  text-align: right;
}

.footer-text .copyright {
  margin-top: 15px;
}

.footer-links {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #888888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.social-icons {
  margin-bottom: 15px;
  display: flex;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff !important;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
}

.social-btn i {
  font-size: 1.1rem;
}

.social-btn.wa {
  background-color: #25D366;
}

.social-btn.ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-btn.fb {
  background-color: #1877F2;
}

.social-icons {
  padding-top: 30px;
}


@media (max-width: 768px) {
  .custom-footer-layout {
    flex-direction: column;
  }

  .footer-right {
    align-items: flex-start;
    text-align: left;
    margin-top: 30px;
  }

  .text-right-align {
    text-align: left;
  }

  .footer.bg-black {
    padding: 30px 20px;
  }
}

/* ===== CHATBOT WIDGET STYLES ===== */

/* Floating Button */
#chatbot-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  overflow: hidden;
}

#chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.1);
}

#chatbot-toggle:active {
  transform: scale(0.96);
}

#chatbot-toggle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

#chatbot-toggle .bot-icon-fallback {
  font-size: 28px;
  line-height: 1;
}

/* Popup Container */
#chatbot-popup {
  position: fixed;
  bottom: 104px;
  right: 28px;
  width: 370px;
  max-height: 620px;
  background: #E6F3EB;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14), 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

#chatbot-popup.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Header */
.chat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 16px;
  background: #E6F3EB;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.chat-header-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex-shrink: 0;
}

.chat-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.chat-header-title {
  flex: 1;
  font-family: 'Belanosima', sans-serif;
  font-size: 1.25rem;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.chat-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ff6b6b;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: bold;
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.chat-close-btn:hover {
  background: #e05555;
  transform: scale(1.1);
}

/* Messages Area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

/* Message Bubbles */
.msg-row {
  display: flex;
  opacity: 0;
  transform: translateY(10px);
  animation: bubbleIn 0.35s ease forwards;
}

@keyframes bubbleIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.msg-row.bot {
  justify-content: flex-start;
}

.msg-row.user {
  justify-content: flex-end;
}

.bubble {
  font-family: 'Belanosima', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  padding: 13px 18px;
  border-radius: 18px;
  max-width: 80%;
  color: #000;
  white-space: pre-wrap;
  word-break: break-word;
}

.msg-row.bot .bubble {
  background: #ffffff;
  border-bottom-left-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.msg-row.user .bubble {
  background: #ffffff;
  border-bottom-right-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

/* Options Area */
.chat-options {
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  background: #E6F3EB;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.opt-btn {
  font-family: 'Belanosima', sans-serif;
  font-size: 0.9rem;
  color: #2b3a32;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  line-height: 1.5;
}

.opt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  background: #f4fcf7;
  border-color: #cce7d8;
}

.opt-btn:active {
  transform: translateY(0);
}

.opt-btn.back-btn {
  background: #FFE8E8;
  color: #D32F2F;
  text-align: center;
  border-radius: 50px;
  padding: 12px 28px;
  margin-top: 4px;
  border: none;
}

.opt-btn.back-btn:hover {
  background: #FFD4D4;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-grid .opt-btn {
  font-size: 0.8rem;
  padding: 10px 12px;
  text-align: center;
}

.faq-grid .opt-btn.full-width {
  grid-column: 1 / -1;
}

/* ===== Typing Indicator  ===== */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 16px 20px !important;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: #90a4ae;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typingBounce {

  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 480px) {
  #chatbot-popup {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 92px;
    max-height: 75vh;
  }

  #chatbot-toggle {
    bottom: 18px;
    right: 18px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid .opt-btn.full-width {
    grid-column: 1;
  }
}

/* =========================================
   (Mobile Responsive - Phone Size)
   ========================================= */
@media (max-width: 850px) {

  /* --- 1. 导航栏：Logo 左上角，汉堡菜单右上角 --- */
  .navbar-toggler {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 5px 10px !important;
    outline: none !important;
    box-shadow: none !important;
  }

  /* 1. 给图标加上丝滑的旋转过渡动画 */
  .navbar-toggler-icon {
    transition: transform 0.3s ease-in-out, background-image 0.3s ease-in-out;
  }

  /* ★ ★ 点击后弹出的小框 (悬浮在右上角) ★ ★ */
  .navbar-collapse {
    position: absolute;
    top: 65px;
    right: 5%;
    width: 150px;
    /* 限制宽度，变成精巧小框 */
    z-index: 1000;
    /* 注意：去除了这里的 background 和 padding，防止卡死收回动画 */
  }

  /* 防止 Bootstrap 原生的折叠动画在绝对定位下卡顿 */
  .navbar-collapse.collapsing {
    transition: none !important;
  }

  /* ★ ★ 真正的白色菜单框本体 ★ ★ */
  .navbar-nav {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center;
    margin: 0 !important;

    /* 核心修复：把白底、圆角、阴影和内边距移到这里 */
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 15px 0 !important;
  }

  nav {
    padding: 15px 20px;
  }

  nav .logo {
    font-size: 1.2rem;
  }

  nav .links {
    gap: 12px;
    font-size: 0.85rem;
  }

  .product-section {
    height: auto;
    min-height: 100vh;
    padding: 80px 20px 40px 20px;
    display: block;
  }

  .product-grid {
    grid-template-columns: 1fr;
    height: auto;
    gap: 36px;
  }

  .main-image-wrap {
    height: 320px;
    margin-bottom: 12px;
  }

  .thumbnails {
    height: 50px;
  }

  .pills-wrap,
  .feature-pills {
    flex-wrap: wrap;
  }

  .pill,
  .feature-pill {
    flex: 0 0 calc(50% - 4px);
    padding: 10px 4px;
  }

  .divider {
    margin: 20px 0;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero h1 {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .hero p {
    font-size: 16px;
  }
}

/* =========================================
   PRODUCT 首屏“眼前一亮”创新开场动画
   ========================================= */

/* 1. 绿幕背景：电影转场级的圆形镜头扩散展开 */
.hero {
  /* 利用 clip-path 裁切，初始状态缩小为一个点 */
  clip-path: circle(0% at 50% 50%);
  /* 运用极致平滑的贝塞尔曲线展开 */
  animation: heroUnveil 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes heroUnveil {
  0% {
    clip-path: circle(0% at 50% 50%);
  }

  100% {
    /* 150% 确保圆形扩张能够完全覆盖四个角落 */
    clip-path: circle(150% at 50% 50%);
  }
}

/* 2. 标题和段落：高级的“景深模糊 + 上浮” (Blur Reveal) */
.hero h1,
.hero p {
  opacity: 0;
  transform: translateY(50px);
  filter: blur(15px);
  /* 初始状态加入 15px 的高斯模糊 */
  animation: textBlurReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes textBlurReveal {
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    /* 归位时完全清晰 */
  }
}

/* 3. 精心安排的错落出场时间 */
.hero h1 {
  animation-delay: 0.4s;
  /* 等背景稍微展开一点后，大标题开始对焦 */
}

.hero p {
  animation-delay: 0.6s;
  /* 段落紧随其后 */
}

/* 4. 底部 SCROLL 文字：延迟淡入，并完美兼容你原本的上下跳动动画 */
.scroll-indicator {
  opacity: 0;
  /* 将淡入动画与原本的 scrollBounce 跳动动画无缝组合 */
  animation: fadeInScroll 1s ease forwards 1.2s, scrollBounce 2s ease-in-out infinite 1.2s;
}

@keyframes fadeInScroll {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.55;
  }

  /* 匹配你原本 css 中 0.55 的透明度 */
}