/**
 * 听琼说品牌官网样式表 V5
 * 配色：#2D5A4A(黛绿色) / #7A9E8E(茶青色) / #F9F8F6(暖灰色)
 * 风格：新中式 · 禅意 · 极简 · 高级感
 * V5 更新：Header Logo升级、导航字体放大、Hero大改、左对齐统一、成分2x2布局、创始人区块更新、产品中心扩充、深度视觉优化
 */

/* ========== CSS Variables ========== */
:root {
  /* 品牌色 V5 - 黛绿色系 */
  --color-brand: #2D5A4A;
  /* V30：手册/Logo 辅色（圆形 Logo 绿） */
  --color-brand-accent: #23ac38;
  --color-brand-light: #7A9E8E;
  --color-brand-hover: #234840;
  --color-text: #5A5A5A;
  --color-text-dark: #2C2C2C;
  
  /* 背景色 V5 - 米白色系 */
  --color-bg: #F7F5F2;
  --color-bg-white: #FFFFFF;
  --color-bg-dark: #1C2B26;
  --color-bg-footer: #141C19;
  
  /* 点缀色 V5 - 古铜金（谨慎使用） */
  --color-accent: #C4A35A;
  
  /* 字体 V5 */
  --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-en: 'Work Sans', sans-serif;
  --font-family: 'Work Sans', 'Noto Sans SC', sans-serif;
  
  /* 尺寸 V5 - 留白升级 */
  --header-height: 70px;
  --container: 1200px;
  --section-py: 100px;
  --section-py-md: 120px;
  
  /* 动态配置 V7 - 可在 content_config.json 中修改 */
  --product-name-size: 15px;
  --product-long-name-size: 12px;
  --section-title-size: 32px;
  --body-text-size: 16px;
  /* 移动端底部快速导航高度（≤768px 时覆盖为 56px） */
  --mobile-tabbar-h: 0px;
}

/* ========== Reset ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.9;
  color: var(--color-text);
  background-color: #F9F8F6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 中文优先在词/意群边界换行，减少单字孤行与不当断词 */
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* V5 微纹理叠加 - 极淡纸张质感 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========== Container ========== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ========== Typography V5 - 字体升级 ========== */
.text-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.text-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.3;
  color: var(--color-text-dark);
}

.text-subtitle {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  letter-spacing: 0.15em;
}

.text-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
}

/* ========== Header V5 - Logo图片 + 字体放大 ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* V5 更新：导航右移，更贴近右侧边缘 */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

/* Logo区域 V5 - 使用logo.png图片 */
.header .logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  position: relative;
  cursor: pointer;
}

.header .logo img,
.header .logo-img {
  height: 50px;
  width: auto;
  transition: filter 0.3s ease;
}

/* story.html 圆形logo滤镜 */
.header .logo-img {
  filter: brightness(0) saturate(100%) invert(18% 34% 29%);
}

/* 导航 V5 - 字体放大50%，间距增大右移 */
.nav {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-left: auto;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 17px;
  color: var(--color-text);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-brand);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link-en {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--color-brand-light);
}

/* 移动端菜单按钮（三横线 +「菜单」文案，便于辨认） */
.menu-toggle {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(45, 90, 74, 0.22);
  background: rgba(255, 255, 255, 0.9);
}

.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle-bars span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-brand);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.menu-toggle-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-brand);
  letter-spacing: 0.08em;
  line-height: 1;
}

/* 侧边导航点 */
.dot-nav-container {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.dot-nav {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(122, 158, 142, 0.5);
  transition: all 0.3s ease;
}

.dot-nav:hover {
  transform: scale(1.5);
  background: var(--color-brand-light);
}

.dot-nav.active {
  background: var(--color-brand);
  transform: scale(1.2);
}

/* ========== Hero Section V5 - 大改版 ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F5F2 40%, #E8EFE8 100%);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

/* ========== Logo点击茶树动画 ========== */
/* Hero Logo 点击容器 */
.hero-logo-wrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* 生命树动画 - 屏幕正中央固定定位，使用logo_tree.png图片 */
.logo-tree {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 70vh;
  height: 70vh;
  background-image: url('./imgs/logo_tree.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  opacity: 0;
  z-index: 9999;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.2));
  transition: none;
}

.logo-tree.growing {
  /* 动画由 JS requestAnimationFrame 控制 */
}

/* ========== V5 Hero植物藤蔓V型滚动指示器 ========== */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

/* 背景柔和光晕 */
.vine-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 100px;
  background: radial-gradient(ellipse at center, rgba(74, 158, 107, 0.06) 0%, transparent 70%);
  animation: glowBreathe 3s ease-in-out infinite;
}

/* SVG主体 */
.vine-scroll {
  width: 60px;
  height: 75px;
  overflow: visible;
  filter: drop-shadow(0 0 6px rgba(74, 158, 107, 0.4));
}

/* 藤蔓路径 */
.vine {
  fill: none;
  stroke: url(#vineGrad);
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  opacity: 0.5;
  animation: vineDraw 2.5s ease-out forwards, vinePulse 3s ease-in-out 2.5s infinite;
}

.vine-left {
  animation-delay: 0s, 2.5s;
}

.vine-right {
  animation-delay: 0.3s, 2.5s;
}

/* 小叶片光点 */
.vine-leaf {
  fill: #5BB07D;
  opacity: 0;
  animation: leafAppear 0.8s ease-out forwards, leafPulse 3s ease-in-out 2.5s infinite;
}

.vine-leaf-l1 { animation-delay: 0.8s, 2.5s; }
.vine-leaf-l2 { animation-delay: 1.0s, 2.5s; }
.vine-leaf-r1 { animation-delay: 1.1s, 2.5s; }
.vine-leaf-r2 { animation-delay: 1.3s, 2.5s; }

/* 底部交汇节点 */
.vine-node {
  fill: #4A9E6B;
  opacity: 0;
  animation: nodeAppear 0.5s ease-out 1.6s forwards, nodeGlow 3s ease-in-out 2.5s infinite;
}

/* 向上飘散光粒 */
.particle {
  fill: #7DC9A0;
  opacity: 0;
}

.p1 { animation: particleFloat 3s ease-in-out 2s infinite; }
.p2 { animation: particleFloat 3.5s ease-in-out 2.3s infinite; }
.p3 { animation: particleFloat 2.8s ease-in-out 1.8s infinite; }
.p4 { animation: particleFloat 3.2s ease-in-out 2.6s infinite; }

/* 文字提示 */
.scroll-hint {
  font-family: var(--font-serif);
  font-size: 20px;
  color: rgba(45, 90, 74, 0.5);
  letter-spacing: 3px;
  margin-top: 8px;
  animation: hintFade 3s ease-in-out 3s infinite;
}

/* ===== 动画关键帧 ===== */

/* 藤蔓绘制动画 */
@keyframes vineDraw {
  0% { stroke-dashoffset: 120; opacity: 0; }
  10% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

/* 藤蔓持续呼吸 */
@keyframes vinePulse {
  0%, 100% { stroke-width: 1.8; opacity: 0.75; }
  50% { stroke-width: 2.2; opacity: 1; }
}

/* 叶片显现 */
@keyframes leafAppear {
  0% { opacity: 0; transform: scale(0); }
  100% { opacity: 1; transform: scale(1); }
}

/* 叶片呼吸 */
@keyframes leafPulse {
  0%, 100% { opacity: 0.8; r: 2.5; }
  50% { opacity: 1; r: 3; }
}

/* 节点发光 */
@keyframes nodeAppear {
  0% { opacity: 0; r: 1; }
  100% { opacity: 1; r: 3; }
}

@keyframes nodeGlow {
  0%, 100% { opacity: 0.8; filter: drop-shadow(0 0 3px rgba(74, 158, 107, 0.6)); }
  50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(74, 158, 107, 1)); }
}

