/* ============================================================
   AI 茶语师 · 非遗风味解读 Web 平台 — 全局样式表
   设计风格：中国传统文化 + 现代科技感融合
   ============================================================ */

/* ---------------------------
   CSS 变量
   --------------------------- */
:root {
  --tea-dark: #2C1810;
  --tea-gold: #C8A96E;
  --tea-light: #F5F0E8;
  --tea-card: #FFFBF5;
  --tea-green: #4A7C59;
  --tea-brown: #8B6F47;
  --tea-red: #A0522D;
  --tea-cream: #FDF6EC;
  --shadow-soft: 0 4px 20px rgba(44, 24, 16, 0.08);
  --shadow-hover: 0 8px 30px rgba(44, 24, 16, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;

  /* 补充变量 */
  --nav-height: 70px;
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Noto Serif SC', 'SimSun', 'STSong', serif;
  --gold-gradient: linear-gradient(135deg, var(--tea-brown), var(--tea-gold));
}

/* ---------------------------
   1. 全局重置与基础
   --------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--tea-light);
  color: var(--tea-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* 选中文字颜色 */
::selection {
  background-color: rgba(200, 169, 110, 0.3);
  color: var(--tea-gold);
}

::-moz-selection {
  background-color: rgba(200, 169, 110, 0.3);
  color: var(--tea-gold);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul, ol {
  list-style: none;
}

input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ---------------------------
   13. 滚动条美化
   --------------------------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--tea-cream);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--tea-gold);
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--tea-brown);
}

/* Firefox 滚动条 */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--tea-gold) var(--tea-cream);
}

/* ---------------------------
   2. 导航栏
   --------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(255, 251, 245, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.15);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 251, 245, 0.95);
  box-shadow: var(--shadow-soft);
}

/* Logo 区域 */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--tea-gold);
  text-shadow: 0 1px 2px rgba(200, 169, 110, 0.2);
  white-space: nowrap;
}

.navbar-logo .logo-icon {
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.navbar-logo .logo-icon::before {
  content: '\2615';
  font-size: 1.3em;
}

.navbar-logo .logo-icon::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50% 0 50% 0;
  background: var(--tea-green);
  transform: rotate(45deg);
}

/* 导航链接 */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--tea-dark);
  padding: 4px 0;
  transition: var(--transition);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--tea-gold), var(--tea-brown));
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-links a:hover {
  color: var(--tea-gold);
}

.navbar-links a.active {
  color: var(--tea-gold);
  font-weight: 600;
}

.navbar-links a.active::after {
  width: 100%;
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tea-dark);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  transform-origin: center;
}

.hamburger span:nth-child(1) {
  transform: translateY(-7px);
}

.hamburger span:nth-child(3) {
  transform: translateY(7px);
}

/* 汉堡菜单激活态：三条线变 X */
.hamburger.active span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
  background: var(--tea-gold);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
  background: var(--tea-gold);
}

/* 移动端导航菜单 */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: rgba(255, 251, 245, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 40px 30px;
  border-bottom: 1px solid rgba(200, 169, 110, 0.2);
  box-shadow: var(--shadow-soft);
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 1.05rem;
  color: var(--tea-dark);
  border-bottom: 1px solid rgba(200, 169, 110, 0.1);
  transition: var(--transition);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--tea-gold);
  padding-left: 8px;
}

/* ---------------------------
   3. 首页 Hero
   --------------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  /* 深茶色到浅绿渐变，模拟茶山晨雾 */
  background: linear-gradient(
    170deg,
    #2C1810 0%,
    #3D2B1F 15%,
    #4A3728 30%,
    #5C4A38 45%,
    #5A6B52 65%,
    #6B8C6A 80%,
    #8AAD88 100%
  );
}

/* Hero 背景纹理叠加 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(200, 169, 110, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(74, 124, 89, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Hero 底部雾气效果 */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, rgba(245, 240, 232, 0.9), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* 大标题 */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--tea-cream);
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow:
    0 2px 10px rgba(200, 169, 110, 0.4),
    0 0 40px rgba(200, 169, 110, 0.15);
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
}