/* 光粒飘散 */
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0); }
  20% { opacity: 0.8; }
  80% { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-25px); }
}

/* 提示文字淡入淡出 */
@keyframes hintFade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* 光晕呼吸 */
@keyframes glowBreathe {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* ========== Hero slogan位置微调 ========== */
.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 120px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* V5 Hero 圆形Logo */
.hero-logo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 8px rgba(45, 90, 74, 0.06),
    0 0 0 20px rgba(45, 90, 74, 0.04),
    0 0 0 40px rgba(45, 90, 74, 0.02),
    0 8px 40px rgba(45, 90, 74, 0.15);
  margin-bottom: 32px;
  animation: logoBreathe 3s ease-in-out infinite;
}

@keyframes logoBreathe {
  0%, 100% {
    box-shadow:
      0 0 0 8px rgba(45, 90, 74, 0.06),
      0 0 0 20px rgba(45, 90, 74, 0.04),
      0 0 0 40px rgba(45, 90, 74, 0.02),
      0 8px 40px rgba(45, 90, 74, 0.15);
  }
  50% {
    box-shadow:
      0 0 0 12px rgba(45, 90, 74, 0.10),
      0 0 0 28px rgba(45, 90, 74, 0.07),
      0 0 0 52px rgba(45, 90, 74, 0.04),
      0 8px 50px rgba(45, 90, 74, 0.22);
  }
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.65;
  max-width: min(22em, 92vw);
  text-wrap: balance;
}

.hero-subtitle-en {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-brand-light);
  letter-spacing: 0.08em;
  line-height: 1.55;
  max-width: min(36em, 94vw);
  text-wrap: balance;
}

/* 装饰元素 */
.hero-decoration {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(122, 158, 142, 0.2);
  border-radius: 50%;
  top: 20%;
  right: -100px;
}

.hero-decoration-2 {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(122, 158, 142, 0.15);
  border-radius: 50%;
  bottom: 15%;
  left: -50px;
}

/* ========== Section通用 V5 - 留白升级 ========== */
.section {
  padding: var(--section-py) 0;
}

.section-header {
  text-align: left;
  margin-bottom: 80px;
}

.section-header .text-label {
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, var(--section-title-size));
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 12px;
  font-family: var(--font-serif);
  line-height: 1.35;
  text-wrap: balance;
}

.section-title-en {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-brand-light);
  letter-spacing: 0.1em;
  line-height: 1.75;
  text-wrap: balance;
}

/* ========== Brand Story V5 ========== */
.story {
  background: var(--color-bg-white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

/* 首页品牌故事模块 - 文字排版对齐产品中心 */
#story .story-content .section-title {
  font-size: clamp(28px, 4vw, var(--section-title-size));
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 12px;
  font-family: var(--font-serif);
  line-height: 1.35;
  text-wrap: balance;
}

#story .story-content .section-title-en {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-brand-light);
  letter-spacing: 0.1em;
  line-height: 1.75;
  text-wrap: balance;
  margin-bottom: 40px;
}

/* 仅首页 #story 双栏内的品牌故事文案区（与 story.html 长文 .story-list .story-content 区分） */
#story .story-content {
  max-width: 560px;
  text-align: start;
  line-height: 1.9;
  font-size: var(--body-text-size);
  font-weight: 400;
  color: var(--color-text);
}

#story .story-content .text-label {
  margin-bottom: 24px;
}

.story-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin-bottom: 32px;
  font-family: var(--font-serif);
  text-align: left;
}

/* 故事章节副标题/引言 */
.story-intro {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--color-brand);
  margin-bottom: 24px;
  font-weight: 400;
  text-align: left;
  position: relative;
  padding-left: 16px;
  line-height: 1.6;
}

.story-intro::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 2px;
  background: var(--color-brand);
  opacity: 0.4;
}

#story .story-content > p.story-text {
  font-size: var(--body-text-size);
  font-weight: 400;
  color: var(--color-text);
  line-height: 2;
  text-align: start;
}

.story-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-logo .story-lines {
  width: 160px;
  height: auto;
  opacity: 0.8;
}

.story-logo img {
  max-width: 280px;
  width: 100%;
}

/* ========== V5：创始人说区块 ========== */
.founder {
  background: var(--color-bg);
}

.founder-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.founder-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* V5 创始人真实照片 - 圆形 */
.founder-image img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(45, 90, 74, 0.12);
  image-rendering: -webkit-optimize-contrast;
}

.founder-placeholder {
  text-align: center;
  color: var(--color-brand-light);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.8;
}

.founder-text {
  max-width: 520px;
  text-align: left;
}

.founder-text .text-label {
  margin-bottom: 24px;
}

.founder-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 32px;
  line-height: 1.6;
  text-align: left;
}

.founder-text p {
  font-size: var(--body-text-size);
  font-weight: 400;
  color: var(--color-text);
  line-height: 2;
  margin-bottom: 20px;
  text-align: start;
}

.founder-text p:last-child {
  margin-bottom: 0;
}

/* ========== Philosophy V5 - 文字左对齐 ========== */
.philosophy {
  background: var(--color-bg-white);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.philosophy-card {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 56px 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.philosophy-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--color-brand);
}

.philosophy-card h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  font-family: var(--font-serif);
  text-align: left;
}

.philosophy-card h4 {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 300;
  color: var(--color-brand-light);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  text-align: left;
}

.philosophy-card p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.8;
  text-align: left;
}

/* ========== Product Showcase V5 ========== */
.products-section {
  background: var(--color-bg-white);
}

/* V5 产品分类展示 */
.product-category {
  margin-bottom: 80px;
}

.product-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-family: var(--font-serif);
  text-align: left;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.product-card {
  background: var(--color-bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* 产品卡片图片区域 - 固定高度，同行等高时文字区 flex 铺底不漏白 */
.products-grid .product-card .product-image {
  flex-shrink: 0;
  height: 220px;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.products-grid .product-card .product-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(245, 240, 232, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

.products-grid .product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.products-grid .product-card:hover .product-image img {
  transform: scale(1.03);
}

.product-card .product-info {
  padding: 16px;
}

.product-placeholder {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.product-info {
  padding: 24px;
  text-align: left;
}

.product-name {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 4px;
  font-family: var(--font-serif);
  text-align: left;
}

.product-name-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 300;
  color: var(--color-brand-light);
  margin-bottom: 12px;
  text-align: left;
}

.product-effect {
  font-size: 12px;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.6;
  text-align: left;
}

.product-price {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-brand);
  text-align: left;
}

/* ========== Ingredients V5 - 2x2布局 ========== */
.ingredients {
  background: var(--color-bg-white);
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.ingredient-card {
  text-align: left;
  padding: 40px 24px;
  transition: all 0.3s ease;
}

.ingredient-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(45, 90, 74, 0.08);
}

.ingredient-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  background: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
}

.ingredient-card h4 {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  font-family: var(--font-serif);
  text-align: left;
}

.ingredient-card p {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.7;
  text-align: left;
}

.ingredient-method {
  font-size: 12px !important;
  color: var(--color-brand) !important;
  font-family: var(--font-en);
  letter-spacing: 0.05em;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(45, 90, 74, 0.12);
}


/* ========== Contact ========== */
.contact {
  background: var(--color-bg-dark);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 80px;
}

.contact-section h4 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  color: var(--color-brand-light);
}

.contact-brand h3 {
  font-size: 24px;
  font-weight: 200;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  font-family: var(--font-serif);
}

.contact-brand p {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.8;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  opacity: 0.8;
}

.contact-item i {
  color: var(--color-brand-light);
  font-size: 18px;
  width: 24px;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.contact-cta p {
  font-size: 14px;
  opacity: 0.7;
}

.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ========== Footer V30 多栏 ========== */
.footer {
  background: var(--color-bg-footer);
  padding: 56px 0 48px;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-shell {
  max-width: var(--container);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1.35fr;
  gap: 40px 32px;
  align-items: start;
}

.footer-brand {
  padding-right: 12px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}

.footer-brand-slogan {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-brand-line {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.footer-heading {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-brand-light);
  margin: 0 0 18px;
  line-height: 1.5;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.04em;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.95);
  padding-left: 4px;
}

.footer-aside .footer-legal {
  font-size: 12px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.48);
  margin: 0 0 20px;
}

.footer-contact-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 8px;
}

.footer-email-line {
  margin: 0 0 10px;
}

.footer-email {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(196, 163, 90, 0.45);
}

.footer-email:hover {
  color: var(--color-brand-light);
  text-decoration-color: var(--color-brand-light);
}

.footer-email-hint {
  font-size: 11px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.38);
  margin: 0;
}

.footer-divider {
  height: 1px;
  margin: 40px 0 28px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 20%,
    rgba(255, 255, 255, 0.12) 80%,
    transparent 100%
  );
}

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

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin: 0;
}

.footer .footer-icp {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer .footer-icp a {
  color: rgba(255, 255, 255, 0.58);
}

.footer .footer-icp a:hover {
  color: var(--color-brand-light);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    text-align: center;
  }

  .footer-logo-link {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .footer {
    padding: 44px 0 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .footer-links li {
    margin-bottom: 8px;
  }

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

/* ========== Products Page ========== */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F5F2 40%, #E8EFE8 100%);
  padding-top: var(--header-height);
  text-align: center;
}

.page-hero .container {
  text-align: left;
}

.page-hero .text-label {
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: var(--color-brand);
  margin-bottom: 16px;
  font-family: var(--font-serif);
  text-align: left;
}

.page-hero p {
  font-size: 16px;
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

/* story.html / products.html 页头：居中三层（略矮版，约为原 40vh / 大留白的一半） */
.story-page-hero.page-hero {
  /* 覆盖 .page-hero 的横向 flex，避免窄屏把标签/标题/导语挤成三列 */
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 28px;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
  text-align: center;
}

.story-page-hero .text-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #7a9e8e;
  margin-bottom: 8px;
}

/* 副页顶栏：中英标签分行，避免窄屏挤在一行难以辨认 */
.story-page-label {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35em 0.85em;
  text-transform: none;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  max-width: 100%;
}

.story-page-label-zh {
  font-size: 11px;
  font-weight: 500;
  color: #6a9080;
}

.story-page-label-en {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #7a9e8e;
  opacity: 0.95;
}

.story-page-hero h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(24px, 4.2vw, 34px);
  font-weight: 400;
  color: #2c2c2c;
  margin-bottom: 10px;
  text-align: center;
  line-height: 1.35;
  text-wrap: balance;
  width: 100%;
}

.story-page-hero .story-page-hero-lead {
  color: #5a5a5a;
  font-size: clamp(13px, 3.4vw, 15px);
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
  max-width: 34em;
  margin: 0 auto;
  text-wrap: pretty;
}

/* 产品索引页面标题左对齐 */
.products-index .section-header {
  text-align: left;
}

.products-index .section-header .text-label {
  margin-bottom: 12px;
}

.products-index .section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  font-family: var(--font-serif);
  text-align: left;
}

/* 首页 #story：仅当未来在 .story-content 内增加多段 <p> 时生效 */
#story .story-content > p:not(.story-text) {
  font-size: var(--body-text-size);
  font-weight: 400;
  line-height: 1.9;
  margin-bottom: 1.5em;
  text-align: start;
}

#story .story-content > p:last-child {
  margin-bottom: 0;
}

/* 产品详情区 */
.product-detail {
  padding: var(--section-py) 0;
  background: var(--color-bg-white);
}

.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  max-width: 1100px;
  margin: 0 auto;
}

.product-block:last-child {
  border-bottom: none;
}

.product-block.reverse {
  direction: rtl;
}

.product-block.reverse > * {
  direction: ltr;
}

.product-detail-image {
  background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.product-detail-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(245, 240, 232, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

.product-detail-image img {
  aspect-ratio: 4/5;
  max-width: 240px;
  width: 100%;
  object-fit: contain;
}

.product-placeholder-lg {
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.6;
}

.product-detail-content {
  text-align: left;
}

.product-detail-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  font-family: var(--font-serif);
  text-align: left;
}

.product-detail-content h3 {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-brand-light);
  margin-bottom: 20px;
  text-align: left;
}

.product-spec {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-bg);
  border-radius: 20px;
  font-size: 13px;
  color: var(--color-text);
  margin-bottom: 8px;
}