.hero-title .highlight {
  color: var(--tea-gold);
  text-shadow:
    0 2px 15px rgba(200, 169, 110, 0.6),
    0 0 60px rgba(200, 169, 110, 0.2);
}

/* 副标题：淡入动画 */
.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  color: rgba(253, 246, 236, 0.75);
  letter-spacing: 0.15em;
  line-height: 1.8;
  animation: fadeIn 1.2s ease-out 0.4s both;
}

/* Hero 按钮 */
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* 茶叶飘落容器 */
.hero-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* CSS 绘制茶叶 */
.leaf {
  position: absolute;
  width: 12px;
  height: 18px;
  border-radius: 0 80% 0 80%;
  background: linear-gradient(135deg, var(--tea-green), #6B8C6A);
  opacity: 0.5;
  animation: leaf-fall linear infinite;
}

.leaf:nth-child(1) {
  left: 10%;
  width: 10px;
  height: 15px;
  animation-duration: 12s;
  animation-delay: 0s;
  opacity: 0.4;
}

.leaf:nth-child(2) {
  left: 25%;
  width: 14px;
  height: 20px;
  animation-duration: 15s;
  animation-delay: 2s;
  opacity: 0.3;
  background: linear-gradient(135deg, #5A7A50, #8AAD88);
}

.leaf:nth-child(3) {
  left: 40%;
  width: 8px;
  height: 13px;
  animation-duration: 10s;
  animation-delay: 4s;
  opacity: 0.5;
}

.leaf:nth-child(4) {
  left: 55%;
  width: 11px;
  height: 17px;
  animation-duration: 14s;
  animation-delay: 1s;
  opacity: 0.35;
  background: linear-gradient(135deg, var(--tea-green), #5A7A50);
}

.leaf:nth-child(5) {
  left: 70%;
  width: 9px;
  height: 14px;
  animation-duration: 11s;
  animation-delay: 3s;
  opacity: 0.45;
}

.leaf:nth-child(6) {
  left: 85%;
  width: 13px;
  height: 19px;
  animation-duration: 16s;
  animation-delay: 5s;
  opacity: 0.3;
  background: linear-gradient(135deg, #6B8C6A, var(--tea-green));
}

.leaf:nth-child(7) {
  left: 15%;
  width: 7px;
  height: 11px;
  animation-duration: 9s;
  animation-delay: 6s;
  opacity: 0.4;
}

.leaf:nth-child(8) {
  left: 60%;
  width: 10px;
  height: 16px;
  animation-duration: 13s;
  animation-delay: 7s;
  opacity: 0.35;
}

/* 浮动粒子 */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(200, 169, 110, 0.4);
  animation: float linear infinite;
}

.particle:nth-child(1) { left: 15%; top: 20%; animation-duration: 8s; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; top: 50%; animation-duration: 10s; animation-delay: 1s; width: 3px; height: 3px; }
.particle:nth-child(3) { left: 50%; top: 30%; animation-duration: 7s; animation-delay: 2s; }
.particle:nth-child(4) { left: 70%; top: 60%; animation-duration: 9s; animation-delay: 3s; width: 5px; height: 5px; }
.particle:nth-child(5) { left: 85%; top: 40%; animation-duration: 11s; animation-delay: 0.5s; }
.particle:nth-child(6) { left: 45%; top: 70%; animation-duration: 8.5s; animation-delay: 4s; width: 3px; height: 3px; opacity: 0.3; }
.particle:nth-child(7) { left: 20%; top: 80%; animation-duration: 12s; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 75%; top: 15%; animation-duration: 9.5s; animation-delay: 1.5s; width: 2px; height: 2px; }

/* ---------------------------
   4. 卡片系统
   --------------------------- */
.card {
  background: var(--tea-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* 左侧金色竖线装饰 */
.card--gold-left::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: linear-gradient(to bottom, var(--tea-gold), var(--tea-brown));
  border-radius: 3px;
}

/* 顶部金色细线装饰 */
.card--gold-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tea-gold), transparent);
}

/* 卡片悬停效果 */
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* 卡片内容样式 */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--tea-dark);
}

.card-body {
  font-size: 0.95rem;
  color: #5A4A3F;
  line-height: 1.7;
}