.product-spec-price {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-brand);
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  margin-left: 8px;
}

.product-detail-content .product-effect {
  font-size: 15px;
  margin: 24px 0;
  padding: 20px;
  background: var(--color-bg);
  border-radius: 8px;
  line-height: 1.8;
  text-align: left;
}

.product-highlights {
  margin: 24px 0;
}

.product-highlights h4 {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 12px;
  font-family: var(--font-serif);
  text-align: left;
}

.highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--color-bg);
  border-radius: 4px;
  font-size: 12px;
  color: var(--color-text);
}

.highlight-tag i {
  color: var(--color-brand);
  font-size: 14px;
}

.product-qa {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.product-qa h4 {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 16px;
  font-family: var(--font-serif);
  text-align: left;
}

.qa-item {
  margin-bottom: 12px;
}

.qa-q {
  font-size: 13px;
  color: var(--color-brand);
  margin-bottom: 4px;
  text-align: left;
}

.qa-a {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.7;
  text-align: left;
}

/* ========== Products Index Grid ========== */
.products-index {
  padding: var(--section-py) 0;
  background: var(--color-bg);
}

.products-index-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: stretch;
}

.products-index-card {
  background: var(--color-bg-white);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.products-index-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.products-index-card img {
  height: 120px;
  width: 100%;
  object-fit: cover;
}

.products-index-card h4 {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-dark);
  font-family: var(--font-serif);
  text-align: left;
}

/* ========== 返回顶部按钮 ========== */
.back-to-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 48px;
  height: 48px;
  background: var(--color-brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
  box-shadow: 0 4px 12px rgba(45, 90, 74, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-icon {
  display: block;
  flex-shrink: 0;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--color-brand-hover);
}

/* ========== Responsive V5 ========== */
@media (max-width: 1024px) {
  :root {
    --section-py: 100px;
  }
  
  .dot-nav-container {
    display: none;
  }
  
  .products-grid,
  .products-index-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .ingredients-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
  
  .story-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .story-logo {
    order: -1;
  }
  
  .founder-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .product-block {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .product-block.reverse {
    direction: ltr;
  }
  
  .product-detail-image {
    order: -1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 80px;
    --header-height: 60px;
    --mobile-tabbar-h: 60px;
  }

  body:has(.mobile-tabbar) {
    padding-bottom: calc(var(--mobile-tabbar-h) + env(safe-area-inset-bottom, 0px));
  }
  
  .container {
    padding: 0 24px;
  }
  
  .header-inner {
    padding: 0 24px;
  }
  
  /* V5 Logo响应式 */
  .header .logo img {
    height: 36px;
  }
  
  /* V5 导航字体响应式 */
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    font-size: 18px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active .menu-toggle-bars span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active .menu-toggle-bars span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .menu-toggle-bars span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* V5 Hero响应式 */
  .hero {
    padding: 80px 0 60px;
  }
  
  .hero-logo {
    width: 180px;
    height: 180px;
    margin-bottom: 24px;
    box-shadow:
      0 0 0 6px rgba(45, 90, 74, 0.06),
      0 0 0 16px rgba(45, 90, 74, 0.04),
      0 0 0 32px rgba(45, 90, 74, 0.02),
      0 8px 32px rgba(45, 90, 74, 0.15);
  }

  .hero-content {
    padding: 24px;
  }
  
  .products-grid,
  .products-index-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ingredients-grid {
    grid-template-columns: 1fr;
  }
  
  .ritual-steps {
    flex-direction: column;
    align-items: center;
  }
  
  .ritual-arrow {
    transform: rotate(90deg);
  }
  
  .product-detail-image {
    min-height: 240px;
    padding: 32px;
  }

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

  .hero-subtitle-en {
    font-size: 13px;
    padding: 0 14px;
  }

  .section-title,
  #story .story-content .section-title {
    line-height: 1.38;
    text-wrap: balance;
  }

  .founder-text p,
  #story .story-content > p.story-text {
    line-height: 1.82;
    text-wrap: pretty;
  }

  .story-page-hero.page-hero {
    padding-top: calc(var(--header-height) + 18px);
    padding-bottom: 26px;
  }

  .social-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .herb-philosophy .section-header h2 {
    letter-spacing: 0.1em;
  }

  .contact-us .section-intro {
    padding: 0 6px;
    line-height: 1.78;
  }

  .product-block {
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .philosophy-footer-quote {
    font-size: clamp(20px, 5.5vw, 28px);
    line-height: 1.45;
    padding: 0 12px;
  }

  .philosophy-footer-sub {
    padding: 0 12px;
    line-height: 1.75;
  }
  
  .back-to-top {
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
  }

  body:has(.mobile-tabbar) .back-to-top {
    bottom: calc(24px + var(--mobile-tabbar-h) + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .products-grid,
  .products-index-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-logo {
    width: 150px;
    height: 150px;
    box-shadow:
      0 0 0 5px rgba(45, 90, 74, 0.06),
      0 0 0 14px rgba(45, 90, 74, 0.04),
      0 0 0 28px rgba(45, 90, 74, 0.02),
      0 6px 28px rgba(45, 90, 74, 0.15);
  }
}


/* V5 更新：产品购买按钮样式 */
.product-detail-content {
  position: relative;
}
.product-price {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-brand);
  font-family: var(--font-serif);
  display: block;
  margin-bottom: 20px;
}
/* 货币符号已通过HTML提供，此处不再重复 */
.btn-buy {
  display: inline-block;
  padding: 10px 32px;
  background: var(--color-brand);
  color: #fff !important;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-buy:hover {
  background: var(--color-brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45, 90, 74, 0.2);
}


/* ========== V5 产品名字展示样式（首页产品卡片改造）========== */
.products-grid .product-card .product-name-display {
  flex: 1 1 auto;
  padding: 16px 20px;
  text-align: center;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #FDFCFB 0%, #F5F3F0 100%);
  border: 1px solid rgba(45, 90, 74, 0.08);
  border-radius: 0 0 8px 8px;
  transition: all 0.3s ease;
}

.products-grid .product-card:hover .product-name-display {
  border-color: rgba(45, 90, 74, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 90, 74, 0.1);
}

.product-name-display .product-name-zh {
  font-family: 'Noto Serif SC', serif;
  font-size: var(--product-name-size);
  font-weight: 500;
  color: #2C2C2C;
  margin-bottom: 4px;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

/* 单独缩小长产品名 */
.name-sm {
  font-size: var(--product-long-name-size) !important;
}

/* 随行体验装：第二行灰色标签，与主品名区分层次 */
.product-name-display .product-name-travel-suffix,
.products-index-name .name-zh-travel-suffix {
  color: #8f8f8f;
  font-weight: 400;
  font-size: inherit;
  letter-spacing: 0.06em;
}

.product-name-display .product-name-en {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: #7A9E8E;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 首页产品中心标题左对齐 */
#products .section-header {
  text-align: left;
}

/* ========== 故事页面增强设计 ========== */

/* 阅读进度条 */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-brand);
  z-index: 9999;
  transition: width 0.1s ease-out;
  opacity: 0.6;
}

/* 章节标记 */
.chapter-label {
  font-family: 'Noto Serif SC', serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-brand-light);
  letter-spacing: 0.3em;
  text-align: center;
  margin-bottom: 60px;
  opacity: 0.7;
}

/* 章节分隔线 */
.chapter-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 20px;
}

.chapter-divider-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 90, 74, 0.2), transparent);
}

.chapter-divider-text {
  font-family: 'Noto Serif SC', serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-brand-light);
  letter-spacing: 0.2em;
  white-space: nowrap;
  opacity: 0.6;
}

/* 故事区域 - 读小说沉浸感 */
.story-section {
  padding: 100px 0;
  border-bottom: none;
  background: var(--color-bg-white);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.story-section:nth-child(even) {
  background: var(--color-bg);
}

.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.story-section.reverse .story-block {
  direction: rtl;
}

.story-section.reverse .story-block > * {
  direction: ltr;
}

/* 故事图片 */
.story-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 8px 32px rgba(45, 90, 74, 0.08);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 故事文字区域 - 居中留白（仅 story.html 长文列表） */
.story-list .story-text {
  max-width: 640px;
  margin: 0 auto;
}

.story-category {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-brand-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.story-name {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 4px;
  line-height: 1.4;
  text-align: left;
}

.story-name-en {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--color-brand-light);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  text-align: left;
}

.story-divider {
  width: 40px;
  height: 2px;
  background: var(--color-brand);
  margin-bottom: 28px;
}

/* 故事正文 - 小说排版（仅 story.html） */
.story-list .story-content {
  max-width: 640px;
  margin: 0 auto 32px;
}

.story-list .story-content p {
  font-size: 16px;
  font-weight: 400;
  line-height: 2.2;
  color: var(--color-text);
  text-align: start;
  margin-bottom: 1.5em;
  text-indent: 2em;
}

.story-list .story-content p:first-child {
  text-indent: 0;
}

.story-list .story-content p:first-child::first-letter {
  font-size: 1.2em;
  font-weight: 500;
}

.story-list .story-link {
  display: inline-block;
  font-size: 14px;
  color: var(--color-brand);
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--color-brand);
  padding-bottom: 2px;
  transition: all 0.3s ease;
  max-width: 640px;
}

.story-list .story-link:hover {
  color: var(--color-brand-hover);
  border-color: var(--color-brand-hover);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .story-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .story-section.reverse .story-block {
    direction: ltr;
  }
  
  .story-section {
    padding: 60px 0;
  }
  
  .chapter-label {
    margin-bottom: 40px;
  }
  
  .story-list .story-content p {
    font-size: 15px;
    line-height: 2;
  }
}