.card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(200, 169, 110, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------------------
   5. 按钮系统
   --------------------------- */

/* 涟漪效果容器 */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition);
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

/* 涟漪效果 */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-effect 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 主按钮：渐变背景 */
.btn-primary {
  background: linear-gradient(135deg, var(--tea-brown), var(--tea-gold));
  color: #fff;
  box-shadow: 0 4px 15px rgba(200, 169, 110, 0.3);
}

.btn-primary:hover {
  box-shadow:
    0 6px 25px rgba(200, 169, 110, 0.45),
    0 0 20px rgba(200, 169, 110, 0.2);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(200, 169, 110, 0.3);
}

/* 次按钮：描边样式 */
.btn-secondary {
  background: transparent;
  color: var(--tea-gold);
  border: 2px solid var(--tea-gold);
}

.btn-secondary:hover {
  background: var(--tea-gold);
  color: #fff;
  box-shadow: 0 4px 15px rgba(200, 169, 110, 0.3);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* 文字按钮 */
.btn-text {
  background: transparent;
  color: var(--tea-gold);
  padding: 8px 16px;
}

.btn-text:hover {
  background: rgba(200, 169, 110, 0.1);
}

/* 小号按钮 */
.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 6px;
}

/* 大号按钮 */
.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* 按钮组 */
.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------------------------
   6. 品鉴翻译页
   --------------------------- */

/* 图片上传区 */
.upload-area {
  position: relative;
  border: 2px dashed rgba(200, 169, 110, 0.4);
  border-radius: var(--radius-md);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--tea-card);
}

.upload-area:hover {
  border-color: var(--tea-gold);
  background: rgba(200, 169, 110, 0.03);
}

.upload-area.drag-over {
  border-color: var(--tea-gold);
  background: rgba(200, 169, 110, 0.08);
  box-shadow: 0 0 0 4px rgba(200, 169, 110, 0.1);
  transform: scale(1.01);
}

.upload-area .upload-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: var(--tea-gold);
  opacity: 0.7;
}

.upload-area .upload-text {
  font-size: 0.95rem;
  color: var(--tea-brown);
}

.upload-area .upload-hint {
  font-size: 0.8rem;
  color: rgba(139, 111, 71, 0.5);
  margin-top: 8px;
}

/* 语音输入按钮 */
.voice-btn {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tea-green), #5A8A66);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(74, 124, 89, 0.3);
}

.voice-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(74, 124, 89, 0.45);
}

/* 语音输入脉冲动画（模拟录音中的呼吸灯） */
.voice-btn.recording {
  animation: pulse 1.5s ease-in-out infinite;
}

.voice-btn.recording::before,
.voice-btn.recording::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--tea-green);
  animation: pulse 1.5s ease-in-out infinite;
}

.voice-btn.recording::after {
  inset: -16px;
  animation-delay: 0.3s;
  border-color: rgba(74, 124, 89, 0.4);
}

/* 波形动画（CSS 绘制音频波形） */
.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 40px;
  padding: 0 12px;
}

.waveform-bar {
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(to top, var(--tea-green), var(--tea-gold));
  animation: waveform 1.2s ease-in-out infinite;
  transform-origin: bottom;
}

.waveform-bar:nth-child(1)  { height: 10px; animation-delay: 0s; }
.waveform-bar:nth-child(2)  { height: 18px; animation-delay: 0.1s; }
.waveform-bar:nth-child(3)  { height: 28px; animation-delay: 0.2s; }
.waveform-bar:nth-child(4)  { height: 36px; animation-delay: 0.3s; }
.waveform-bar:nth-child(5)  { height: 40px; animation-delay: 0.4s; }
.waveform-bar:nth-child(6)  { height: 36px; animation-delay: 0.5s; }
.waveform-bar:nth-child(7)  { height: 28px; animation-delay: 0.6s; }
.waveform-bar:nth-child(8)  { height: 18px; animation-delay: 0.7s; }
.waveform-bar:nth-child(9)  { height: 10px; animation-delay: 0.8s; }
.waveform-bar:nth-child(10) { height: 6px;  animation-delay: 0.9s; }