/* ========== products.html顶部分类列表 - 纯文字样式 ========== */
.products-index-name {
  flex: 1 1 auto;
  padding: 32px 20px;
  text-align: center;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #FDFCFB 0%, #F5F3F0 100%);
  border: 1px solid rgba(45, 90, 74, 0.08);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.products-index-card:hover .products-index-name {
  border-color: rgba(45, 90, 74, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 90, 74, 0.1);
}

.products-index-name .name-zh {
  font-family: 'Noto Serif SC', serif;
  font-size: 16px;
  font-weight: 500;
  color: #2C2C2C;
  margin-bottom: 8px;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.products-index-name .name-en {
  font-family: 'Work Sans', sans-serif;
  font-size: 10px;
  font-weight: 300;
  color: #7A9E8E;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 产品详情页图片样式 */
.product-detail-image {
  background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.product-detail-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(245, 240, 232, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ========== 微信购买弹窗 ========== */
.wechat-popup {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.wechat-popup.is-open {
  display: flex;
}

.wechat-popup-inner {
  background: #fff;
  border-radius: 16px;
  padding: 40px 48px;
  text-align: center;
  max-width: 360px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  animation: slideUp 0.3s ease;
}

.wechat-popup-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.wechat-popup-inner h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  font-weight: 400;
}

.wechat-popup-sub {
  font-size: 14px;
  color: var(--color-brand-light);
  margin-bottom: 24px;
}

.wechat-qrcode {
  background: #f8f6f2;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.wechat-qrcode img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.wechat-qrcode-placeholder {
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  color: #999;
  background: #f0f0f0;
  border-radius: 8px;
  margin: 0 auto;
  padding: 16px;
  line-height: 1.6;
}

.wechat-popup-tip {
  font-size: 12px;
  color: #bbb;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}


/* ============================================================
 * V28 新增样式开始 - 板块优化
 * 版块：成分溯源、使用指南、草本哲学、联系我们
 * ============================================================ */

/**
 * 听琼说网站板块布局优化 - 整合版 V28
 * 整合：布局方案 + 创意交互 + 文案优化
 * 
 * 板块：成分溯源、使用指南、草本哲学、联系我们
 * 风格：新中式 · 禅意 · 极简 · 高级感
 * 配色：#2D5A4A(黛绿) / #7A9E8E(茶青) / #F9F8F6(暖灰)
 * 间距：8px基准系统
 * 图标：Material Icons
 */

/* ==================== 全局变量 ==================== */
:root {
  --color-brand: #2D5A4A;
  --color-brand-light: #7A9E8E;
  --color-brand-lighter: #A8C0B4;
  --color-bg: #F9F8F6;
  --color-bg-white: #FFFFFF;
  --color-text-dark: #333333;
  --color-text: #666666;
  --color-text-light: #999999;
  --color-accent: #C9A962;
  --font-serif: "Noto Serif SC", serif;
  --font-sans: "Noto Sans SC", sans-serif;
  --section-py: 100px;
}

/* ==================== 动画关键帧 ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ripple {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.6;
  }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

/* ==================== 01 成分溯源板块 ==================== */
.ingredients-origin {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, var(--color-bg-white) 0%, var(--color-bg) 50%, var(--color-bg-white) 100%);
  position: relative;
  overflow: hidden;
}

/* 背景装饰 */
.ingredients-origin::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(45, 90, 74, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 8s ease-in-out infinite;
  pointer-events: none;
}

.ingredients-origin::after {
  content: '🌿';
  position: absolute;
  top: 15%;
  right: 8%;
  font-size: 48px;
  opacity: 0.08;
  animation: floatGentle 6s ease-in-out infinite;
  pointer-events: none;
}

/* 板块头部 */
.ingredients-origin .section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.ingredients-origin .section-header h2 {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--color-brand);
  margin-bottom: 16px;
  letter-spacing: 0.15em;
}

.ingredients-origin .subtitle {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-brand-light);
  letter-spacing: 0.4em;
  margin-bottom: 24px;
}

.ingredients-origin .intro {
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--color-text);
  line-height: 2;
}

/* 分类导航 */
.ingredient-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.ingredient-categories button,
.ingredient-categories span {
  padding: 12px 28px;
  background: var(--color-bg-white);
  border: 1px solid rgba(45, 90, 74, 0.15);
  border-radius: 28px;
  font-size: 14px;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.ingredient-categories button:hover,
.ingredient-categories span:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.ingredient-categories button.active,
.ingredient-categories span.active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(45, 90, 74, 0.2);
}

/* 成分卡片网格 */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
  align-items: stretch;
}

/* 成分卡片 */
.ingredient-card {
  background: var(--color-bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

/* 涟漪效果 */
.ingredient-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(45, 90, 74, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  pointer-events: none;
}

.ingredient-card:hover::before {
  width: 300%;
  height: 300%;
}

.ingredient-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(45, 90, 74, 0.15);
}

.ingredient-card .card-header {
  flex-shrink: 0;
  height: 180px;
  background: linear-gradient(145deg, #E8EDE6 0%, #D4E0D8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ingredient-card .ingredient-icon {
  font-size: 56px;
  transition: transform 0.4s ease;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.ingredient-card:hover .ingredient-icon {
  transform: scale(1.1);
}

.ingredient-card .category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  font-size: 11px;
  color: var(--color-brand);
  letter-spacing: 0.05em;
}

.ingredient-card .card-body {
  flex: 1 1 auto;
  padding: 24px;
}

.ingredient-card .ingredient-name {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.ingredient-card .ingredient-name-en {
  font-size: 12px;
  color: var(--color-brand-light);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.ingredient-card .ingredient-brief {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ingredient-card .card-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px dashed rgba(45, 90, 74, 0.12);
  font-size: 13px;
  color: var(--color-brand-light);
  transition: all 0.3s ease;
}

.ingredient-card:hover .card-expand .material-icons {
  transform: translateY(3px);
}

/* 成分详情弹窗 */
.ingredient-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.ingredient-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ingredient-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: var(--color-bg-white);
  border-radius: 24px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.ingredient-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.ingredient-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(45, 90, 74, 0.08);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ingredient-modal .modal-close:hover {
  background: var(--color-brand);
  color: #fff;
}

.ingredient-modal .modal-content {
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px;
}

.ingredient-modal .modal-header {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(45, 90, 74, 0.1);
}

.ingredient-modal .modal-visual {
  width: 160px;
  height: 160px;
  background: linear-gradient(145deg, #E8EDE6 0%, #D4E0D8 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ingredient-modal .modal-icon {
  font-size: 72px;
}

.ingredient-modal .modal-info {
  flex: 1;
}

.ingredient-modal .modal-category {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-brand);
  color: #fff;
  font-size: 11px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.ingredient-modal .modal-name {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.ingredient-modal .modal-name-en {
  font-size: 16px;
  color: var(--color-brand-light);
  margin-bottom: 16px;
}

.ingredient-modal .modal-origin {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-brand);
  margin-bottom: 16px;
}

.ingredient-modal .modal-brief {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
}

.ingredient-modal .modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.ingredient-modal .modal-section {
  background: var(--color-bg);
  border-radius: 16px;
  padding: 24px;
}

.ingredient-modal .modal-section h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-brand);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(45, 90, 74, 0.1);
}

.ingredient-modal .feature-list {
  list-style: none;
}

.ingredient-modal .feature-list li {
  font-size: 14px;
  color: var(--color-text);
  padding: 8px 0;
  padding-left: 16px;
  position: relative;
}

.ingredient-modal .feature-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--color-brand-light);
}

.ingredient-modal .effects-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ingredient-modal .effect-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--color-bg-white);
  border-radius: 12px;
}

.ingredient-modal .effect-text {
  font-size: 15px;
  color: var(--color-brand);
  font-weight: 500;
  min-width: 80px;
}

.ingredient-modal .effect-desc {
  font-size: 14px;
  color: var(--color-text);
}

.ingredient-modal .modal-products {
  margin-bottom: 24px;
}

.ingredient-modal .modal-products h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-brand);
  margin-bottom: 16px;
}

.ingredient-modal .product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ingredient-modal .product-tag {
  padding: 10px 20px;
  background: var(--color-bg);
  border-radius: 24px;
  font-size: 14px;
  color: var(--color-text-dark);
  transition: all 0.3s ease;
}

.ingredient-modal .product-tag:hover {
  background: var(--color-brand);
  color: #fff;
}

.ingredient-modal .modal-poetry {
  text-align: center;
  padding: 32px;
  background: linear-gradient(145deg, var(--color-bg) 0%, var(--color-bg-white) 100%);
  border-radius: 16px;
  border: 1px dashed rgba(45, 90, 74, 0.15);
}

.ingredient-modal .modal-poetry p {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-brand);
  font-style: italic;
  line-height: 1.8;
}

/* ==================== 02 使用指南板块 - 季节护肤日历 ==================== */
.seasonal-calendar {
  padding: var(--section-py) 0;
  background: var(--color-bg-white);
}

.seasonal-calendar .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.seasonal-calendar .section-header h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  color: var(--color-brand);
  margin-bottom: 16px;
}

.seasonal-intro {
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.9;
}

/* 四季日历网格 */
.season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 季节卡片 */
.season-card {
  background: var(--color-bg);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.season-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(45, 90, 74, 0.12);
}

.season-card[data-season="spring"] .season-header {
  background: linear-gradient(145deg, #E8F0E8 0%, #D4E4D4 100%);
}

.season-card[data-season="summer"] .season-header {
  background: linear-gradient(145deg, #F5F0E8 0%, #EDE4D4 100%);
}

.season-card[data-season="autumn"] .season-header {
  background: linear-gradient(145deg, #F0E8E0 0%, #E4D8CC 100%);
}

.season-card[data-season="winter"] .season-header {
  background: linear-gradient(145deg, #E8ECF0 0%, #D4DCE4 100%);
}

.season-card .season-header {
  padding: 40px 24px;
  text-align: center;
}

.season-card .season-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.season-card .season-name {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.season-card .season-period {
  font-size: 13px;
  color: var(--color-text-light);
  letter-spacing: 0.1em;
}

.season-card .season-body {
  padding: 28px;
}

.season-card .season-theme {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-brand);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(45, 90, 74, 0.1);
}

.season-card .season-features {
  margin-bottom: 24px;
}

.season-card .season-features h4 {
  font-size: 12px;
  color: var(--color-brand-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.season-card .season-features ul {
  list-style: none;
}

.season-card .season-features li {
  font-size: 14px;
  color: var(--color-text);
  padding: 8px 0;
  padding-left: 16px;
  position: relative;
}

.season-card .season-features li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--color-brand-light);
}

.season-card .season-products {
  background: var(--color-bg-white);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.season-card .season-products h4 {
  font-size: 11px;
  color: var(--color-brand-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.season-card .season-products p {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--color-text-dark);
  line-height: 1.6;
}

/* ==================== 03 草本哲学板块 ==================== */
.herb-philosophy {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, var(--color-bg-white) 0%, var(--color-bg) 100%);
}

.herb-philosophy .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.herb-philosophy .section-header h2 {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--color-brand);
  margin-bottom: 16px;
  letter-spacing: 0.15em;
}

.herb-philosophy .section-subtitle {
  font-size: 18px;
  color: var(--color-brand-light);
  letter-spacing: 0.2em;
  margin-bottom: 32px;
}

.herb-philosophy .section-intro {
  max-width: 680px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--color-text);
  line-height: 2;
}

/* 哲学卡片网格 */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  align-items: stretch;
}

.philosophy-card {
  background: var(--color-bg-white);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(45, 90, 74, 0.1);
}

.philosophy-card .card-visual {
  flex-shrink: 0;
  height: 160px;
  background: linear-gradient(145deg, var(--color-brand) 0%, #3D5A4E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.philosophy-card .card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.philosophy-card .card-icon {
  font-size: 64px;
  z-index: 1;
}

.philosophy-card .card-body {
  flex: 1 1 auto;
  padding: 32px;
}

.philosophy-card .card-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.philosophy-card .card-tagline {
  font-size: 14px;
  color: var(--color-brand-light);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(45, 90, 74, 0.1);
}

.philosophy-card .card-quote {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--color-brand);
  font-style: italic;
  padding: 16px;
  background: var(--color-bg);
  border-radius: 12px;
  border-left: 3px solid var(--color-accent);
  line-height: 1.7;
}

/* 哲学结语 */
.philosophy-footer {
  text-align: center;
  margin-top: 100px;
  padding: 0 40px;
}

.philosophy-footer-icon {
  font-size: 72px;
  opacity: 0.5;
  margin-bottom: 32px;
}

.philosophy-footer-quote {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--color-brand);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.philosophy-footer-sub {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ==================== 04 联系我们板块 ==================== */
.contact-us {
  padding: var(--section-py) 0;
  background: var(--color-bg-white);
}

.contact-us .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.contact-us .section-header h2 {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--color-brand);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.contact-us .section-subtitle {
  font-size: 18px;
  color: var(--color-brand-light);
  letter-spacing: 0.3em;
  margin-bottom: 24px;
}

.contact-us .section-intro {
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.8;
}

/* ==================== 使用指南板块 - 与静候雅音排版一致 ==================== */
.ritual-guide {
  padding: var(--section-py) 0;
  background: var(--color-bg-white);
}

.ritual-guide .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.ritual-guide .section-header h2 {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--color-brand);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.ritual-guide .section-subtitle {
  font-size: 18px;
  color: var(--color-brand-light);
  letter-spacing: 0.3em;
  margin-bottom: 24px;
}

.ritual-guide .section-intro {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.ritual-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 8px;
  align-items: stretch;
}

.ritual-guide-card {
  background: var(--color-bg);
  border-radius: 16px;
  padding: 28px 26px 30px;
  border: 1px solid rgba(45, 90, 74, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  text-align: left;
}

.ritual-guide-card-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 22px);
  color: var(--color-text-dark);
  margin: 0 0 16px;
  letter-spacing: 0.06em;
}

.ritual-guide-card-lead {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
}

.ritual-guide-sequence {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--color-brand);
  font-weight: 500;
  line-height: 1.75;
  padding: 12px 14px;
  background: rgba(45, 90, 74, 0.06);
  border-radius: 10px;
  border-left: 3px solid var(--color-accent);
}

.ritual-guide-card-text {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.85;
}

.ritual-guide-card-text:last-of-type {
  margin-bottom: 0;
}

.ritual-guide-card-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.75;
}

.ritual-guide-footnote {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 0 24px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .ritual-guide-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

/* 联系方式网格 */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 600px;
  margin: 0 auto 80px;
  padding: 0 40px;
}

.contact-method {
  background: var(--color-bg);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
  min-width: 300px;
}

.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45, 90, 74, 0.08);
}

.contact-method .method-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.contact-method h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.contact-method .method-value {
  font-size: 18px;
  color: var(--color-brand);
  font-weight: 500;
  margin-bottom: 8px;
}

.contact-method .method-note {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.contact-method .method-desc {
  font-size: 13px;
  color: var(--color-text);
}

/* 社交媒体 */
.social-section {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 40px;
}

.social-section h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.social-intro {
  font-size: 15px;
  color: var(--color-text-light);
  margin: 0 auto 22px;
  line-height: 1.75;
  max-width: 36em;
}

.social-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-light);
  margin: 0 auto 14px;
  letter-spacing: 0.04em;
}

.social-scroll-hint::before {
  content: '↔';
  font-size: 15px;
  line-height: 1;
  opacity: 0.55;
  animation: socialScrollHintNudge 1.5s ease-in-out infinite;
}

@keyframes socialScrollHintNudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-scroll-hint::before {
    animation: none;
  }
}

.social-icons-outer {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

/* 窄屏下提示可横向滑动；右侧淡入暗示还有更多内容 */
@media (max-width: 1200px) {
  .social-scroll-hint {
    display: flex;
  }

  .social-icons-outer::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 12px;
    width: 44px;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(to left, var(--color-bg-white), rgba(255, 255, 255, 0));
  }
}

.social-icons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  max-width: 100%;
  margin: 0 auto;
  padding: 8px 4px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 32px;
  background: var(--color-bg);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 120px;
}

.social-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(45, 90, 74, 0.1);
  background: var(--color-brand);
}

.social-item:hover .social-name,
.social-item:hover .social-account {
  color: #fff;
}