/* 风味雷达图容器 */
.radar-chart-container {
  width: 320px;
  height: 320px;
  margin: 0 auto;
  position: relative;
  background: var(--tea-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

/* 加载动画：茶叶旋转 loading */
.tea-loading {
  position: relative;
  width: 48px;
  height: 48px;
  margin: 20px auto;
}

.tea-loading::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid rgba(200, 169, 110, 0.15);
  border-top-color: var(--tea-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.tea-loading::after {
  content: '\2615';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--tea-gold);
  animation: spin 2s linear infinite reverse;
}

/* 通用加载覆盖层 */
.loading-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px;
}

.loading-text {
  font-size: 0.9rem;
  color: var(--tea-brown);
  animation: pulse 1.5s ease-in-out infinite;
}

/* Shimmer 加载态 */
.shimmer {
  background: linear-gradient(
    90deg,
    rgba(200, 169, 110, 0.05) 25%,
    rgba(200, 169, 110, 0.12) 50%,
    rgba(200, 169, 110, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ---------------------------
   7. 非遗溯源页
   --------------------------- */

/* 茶品横向滚动选择 */
.tea-scroll-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--tea-gold) var(--tea-cream);
}

.tea-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.tea-scroll-container::-webkit-scrollbar-track {
  background: var(--tea-cream);
  border-radius: 3px;
}

.tea-scroll-container::-webkit-scrollbar-thumb {
  background: var(--tea-gold);
  border-radius: 3px;
}

.tea-scroll-item {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: var(--tea-card);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 2px solid transparent;
}

.tea-scroll-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.tea-scroll-item.selected {
  border-color: var(--tea-gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15), var(--shadow-soft);
}

.tea-scroll-item .tea-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  object-fit: cover;
  border: 2px solid rgba(200, 169, 110, 0.2);
}

.tea-scroll-item .tea-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--tea-dark);
  margin-bottom: 4px;
}

.tea-scroll-item .tea-origin {
  font-size: 0.8rem;
  color: var(--tea-brown);
}

/* 工艺流程图 */
.process-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 120px;
  position: relative;
  cursor: pointer;
}

/* 步骤节点：圆形 */
.process-node {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--tea-card);
  border: 3px solid var(--tea-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
  transition: var(--transition);
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(200, 169, 110, 0.15);
}

.process-step:hover .process-node {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(200, 169, 110, 0.3);
  background: linear-gradient(135deg, var(--tea-cream), var(--tea-card));
}

.process-step.active .process-node {
  background: linear-gradient(135deg, var(--tea-brown), var(--tea-gold));
  color: #fff;
  border-color: var(--tea-gold);
  box-shadow: 0 4px 20px rgba(200, 169, 110, 0.4);
}

/* 步骤间连线 */
.process-connector {
  width: 60px;
  height: 3px;
  border-top: 3px dashed rgba(200, 169, 110, 0.3);
  margin-top: 30px;
  position: relative;
  flex-shrink: 0;
}

.process-connector::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 20px;
  height: 3px;
  background: var(--tea-gold);
  border-radius: 2px;
  animation: dash-flow 1.5s linear infinite;
}

/* 步骤点击时展开动画 */
.process-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
              opacity 0.4s ease,
              margin 0.4s ease;
  margin-top: 0;
  background: var(--tea-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 0 16px;
  width: 220px;
}

.process-step.active .process-detail {
  max-height: 300px;
  opacity: 1;
  margin-top: 12px;
  padding: 16px;
}

.process-detail-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--tea-dark);
  margin-bottom: 8px;
}

.process-detail-text {
  font-size: 0.85rem;
  color: var(--tea-brown);
  line-height: 1.7;
}

/* 时间轴 */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--tea-gold), rgba(200, 169, 110, 0.1));
}

.timeline-item {
  position: relative;
  padding-left: 50px;
  padding-bottom: 32px;
  animation: fadeInUp 0.5s ease-out both;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 13px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--tea-card);
  border: 3px solid var(--tea-gold);
  z-index: 1;
  transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
  background: var(--tea-gold);
  box-shadow: 0 0 0 4px rgba(200, 169, 110, 0.15);
}