.social-item .social-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.social-item .social-name {
  font-size: 14px;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.social-item .social-account {
  font-size: 12px;
  color: var(--color-text-light);
}

/* 关注我们 - 单行六卡 */
.social-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  height: clamp(210px, 26vw, 300px);
  width: auto;
  max-width: min(200px, 15.5vw);
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.social-card:hover {
  transform: translateY(-6px);
}

/* 响应式适配 */
@media (max-width: 1200px) {
  .social-card {
    max-width: min(190px, 17vw);
    height: clamp(200px, 30vw, 280px);
  }
}

@media (max-width: 768px) {
  .social-icons {
    gap: 10px;
    justify-content: flex-start;
    padding-left: 8px;
    padding-right: 8px;
  }

  .social-card {
    max-width: 168px;
    height: clamp(190px, 42vw, 260px);
  }
}
/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
  .ingredients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .season-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 60px;
  }
  
  .ingredients-origin .section-header h2,
  .herb-philosophy .section-header h2,
  .contact-us .section-header h2 {
    font-size: 36px;
  }
  
  .ingredients-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
    gap: 20px;
  }
  
  .season-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  
  .philosophy-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  
  .ingredient-modal .modal-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .ingredient-modal .modal-body {
    grid-template-columns: 1fr;
  }
  
  .ingredient-modal .modal-content {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .ingredients-grid {
    grid-template-columns: 1fr;
  }
  
  .ingredient-categories {
    gap: 8px;
  }
  
  .ingredient-categories button,
  .ingredient-categories span {
    padding: 10px 18px;
    font-size: 13px;
  }
}


/* V28 新增样式结束 */

/* ========== 肤质指引 guide.html ========== */
.skin-guide-main {
  padding-bottom: var(--section-py);
}

.skin-guide-intro {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: var(--body-text-size);
  color: var(--color-text);
  line-height: 1.85;
}

.skin-guide-progress {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-brand-light);
  margin-bottom: 28px;
}

.skin-guide-q {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  color: var(--color-text-dark);
  text-align: center;
  margin-bottom: 12px;
}

.skin-guide-sub {
  text-align: center;
  color: var(--color-text);
  font-size: 14px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.skin-guide-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}

.skin-guide-step-nav {
  margin-top: 28px;
  padding-top: 8px;
  text-align: center;
}

.skin-guide-step-nav .skin-guide-btn {
  min-width: 160px;
}

.skin-guide-opt {
  display: block;
  width: 100%;
  padding: 16px 22px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text-dark);
  background: var(--color-bg-white);
  border: 1px solid rgba(45, 90, 74, 0.18);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.skin-guide-opt:hover {
  border-color: var(--color-brand);
  box-shadow: 0 6px 20px rgba(45, 90, 74, 0.1);
  transform: translateY(-1px);
}

.skin-guide-disclaimer {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 20px 24px;
  background: rgba(45, 90, 74, 0.06);
  border-radius: 12px;
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.75;
}

.skin-guide-disclaimer strong {
  color: var(--color-brand);
  font-weight: 500;
}

.skin-guide-result {
  max-width: 640px;
  margin: 0 auto;
}

.skin-guide-done #skin-guide-panel {
  min-height: 0;
}

.skin-guide-result-card {
  padding: 32px 28px;
  background: var(--color-bg-white);
  border-radius: 16px;
  border: 1px solid rgba(45, 90, 74, 0.12);
  box-shadow: 0 8px 32px rgba(45, 90, 74, 0.08);
}

.skin-guide-result-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  color: var(--color-text-dark);
  margin-bottom: 16px;
  text-align: center;
}

.skin-guide-result-sum {
  font-size: var(--body-text-size);
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 16px;
  text-align: start;
}

.skin-guide-result-note {
  font-size: 13px;
  color: var(--color-brand-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.skin-guide-result-links {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.skin-guide-result-links li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.skin-guide-result-links a {
  display: block;
  padding: 14px 4px;
  color: var(--color-brand);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.skin-guide-result-links a:hover {
  color: var(--color-brand-hover);
}

.skin-guide-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.skin-guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 28px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.skin-guide-btn.primary {
  background: var(--color-brand);
  color: #fff;
}

.skin-guide-btn.primary:hover {
  background: var(--color-brand-hover);
}

.skin-guide-btn.ghost {
  background: transparent;
  color: var(--color-brand);
  border: 1px solid rgba(45, 90, 74, 0.35);
}

.skin-guide-btn.ghost:hover {
  border-color: var(--color-brand);
}

.skin-guide-error {
  text-align: center;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .skin-guide-result-card {
    padding: 24px 18px;
  }
}

/* ========== 404 品牌页 ========== */
.page-404-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-404-main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 80px;
  position: relative;
}

.page-404-main::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% 20%, rgba(45, 90, 74, 0.09) 0%, transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(196, 163, 90, 0.08) 0%, transparent 45%);
}

.page-404-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 40px 44px;
  text-align: center;
  background: var(--color-bg-white);
  border-radius: 24px;
  border: 1px solid rgba(45, 90, 74, 0.12);
  box-shadow:
    0 4px 24px rgba(45, 90, 74, 0.06),
    0 24px 64px rgba(45, 90, 74, 0.08);
  overflow: hidden;
}

.page-404-watermark {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(140px, 36vw, 220px);
  font-weight: 400;
  color: var(--color-brand);
  opacity: 0.06;
  line-height: 1;
  letter-spacing: -0.02em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.page-404-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-brand) 0%,
    var(--color-brand-light) 45%,
    var(--color-accent) 100%
  );
}

.page-404-label {
  position: relative;
  margin-bottom: 20px;
  color: var(--color-brand-light);
}

.page-404-title {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 500;
  color: var(--color-text-dark);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  line-height: 1.45;
}

.page-404-lead {
  position: relative;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.95;
  margin-bottom: 28px;
}

.page-404-hint {
  position: relative;
  font-size: 13px;
  color: var(--color-brand-light);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.page-404-code {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 6px;
  background: rgba(45, 90, 74, 0.08);
  color: var(--color-brand);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.page-404-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 480px) {
  .page-404-card {
    padding: 36px 24px 32px;
  }

  .page-404-actions {
    flex-direction: column;
    width: 100%;
  }

  .page-404-actions .skin-guide-btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ========== 关注我们：横向滚动分页圆点 ========== */
.social-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 0 16px;
}

@media (max-width: 1200px) {
  .social-dots {
    display: flex;
  }
}

.social-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  flex-shrink: 0;
  background: rgba(45, 90, 74, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-dot[aria-current='true'] {
  background: var(--color-brand);
  transform: scale(1.2);
}

/* ========== 手机端底部快速导航（仅小屏显示）========== */
.mobile-tabbar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-tabbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;
    height: calc(var(--mobile-tabbar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(45, 90, 74, 0.12);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: stretch;
    justify-content: space-around;
  }

  .mobile-tabbar__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    min-height: 48px;
    min-width: 0;
    font-size: 10px;
    font-weight: 500;
    color: var(--color-text-light);
    text-decoration: none;
    letter-spacing: 0.02em;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-tabbar__item .material-icons {
    font-size: 20px;
    color: var(--color-brand-light);
  }

  .mobile-tabbar__item.is-active {
    color: var(--color-brand);
  }

  .mobile-tabbar__item.is-active .material-icons {
    color: var(--color-brand);
  }
}