.timeline-content {
  background: var(--tea-card);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-hover);
  transform: translateX(4px);
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tea-gold);
  margin-bottom: 6px;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--tea-dark);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--tea-brown);
  line-height: 1.6;
}

/* ---------------------------
   8. 内容生成页
   --------------------------- */

/* 输入面板 */
.form-panel {
  background: var(--tea-card);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tea-dark);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(200, 169, 110, 0.2);
  border-radius: var(--radius-sm);
  background: var(--tea-cream);
  color: var(--tea-dark);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--tea-gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.1);
  background: #fff;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(139, 111, 71, 0.4);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.7;
}

/* 风格选择器：标签式切换 */
.style-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.style-tab {
  padding: 8px 20px;
  border: 2px solid rgba(200, 169, 110, 0.25);
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--tea-brown);
  cursor: pointer;
  transition: var(--transition);
  background: var(--tea-card);
}

.style-tab:hover {
  border-color: var(--tea-gold);
  color: var(--tea-gold);
}

.style-tab.active {
  background: linear-gradient(135deg, var(--tea-brown), var(--tea-gold));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(200, 169, 110, 0.3);
}

/* 生成结果：卡片预览 */
.result-card {
  background: var(--tea-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

/* 模拟手机屏幕的预览框 */
.phone-preview {
  width: 375px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--tea-card);
  border-radius: 36px;
  box-shadow:
    0 4px 20px rgba(44, 24, 16, 0.1),
    0 20px 60px rgba(44, 24, 16, 0.08),
    inset 0 0 0 1px rgba(200, 169, 110, 0.15);
  padding: 48px 20px 32px;
  position: relative;
  overflow: hidden;
}

/* 手机顶部刘海 */
.phone-preview::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 6px;
  background: rgba(200, 169, 110, 0.2);
  border-radius: 3px;
}

.phone-preview-content {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--tea-dark);
}

/* 海报预览框 */
.poster-preview {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  background: var(--tea-card);
  border-radius: var(--radius-md);
  box-shadow:
    0 8px 30px rgba(44, 24, 16, 0.12),
    0 2px 8px rgba(44, 24, 16, 0.06);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(200, 169, 110, 0.15);
}

.poster-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------
   9. 导购工作台
   --------------------------- */
.workbench {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

/* 左侧边栏 */
.workbench-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--tea-dark) 0%, #1A0F09 100%);
  color: rgba(253, 246, 236, 0.8);
  padding: 24px 0;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
  transition: var(--transition);
}

.sidebar-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--tea-gold);
  padding: 0 20px 16px;
  border-bottom: 1px solid rgba(200, 169, 110, 0.1);
  margin-bottom: 12px;
}

/* 搜索框：带搜索图标 */
.sidebar-search {
  padding: 0 16px;
  margin-bottom: 16px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper::before {
  content: '\1F50D';
  position: absolute;
  left: 12px;
  font-size: 0.9rem;
  opacity: 0.5;
  pointer-events: none;
}

.sidebar-search input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 169, 110, 0.15);
  border-radius: var(--radius-sm);
  color: var(--tea-cream);
  font-size: 0.9rem;
  transition: var(--transition);
}

.sidebar-search input::placeholder {
  color: rgba(253, 246, 236, 0.35);
}

.sidebar-search input:focus {
  border-color: var(--tea-gold);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 2px rgba(200, 169, 110, 0.1);
}

/* 茶品列表项 */
.tea-list {
  padding: 0 10px;
}

.tea-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 2px;
}

.tea-list-item:hover {
  background: rgba(200, 169, 110, 0.08);
  color: var(--tea-cream);
}

.tea-list-item.selected {
  background: rgba(200, 169, 110, 0.12);
  border-left: 3px solid var(--tea-gold);
  color: var(--tea-gold);
}

.tea-list-item .item-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(200, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.tea-list-item.selected .item-icon {
  background: rgba(200, 169, 110, 0.2);
}

.tea-list-item .item-name {
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tea-list-item .item-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(200, 169, 110, 0.12);
  color: var(--tea-gold);
  white-space: nowrap;
}

/* 主内容区 */
.workbench-main {
  flex: 1;
  margin-left: 280px;
  padding: 28px;
  min-height: calc(100vh - var(--nav-height));
}

/* 信息卡片网格布局 */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* ---------------------------
   10. 动画系统
   --------------------------- */

/* 从下方淡入 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 淡入 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 从左滑入 */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 从右滑入 */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 脉冲效果 */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}

/* 浮动效果 */
@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.4;
  }
  25% {
    transform: translateY(-15px) translateX(8px);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-25px) translateX(-5px);
    opacity: 0.5;
  }
  75% {
    transform: translateY(-12px) translateX(10px);
    opacity: 0.6;
  }
}

/* 闪光效果（用于加载态） */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* 旋转（loading） */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 茶叶飘落 */
@keyframes leaf-fall {
  0% {
    top: -10%;
    transform: translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  50% {
    transform: translateX(60px) rotate(180deg);
    opacity: 0.4;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    top: 105%;
    transform: translateX(-40px) rotate(360deg);
    opacity: 0;
  }
}

/* 虚线流动 */
@keyframes dash-flow {
  0% {
    left: -20px;
  }
  100% {
    left: calc(100% + 20px);
  }
}

/* 波形动画 */
@keyframes waveform {
  0%, 100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

/* ---------------------------
   11. 响应式设计
   --------------------------- */

/* 平板断点：768px */
@media screen and (max-width: 768px) {
  /* 导航栏移动端 */
  .navbar {
    padding: 0 20px;
  }

  .navbar-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
    padding: 100px 20px 60px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    letter-spacing: 0.03em;
  }

  .hero-subtitle {
    font-size: clamp(0.85rem, 3vw, 1.1rem);
  }

  /* 品鉴页：左右布局变上下布局 */
  .tasting-layout {
    flex-direction: column !important;
  }

  .tasting-layout > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 导购工作台：侧边栏变顶栏 */
  .workbench {
    flex-direction: column;
  }

  .workbench-sidebar {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    max-height: 45vh;
    background: var(--tea-dark);
    border-bottom: 1px solid rgba(200, 169, 110, 0.1);
  }

  .workbench-main {
    margin-left: 0;
    padding: 20px 16px;
  }

  .info-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  /* 茶品选择卡片 */
  .tea-scroll-item {
    flex: 0 0 160px;
  }

  /* 工艺流程图 */
  .process-flow {
    flex-direction: column;
    align-items: center;
  }

  .process-connector {
    width: 3px;
    height: 40px;
    margin: 0;
    border-top: none;
    border-left: 3px dashed rgba(200, 169, 110, 0.3);
  }

  .process-connector::after {
    top: -20px;
    left: -3px;
    width: 3px;
    height: 20px;
  }

  .process-detail {
    width: 280px;
  }

  /* 手机预览框 */
  .phone-preview {
    width: 100%;
    border-radius: var(--radius-md);
    padding: 32px 16px 24px;
  }

  /* 海报预览 */
  .poster-preview {
    max-width: 100%;
  }

  /* 风味雷达图容器 */
  .radar-chart-container {
    width: 280px;
    height: 280px;
  }

  /* 时间轴 */
  .timeline::before {
    left: 12px;
  }

  .timeline-item {
    padding-left: 36px;
  }

  .timeline-dot {
    left: 5px;
  }

  /* 卡片 */
  .card {
    padding: 20px;
  }

  /* 表单面板 */
  .form-panel {
    padding: 20px;
  }
}

/* 手机断点：480px */
@media screen and (max-width: 480px) {
  :root {
    --nav-height: 60px;
  }

  .navbar {
    padding: 0 16px;
  }

  .navbar-logo {
    font-size: 1.15rem;
  }

  .hero {
    padding: 80px 16px 40px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 9vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 260px;
  }

  /* 按钮 */
  .btn {
    padding: 10px 22px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  /* 上传区域 */
  .upload-area {
    padding: 32px 16px;
  }

  /* 语音按钮 */
  .voice-btn {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }

  /* 波形缩小 */
  .waveform {
    height: 30px;
    gap: 2px;
  }

  .waveform-bar {
    width: 2px;
  }

  .waveform-bar:nth-child(1)  { height: 6px; }
  .waveform-bar:nth-child(2)  { height: 12px; }
  .waveform-bar:nth-child(3)  { height: 20px; }
  .waveform-bar:nth-child(4)  { height: 26px; }
  .waveform-bar:nth-child(5)  { height: 30px; }
  .waveform-bar:nth-child(6)  { height: 26px; }
  .waveform-bar:nth-child(7)  { height: 20px; }
  .waveform-bar:nth-child(8)  { height: 12px; }
  .waveform-bar:nth-child(9)  { height: 6px; }
  .waveform-bar:nth-child(10) { height: 4px; }

  /* 信息网格单列 */
  .info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 风格标签 */
  .style-tabs {
    gap: 6px;
  }

  .style-tab {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  /* 时间轴 */
  .timeline-item {
    padding-left: 32px;
    padding-bottom: 24px;
  }

  .timeline-dot {
    width: 12px;
    height: 12px;
    left: 7px;
  }

  /* 风味雷达图容器 */
  .radar-chart-container {
    width: 240px;
    height: 240px;
    padding: 16px;
  }

  /* 茶品滚动项 */
  .tea-scroll-item {
    flex: 0 0 140px;
    padding: 14px;
  }

  .tea-scroll-item .tea-img {
    width: 60px;
    height: 60px;
  }

  .tea-scroll-item .tea-name {
    font-size: 0.9rem;
  }
}

/* ---------------------------
   12. 工具类
   --------------------------- */

/* 文字颜色 */
.text-gold {
  color: var(--tea-gold) !important;
}

.text-green {
  color: var(--tea-green) !important;
}

.text-brown {
  color: var(--tea-brown) !important;
}

.text-dark {
  color: var(--tea-dark) !important;
}

.text-cream {
  color: var(--tea-cream) !important;
}

/* 背景颜色 */
.bg-tea-light {
  background-color: var(--tea-light) !important;
}

.bg-tea-card {
  background-color: var(--tea-card) !important;
}

.bg-tea-cream {
  background-color: var(--tea-cream) !important;
}

.bg-tea-dark {
  background-color: var(--tea-dark) !important;
}

/* 统一标题样式（Noto Serif SC，带装饰线） */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tea-dark);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tea-gold), transparent);
  margin: 12px auto 0;
}

.section-title.center {
  display: block;
  text-align: center;
}

.section-title.left {
  display: block;
  text-align: left;
}

.section-title.left::after {
  margin: 12px 0 0;
}

/* 金色分割线 */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tea-gold), transparent);
  margin: 32px 0;
  opacity: 0.4;
}

.divider-vertical {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--tea-gold), transparent);
  opacity: 0.3;
}

/* 标签样式 */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: var(--transition);
}

.badge-gold {
  background: rgba(200, 169, 110, 0.12);
  color: var(--tea-gold);
  border: 1px solid rgba(200, 169, 110, 0.2);
}

.badge-green {
  background: rgba(74, 124, 89, 0.1);
  color: var(--tea-green);
  border: 1px solid rgba(74, 124, 89, 0.15);
}

.badge-brown {
  background: rgba(139, 111, 71, 0.1);
  color: var(--tea-brown);
  border: 1px solid rgba(139, 111, 71, 0.15);
}

.badge-red {
  background: rgba(160, 82, 45, 0.1);
  color: var(--tea-red);
  border: 1px solid rgba(160, 82, 45, 0.15);
}

/* 工具提示 */
.tooltip {
  position: relative;
  cursor: pointer;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 14px;
  background: var(--tea-dark);
  color: var(--tea-cream);
  font-size: 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(44, 24, 16, 0.2);
}

.tooltip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--tea-dark);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 1000;
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tooltip:hover::before {
  opacity: 1;
  visibility: visible;
}

/* 隐藏 */
.hidden {
  display: none !important;
}

/* ---------------------------
   14. 过渡动画统一
   --------------------------- */

/* 通用渐显类（配合 IntersectionObserver 使用） */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* 交错动画延迟 */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* 页面整体过渡 */
.page-transition {
  animation: fadeIn 0.4s ease-out;
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}