@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');/**
 * 主样式文�? * 包含全局样式、布局、组件样�? */

/* ==================== 变量定义 - 温暖疗愈配色系统 ==================== */
:root {
  /* ==================== 温暖疗愈配色系统 ==================== */
  /* 主色�?- 中性灰 */
  --primary-50: #fafafa;
  --primary-100: #f4f4f5;
  --primary-200: #e4e4e7;
  --primary-300: #d4d4d8;
  --primary-400: #a1a1aa;
  --primary-500: #71717a;
  --primary-600: #52525b;
  --primary-700: #3f3f46;
  --primary-800: #27272a;
  --primary-900: #18181b;
  
  /* 辅助�?- 温馨自然�?*/
  --success-50: #f0fdf4;
  --success-100: #dcfce7;
  --success-200: #bbf7d0;
  --success-300: #86efac;
  --success-400: #4ade80;
  --success-500: #22c55e;
  --success-600: #16a34a;
  --success-700: #15803d;
  
  /* 温暖�?- 阳光橙色 */
  --warm-50: #fff7ed;
  --warm-100: #ffedd5;
  --warm-200: #fed7aa;
  --warm-300: #fdba74;
  --warm-400: #fb923c;
  --warm-500: #f97316;
  
  /* 新增 - 温柔粉色�?*/
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-300: #f9a8d4;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  
  /* 新增 - 阳光黄色�?*/
  --sun-50: #fefce8;
  --sun-100: #fef9c3;
  --sun-200: #fef08a;
  --sun-300: #fde047;
  --sun-400: #facc15;
  --sun-500: #eab308;
  
  /* 新增 - 柔和紫色�?*/
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  
  /* 高级灰系�?*/
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-800: #27272a;
  --gray-900: #18181b;
  
  /* 保留兼容性变�?*/
  --primary-color: var(--primary-600);
  --primary-dark: var(--primary-700);
  --secondary-color: var(--success-500);
  --success-color: var(--success-500);
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: var(--primary-500);
  --light-color: var(--gray-50);
  --dark-color: var(--gray-900);
  
  /* 情绪象限颜色 */
  --quadrant-1: #f87171;
  --quadrant-2: #fbbf24;
  --quadrant-3: #4ade80;
  --quadrant-4: #38bdf8;
  --quadrant-5: #2dd4bf;
  --quadrant-6: #fda4af;
  --quadrant-7: #86efac;
  --quadrant-8: #7dd3fc;
  
  /* ==================== 高级感字体系�?==================== */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* 标题字号（高级感大字号） */
  --text-5xl: 3.5rem;    /* 56px - Hero主标�?*/
  --text-4xl: 2.75rem;   /* 44px - 大标�?*/
  --text-3xl: 2.25rem;   /* 36px - 主要标题 */
  --text-2xl: 1.875rem;  /* 30px - 次级标题 */
  --text-xl: 1.5rem;     /* 24px - 小标�?*/
  --text-lg: 1.125rem;   /* 18px - 正文大号 */
  --text-base: 1rem;     /* 16px - 正文 */
  --text-sm: 0.875rem;   /* 14px - 辅助文字 */
  --text-xs: 0.75rem;    /* 12px - 小字 */
  
  /* 字重 */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* 行高 */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  
  /* 字间�?*/
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0em;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  
  /* 间距 */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* 圆角系统 */
  --radius-none: 0px;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;
  
  /* ==================== 高级阴影层次系统 ==================== */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* 彩色阴影 */
  --shadow-primary: 0 10px 25px -5px rgba(161, 161, 170, 0.25);
  --shadow-success: 0 10px 25px -5px rgba(34, 197, 94, 0.25);
  --shadow-warm: 0 10px 25px -5px rgba(249, 115, 22, 0.25);
  
  /* 内阴�?*/
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  
  /* ==================== 动画曲线系统 ==================== */
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* 过渡时间 */
  --duration-75: 75ms;
  --duration-100: 100ms;
  --duration-150: 150ms;
  --duration-200: 200ms;
  --duration-300: 300ms;
  --duration-500: 500ms;
  --duration-700: 700ms;
  --duration-1000: 1000ms;
  
  /* 兼容性变�?*/
  --transition-fast: var(--duration-150) var(--ease-out);
  --transition-normal: var(--duration-300) var(--ease-in-out);
  --transition-slow: var(--duration-500) var(--ease-in-out);
  
  /* ==================== 统一主题变量系统 - 日间模式 ==================== */
  --bg-primary: var(--gray-50);
  --bg-secondary: var(--gray-100);
  --bg-tertiary: var(--gray-200);
  --bg-card: #ffffff;
  --bg-hover: var(--gray-100);
  --bg-active: var(--gray-200);
  
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-700);
  --text-tertiary: var(--gray-500);
  --text-muted: var(--gray-400);
  --text-inverse: #ffffff;
  
  --border-light: var(--gray-200);
  --border-medium: var(--gray-300);
  --border-dark: var(--gray-400);
  
  --transition-theme: var(--duration-300) var(--ease-in-out);

  /* 层级系统 */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-toast: 800;
}

/* ==================== 基础样式 - 高级感设�?==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-rendering: optimizeLegibility;
  transition: background-color var(--transition-theme), color var(--transition-theme);
}

/* ==================== 高级感排版工具类 ==================== */
.text-display {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tighter);
  color: var(--text-primary);
  transition: color var(--transition-theme);
}

.text-h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  transition: color var(--transition-theme);
}

.text-h2 {
  font-size: var(--text-3xl);
  font-weight: var(--font-semibold);
  line-height: var(--leading-snug);
  color: var(--text-primary);
  transition: color var(--transition-theme);
}

.text-h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  line-height: var(--leading-snug);
  color: var(--text-primary);
  transition: color var(--transition-theme);
}

.text-body-lg {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  transition: color var(--transition-theme);
}

.text-body {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  transition: color var(--transition-theme);
}

.text-small {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-tertiary);
  transition: color var(--transition-theme);
}

.text-xs {
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
  color: var(--text-tertiary);
  transition: color var(--transition-theme);
}

/* 渐变文字 */
.gradient-text-primary {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-success {
  background: linear-gradient(135deg, var(--success-600) 0%, var(--success-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== 加载动画 ==================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-content h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.loading-content p {
  opacity: 0.8;
}

/* ==================== 布局 ==================== */
.app-container {
  flex: 1;
  padding: 2rem 0;
}

/* ==================== 导航�?- Pentagram风格 ==================== */
.navbar {
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  padding: 20px 0;
  transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 导航菜单整体靠右 */
.navbar-nav {
  margin-left: auto !important;
}

.navbar-collapse {
  flex-grow: 0;
  flex-basis: auto;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.navbar-brand {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #1d1d1f !important;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.02em;
  padding: 0;
  text-decoration: none;
  transition: opacity 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.navbar-brand:hover {
  opacity: 0.7;
}

.brand-logo-icon {
  width: 26px;
  height: 26px;
  color: #1d1d1f;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  animation: logo-breath 5s ease-in-out infinite;
}

.navbar-brand:hover .brand-logo-icon {
  transform: scale(1.06);
  animation-play-state: paused;
}

.brand-logo-text {
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
}

@keyframes logo-breath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

/* 导航链接 - Linear极简风格 */
.navbar-nav {
  gap: 32px;
  align-items: center;
}

.navbar-nav .nav-link {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: rgba(29, 29, 31, 0.55) !important;
  font-weight: 450;
  font-size: 13.5px;
  padding: 0 !important;
  border-radius: 0;
  transition: color 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  position: relative;
  letter-spacing: 0.005em;
}

.navbar-nav .nav-link svg {
  display: none;
}

.navbar-nav .nav-link:hover {
  color: #1d1d1f !important;
  background: transparent;
}

.navbar-nav .nav-link::after {
  display: none;
}

.navbar-nav .nav-link.active {
  color: #1d1d1f !important;
  font-weight: 500;
}

/* 用户菜单按钮 - Pentagram简约风�?*/
.navbar-nav .btn {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  padding: 6px 16px;
  font-size: 14px;
  border-radius: 980px;
  border: none;
}

.theme-toggle-btn,
.sound-toggle-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: rgba(29, 29, 31, 0.55);
  border: none;
  border-radius: 50%;
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: pointer;
}

.theme-toggle-btn:hover,
.sound-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #1d1d1f;
}

.theme-toggle-btn svg,
.sound-toggle-btn svg {
  width: 17px;
  height: 17px;
  display: block;
}

.dropdown-toggle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13.5px;
  font-weight: 450;
  color: rgba(29, 29, 31, 0.55);
  padding: 6px 12px;
  border-radius: 980px;
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.dropdown-toggle:hover {
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.05);
}

.dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 13px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 0 0 0.5px rgba(0, 0, 0, 0.04);
  padding: 6px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.dropdown-item {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13.5px;
  color: rgba(29, 29, 31, 0.75);
  padding: 9px 12px;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  font-weight: 450;
}

.dropdown-item:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #1d1d1f;
}

.dropdown-divider {
  margin: 6px 0;
  border-color: rgba(0, 0, 0, 0.06);
}

/* 移动端导�?- 简约风�?*/
.navbar-toggler {
  border: none;
  padding: 6px;
  border-radius: 8px;
  background: transparent;
  color: rgba(29, 29, 31, 0.65);
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.navbar-toggler:focus {
  box-shadow: none;
  background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-radius: 16px;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
      0 1px 3px rgba(0, 0, 0, 0.03),
      0 12px 32px rgba(0, 0, 0, 0.08);
  }
}

/* ==================== 底部 - Pentagram简约风�?==================== */
.footer-glass {
  background: #fafaf9;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 88px 0 40px;
}

.footer-divider {
  display: block;
  width: 28px;
  height: 1.5px;
  background: #d4d4d4;
  margin: 0 auto 48px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 64px;
  margin-bottom: 64px;
}

/* 品牌区域 - Pentagram简约风�?*/
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1d1d1f;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.02em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo:hover {
  opacity: 0.75;
}

.footer-logo:hover .brand-logo-icon {
  transform: scale(1.06);
}

.footer-logo svg {
  width: 30px;
  height: 30px;
  color: #1d1d1f;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #86868b;
  font-weight: 450;
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.footer-description {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #9a9a9e;
  line-height: 1.7;
  margin: 0;
  max-width: 320px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* 链接区域 - Pentagram简约排�?*/
.footer-links h6,
.footer-contact h6 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6e6e73;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 400;
  letter-spacing: 0.01em;
  display: inline-block;
}

.footer-links a:hover {
  color: #1d1d1f;
  transform: translateX(2px);
}

/* 联系信息 - Pentagram简约风�?*/
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6e6e73;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  color: #9a9a9e;
  flex-shrink: 0;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact li:hover svg {
  color: #6e6e73;
}

/* 底部版权�?- Pentagram简约风�?*/
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #9a9a9e;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-legal a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #9a9a9e;
  text-decoration: none;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.footer-legal a:hover {
  color: #1d1d1f;
}

.footer-legal .divider {
  color: #d4d4d4;
  font-size: 11px;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 576px) {
  .footer-glass {
    padding: 64px 0 32px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* ==================== 通知 ==================== */
.notification-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1050;
  max-width: 400px;
}

.notification-container .alert {
  margin-bottom: 0.5rem;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==================== 高级感卡片系�?==================== */
.card {
  border: none;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-300) var(--ease-out), 
              box-shadow var(--duration-300) var(--ease-out),
              background var(--duration-300) var(--ease-out);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.95);
}

.card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

/* 玻璃拟态卡�?*/
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-300) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.85);
}

/* 光效扫过动画 */
.glass-card-shine {
  position: relative;
  overflow: hidden;
}

.glass-card-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left var(--duration-500) var(--ease-out);
  pointer-events: none;
}

.glass-card-shine:hover::after {
  left: 100%;
}

/* ==================== 高级感按钮系�?==================== */
.btn {
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.5rem;
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
  transition: all var(--duration-200) var(--ease-out);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* 主按�?- 渐变 + 高级阴影 */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
  border: none;
  color: white;
  box-shadow: var(--shadow-md),
              var(--shadow-primary);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  pointer-events: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl),
              var(--shadow-primary);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* 成功按钮 */
.btn-success {
  background: linear-gradient(135deg, var(--success-600) 0%, var(--success-500) 100%);
  border: none;
  color: white;
  box-shadow: var(--shadow-md),
              var(--shadow-success);
}

.btn-success::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  pointer-events: none;
}

.btn-success:hover {
  background: linear-gradient(135deg, var(--success-500) 0%, var(--success-400) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl),
              var(--shadow-success);
}

/* 边框按钮 - 玻璃拟态风�?*/
.btn-outline-primary {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--primary-300);
  color: var(--primary-700);
  box-shadow: var(--shadow-sm);
}

.btn-outline-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--primary-500);
  color: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 按钮尺寸 */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

.btn-xl {
  padding: 1.25rem 2.75rem;
  font-size: var(--text-xl);
  border-radius: var(--radius-2xl);
  font-weight: var(--font-bold);
}

/* 光效扫过按钮 */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left var(--duration-500) var(--ease-out);
}

.btn-shine:hover::after {
  left: 100%;
}

/* ==================== 表单 ==================== */
.form-control {
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gray-300);
  padding: 0.625rem 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(77, 150, 255, 0.25);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ==================== 页面标题 ==================== */
.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--gray-600);
  font-size: 1.1rem;
}

/* ==================== 步骤指示�?==================== */
.steps-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.step {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: var(--gray-500);
  font-weight: 500;
}

.step.active {
  color: var(--primary-color);
}

.step.completed {
  color: var(--success-color);
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--gray-300);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  margin-right: 0.5rem;
}

.step.active .step-number {
  background-color: var(--primary-color);
}

.step.completed .step-number {
  background-color: var(--success-color);
}

.step-divider {
  width: 40px;
  height: 2px;
  background-color: var(--gray-300);
  margin: 0 0.5rem;
}

.step-divider.completed {
  background-color: var(--success-color);
}

/* ==================== 场景卡片 ==================== */
.scene-card {
  cursor: pointer;
  overflow: hidden;
}

.scene-card .card-img-top {
  height: 180px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.scene-card:hover .card-img-top {
  transform: scale(1.05);
}

.scene-card.selected {
  border: 2px solid var(--primary-color);
}

.scene-card.selected .card-body {
  background-color: rgba(77, 150, 255, 0.05);
}

/* ==================== 痛点选项 ==================== */
.pain-option {
  cursor: pointer;
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  padding: 1.25rem;
  transition: all var(--transition-fast);
  margin-bottom: 1rem;
}

.pain-option:hover {
  border-color: var(--primary-color);
  background-color: rgba(77, 150, 255, 0.02);
}

.pain-option.selected {
  border-color: var(--primary-color);
  background-color: rgba(77, 150, 255, 0.05);
}

.pain-option .pain-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ==================== 工具包卡�?==================== */
.toolkit-card {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-md);
  margin-bottom: 1rem;
}

.toolkit-image {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-md);
  object-fit: cover;
  margin-right: 1rem;
}

.toolkit-info {
  flex: 1;
}

.toolkit-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toolkit-desc {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.toolkit-price {
  color: var(--primary-color);
  font-weight: 600;
}

/* ==================== 响应�?==================== */
@media (max-width: 768px) {
  .app-container {
    padding: 1rem 0;
  }
  
  .page-header h1 {
    font-size: 1.5rem;
  }
  
  .steps-indicator {
    flex-wrap: wrap;
  }
  
  .step-divider {
    display: none;
  }
  
  .notification-container {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

/* ==================== 工具�?==================== */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-light { background-color: var(--light-color) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.rounded-lg { border-radius: var(--border-radius-lg) !important; }
.rounded-xl { border-radius: var(--border-radius-xl) !important; }

/* ==================== 动画 ==================== */
.fade-in {
  animation: fadeIn 0.5s ease;
}

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

.slide-up {
  animation: slideUp 0.5s ease;
}

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

/* ==================== 首页模块样式 ==================== */
.home-module {
  animation: fadeIn 0.5s ease;
}

.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  padding: 3rem 0;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #343a40;
}

.hero-title .text-primary {
  color: var(--primary-color) !important;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #6c757d;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #495057;
  font-weight: 500;
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

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

.hero-illustration {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(77, 150, 255, 0.3);
}

.hero-illustration i {
  font-size: 10rem;
  color: white;
}

.features-section {
  background: white;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #343a40;
}

.feature-card p {
  color: #6c757d;
  line-height: 1.6;
}

.process-section {
  background: #f8f9fa;
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
}

.process-step .step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-step h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: #6c757d;
}

.stats-section {
  background: white;
}

.stat-item {
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #6c757d;
  font-weight: 500;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.cta-section .btn-light {
  color: var(--primary-color);
  font-weight: 600;
  padding: 1rem 2.5rem;
}

.cta-section .btn-light:hover {
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ==================== 场景选择模块样式 ==================== */
/* 旧的scene-module样式已禁用，新样式在modules/scene/style.css�?*/
/*
.scene-module {
  padding: 2rem 0;
  animation: fadeIn 0.5s ease;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.scene-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 1rem;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.scene-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(77, 150, 255, 0.15);
  transform: translateY(-4px);
}

.scene-card.selected {
  border-color: var(--primary-color);
  background-color: rgba(77, 150, 255, 0.05);
}

.scene-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

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

.scene-icon-wrapper i {
  font-size: 2rem;
  color: white;
}

.scene-info h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.75rem;
}

.scene-info p {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.scene-check {
  position: absolute;
  top: 1rem;
  right: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scene-card.selected .scene-check {
  opacity: 1;
}

.scene-check i {
  font-size: 1.5rem;
  color: var(--primary-color);
}
*/

/* ==================== 痛点选择模块样式（已注释，使用新样式�?==================== */
/*
.pain-module {
  padding: 2rem 0;
  animation: fadeIn 0.5s ease;
}

.scene-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.selected-scene {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #495057;
  font-weight: 500;
}

.selected-scene i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pain-card {
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pain-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(77, 150, 255, 0.1);
}

.pain-card.selected {
  border-color: var(--primary-color);
  background-color: rgba(77, 150, 255, 0.05);
}

.pain-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.pain-icon i {
  font-size: 1.5rem;
  color: white;
}

.pain-content {
  flex: 1;
}

.pain-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.5rem;
}

.pain-tag {
  display: inline-block;
  background: #e9ecef;
  color: #6c757d;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
}

.pain-check {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pain-card.selected .pain-check {
  opacity: 1;
}

.pain-check i {
  font-size: 1.5rem;
  color: var(--primary-color);
}
*/

/* ==================== 方案结果模块样式 ==================== */
.result-module {
  padding: 2rem 0;
  animation: fadeIn 0.5s ease;
}

.plan-header {
  text-align: center;
  margin-bottom: 2rem;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(107, 203, 119, 0.1);
  color: var(--success-color);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.plan-badge i {
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

.plan-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 0.75rem;
}

.plan-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.plan-overview {
  margin-bottom: 2rem;
}

.overview-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.overview-item {
  display: flex;
  flex-direction: column;
}

.overview-label {
  color: #6c757d;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.overview-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #343a40;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.overview-value i {
  color: var(--primary-color);
}

.overview-value.price {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.tools-section {
  margin-bottom: 2rem;
}

.tools-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tools-section h2 i {
  color: var(--primary-color);
}

.tools-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tool-item {
  display: flex;
  align-items: flex-start;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.tool-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.tool-number {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 1rem;
  flex-shrink: 0;
}

.tool-content {
  flex: 1;
}

.tool-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.5rem;
}

.tool-content p {
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.tool-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tool-tag {
  background: #e9ecef;
  color: #495057;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
}

.tool-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-left: 1rem;
  white-space: nowrap;
}

.steps-section {
  margin-bottom: 2rem;
}

.steps-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.steps-section h2 i {
  color: var(--primary-color);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-item {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-text {
  color: #495057;
  font-size: 1rem;
}

.effect-section {
  margin-bottom: 2rem;
}

.effect-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.effect-section h2 i {
  color: var(--primary-color);
}

.effect-card {
  display: flex;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(107, 203, 119, 0.1), rgba(77, 150, 255, 0.1));
  border: 1px solid rgba(107, 203, 119, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
}

.effect-card i {
  font-size: 2rem;
  color: var(--success-color);
  margin-right: 1rem;
  flex-shrink: 0;
}

.effect-card p {
  color: #495057;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.action-group {
  display: flex;
  gap: 0.5rem;
}

/* ==================== 操作按钮通用样式 ==================== */
.action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.action-bar .btn {
  padding: 0.875rem 2rem;
}

.action-bar .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==================== 响应式样�?==================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-illustration {
    width: 300px;
    height: 300px;
  }
  
  .hero-illustration i {
    font-size: 7rem;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .hero-illustration {
    width: 250px;
    height: 250px;
    margin-top: 2rem;
  }
  
  .hero-illustration i {
    font-size: 5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }

  .scene-grid,
  .budget-options {
    grid-template-columns: 1fr;
  }

  .scene-card {
    padding: 1.5rem;
    flex-direction: row;
    text-align: left;
  }

  .scene-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
    margin-right: 1rem;
  }

  .scene-icon-wrapper i {
    font-size: 1.5rem;
  }

  .scene-info {
    flex: 1;
  }

  .pain-card {
    padding: 1rem;
  }

  .pain-icon {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
  }

  .pain-icon i {
    font-size: 1.25rem;
  }

  .pain-content h4 {
    font-size: 1.1rem;
  }

  .tool-item {
    flex-direction: column;
  }

  .tool-number {
    margin-bottom: 1rem;
  }

  .tool-price {
    margin-left: 0;
    margin-top: 1rem;
  }

  .effect-card {
    flex-direction: column;
    text-align: center;
  }

  .effect-card i {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .action-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .action-bar .btn,
  .action-group {
    width: 100%;
  }

  .action-group .btn {
    flex: 1;
  }

  .plan-header h1 {
    font-size: 1.5rem;
  }

  .overview-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==================== 热力图模�?==================== */
.heatmap-module {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.heatmap-module .page-header {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
  color: white;
  padding: 2rem 0;
}

.heatmap-module .page-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.heatmap-module .page-subtitle {
  opacity: 0.9;
  margin: 0;
}

.scene-selector .form-label,
.mode-switcher .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.75rem;
}

.scene-tabs,
.mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.scene-tab,
.mode-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.scene-tab:hover,
.mode-tab:hover {
  border-color: #4d96ff;
  transform: translateY(-2px);
}

.scene-tab.active,
.mode-tab.active {
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  color: white;
  border-color: #4d96ff;
}

.scene-tab i,
.mode-tab i {
  font-size: 1.1rem;
}

.heatmap-chart-wrapper {
  position: relative;
}

.heatmap-chart {
  width: 100%;
  height: 500px;
  border-radius: 0.75rem;
  background: #f8f9fa;
}

.mock-heatmap {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
  width: 100%;
  height: 100%;
  padding: 1rem;
}

.heatmap-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.heatmap-cell:hover {
  transform: scale(1.2);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.heatmap-legend {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.legend-color {
  width: 100px;
  height: 12px;
  border-radius: 6px;
}

.time-control .form-label {
  font-weight: 600;
  color: #495057;
}

.time-slider-container {
  background: white;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 2px solid #e9ecef;
}

.time-slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, #4d96ff, #6bcb77);
  border-radius: 4px;
  outline: none;
}

.time-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: white;
  border: 3px solid #4d96ff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.time-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.lesions-panel,
.stats-panel {
  background: white;
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 2px solid #e9ecef;
}

.panel-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.lesions-list {
  max-height: 300px;
  overflow-y: auto;
}

.lesion-item {
  padding: 0.875rem;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lesion-item:hover {
  border-color: #4d96ff;
  background: rgba(77, 150, 255, 0.05);
}

.lesion-item.active {
  border-color: #4d96ff;
  background: rgba(77, 150, 255, 0.1);
}

.lesion-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.lesion-priority {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.lesion-priority.priority-1 {
  background: #ff6b6b;
  color: white;
}

.lesion-priority.priority-2 {
  background: #ffe66d;
  color: #333;
}

.lesion-priority.priority-3 {
  background: #a8e6cf;
  color: #333;
}

.lesion-name {
  font-weight: 600;
  color: #343a40;
  flex: 1;
}

.lesion-intensity {
  font-size: 0.875rem;
  color: #ff6b6b;
  font-weight: 600;
}

.lesion-desc {
  font-size: 0.875rem;
  color: #6c757d;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4d96ff;
}

.stat-label {
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: 0.25rem;
}

/* ==================== 3D空间模块 ==================== */
.space3d-module {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
}

.space3d-module .page-header {
  background: rgba(255,255,255,0.05);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.space3d-module .page-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.space3d-module .page-subtitle {
  opacity: 0.7;
  margin: 0;
}

.space3d-canvas-wrapper {
  position: relative;
  background: rgba(0,0,0,0.3);
  border-radius: 1rem;
  overflow: hidden;
}



.space3d-canvas {
  width: 100%;
  height: 600px;
  position: relative;
}

.space3d-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  outline: none;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.8);
  z-index: 100;
}

.loading-overlay[style*="display: none"],
.loading-overlay[style*="display:none"] {
  pointer-events: none !important;
  visibility: hidden;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255,255,255,0.1);
  border-top-color: #4d96ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.space3d-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.control-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.5rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  background: rgba(255,255,255,0.2);
}

.control-btn.active {
  background: #4d96ff;
  border-color: #4d96ff;
}

.view-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.6);
  border-radius: 2rem;
  pointer-events: none;
  z-index: 5;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.mock-3d-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  overflow: hidden;
}

.mock-3d-scene {
  width: 300px;
  height: 300px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.mock-floor {
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
  transform: rotateX(90deg) translateZ(-100px);
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.mock-zone {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.mock-zone.hot-zone {
  background: rgba(255, 107, 107, 0.8);
  border: 2px solid #ff6b6b;
}

.mock-zone.calm-zone {
  background: rgba(78, 205, 196, 0.8);
  border: 2px solid #4ecdc4;
}

.mock-zone.safe-zone {
  background: rgba(168, 230, 207, 0.8);
  border: 2px solid #a8e6cf;
}

.zone-label {
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.mock-tool {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.panel-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.panel-card .panel-title {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.scene-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.scene-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scene-option:hover {
  background: rgba(255,255,255,0.1);
}

.scene-option.active {
  background: rgba(77, 150, 255, 0.2);
  border-color: #4d96ff;
}

.scene-option i {
  width: 32px;
  height: 32px;
  background: rgba(77, 150, 255, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d96ff;
}

.scene-info {
  display: flex;
  flex-direction: column;
}

.scene-name {
  font-weight: 600;
  color: white;
}

.scene-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.dimension-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dimension-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dim-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.dim-bar {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.dim-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.dim-value {
  font-size: 0.875rem;
  color: #4d96ff;
  font-weight: 600;
}

.element-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==================== 3D预览面板样式 ==================== */
.plan-overview-3d {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-overview-3d .overview-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.05);
  border-radius: 0.5rem;
}

.plan-overview-3d .overview-item i {
  width: 36px;
  height: 36px;
  background: rgba(77, 150, 255, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d96ff;
  font-size: 1rem;
}

.plan-overview-3d .overview-info {
  display: flex;
  flex-direction: column;
}

.plan-overview-3d .overview-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.plan-overview-3d .overview-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
}

.plan-overview-3d .overview-value.price {
  color: #4ecdc4;
}

.tool-list-3d {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tool-item-3d {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.05);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tool-item-3d:hover {
  background: rgba(255,255,255,0.1);
}

.tool-item-3d .tool-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.tool-item-3d .tool-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tool-item-3d .tool-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
}

.tool-item-3d .tool-price {
  font-size: 0.75rem;
  color: #4ecdc4;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.empty-state i {
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.empty-state p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.mock-tool .tool-label {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
}

.element-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.element-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.element-name {
  flex: 1;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
}

.element-count {
  color: #4d96ff;
  font-weight: 600;
  font-size: 0.875rem;
}

/* ==================== 热力图叠加层样式 ==================== */
.heatmap-overlay-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #f8f9fa;
}

.heatmap-base-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.heatmap-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.view-panel .panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  font-weight: 600;
  color: #495057;
}

.view-panel .image-info {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 400;
}

.view-panel .panel-content {
  padding: 1rem;
  background: white;
}

.original-image {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 0.5rem;
  overflow: hidden;
}

.original-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 对比视图样式 */
.comparison-view {
  margin-top: 2rem;
}

.comparison-view .view-panel {
  border: 2px solid #e9ecef;
  border-radius: 0.75rem;
  overflow: hidden;
  height: 100%;
}

/* 诊断结果头部 */
.result-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border-radius: 0.75rem;
  margin-bottom: 2rem;
}

.result-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.result-badge.success {
  background: #28a745;
  color: white;
}

.result-info h3 {
  margin: 0;
  color: #155724;
  font-weight: 600;
}

.result-info p {
  margin: 0.25rem 0 0 0;
  color: #155724;
  opacity: 0.8;
}

/* 诊断维度标签 */
.diagnosis-dimensions {
  margin-top: 2rem;
}

.dimension-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dimension-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 0.5rem;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dimension-tab:hover {
  border-color: #4d96ff;
  background: rgba(77, 150, 255, 0.05);
}

.dimension-tab.active {
  border-color: #4d96ff;
  background: #4d96ff;
  color: white;
}

/* 病灶列表增强样式 */
.lesions-section {
  margin-top: 2rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.lesion-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.lesion-item:hover {
  border-color: #4d96ff;
  box-shadow: 0 4px 12px rgba(77, 150, 255, 0.15);
}

.lesion-item.active {
  border-color: #4d96ff;
  background: rgba(77, 150, 255, 0.05);
}

.lesion-marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.lesion-content {
  flex: 1;
}

.lesion-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.lesion-name {
  font-weight: 600;
  color: #343a40;
  font-size: 1rem;
}

.lesion-desc {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.lesion-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.lesion-metrics .metric {
  font-size: 0.8125rem;
  color: #495057;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.lesion-metrics .metric i {
  color: #4d96ff;
}

.lesion-confidence {
  text-align: center;
  flex-shrink: 0;
}

.confidence-ring {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: conic-gradient(#4d96ff calc(var(--progress) * 1%), #e9ecef 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.confidence-ring::before {
  content: '';
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
}

.confidence-ring span {
  position: relative;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4d96ff;
}

.lesion-confidence small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  color: #6c757d;
}

/* 统计卡片样式 */
.stats-section {
  margin-top: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: #4d96ff;
  box-shadow: 0 4px 12px rgba(77, 150, 255, 0.1);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
}

.stat-icon.bg-primary { background: #4d96ff; }
.stat-icon.bg-danger { background: #ff6b6b; }
.stat-icon.bg-warning { background: #ffd93d; color: #333; }
.stat-icon.bg-info { background: #6bcb77; }

.stat-info {
  flex: 1;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #343a40;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: 0.25rem;
}

/* AI建议卡片 */
.ai-suggestion {
  margin-top: 2rem;
}

.suggestion-card {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: 2px solid #ffc107;
  border-radius: 0.75rem;
  overflow: hidden;
}

.suggestion-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 193, 7, 0.2);
  font-weight: 600;
  color: #856404;
}

.suggestion-header i {
  font-size: 1.25rem;
}

.suggestion-body {
  padding: 1.25rem;
}

.suggestion-body p {
  margin: 0 0 1rem 0;
  color: #856404;
  line-height: 1.6;
}

.suggestion-body .highlight {
  color: #d35400;
  font-weight: 600;
}

.action-recommendation {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: white;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  color: #495057;
}

.action-recommendation i {
  color: #ffc107;
  font-size: 1.125rem;
}

/* ==================== 案例库模�?==================== */
.cases-module {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.cases-module .page-header {
  background: linear-gradient(135deg, #6bcb77 0%, #5ab868 100%);
  color: white;
  padding: 2rem 0;
}

.cases-module .page-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cases-module .page-subtitle {
  opacity: 0.9;
  margin: 0;
}

.stats-overview {
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: #6c757d;
  font-size: 0.875rem;
}

.filter-bar {
  background: white;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-group {
  margin-bottom: 1rem;
}

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

.filter-group label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  display: block;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tab {
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.filter-tab:hover {
  background: #e9ecef;
}

.filter-tab.active {
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  color: white;
  border-color: #4d96ff;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.case-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.case-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-budget {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.75rem;
  background: rgba(255,255,255,0.95);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4d96ff;
}

.case-scene {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: rgba(0,0,0,0.7);
  border-radius: 2rem;
  font-size: 0.75rem;
  color: white;
}

.case-content {
  padding: 1.25rem;
}

.case-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.5rem;
}

.case-school {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.case-summary {
  font-size: 0.875rem;
  color: #495057;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.case-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.case-stats .stat {
  font-size: 0.75rem;
  color: #6c757d;
}

.case-stats .stat i {
  color: #4d96ff;
  margin-right: 0.25rem;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-tags .tag {
  padding: 0.25rem 0.5rem;
  background: #f0f4f8;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  color: #4d96ff;
}

.case-actions {
  padding: 0 1.25rem 1.25rem;
}

.case-detail .comparison-images {
  margin-bottom: 1.5rem;
}

.case-detail .image-box {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
}

.case-detail .image-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-detail .image-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  background: rgba(0,0,0,0.7);
  color: white;
  text-align: center;
  font-size: 0.875rem;
}

.case-detail .image-label.after {
  background: rgba(77, 150, 255, 0.9);
}

.detail-section {
  margin-bottom: 1.5rem;
}

.detail-section h6 {
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.75rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.detail-item {
  display: flex;
  gap: 0.5rem;
}

.detail-item .label {
  color: #6c757d;
  font-size: 0.875rem;
}

.detail-item .value {
  color: #343a40;
  font-weight: 500;
  font-size: 0.875rem;
}

.pain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pain-tag {
  padding: 0.375rem 0.75rem;
  background: #fff5f5;
  border: 1px solid #ffc9c9;
  border-radius: 2rem;
  font-size: 0.75rem;
  color: #e03131;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.solution-item {
  padding: 0.625rem;
  background: #f0f9ff;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #1971c2;
}

.solution-item i {
  color: #40c057;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.result-item {
  text-align: center;
  padding: 1rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e7f5ff 100%);
  border-radius: 0.75rem;
}

.result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4d96ff;
}

.result-label {
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 0.25rem;
}

.testimonial {
  background: #f8f9fa;
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.testimonial-content {
  font-style: italic;
  color: #495057;
  line-height: 1.6;
  margin-bottom: 1rem;
  border-left: 3px solid #4d96ff;
  padding-left: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-author .name {
  font-weight: 600;
  color: #343a40;
}

.testimonial-author .role {
  font-size: 0.875rem;
  color: #6c757d;
}

/* ==================== 高级功能卡片 ==================== */
.advanced-feature-card {
  display: block;
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.advanced-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  color: inherit;
}

.advanced-icon {
  width: 80px;
  height: 80px;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.advanced-feature-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.75rem;
}

.advanced-feature-card p {
  color: #6c757d;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #4d96ff;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap 0.3s ease;
}

.advanced-feature-card:hover .feature-link {
  gap: 0.75rem;
}

/* ==================== 图像处理信息样式 ==================== */
.image-processing-info {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.processing-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}

.stat-item .stat-label {
  font-size: 0.75rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.stat-item .stat-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #343a40;
}

.processing-steps {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.processing-steps h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.75rem;
}

.steps-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: linear-gradient(135deg, #d3f9d8 0%, #b2f2bb 100%);
  border: 1px solid #69db7c;
  border-radius: 2rem;
  font-size: 0.75rem;
  color: #2b8a3e;
  font-weight: 500;
}

.step-tag i {
  font-size: 0.625rem;
}

@media (max-width: 768px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}

/* ==================== 空间布局分析样式 ==================== */
.space-analysis-section {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.space-layout-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.layout-image-wrapper {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: #f8f9fa;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid #e9ecef;
}

.layout-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.layout-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 位置标记样式 */
.position-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  z-index: 10;
  cursor: pointer;
}

.marker-pin {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
  transition: all 0.3s ease;
  border: 3px solid white;
}

.marker-pin i {
  display: none;
}

.marker-pin span {
  transform: rotate(45deg);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.position-marker:hover .marker-pin,
.position-marker.active .marker-pin {
  transform: rotate(-45deg) scale(1.2);
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  box-shadow: 0 6px 20px rgba(77, 150, 255, 0.5);
}

.marker-tooltip {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  min-width: 200px;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 20;
}

.position-marker:hover .marker-tooltip,
.position-marker.active .marker-tooltip {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.marker-tooltip strong {
  display: block;
  color: #343a40;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.marker-tooltip p {
  color: #6c757d;
  font-size: 0.75rem;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.marker-tooltip .suitable-tools {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: #e7f5ff;
  color: #1971c2;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
}

/* 图例样式 */
.layout-legend {
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 1rem;
}

.layout-legend h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.75rem;
}

.legend-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.legend-marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.legend-marker.position {
  background: #ff6b6b;
}

.legend-marker.wall {
  background: #adb5bd;
}

.legend-marker.passage {
  background: #ffd93d;
}

.legend-marker.corner {
  background: #6bcb77;
}

/* 推荐位置列表样式 */
.recommended-positions-section {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.positions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.position-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.position-item:hover {
  background: #e7f5ff;
  border-color: #4d96ff;
}

.position-item.active {
  background: #e7f5ff;
  border-color: #4d96ff;
  box-shadow: 0 0 0 3px rgba(77, 150, 255, 0.2);
}

.position-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.position-item.active .position-number {
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
}

.position-content {
  flex: 1;
  min-width: 0;
}

.position-content h6 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.25rem;
}

.position-content p {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.position-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.position-tags .tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.position-tags .tag-suitable {
  background: #e7f5ff;
  color: #1971c2;
}

.position-tags .tag-size {
  background: #fff3cd;
  color: #856404;
}

.position-tags .tag-score {
  background: #d3f9d8;
  color: #2b8a3e;
}

.select-position-btn {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* 空间测量数据样式 */
.space-metrics-section {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.metric-card i {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  color: white;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.metric-info {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #343a40;
}

.metric-label {
  font-size: 0.75rem;
  color: #6c757d;
}

/* 响应式调�?*/
@media (max-width: 768px) {
  .layout-image-wrapper {
    min-height: 250px;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .position-item {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .select-position-btn {
    width: 100%;
  }
}

/* 选择提示Toast样式 */
.selection-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 2rem;
  box-shadow: 0 8px 30px rgba(77, 150, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
}

.selection-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.selection-toast i {
  font-size: 1.25rem;
}

/* ==================== 三种结果页面样式 ==================== */

/* AI结果页面通用样式 */
.result-image .plan-badge.ai,
.result-video .plan-badge.video {
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  color: white;
}

.result-image .plan-badge.ai i,
.result-video .plan-badge.video i {
  margin-right: 0.5rem;
}

/* 步骤指示器AI激活状�?*/
.steps-indicator .step.ai-active .step-number {
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  color: white;
}

/* AI分析摘要样式 */
.ai-summary-section {
  margin-bottom: 2rem;
}

.ai-summary-section h2 {
  font-size: 1.25rem;
  color: #343a40;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-summary-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}

.summary-item i {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  color: white;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-info {
  display: flex;
  flex-direction: column;
}

.summary-label {
  font-size: 0.75rem;
  color: #6c757d;
}

.summary-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #343a40;
}

/* 位置详情样式 */
.position-detail-section {
  margin-bottom: 2rem;
}

.position-detail-section h2 {
  font-size: 1.25rem;
  color: #343a40;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.position-detail-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.position-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.position-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
  color: white;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.position-title h3 {
  font-size: 1.125rem;
  color: #343a40;
  margin-bottom: 0.25rem;
}

.position-title p {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

.position-metrics {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.metric-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}

.metric-label {
  font-size: 0.875rem;
  color: #6c757d;
}

.metric-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #343a40;
}

.metric-value.highlight {
  color: #4d96ff;
}

.metric-score {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.score-bar {
  width: 120px;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, #4d96ff 0%, #357abd 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.score-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4d96ff;
}

/* 定制化方案样�?*/
.custom-plan-section {
  margin-bottom: 2rem;
}

.custom-plan-section h2 {
  font-size: 1.25rem;
  color: #343a40;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.custom-plan-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.plan-intro {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #e7f5ff;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.plan-intro i {
  color: #4d96ff;
  font-size: 1.25rem;
}

.plan-intro p {
  margin: 0;
  font-size: 0.875rem;
  color: #495057;
  line-height: 1.5;
}

.installation-guide h4 {
  font-size: 1rem;
  color: #343a40;
  margin-bottom: 1rem;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.guide-step .step-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.guide-step .step-content h5 {
  font-size: 0.9375rem;
  color: #343a40;
  margin-bottom: 0.25rem;
}

.guide-step .step-content p {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

/* 增强效果样式 */
.effect-section.enhanced .effect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.effect-section.enhanced .effect-card {
  text-align: center;
  padding: 1.5rem;
}

.effect-section.enhanced .effect-card i {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.effect-section.enhanced .effect-card h4 {
  font-size: 1rem;
  color: #343a40;
  margin-bottom: 0.5rem;
}

.effect-section.enhanced .effect-card p {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

/* 深度分析样式 */
.deep-analysis-section {
  margin-bottom: 2rem;
}

.deep-analysis-section h2 {
  font-size: 1.25rem;
  color: #343a40;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.analysis-report-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.report-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.report-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
  color: white;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.report-title h3 {
  font-size: 1.125rem;
  color: #343a40;
  margin-bottom: 0.25rem;
}

.report-title p {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

.lesion-detail {
  padding: 1rem;
  background: #fff5f5;
  border-radius: 0.5rem;
  border-left: 4px solid #ff6b6b;
}

.lesion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.lesion-name {
  font-size: 1rem;
  font-weight: 600;
  color: #343a40;
}

.lesion-priority {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.lesion-priority.priority-1 {
  background: #ff6b6b;
  color: white;
}

.lesion-desc {
  font-size: 0.875rem;
  color: #495057;
  margin-bottom: 1rem;
}

.lesion-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lesion-stats .stat {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: white;
  border-radius: 2rem;
  font-size: 0.75rem;
  color: #6c757d;
}

.lesion-stats .stat i {
  color: #ff6b6b;
}

/* 行为模式分析样式 */
.behavior-pattern-section {
  margin-bottom: 2rem;
}

.behavior-pattern-section h2 {
  font-size: 1.25rem;
  color: #343a40;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pattern-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.pattern-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #6bcb77 0%, #4caf50 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.pattern-card h4 {
  font-size: 1rem;
  color: #343a40;
  margin-bottom: 0.5rem;
}

.pattern-card p {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

/* 精准干预方案样式 */
.intervention-section {
  margin-bottom: 2rem;
}

.intervention-section h2 {
  font-size: 1.25rem;
  color: #343a40;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.intervention-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.intervention-intro {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #fff3cd;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.intervention-intro i {
  color: #ffc107;
  font-size: 1.25rem;
}

.intervention-intro p {
  margin: 0;
  font-size: 0.875rem;
  color: #495057;
  line-height: 1.5;
}

.intervention-strategies {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.strategy-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}

.strategy-num {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  color: white;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.strategy-content h4 {
  font-size: 0.9375rem;
  color: #343a40;
  margin-bottom: 0.25rem;
}

.strategy-content p {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

/* 效果预测样式 */
.prediction-section {
  margin-bottom: 2rem;
}

.prediction-section h2 {
  font-size: 1.25rem;
  color: #343a40;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prediction-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.prediction-intro {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.prediction-intro i {
  color: #4d96ff;
  font-size: 1.25rem;
}

.prediction-intro p {
  margin: 0;
  font-size: 0.875rem;
  color: #495057;
}

.prediction-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.prediction-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.prediction-value {
  width: 60px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #4d96ff;
  text-align: center;
}

.prediction-label {
  flex: 1;
  font-size: 0.9375rem;
  color: #343a40;
}

.prediction-bar {
  width: 200px;
  height: 10px;
  background: #e9ecef;
  border-radius: 5px;
  overflow: hidden;
}

.prediction-fill {
  height: 100%;
  background: linear-gradient(90deg, #4d96ff 0%, #6bcb77 100%);
  border-radius: 5px;
  transition: width 0.5s ease;
}

/* 优化后的效果预测样式 */
.prediction-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 0.75rem;
}

.prediction-badge.standard {
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  color: white;
}

.prediction-badge.image {
  background: linear-gradient(135deg, #6bcb77 0%, #4caf50 100%);
  color: white;
}

.prediction-badge.video {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
  color: white;
}

/* 置信度指示器 */
.prediction-confidence {
  background: white;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.confidence-bar {
  flex: 1;
  height: 12px;
  background: #e9ecef;
  border-radius: 6px;
  overflow: hidden;
}

.confidence-fill {
  height: 100%;
  background: linear-gradient(90deg, #6bcb77 0%, #4d96ff 50%, #ff6b6b 100%);
  border-radius: 6px;
  transition: width 0.8s ease;
}

.confidence-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #495057;
  white-space: nowrap;
}

/* 预测指标布局 */
.prediction-metrics.primary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.prediction-metrics.secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.prediction-item.highlight {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  border-radius: 0.75rem;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.prediction-item.highlight:hover {
  border-color: #4d96ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(77, 150, 255, 0.15);
}

.prediction-item.highlight .prediction-value {
  width: auto;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #4d96ff 0%, #6bcb77 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.prediction-item.highlight .prediction-label {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.prediction-item.highlight .prediction-bar {
  width: 100%;
  height: 12px;
}

.prediction-item.compact {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.prediction-item.compact .prediction-value.small {
  width: auto;
  font-size: 1.5rem;
  color: #6c757d;
}

.prediction-item.compact .prediction-label {
  font-size: 0.8125rem;
  color: #6c757d;
  margin: 0.25rem 0 0.5rem;
}

.prediction-bar.small {
  width: 100%;
  height: 6px;
}

/* 预测依据 */
.prediction-reasons {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.prediction-reasons h4 {
  font-size: 1rem;
  color: #343a40;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prediction-reasons h4 i {
  color: #ffc107;
}

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

.reasons-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: #495057;
  border-bottom: 1px solid #f0f0f0;
}

.reasons-list li:last-child {
  border-bottom: none;
}

.reasons-list li i {
  color: #6bcb77;
  margin-top: 0.125rem;
}

/* 效果时间�?*/
.prediction-timeline {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.prediction-timeline h4 {
  font-size: 1rem;
  color: #343a40;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prediction-timeline h4 i {
  color: #4d96ff;
}

.timeline-container {
  position: relative;
  padding-left: 2rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #4d96ff 0%, #6bcb77 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}

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

.timeline-marker {
  position: absolute;
  left: -2rem;
  width: 18px;
  height: 18px;
  background: white;
  border: 3px solid #4d96ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-marker.final {
  border-color: #6bcb77;
  background: #6bcb77;
}

.timeline-phase {
  position: absolute;
  left: -3.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  white-space: nowrap;
}

.timeline-content h5 {
  font-size: 0.9375rem;
  color: #343a40;
  margin-bottom: 0.25rem;
}

.timeline-content p {
  font-size: 0.8125rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.timeline-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.timeline-progress .progress-bar {
  flex: 1;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.timeline-progress .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4d96ff 0%, #6bcb77 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.timeline-progress .progress-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4d96ff;
  white-space: nowrap;
}

/* 对比图表 */
.prediction-chart {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.prediction-chart h4 {
  font-size: 1rem;
  color: #343a40;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prediction-chart h4 i {
  color: #6bcb77;
}

.comparison-chart {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chart-label {
  width: 80px;
  font-size: 0.875rem;
  color: #495057;
  font-weight: 500;
}

.chart-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chart-bars .bar {
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  transition: width 0.5s ease;
}

.chart-bars .bar.before {
  background: #e9ecef;
  color: #6c757d;
}

.chart-bars .bar.after {
  background: linear-gradient(90deg, #4d96ff 0%, #6bcb77 100%);
  color: white;
}

.chart-bars .bar-label {
  font-size: 0.75rem;
  font-weight: 500;
}

/* AI推荐工具包样�?*/
.tool-item.ai-recommended {
  border: 2px solid #4d96ff;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.tool-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.ai-recommend-badge,
.video-recommend-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.ai-recommend-badge {
  background: #e7f5ff;
  color: #1971c2;
}

.video-recommend-badge {
  background: #f3e5f5;
  color: #7b1fa2;
}

.tool-reason {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #e7f5ff;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  color: #1971c2;
}

.tool-reason i {
  margin-top: 0.125rem;
}

/* ==================== 人员流动热力图样�?==================== */
.heatmap-section {
  margin-bottom: 2rem;
}

.heatmap-section h2 {
  font-size: 1.25rem;
  color: #343a40;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.heatmap-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.heatmap-intro {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #fff3e0;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.heatmap-intro i {
  color: #ff9800;
  font-size: 1.25rem;
}

.heatmap-intro p {
  margin: 0;
  font-size: 0.875rem;
  color: #495057;
  line-height: 1.5;
}

.heatmap-container {
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

#flow-heatmap-canvas {
  width: 100%;
  height: auto;
  border-radius: 0.375rem;
  background: white;
}

/* 视频分析页面热力图容�?*/
.flow-heatmap-container {
  position: relative;
  width: 100%;
  height: 300px;
  background: #f8f9fa;
  border-radius: 0.5rem;
  overflow: hidden;
}

.flow-heatmap-container .flow-base-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow-heatmap-container #flow-heatmap-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

/* 热力图背景占位符 */
.heatmap-background-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  color: #6c757d;
  gap: 0.5rem;
}

.heatmap-background-placeholder i {
  font-size: 3rem;
  opacity: 0.5;
}

.heatmap-background-placeholder span {
  font-size: 0.875rem;
  opacity: 0.7;
}

.heatmap-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.legend-label {
  font-size: 0.75rem;
  color: #6c757d;
}

.legend-gradient {
  width: 150px;
  height: 12px;
  background: linear-gradient(90deg, #ffff00 0%, #ff8000 50%, #ff0000 100%);
  border-radius: 6px;
}

.heatmap-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.heatmap-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}

.heatmap-stat i {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
  color: white;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heatmap-stat .stat-info {
  display: flex;
  flex-direction: column;
}

.heatmap-stat .stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #343a40;
}

.heatmap-stat .stat-label {
  font-size: 0.75rem;
  color: #6c757d;
}

/* 响应式调�?*/
@media (max-width: 768px) {
  .summary-grid,
  .pattern-grid,
  .effect-section.enhanced .effect-grid {
    grid-template-columns: 1fr;
  }
  
  .prediction-bar {
    width: 120px;
  }
  
  .lesion-stats {
    flex-direction: column;
  }
  
  .heatmap-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  #flow-heatmap-canvas {
    height: 250px;
  }
}

/* ==================== 文件预览样式 ==================== */
.file-preview {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.preview-media {
  width: 100%;
  min-height: 300px;
  background: #f8f9fa;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.preview-media video {
  width: 100%;
  max-height: 400px;
  border-radius: 0.5rem;
}

.preview-media img {
  max-width: 100%;
  max-height: 400px;
  border-radius: 0.5rem;
  object-fit: contain;
}

.file-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}

.file-name {
  font-weight: 500;
  color: #343a40;
}

.file-size {
  font-size: 0.875rem;
  color: #6c757d;
}

.remove-file-btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

/* ==================== 视频与热力图叠加样式 ==================== */
.video-heatmap-wrapper {
  position: relative;
  width: 100%;
  background: #1a1a2e;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.video-preview-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-preview-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.overlay-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(77, 150, 255, 0.9);
  color: white;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.overlay-badge i {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.heatmap-overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.heatmap-overlay-container canvas {
  width: 100%;
  height: 100%;
  opacity: 0.9;
  /* 移除mix-blend-mode，使用正常渲�?*/
}

/* 热点详情样式 */
.hotspot-details {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}

.hotspot-details h4 {
  font-size: 1rem;
  color: #343a40;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hotspot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hotspot-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: white;
  border-radius: 0.5rem;
  border: 1px solid #e9ecef;
}

.hotspot-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.hotspot-info {
  display: flex;
  flex-direction: column;
}

.hotspot-location {
  font-size: 0.875rem;
  font-weight: 500;
  color: #343a40;
}

.hotspot-intensity {
  font-size: 0.75rem;
  color: #6c757d;
}

/* 热力图控制按�?*/
.heatmap-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}

.heatmap-controls .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.heatmap-controls .btn i {
  font-size: 0.875rem;
}

/* ==================== 关于我们页面样式 ==================== */
.about-module .about-section {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.about-module .about-section:last-child {
  border-bottom: none;
}

/* 页面标题 */
.about-module .page-header-glass {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding: 80px 0 60px;
}

.about-module .page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.about-module .title-icon {
  width: 48px;
  height: 48px;
  color: #a1a1aa;
  flex-shrink: 0;
}

.about-module .page-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  text-align: center;
}

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

.about-image-placeholder {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, rgba(161, 161, 170, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 2px solid rgba(161, 161, 170, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(161, 161, 170, 0.15);
}

.about-image-placeholder svg {
  width: 120px;
  height: 120px;
}

.about-module .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.about-module .section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #64748b;
  margin-bottom: 1rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(161, 161, 170, 0.08);
  border: 1px solid rgba(161, 161, 170, 0.2);
  border-radius: 2rem;
  color: #a1a1aa;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.feature-tag:hover {
  background: rgba(161, 161, 170, 0.15);
  transform: translateY(-2px);
}

.feature-tag svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 1.25rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(161, 161, 170, 0.25);
}

.feature-card .feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(161, 161, 170, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 2px solid rgba(161, 161, 170, 0.15);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-card .feature-icon svg {
  width: 36px;
  height: 36px;
}

.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #64748b;
  line-height: 1.7;
  font-size: 0.9375rem;
}

.tech-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tech-category {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.tech-category h5 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.tech-category h5 svg {
  width: 22px;
  height: 22px;
  color: #a1a1aa;
  flex-shrink: 0;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-item {
  padding: 0.5rem 1rem;
  background: rgba(248, 250, 252, 0.8);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #475569;
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: all 0.2s ease;
}

.tech-item:hover {
  background: rgba(161, 161, 170, 0.08);
  border-color: rgba(161, 161, 170, 0.25);
  color: #a1a1aa;
}

.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: rgba(161, 161, 170, 0.2);
}

.team-avatar {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, rgba(161, 161, 170, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 2px solid rgba(161, 161, 170, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
  border-color: rgba(161, 161, 170, 0.25);
  transform: scale(1.05);
}

.team-avatar svg {
  width: 40px;
  height: 40px;
}

.team-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.team-card .text-muted {
  color: #64748b !important;
  font-size: 0.875rem;
}

.contact-section {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.95) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  padding: 3rem;
  border-radius: 1.25rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 1rem;
  color: #475569;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(161, 161, 170, 0.2);
  transform: translateX(4px);
}

.contact-item svg {
  width: 22px;
  height: 22px;
  color: #a1a1aa;
  flex-shrink: 0;
}

/* ==================== 隐私政策页面样式 - Apple/Linear风格 ==================== */
.privacy-module .page-header-glass {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding: 80px 0 60px;
}

.privacy-module .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d1d1f;
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.privacy-module .page-subtitle {
  font-size: 1.125rem;
  color: #86868b;
  text-align: center;
}

.privacy-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.privacy-content-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.privacy-meta {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.privacy-update-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 980px;
  color: #007aff;
  font-size: 0.875rem;
  font-weight: 500;
}

.privacy-sections {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.privacy-section {
  padding-bottom: 0;
}

.privacy-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.privacy-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 1.5rem 0 0.75rem;
}

.privacy-section p {
  color: #6e6e73;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.privacy-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-section ul li {
  color: #6e6e73;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.privacy-section ul li strong {
  color: #1d1d1f;
  font-weight: 600;
}

/* 保护措施卡片 */
.protection-measures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.measure-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(29, 29, 31, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.measure-item:hover {
  background: rgba(0, 122, 255, 0.05);
  border-color: rgba(0, 122, 255, 0.15);
  transform: translateY(-2px);
}

.measure-item svg {
  width: 36px;
  height: 36px;
  color: #007aff;
  flex-shrink: 0;
}

.measure-item h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.375rem;
}

.measure-item p {
  font-size: 0.875rem;
  color: #86868b;
  margin: 0;
  line-height: 1.5;
}

/* 用户权利 */
.user-rights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.right-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem;
  background: rgba(29, 29, 31, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.right-item:hover {
  background: rgba(0, 122, 255, 0.05);
  border-color: rgba(0, 122, 255, 0.15);
  transform: translateY(-2px);
}

.right-item svg {
  width: 28px;
  height: 28px;
  color: #007aff;
  flex-shrink: 0;
}

.right-item span {
  font-size: 0.9rem;
  color: #1d1d1f;
  line-height: 1.4;
}

.right-item span strong {
  font-weight: 600;
}

/* 联系我们 */
.privacy-contact-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.privacy-contact-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem;
  background: rgba(29, 29, 31, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.privacy-contact-item:hover {
  background: rgba(0, 122, 255, 0.05);
  border-color: rgba(0, 122, 255, 0.15);
}

.privacy-contact-item svg {
  width: 28px;
  height: 28px;
  color: #007aff;
  flex-shrink: 0;
}

.privacy-contact-item span {
  font-size: 0.9375rem;
  color: #1d1d1f;
  font-weight: 500;
}

/* 返回按钮 */
.privacy-actions {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: center;
}

.privacy-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: #007aff;
  color: white;
  border-radius: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.privacy-back-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.35);
}

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

/* 响应式适配 */
@media (max-width: 768px) {
  .privacy-module .page-title {
    font-size: 2rem;
  }
  
  .privacy-content-card {
    padding: 2rem 1.5rem;
  }
  
  .privacy-section h2 {
    font-size: 1.25rem;
  }
  
  .protection-measures {
    grid-template-columns: 1fr;
  }
  
  .user-rights {
    grid-template-columns: 1fr;
  }
}

/* ==================== 服务条款页面样式 - Apple/Linear风格 ==================== */
.terms-module .page-header-glass {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding: 80px 0 60px;
}

.terms-module .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d1d1f;
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.terms-module .page-subtitle {
  font-size: 1.125rem;
  color: #86868b;
  text-align: center;
}

.terms-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.terms-content-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.terms-meta {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.terms-update-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 980px;
  color: #007aff;
  font-size: 0.875rem;
  font-weight: 500;
}

.terms-sections {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.terms-section {
  padding-bottom: 0;
}

.terms-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.terms-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 1.5rem 0 0.75rem;
}

.terms-section p {
  color: #6e6e73;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.terms-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.terms-section ul li {
  color: #6e6e73;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.terms-section a {
  color: #007aff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.terms-section a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* 联系我们 */
.terms-contact-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.terms-contact-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem;
  background: rgba(29, 29, 31, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.terms-contact-item:hover {
  background: rgba(0, 122, 255, 0.05);
  border-color: rgba(0, 122, 255, 0.15);
}

.terms-contact-item svg {
  width: 28px;
  height: 28px;
  color: #007aff;
  flex-shrink: 0;
}

.terms-contact-item span {
  font-size: 0.9375rem;
  color: #1d1d1f;
  font-weight: 500;
}

/* 返回按钮 */
.terms-actions {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: center;
}

.terms-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: #007aff;
  color: white;
  border-radius: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.terms-back-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.35);
}

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

/* 响应式适配 */
@media (max-width: 768px) {
  .terms-module .page-title {
    font-size: 2rem;
  }
  
  .terms-content-card {
    padding: 2rem 1.5rem;
  }
  
  .terms-section h2 {
    font-size: 1.25rem;
  }
}

/* ==================== 隐私政策页面 - 暗黑模式 ==================== */
[data-theme="dark"] .privacy-module {
  background-color: #000000 !important;
}
[data-theme="dark"] .privacy-module .page-header-glass {
  background: #000000 !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .privacy-module .page-title { color: #e4e4e7; }
[data-theme="dark"] .privacy-module .page-subtitle { color: #71717a; }
[data-theme="dark"] .privacy-container { background-color: #000000 !important; }
[data-theme="dark"] .privacy-content-card {
  background: rgba(0, 0, 0, 1) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
}
[data-theme="dark"] .privacy-meta { border-bottom-color: rgba(255, 255, 255, 0.08) !important; }
[data-theme="dark"] .privacy-update-badge {
  background: rgba(161, 161, 170, 0.2) !important;
  color: #a1a1aa !important;
}
[data-theme="dark"] .privacy-section h2 { color: #e4e4e7; }
[data-theme="dark"] .privacy-section h3 { color: #a1a1aa; }
[data-theme="dark"] .privacy-section p,
[data-theme="dark"] .privacy-section li { color: #71717a; }
[data-theme="dark"] .privacy-section ul li strong { color: #a1a1aa; }
[data-theme="dark"] .measure-item {
  background: #111113 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
[data-theme="dark"] .measure-item:hover {
  background: rgba(161, 161, 170, 0.15) !important;
  border-color: rgba(161, 161, 170, 0.25) !important;
}
[data-theme="dark"] .measure-item svg { color: #a1a1aa; }
[data-theme="dark"] .measure-item h5 { color: #e4e4e7; }
[data-theme="dark"] .measure-item p { color: #71717a; }
[data-theme="dark"] .right-item {
  background: #111113 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
[data-theme="dark"] .right-item:hover {
  background: rgba(161, 161, 170, 0.15) !important;
  border-color: rgba(161, 161, 170, 0.25) !important;
}
[data-theme="dark"] .right-item svg { color: #a1a1aa; }
[data-theme="dark"] .right-item span { color: #a1a1aa; }
[data-theme="dark"] .privacy-contact-box { border-top-color: rgba(255, 255, 255, 0.08) !important; }
[data-theme="dark"] .privacy-contact-item {
  background: #111113 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
[data-theme="dark"] .privacy-contact-item:hover {
  background: rgba(161, 161, 170, 0.15) !important;
  border-color: rgba(161, 161, 170, 0.25) !important;
}
[data-theme="dark"] .privacy-contact-item svg { color: #a1a1aa; }
[data-theme="dark"] .privacy-contact-item span { color: #a1a1aa; }
[data-theme="dark"] .privacy-actions { border-top-color: rgba(255, 255, 255, 0.08) !important; }
[data-theme="dark"] .privacy-back-btn {
  background: #a1a1aa !important;
  box-shadow: 0 8px 20px rgba(161, 161, 170, 0.2) !important;
}
[data-theme="dark"] .privacy-back-btn:hover {
  background: #71717a !important;
  box-shadow: 0 8px 20px rgba(161, 161, 170, 0.3) !important;
}

/* ==================== 服务条款页面 - 暗黑模式 ==================== */
[data-theme="dark"] .terms-module {
  background-color: #000000 !important;
}
[data-theme="dark"] .terms-module .page-header-glass {
  background: #000000 !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .terms-module .page-title { color: #e4e4e7; }
[data-theme="dark"] .terms-module .page-subtitle { color: #71717a; }
[data-theme="dark"] .terms-container { background-color: #000000 !important; }
[data-theme="dark"] .terms-content-card {
  background: rgba(0, 0, 0, 1) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
}
[data-theme="dark"] .terms-meta { border-bottom-color: rgba(255, 255, 255, 0.08) !important; }
[data-theme="dark"] .terms-update-badge {
  background: rgba(161, 161, 170, 0.2) !important;
  color: #a1a1aa !important;
}
[data-theme="dark"] .terms-section h2 { color: #e4e4e7; }
[data-theme="dark"] .terms-section h3 { color: #a1a1aa; }
[data-theme="dark"] .terms-section p,
[data-theme="dark"] .terms-section li { color: #71717a; }
[data-theme="dark"] .terms-section a { color: #a1a1aa; }
[data-theme="dark"] .terms-section a:hover { color: #a1a1aa; }
[data-theme="dark"] .terms-contact-item {
  background: #111113 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
[data-theme="dark"] .terms-contact-item:hover {
  background: rgba(161, 161, 170, 0.15) !important;
  border-color: rgba(161, 161, 170, 0.25) !important;
}
[data-theme="dark"] .terms-contact-item svg { color: #a1a1aa; }
[data-theme="dark"] .terms-contact-item span { color: #a1a1aa; }
[data-theme="dark"] .terms-actions { border-top-color: rgba(255, 255, 255, 0.08) !important; }
[data-theme="dark"] .terms-back-btn {
  background: #a1a1aa !important;
  box-shadow: 0 8px 20px rgba(161, 161, 170, 0.2) !important;
}
[data-theme="dark"] .terms-back-btn:hover {
  background: #71717a !important;
  box-shadow: 0 8px 20px rgba(161, 161, 170, 0.3) !important;
}

/* ==================== 用户认证页面样式 ==================== */
.auth-module {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-container {
  display: flex;
  max-width: 1000px;
  width: 100%;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-card {
  flex: 1;
  padding: 3rem;
  max-width: 450px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo i {
  font-size: 4rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-logo h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-top: 0.5rem;
}

.auth-logo p {
  color: #6c757d;
  font-size: 0.9rem;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
}

.auth-form .form-group {
  margin-bottom: 1.25rem;
}

.auth-form label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #495057;
  margin-bottom: 0.5rem;
}

.auth-form label i {
  color: #667eea;
}

.password-input-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0.25rem;
}

.toggle-password:hover {
  color: #667eea;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #495057;
  font-size: 0.875rem;
}

.forgot-link {
  color: #667eea;
  font-size: 0.875rem;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.error-message {
  display: none;
  padding: 0.75rem;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 0.5rem;
  color: #721c24;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: #6c757d;
  font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #dee2e6;
}

.auth-divider span {
  padding: 0 1rem;
}

.social-login {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #dee2e6;
}

.auth-link {
  color: #667eea;
  font-weight: 500;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.back-home {
  text-align: center;
  margin-top: 1rem;
}

.auth-banner {
  flex: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: white;
  min-height: 600px;
}

.banner-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.banner-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.feature-list li i {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* 步骤指示�?*/
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.step.active .step-number {
  background: #667eea;
  color: white;
}

.step-label {
  font-size: 0.75rem;
  color: #6c757d;
}

.step.active .step-label {
  color: #667eea;
  font-weight: 500;
}

.step-line {
  flex: 1;
  height: 2px;
  background: #e9ecef;
  margin: 0 0.5rem;
  margin-bottom: 1.5rem;
  max-width: 60px;
}

/* 密码强度 */
.password-strength {
  margin-top: 0.5rem;
}

.strength-bar {
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.strength-text {
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 0.25rem;
}

.agreement-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #495057;
  cursor: pointer;
}

.agreement-label input {
  margin-top: 0.25rem;
}

.agreement-label a {
  color: #667eea;
}

/* ==================== 个人中心样式 ==================== */
.profile-module .profile-sidebar {
  position: sticky;
  top: 2rem;
}

.profile-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  position: relative;
}

.profile-avatar img,
.profile-avatar i {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-avatar i {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
}

.avatar-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  background: #667eea;
  border: 3px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.avatar-edit:hover {
  background: #764ba2;
  transform: scale(1.1);
}

.profile-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.25rem;
}

.profile-role {
  color: #667eea;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.profile-email {
  color: #6c757d;
  font-size: 0.875rem;
}

.profile-nav {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #495057;
  font-size: 0.95rem;
}

.nav-item:hover {
  background: #f8f9fa;
  color: #667eea;
}

.nav-item.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.nav-item i {
  width: 24px;
  text-align: center;
}

.nav-item .badge {
  margin-left: auto;
  background: #667eea;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.75rem;
}

.nav-item.active .badge {
  background: rgba(255, 255, 255, 0.3);
}

.profile-content .content-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.content-card .card-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
}

.content-card .card-header h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.content-card .card-body {
  padding: 1.5rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}

.info-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.9rem;
}

.info-value {
  color: #2c3e50;
  font-weight: 500;
}

.stat-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.stat-info h5 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.stat-info span {
  color: #6c757d;
  font-size: 0.875rem;
}

.plans-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.plan-item:hover {
  background: #e9ecef;
}

.plan-info h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.plan-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-completed {
  background: #d4edda;
  color: #155724;
}

.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e9ecef;
}

.setting-item:last-child {
  border-bottom: none;
}

.setting-item h6 {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.25rem;
}

.setting-item p {
  color: #6c757d;
  font-size: 0.875rem;
  margin: 0;
}

/* 开关样�?*/
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: #667eea;
}

.switch input:checked + .slider:before {
  transform: translateX(24px);
}

.danger-zone {
  padding: 1rem 0;
}

.danger-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.danger-item h6 {
  color: #dc3545;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* 快捷链接 */
.quick-links {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  color: #495057;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.quick-link:last-child {
  border-bottom: none;
}

.quick-link:hover {
  background: #f8f9fa;
  color: #667eea;
}

.quick-link i:first-child {
  width: 32px;
  height: 32px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
}

.quick-link i:last-child {
  font-size: 0.75rem;
  color: #adb5bd;
}

/* ==================== 收藏页面样式 ==================== */
.favorites-module .toolbar,
.history-module .toolbar {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-group {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #dee2e6;
  background: white;
  border-radius: 0.5rem;
  color: #495057;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #667eea;
  color: #667eea;
}

.filter-btn.active {
  background: #667eea;
  border-color: #667eea;
  color: white;
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
}

.view-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #dee2e6;
  background: white;
  border-radius: 0.5rem;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-btn:hover {
  border-color: #667eea;
  color: #667eea;
}

.view-btn.active {
  background: #667eea;
  border-color: #667eea;
  color: white;
}

/* 收藏卡片 */
.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.favorite-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.favorite-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.favorite-card:hover .favorite-hover-actions {
  opacity: 1;
  visibility: visible;
}

.favorite-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.favorite-scene {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.favorite-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.3);
}

.btn-icon.favorite-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #dc3545;
}

.favorite-body {
  padding: 1.5rem;
}

.favorite-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.favorite-desc {
  color: #6c757d;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.favorite-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tool-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 1rem;
  font-size: 0.75rem;
  color: #667eea;
}

.tool-tag.more {
  background: #e9ecef;
  color: #6c757d;
}

.favorite-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-top: 1px solid #e9ecef;
}

.favorite-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.75rem;
  color: #6c757d;
}

.price-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #667eea;
}

.favorite-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.875rem;
}

.favorite-hover-actions {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 历史记录样式 */
.stat-card-simple {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stat-card-simple .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.stat-card-simple .stat-info h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.stat-card-simple .stat-info span {
  color: #6c757d;
  font-size: 0.875rem;
}

/* 历史列表 */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.history-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.history-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.history-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-main {
  flex: 1;
}

.history-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.25rem;
}

.history-desc {
  color: #6c757d;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.history-meta {
  display: flex;
  gap: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.875rem;
}

.history-status {
  margin: 0 1.5rem;
}

.history-actions {
  display: flex;
  gap: 0.5rem;
}

/* 历史网格 */
.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.history-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.history-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.history-card .scene-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #495057;
  font-weight: 500;
}

.history-card .card-body {
  padding: 1.5rem;
}

.history-card .card-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.tools-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.price-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.price-info .price-label {
  color: #6c757d;
  font-size: 0.875rem;
}

.price-info .price-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #667eea;
}

.history-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.history-card .date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.875rem;
}

.history-card .actions {
  display: flex;
  gap: 0.5rem;
}

/* 空状�?*/
.empty-state-card {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.empty-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.empty-icon i {
  font-size: 3rem;
  color: white;
}

.empty-state-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.empty-state-card p {
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.empty-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.batch-actions,
.history-footer {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 0;
}

/* 响应�?*/
@media (max-width: 768px) {
  .auth-container {
    flex-direction: column;
  }
  
  .auth-banner {
    display: none;
  }
  
  .auth-card {
    max-width: 100%;
    padding: 2rem;
  }
  
  .profile-sidebar {
    position: static;
    margin-bottom: 2rem;
  }
  
  .favorites-grid,
  .history-grid {
    grid-template-columns: 1fr;
  }
  
  .history-item {
    flex-direction: column;
    text-align: center;
  }
  
  .history-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .history-meta {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ==================== 智能客服样式 ==================== */

/* 智能客服悬浮组件 */
.chatbot-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  user-select: none;
}

.chatbot-widget.is-dragging {
  z-index: 10000;
}

/* 悬浮按钮 - Apple风格 */
.chatbot-toggle {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.72) 100%);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.04);
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: relative;
  overflow: visible;
}

.chatbot-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.chatbot-toggle:hover {
  transform: scale(1.06);
  background: linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.82) 100%);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 12px 36px rgba(0, 0, 0, 0.14),
    0 4px 10px rgba(0, 0, 0, 0.06),
    0 0 0 4px rgba(0, 122, 255, 0.06);
}

.chatbot-toggle:active,
.chatbot-toggle.dragging {
  cursor: grabbing;
  transform: scale(0.95);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 0 0 8px rgba(0, 122, 255, 0.04);
}

/* 按钮内部容器 */
.chatbot-toggle-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* 机器人图�?*/
.chatbot-icon-robot {
  width: 28px;
  height: 28px;
  color: #1d1d1f;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06));
}

.chatbot-toggle:hover .chatbot-icon-robot {
  transform: scale(1.08);
}

/* 脉冲动画效果 - 柔和风格 */
.chatbot-icon-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  animation: chatbot-pulse 3s ease-out infinite;
  z-index: 0;
}

@keyframes chatbot-pulse {
  0% {
    transform: scale(1);
    opacity: 0.45;
  }
  60% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* 拖拽提示 - 简约风�?*/
.chatbot-drag-hint {
  position: absolute;
  bottom: -7px;
  right: -7px;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.04);
  z-index: 3;
}

.chatbot-drag-hint svg {
  width: 12px;
  height: 12px;
  color: #86868b;
}

.chatbot-toggle:hover .chatbot-drag-hint {
  opacity: 1;
  transform: scale(1);
}

/* 未读消息徽章 - 简约风�?*/
.chatbot-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ff3b30 0%, #ff453a 100%);
  color: white;
  border-radius: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badge-pulse 2s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(255, 59, 48, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  letter-spacing: -0.01em;
  z-index: 4;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* 聊天窗口 - Apple风格 */
.chatbot-window {
  position: absolute;
  bottom: 85px;
  right: 0;
  width: 380px;
  height: 560px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatbotSlideUp 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

/* 头部 - 简约风�?*/
.chatbot-header {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(0, 122, 255, 0.03) 100%);
  border-radius: 12px;
  border: 1px solid rgba(0, 122, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.chatbot-avatar i {
  font-size: 1.15rem;
  color: #007aff;
  filter: drop-shadow(0 1px 1px rgba(0,122,255,0.15));
}

.chatbot-info {
  flex: 1;
}

.chatbot-info h4 {
  color: #1d1d1f;
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.chatbot-status {
  color: #86868b;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chatbot-status i {
  font-size: 0.45rem;
  color: #34c759;
  filter: drop-shadow(0 0 3px rgba(52, 199, 89, 0.3));
}

.chatbot-close {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(29, 29, 31, 0.04);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.chatbot-close:hover {
  background: rgba(29, 29, 31, 0.08);
  transform: scale(1.06);
}

.chatbot-close i {
  color: #86868b;
  font-size: 0.85rem;
}

/* 消息区域 */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

/* 消息气泡 - Apple风格 */
.chat-message {
  display: flex;
  gap: 0.5rem;
  max-width: 86%;
  animation: messageIn 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.chat-message.bot .message-avatar {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.06) 0%, rgba(0, 122, 255, 0.02) 100%);
  border-color: rgba(0, 122, 255, 0.08);
}

.chat-message.user .message-avatar {
  background: linear-gradient(135deg, rgba(29, 29, 31, 0.04) 0%, rgba(29, 29, 31, 0.02) 100%);
  border-color: rgba(0, 0, 0, 0.04);
}

.message-avatar i {
  font-size: 0.85rem;
  color: #007aff;
}

.chat-message.user .message-avatar i {
  color: #86868b;
}

.message-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.message-bubble {
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.55;
  word-wrap: break-word;
  letter-spacing: -0.01em;
  transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.chat-message.bot .message-bubble {
  background: rgba(255, 255, 255, 0.88);
  color: #1d1d1f;
  border-radius: 4px 16px 16px 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 2px 8px rgba(0, 0, 0, 0.04);
}

.chat-message.user .message-bubble {
  background: linear-gradient(135deg, #007aff 0%, #0066d6 100%);
  color: white;
  border-radius: 16px 4px 16px 16px;
  box-shadow:
    0 2px 8px rgba(0, 122, 255, 0.25),
    0 1px 3px rgba(0, 122, 255, 0.15);
}

.message-time {
  font-size: 0.6875rem;
  color: #86868b;
  padding: 0 0.25rem;
  opacity: 0.7;
}

/* 消息中的emoji */
.message-bubble .emoji {
  font-size: 1.1rem;
  vertical-align: middle;
}

/* 输入中动�?- 简约风�?*/
.typing-indicator {
  display: flex;
  gap: 5px;
  padding: 0.625rem 0;
}

.typing-indicator span {
  width: 7px;
  height: 7px;
  background: #86868b;
  border-radius: 50%;
  animation: typing 1.4s ease-in-out infinite;
  opacity: 0.6;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.18s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* 快捷问题 - 简约风�?*/
.chatbot-quick-questions {
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-height: 100px;
  overflow-y: auto;
}

.quick-question-btn {
  padding: 0.5rem 0.9rem;
  background: rgba(29, 29, 31, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  font-size: 0.8125rem;
  color: #1d1d1f;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  white-space: nowrap;
  letter-spacing: -0.01em;
  font-weight: 450;
}

.quick-question-btn:hover {
  background: rgba(0, 122, 255, 0.08);
  color: #007aff;
  border-color: rgba(0, 122, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.08);
}

/* 输入区域 - Apple风格 */
.chatbot-input-area {
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: saturate(180%) blur(15px);
  -webkit-backdrop-filter: saturate(180%) blur(15px);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.chatbot-input-wrapper {
  display: flex;
  gap: 0.5rem;
  background: rgba(29, 29, 31, 0.035);
  border-radius: 18px;
  padding: 0.375rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.chatbot-input-wrapper:focus-within {
  border-color: rgba(0, 122, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.06);
  background: rgba(255, 255, 255, 0.92);
}

.chatbot-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: #1d1d1f;
  outline: none;
  letter-spacing: -0.01em;
}

.chatbot-input::placeholder {
  color: #a1a1a6;
}

.chatbot-send {
  width: 36px;
  height: 36px;
  border: none;
  background: linear-gradient(135deg, #007aff 0%, #0066d6 100%);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  box-shadow: 0 2px 6px rgba(0, 122, 255, 0.2);
}

.chatbot-send:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.35);
}

.chatbot-send:active {
  transform: scale(0.95);
}

.chatbot-send i {
  color: white;
  font-size: 0.85rem;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

.chatbot-hint {
  text-align: center;
  font-size: 0.6875rem;
  color: #a1a1a6;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.chatbot-hint i {
  font-size: 0.625rem;
  color: #a1a1a6;
}

/* 响应式适配 */
@media (max-width: 480px) {
  .chatbot-widget {
    bottom: 20px;
    right: 20px;
  }

  .chatbot-toggle {
    width: 56px;
    height: 56px;
  }

  .chatbot-icon-robot {
    width: 28px;
    height: 28px;
  }

  .chatbot-drag-hint {
    width: 18px;
    height: 18px;
  }

  .chatbot-drag-hint svg {
    width: 10px;
    height: 10px;
  }

  .chatbot-window {
    width: calc(100vw - 40px);
    height: 480px;
    right: -10px;
  }
}

/* 滚动条样�?*/
.chatbot-messages::-webkit-scrollbar,
.chatbot-quick-questions::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track,
.chatbot-quick-questions::-webkit-scrollbar-track {
  background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb,
.chatbot-quick-questions::-webkit-scrollbar-thumb {
  background: #dee2e6;
  border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover,
.chatbot-quick-questions::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

/* ==================== 新闻动态页面样�?==================== */
.news-module .page-header-glass {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding: 80px 0 60px;
}

.news-module .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 0.75rem;
}

.news-module .page-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  text-align: center;
}

/* 分类筛�?*/
.news-filter {
  display: flex;
  justify-content: center;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 2rem;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: rgba(161, 161, 170, 0.4);
  color: #a1a1aa;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(161, 161, 170, 0.3);
}

/* 新闻网格 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(161, 161, 170, 0.25);
}

/* 新闻图片区域 */
.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-placeholder svg {
  width: 56px;
  height: 56px;
  color: white;
}

/* 不同类别的新闻图标背景色 */
.news-placeholder.award {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.news-placeholder.partnership {
  background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%);
}

.news-placeholder.report {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.news-placeholder.feature {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.news-placeholder.event {
  background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
}

.news-placeholder.milestone {
  background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
}

/* 新闻分类标签 */
.news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.875rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a1a1aa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 新闻内容 */
.news-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  display: block;
}

.news-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-summary {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #a1a1aa;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-link:hover {
  color: #71717a;
  gap: 0.75rem;
}

.news-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.news-link:hover svg {
  transform: translateX(4px);
}

/* 订阅区域 */
.news-subscribe .subscribe-card {
  background: linear-gradient(135deg, rgba(161, 161, 170, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(161, 161, 170, 0.15);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.subscribe-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.subscribe-card p {
  color: #64748b;
  margin: 0;
}

.subscribe-form .input-group {
  display: flex;
  gap: 0.75rem;
}

.subscribe-form .form-control {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.subscribe-form .form-control:focus {
  outline: none;
  border-color: #a1a1aa;
  box-shadow: 0 0 0 3px rgba(161, 161, 170, 0.1);
}

.subscribe-form .btn-primary {
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%);
  border: none;
  border-radius: 0.75rem;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(161, 161, 170, 0.3);
}

.subscribe-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(161, 161, 170, 0.4);
}

/* 加载更多按钮 */
#load-more-news svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

#load-more-news:hover svg {
  transform: translateY(2px);
}

/* 响应�?*/
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-buttons {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
  
  .news-subscribe .subscribe-card {
    padding: 1.5rem;
  }
  
  .subscribe-form .input-group {
    flex-direction: column;
  }
}

/* ==================== 联系我们页面样式 ==================== */
.contact-module .page-header-glass {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding: 80px 0 60px;
}

.contact-module .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 0.75rem;
}

.contact-module .page-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  text-align: center;
}

/* 联系信息卡片 */
.contact-info-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

/* 联系项目 */
.contact-item-glass {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(248, 250, 252, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.contact-item-glass:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(161, 161, 170, 0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(161, 161, 170, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 2px solid rgba(161, 161, 170, 0.15);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item-glass:hover .contact-icon {
  border-color: rgba(161, 161, 170, 0.3);
  transform: scale(1.05);
}

.contact-icon svg {
  width: 26px;
  height: 26px;
  color: #a1a1aa;
}

.contact-detail h6 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.375rem;
}

.contact-detail p {
  font-size: 1rem;
  color: #a1a1aa;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-detail small {
  font-size: 0.8125rem;
  color: #94a3b8;
}

/* 社交媒体 */
.contact-social h6 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(161, 161, 170, 0.3);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

/* 联系表单卡片 */
.contact-form-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.contact-form-card .form-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 0.5rem;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  padding: 0.875rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  outline: none;
  border-color: #a1a1aa;
  box-shadow: 0 0 0 3px rgba(161, 161, 170, 0.1);
  background: white;
}

.contact-form-card textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.contact-form-card .btn-primary {
  padding: 1rem;
  background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%);
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(161, 161, 170, 0.3);
  transition: all 0.3s ease;
}

.contact-form-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(161, 161, 170, 0.4);
}

.contact-form-card .btn-primary svg {
  width: 20px;
  height: 20px;
}

/* 常见问题区域 */
.faq-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.faq-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
}

.faq-item {
  padding: 1.5rem;
  background: rgba(248, 250, 252, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 1rem;
  height: 100%;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(161, 161, 170, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.faq-item h6 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.faq-item p {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* 响应�?*/
@media (max-width: 991px) {
  .contact-info-card,
  .contact-form-card,
  .faq-section {
    padding: 1.75rem;
  }
}

@media (max-width: 768px) {
  .contact-module .page-title {
    font-size: 2rem;
  }
  
  .contact-icon {
    width: 48px;
    height: 48px;
  }
  
  .contact-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .social-link svg {
    width: 20px;
    height: 20px;
  }
}

/* ==================== 合作伙伴页面样式 ==================== */
.partners-module .page-header-glass {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding: 80px 0 60px;
}

.partners-module .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 0.75rem;
}

.partners-module .page-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  text-align: center;
}

/* 合作机构卡片 */
.partners-showcase .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
}

.partner-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(161, 161, 170, 0.25);
}

.partner-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
  transform: scale(1.05);
}

.partner-logo svg {
  width: 100%;
  height: 100%;
}

.partner-card h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.partner-card .text-muted {
  color: #64748b !important;
  font-size: 0.9375rem;
}

/* 合作方式卡片 */
.cooperation-methods .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
}

.coop-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.coop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(161, 161, 170, 0.2);
}

.coop-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(161, 161, 170, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 2px solid rgba(161, 161, 170, 0.15);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.coop-card:hover .coop-icon {
  border-color: rgba(161, 161, 170, 0.3);
  transform: scale(1.05);
}

.coop-icon svg {
  width: 32px;
  height: 32px;
  color: #a1a1aa;
}

.coop-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.coop-card p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.coop-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.coop-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #475569;
  font-size: 0.9375rem;
}

.coop-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #a1a1aa;
  border-radius: 50%;
}

/* 合作申请区域 */
.cooperation-apply .apply-card {
  background: linear-gradient(135deg, rgba(161, 161, 170, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(161, 161, 170, 0.15);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.apply-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.apply-card p {
  color: #64748b;
  margin: 0;
}

.apply-card .btn-primary {
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%);
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(161, 161, 170, 0.3);
  transition: all 0.3s ease;
}

.apply-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(161, 161, 170, 0.4);
}

.apply-card .btn-primary svg {
  width: 20px;
  height: 20px;
}

/* 响应�?*/
@media (max-width: 768px) {
  .partners-module .page-title {
    font-size: 2rem;
  }
  
  .partner-card,
  .coop-card,
  .apply-card {
    padding: 1.75rem;
  }
  
  .partner-logo {
    width: 72px;
    height: 72px;
  }
  
  .coop-icon {
    width: 56px;
    height: 56px;
  }
  
  .coop-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* ==================== 联系我们页面 - 暗黑模式 ==================== */
[data-theme="dark"] .contact-module { background-color: #000000 !important; }
[data-theme="dark"] .contact-module .page-header-glass {
  background: #000000 !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .contact-module .page-title { color: #e4e4e7; }
[data-theme="dark"] .contact-module .page-subtitle { color: #71717a; }

[data-theme="dark"] .contact-info-card {
  background: rgba(17, 17, 19, 1) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3) !important;
}
[data-theme="dark"] .contact-info-card h3 { color: #e4e4e7; }

[data-theme="dark"] .contact-item-glass {
  background: rgba(29, 29, 31, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
[data-theme="dark"] .contact-item-glass:hover {
  background: rgba(161, 161, 170, 0.15) !important;
  border-color: rgba(161, 161, 170, 0.25) !important;
}

[data-theme="dark"] .contact-icon {
  background: rgba(161, 161, 170, 0.15) !important;
  border-color: rgba(161, 161, 170, 0.2) !important;
}
[data-theme="dark"] .contact-icon svg { color: #a1a1aa; }

[data-theme="dark"] .contact-detail h6 { color: #e4e4e7; }
[data-theme="dark"] .contact-detail p { color: #a1a1aa; }
[data-theme="dark"] .contact-detail small { color: #71717a; }

[data-theme="dark"] .contact-social h6 { color: #e4e4e7; }

[data-theme="dark"] .social-link {
  background: rgba(29, 29, 31, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #a1a1aa !important;
}
[data-theme="dark"] .social-link:hover {
  background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%) !important;
  border-color: transparent !important;
  color: #000000 !important;
}

[data-theme="dark"] .contact-form-card {
  background: rgba(17, 17, 19, 1) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3) !important;
}
[data-theme="dark"] .contact-form-card h3 { color: #e4e4e7; }
[data-theme="dark"] .contact-form-card .form-label { color: #a1a1aa; }
[data-theme="dark"] .contact-form-card .form-control,
[data-theme="dark"] .contact-form-card .form-select {
  background: rgba(29, 29, 31, 1) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #e4e4e7 !important;
}
[data-theme="dark"] .contact-form-card .form-control:focus,
[data-theme="dark"] .contact-form-card .form-select:focus {
  border-color: #a1a1aa !important;
  box-shadow: 0 0 0 3px rgba(161, 161, 170, 0.15) !important;
  background: rgba(17, 17, 19, 1) !important;
}
[data-theme="dark"] .contact-form-card .btn-primary {
  background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%) !important;
  box-shadow: 0 4px 16px rgba(161, 161, 170, 0.35) !important;
}

[data-theme="dark"] .faq-section {
  background: rgba(17, 17, 19, 1) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3) !important;
}
[data-theme="dark"] .faq-section h3 { color: #e4e4e7; }

[data-theme="dark"] .faq-item {
  background: rgba(29, 29, 31, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
[data-theme="dark"] .faq-item:hover {
  background: rgba(161, 161, 170, 0.15) !important;
  border-color: rgba(161, 161, 170, 0.25) !important;
}
[data-theme="dark"] .faq-item h6 { color: #e4e4e7; }
[data-theme="dark"] .faq-item p { color: #71717a; }

/* ==================== 合作伙伴页面 - 暗黑模式 ==================== */
[data-theme="dark"] .partners-module { background-color: #000000 !important; }
[data-theme="dark"] .partners-module .page-header-glass {
  background: #000000 !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .partners-module .page-title { color: #e4e4e7; }
[data-theme="dark"] .partners-module .page-subtitle { color: #71717a; }

[data-theme="dark"] .partners-showcase .section-title,
[data-theme="dark"] .cooperation-methods .section-title { color: #e4e4e7; }

[data-theme="dark"] .partner-card {
  background: rgba(17, 17, 19, 1) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3) !important;
}
[data-theme="dark"] .partner-card:hover {
  border-color: rgba(161, 161, 170, 0.25) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
}
[data-theme="dark"] .partner-card h5 { color: #e4e4e7; }
[data-theme="dark"] .partner-card .text-muted { color: #71717a !important; }

[data-theme="dark"] .coop-card {
  background: rgba(17, 17, 19, 1) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3) !important;
}
[data-theme="dark"] .coop-card:hover {
  border-color: rgba(161, 161, 170, 0.2) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
}
[data-theme="dark"] .coop-icon {
  background: rgba(161, 161, 170, 0.15) !important;
  border-color: rgba(161, 161, 170, 0.2) !important;
}
[data-theme="dark"] .coop-icon svg { color: #a1a1aa; }
[data-theme="dark"] .coop-card h4 { color: #e4e4e7; }
[data-theme="dark"] .coop-card p { color: #71717a; }
[data-theme="dark"] .coop-card ul li { color: #a1a1aa; }
[data-theme="dark"] .coop-card ul li::before { background: #a1a1aa; }

[data-theme="dark"] .cooperation-apply .apply-card {
  background: rgba(161, 161, 170, 0.08) !important;
  border-color: rgba(161, 161, 170, 0.15) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3) !important;
}
[data-theme="dark"] .apply-card h3 { color: #e4e4e7; }
[data-theme="dark"] .apply-card p { color: #71717a; }
[data-theme="dark"] .apply-card .btn-primary {
  background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%) !important;
  box-shadow: 0 4px 16px rgba(161, 161, 170, 0.35) !important;
}

/* ==================== 场景选择页面 - 玻璃拟态风�?==================== */

/* 玻璃拟态步骤指示器 */
.steps-indicator-glass {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.step-glass {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  color: #94a3b8;
  transition: all 0.3s ease;
}

.step-glass.active {
  color: #a1a1aa;
}

.step-icon-glass {
  width: 44px;
  height: 44px;
  background: rgba(148, 163, 184, 0.15);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.step-glass.active .step-icon-glass {
  background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(161, 161, 170, 0.3);
}

.step-icon-glass svg {
  width: 22px;
  height: 22px;
}

.step-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 100%);
  border-radius: 1px;
}

/* ==================== 导航下拉菜单 - Linear风格 ==================== */
.nav-dropdown-item {
  position: relative;
}

.nav-dropdown-arrow {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown-item:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1000;
  padding-top: 12px;
}

.nav-dropdown-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown-content {
  background: white;
  border-radius: 12px;
  padding: 8px;
  min-width: 200px;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.08),
    0 20px 25px -5px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
}

/* 用户下拉菜单特殊样式 */
.user-dropdown-content {
  min-width: 240px;
  padding: 12px;
}

.user-info-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid #f0f0f2;
}

.user-avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar svg {
  width: 42px;
  height: 42px;
  color: #6e6e73;
}

.user-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.user-info-name {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.2;
}

.user-info-email {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #8e8e93;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-divider {
  height: 1px;
  background: #e8e8ed;
  margin: 8px 0;
}

.dropdown-action-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #6e6e73;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-action-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.dropdown-action-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #1d1d1f;
}

.nav-dropdown-item-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8e8e93;
}

.nav-dropdown-item-icon svg {
  width: 18px;
  height: 18px;
}

.logout-link:hover {
  background: rgba(0, 0, 0, 0.06) !important;
  color: #1d1d1f !important;
}

.logout-link:hover .nav-dropdown-item-icon {
  color: #1d1d1f;
}

.nav-dropdown-item-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #1d1d1f;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown-item-link:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #1d1d1f;
}

.nav-dropdown-item-link:hover .nav-dropdown-item-icon {
  color: #1d1d1f;
}

.nav-dropdown-item-arrow {
  width: 16px;
  height: 16px;
  color: #86868b;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown-item-link:hover .nav-dropdown-item-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ==================== 新闻动态页�?- 全新设计 V2 ==================== */
.news-page {
  min-height: 100vh;
  background: #fafafa;
}

.news-header-bar {
  background: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.25s ease;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-weight: 500;
}

.news-back-link:hover {
  color: #1f2937;
  background: #f9fafb;
  border-color: #d1d5db;
  transform: translateX(-4px);
}

.back-icon {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.news-back-link:hover .back-icon {
  transform: translateX(-3px);
}

.news-content {
  padding: 60px 0 80px;
}

/* 英雄区域 - 更简洁现�?*/
.news-hero {
  text-align: center;
  margin-bottom: 48px;
}

.news-hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: #111827;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 24px;
}

.news-hero-title {
  font-size: 52px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  margin: 0 0 12px 0;
  line-height: 1.1;
}

.news-hero-desc {
  font-size: 18px;
  color: #6b7280;
  margin: 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* 筛选按�?- 更精致的设计 */
.news-filters {
  margin-bottom: 40px;
}

.news-filters-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 16px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.news-filter-btn {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.news-filter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #111827;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.news-filter-btn span {
  position: relative;
  z-index: 1;
}

.news-filter-btn:hover {
  color: #374151;
  background: #f3f4f6;
}

.news-filter-btn.active {
  color: #ffffff;
}

.news-filter-btn.active::before {
  opacity: 1;
}

/* 新闻列表 */
.news-list {
  margin-bottom: 56px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* 全新卡片设计 - 左图右文布局 */
.news-card-new {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 280px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
}

.news-card-new.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.news-card-new:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #e5e7eb;
}

/* 图片区域（左侧）*/
.news-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card-new:hover .news-card-img {
  transform: scale(1.08);
}

.news-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

.news-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 100px;
  color: #374151;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 内容区域（右侧）*/
.news-card-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card-meta {
  margin-bottom: 12px;
}

.news-card-time {
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.02em;
}

.news-card-heading {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px 0;
  line-height: 1.35;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.news-card-new:hover .news-card-heading {
  color: #000000;
}

.news-card-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 20px 0;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
}

.news-card-action:hover {
  gap: 12px;
  color: #000000;
}

.news-card-arrow-icon {
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.news-card-action:hover .news-card-arrow-icon {
  transform: translateX(4px);
}

/* 加载更多按钮 */
.news-load-more {
  text-align: center;
  padding: 32px 0;
}

.news-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-load-more-btn:hover {
  border-color: #111827;
  color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
}

/* 订阅区域 - 全新设计 */
.news-subscribe-section {
  margin-top: 64px;
}

.news-subscribe-box {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border-radius: 24px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.news-subscribe-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.news-subscribe-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.news-subscribe-icon {
  font-size: 42px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.news-subscribe-info {
  flex: 1;
}

.news-subscribe-title {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.news-subscribe-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
}

.news-subscribe-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
}

.news-subscribe-input {
  flex: 1;
  padding: 16px 22px;
  font-size: 15px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #1f2937;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.news-subscribe-input::placeholder {
  color: #9ca3af;
}

.news-subscribe-input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.news-subscribe-submit {
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  background: #1f2937;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.news-subscribe-submit:hover {
  background: #111827;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.news-subscribe-submit.success {
  background: #10b981;
  animation: successPulse 0.5s ease;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* 滚动动画 */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式设�?*/
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .news-card-new {
    grid-template-columns: 1fr;
    grid-template-rows: 220px 1fr;
    min-height: auto;
  }
  
  .news-card-img-wrap {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px) {
  .news-hero-title {
    font-size: 38px;
  }
  
  .news-hero-badge {
    font-size: 11px;
    padding: 6px 16px;
  }
  
  .news-filters-wrap {
    padding: 12px;
    gap: 8px;
  }
  
  .news-filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .news-card-body {
    padding: 24px;
  }
  
  .news-card-heading {
    font-size: 17px;
  }
  
  .news-subscribe-box {
    padding: 36px 24px;
  }
  
  .news-subscribe-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .news-subscribe-form {
    flex-direction: column;
    max-width: 100%;
  }
  
  .news-content {
    padding: 40px 0 60px;
  }
}

/* 页面标题 */
.scene-header-glass {
  text-align: center;
  margin-bottom: 3rem;
}

.scene-header-glass h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.scene-header-glass p {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 500px;
  margin: 0 auto;
}

/* ==================== 3D空间预览 - Apple/Linear/Pentagram 高端设计 ==================== */
.space3d-premium {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f7 50%, #eeeeef 100%);
  overflow: hidden;
}

.space3d-viewport {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  display: flex;
}

.space3d-canvas {
  flex: 1;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

/* 顶部导航 - 浮动玻璃�?*/
.space3d-header {
  position: absolute;
  top: 24px;
  left: 32px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -2px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: space3d-fadeInDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes space3d-fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.space3d-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: transparent;
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.space3d-back:hover {
  background: rgba(17, 24, 39, 0.06);
  color: #111827;
}

.space3d-back svg {
  transition: transform 0.25s ease;
}

.space3d-back:hover svg {
  transform: translateX(-3px);
}

.space3d-title-group {
  padding-left: 18px;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.space3d-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.space3d-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: #9ca3af;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* 浮动控制面板 - 右下角玻璃�?*/
.space3d-controls-float {
  position: absolute;
  bottom: 28px;
  left: 32px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -2px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: space3d-fadeInUp 0.5s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes space3d-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.space3d-control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  color: #6b7280;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.space3d-control-btn:hover {
  background: rgba(17, 24, 39, 0.06);
  color: #111827;
}

.space3d-divider {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1), transparent);
  margin: 0 4px;
}

.space3d-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 8px;
  font-size: 11px;
  color: #9ca3af;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.space3d-hint svg {
  opacity: 0.6;
}

/* 右侧信息侧边�?- 玻璃态卡�?*/
.space3d-sidebar {
  position: absolute;
  top: 24px;
  right: 24px;
  bottom: 24px;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  padding-right: 4px;
}

.space3d-sidebar::-webkit-scrollbar {
  width: 4px;
}

.space3d-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.space3d-sidebar::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

/* 信息面板 - 统一风格 */
.space3d-panel {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -2px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: space3d-panelSlide 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.space3d-panel:nth-child(1) { animation-delay: 0.1s; }
.space3d-panel:nth-child(2) { animation-delay: 0.2s; }
.space3d-panel:nth-child(3) { animation-delay: 0.3s; }

@keyframes space3d-panelSlide {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.space3d-panel-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 8px;
}

.space3d-panel-value {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.space3d-panel-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

.space3d-panel-detail svg {
  flex-shrink: 0;
  color: #d1d5db;
}

.space3d-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.space3d-panel-count {
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  background: rgba(0, 0, 0, 0.04);
  padding: 3px 8px;
  border-radius: 6px;
}

/* 工具包列�?*/
.space3d-tools-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.space3d-tool-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  cursor: default;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.space3d-tool-item:hover {
  background: var(--tool-color, #667eea);
  border-color: var(--tool-color, #667eea);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
  transform: translateX(4px);
}

.space3d-tool-item:hover .space3d-tool-name,
.space3d-tool-item:hover .space3d-tool-price,
.space3d-tool-item:hover .space3d-tool-index {
  color: white;
}

.space3d-tool-index {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tool-color, #667eea);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  letter-spacing: -0.02em;
  transition: all 0.25s ease;
}

.space3d-tool-info {
  flex: 1;
  min-width: 0;
}

.space3d-tool-name {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.space3d-tool-price {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  margin-top: 2px;
  transition: color 0.25s ease;
}

/* 价格卡片 - 黑色高端 */
.space3d-pricing-card {
  background: #111827 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.2),
    0 4px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.space3d-pricing-top {
  margin-bottom: 18px;
}

.space3d-pricing-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 6px;
}

.space3d-pricing-amount {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.space3d-export-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #ffffff;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
}

.space3d-export-btn:hover {
  background: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.space3d-export-btn svg {
  transition: transform 0.25s ease;
}

.space3d-export-btn:hover svg {
  transform: translateY(2px);
}

/* 响应式设�?*/
@media (max-width: 1200px) {
  .space3d-sidebar {
    width: 280px;
  }

  .space3d-pricing-amount {
    font-size: 26px;
  }
}

@media (max-width: 900px) {
  .space3d-sidebar {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 480px;
    margin: 20px auto 40px;
    padding: 0 20px;
  }

  .space3d-viewport {
    height: calc(70vh - 60px);
  }

  .space3d-controls-float {
    bottom: 16px;
    left: 16px;
  }

  .space3d-header {
    top: 16px;
    left: 16px;
  }
}

/* 场景网格 */
.scene-grid-glass {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* 玻璃拟态场景卡�?*/
.scene-card-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.scene-card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--scene-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scene-card-glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--scene-border);
}

.scene-card-glass:hover::before {
  opacity: 1;
}

.scene-card-glass.selected {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--scene-color);
  box-shadow: 0 0 0 4px var(--scene-bg), 0 12px 40px rgba(0, 0, 0, 0.1);
}

.scene-card-glass.selected::before {
  opacity: 1;
}

/* 场景图标 */
.scene-icon-glass {
  width: 80px;
  height: 80px;
  background: var(--scene-bg);
  border: 2px solid var(--scene-border);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--scene-color);
  transition: all 0.3s ease;
}

.scene-card-glass:hover .scene-icon-glass {
  transform: scale(1.1);
  box-shadow: 0 8px 24px var(--scene-bg);
}

.scene-icon-glass svg {
  width: 40px;
  height: 40px;
}

/* 场景信息 */
.scene-info-glass h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.scene-info-glass p {
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

/* 选中标记 */
.scene-check-glass {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 28px;
  height: 28px;
  background: var(--scene-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scene-card-glass.selected .scene-check-glass {
  opacity: 1;
  transform: scale(1);
}

.scene-check-glass svg {
  width: 16px;
  height: 16px;
}

/* 操作�?*/
.action-bar-glass {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.action-group-glass {
  display: flex;
  gap: 1rem;
}

/* 玻璃拟态按�?*/
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-glass-secondary {
  background: rgba(241, 245, 249, 0.8);
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.btn-glass-secondary:hover {
  background: rgba(226, 232, 240, 0.9);
  color: #475569;
}

.btn-glass-outline {
  background: rgba(255, 255, 255, 0.8);
  color: #a1a1aa;
  border: 1px solid rgba(161, 161, 170, 0.3);
}

.btn-glass-outline:hover:not(:disabled) {
  background: rgba(161, 161, 170, 0.1);
  border-color: rgba(161, 161, 170, 0.5);
}

.btn-glass-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-glass-primary {
  background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(161, 161, 170, 0.3);
}

.btn-glass-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(161, 161, 170, 0.4);
}

.btn-glass-primary:disabled {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
  cursor: not-allowed;
}

/* 响应�?*/
@media (max-width: 768px) {
  .steps-indicator-glass {
    padding: 1rem;
    gap: 0.25rem;
  }
  
  .step-glass {
    padding: 0.5rem;
  }
  
  .step-icon-glass {
    width: 36px;
    height: 36px;
  }
  
  .step-icon-glass svg {
    width: 18px;
    height: 18px;
  }
  
  .step-label {
    font-size: 0.75rem;
  }
  
  .step-connector {
    width: 20px;
  }
  
  .scene-header-glass h1 {
    font-size: 1.75rem;
  }
  
  .scene-grid-glass {
    grid-template-columns: 1fr;
  }
  
  .action-bar-glass {
    flex-direction: column;
    gap: 1rem;
  }
  
  .action-group-glass {
    width: 100%;
    flex-direction: column;
  }
  
  .btn-glass {
    width: 100%;
  }
}

/* ==================== AI情绪诊断页面 - 玻璃拟态风�?==================== */

/* 页面头部 */
.heatmap-header-glass {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.heatmap-header-glass .header-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(161, 161, 170, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 2px solid rgba(161, 161, 170, 0.2);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #a1a1aa;
}

.heatmap-header-glass .header-icon svg {
  width: 40px;
  height: 40px;
}

.heatmap-header-glass h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.heatmap-header-glass p {
  font-size: 1.125rem;
  color: #64748b;
  margin: 0;
}

/* 步骤指示器扩展样�?*/
.step-glass.completed {
  color: #10B981;
}

.step-glass.completed .step-icon-glass {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
}

.step-connector.completed {
  background: linear-gradient(90deg, #10B981 0%, #a1a1aa 100%);
}

/* 分析模式选择 */
.analysis-mode-glass {
  margin-bottom: 2rem;
}

.section-title-glass {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
  text-align: center;
}

.mode-cards-glass {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.mode-card-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mode-card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mode-card-glass.mode-image::before {
  background: linear-gradient(90deg, #a1a1aa 0%, #a1a1aa 100%);
}

.mode-card-glass.mode-video::before {
  background: linear-gradient(90deg, #10B981 0%, #34D399 100%);
}

.mode-card-glass:hover::before,
.mode-card-glass.selected::before {
  opacity: 1;
}

.mode-card-glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.mode-card-glass.mode-image:hover {
  border-color: rgba(161, 161, 170, 0.3);
}

.mode-card-glass.mode-video:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

.mode-card-glass.selected {
  background: rgba(255, 255, 255, 0.95);
}

.mode-card-glass.mode-image.selected {
  border: 2px solid #a1a1aa;
  box-shadow: 0 0 0 4px rgba(161, 161, 170, 0.1), 0 12px 40px rgba(0, 0, 0, 0.1);
}

.mode-card-glass.mode-video.selected {
  border: 2px solid #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1), 0 12px 40px rgba(0, 0, 0, 0.1);
}

.mode-icon-glass {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.mode-image .mode-icon-glass {
  background: rgba(161, 161, 170, 0.1);
  color: #a1a1aa;
  border: 2px solid rgba(161, 161, 170, 0.2);
}

.mode-video .mode-icon-glass {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border: 2px solid rgba(16, 185, 129, 0.2);
}

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

.mode-icon-glass svg {
  width: 32px;
  height: 32px;
}

.mode-content-glass h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.mode-content-glass p {
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.mode-content-glass p strong {
  color: #a1a1aa;
}

.mode-features-glass {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.mode-features-glass li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #475569;
}

.mode-features-glass li svg {
  width: 14px;
  height: 14px;
  color: #10B981;
  flex-shrink: 0;
}

/* 上传区域 */
.upload-section-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.upload-type-indicator-glass {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.badge-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%);
  color: white;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(161, 161, 170, 0.3);
}

.badge-glass svg {
  width: 16px;
  height: 16px;
}

.upload-description-glass {
  color: #64748b;
  font-size: 0.9375rem;
  margin: 0;
}

.upload-area-glass {
  border: 2px dashed rgba(148, 163, 184, 0.3);
  border-radius: 1.25rem;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-area-glass:hover {
  border-color: #a1a1aa;
  background: rgba(161, 161, 170, 0.02);
}

.upload-placeholder-glass {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.upload-icon-glass {
  width: 80px;
  height: 80px;
  background: rgba(161, 161, 170, 0.08);
  border: 2px solid rgba(161, 161, 170, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a1a1aa;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.upload-area-glass:hover .upload-icon-glass {
  transform: scale(1.05);
  background: rgba(161, 161, 170, 0.12);
}

.upload-icon-glass svg {
  width: 40px;
  height: 40px;
}

.upload-placeholder-glass h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.upload-placeholder-glass p {
  color: #64748b;
  font-size: 0.9375rem;
  margin: 0;
}

.upload-hint-glass {
  color: #94a3b8;
  font-size: 0.8125rem;
  margin: 0;
}

/* 响应�?*/
@media (max-width: 768px) {
  .mode-cards-glass {
    grid-template-columns: 1fr;
  }
  
  .heatmap-header-glass {
    padding: 1.5rem;
  }
  
  .heatmap-header-glass h1 {
    font-size: 1.5rem;
  }
  
  .mode-features-glass {
    grid-template-columns: 1fr;
  }
}

/* ==================== 3D预览页面 - 玻璃拟态风�?==================== */

/* 页面模块 */
.space3d-module-glass {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding-bottom: 2rem;
}

/* 玻璃拟态页面标�?*/
.space3d-header-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  padding: 2rem 0;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-content-glass {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-icon-glass {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(161, 161, 170, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 2px solid rgba(161, 161, 170, 0.2);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a1a1aa;
  flex-shrink: 0;
}

.header-icon-glass svg {
  width: 36px;
  height: 36px;
}

.header-text-glass h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.375rem;
}

.header-text-glass p {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}

/* 3D画布区域 */
.space3d-canvas-wrapper-glass {
  position: relative;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.space3d-canvas-glass {
  width: 100%;
  height: 520px;
  position: relative;
}

/* 加载动画 */
.loading-spinner-glass {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(161, 161, 170, 0.1);
  border-top-color: #a1a1aa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 3D控制面板 */
.space3d-controls-glass {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 10;
}

.control-btn-glass {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.control-btn-glass:hover {
  background: white;
  color: #a1a1aa;
  border-color: rgba(161, 161, 170, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.control-btn-glass.active {
  background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%);
  border-color: transparent;
  color: white;
}

.control-btn-glass svg {
  width: 20px;
  height: 20px;
}

/* 视角提示 */
.view-hint-glass {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 2rem;
  font-size: 0.875rem;
  color: #64748b;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.view-hint-glass svg {
  width: 18px;
  height: 18px;
  color: #a1a1aa;
}

/* 侧边面板卡片 */
.panel-card-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.panel-title-glass {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.panel-title-glass svg {
  width: 18px;
  height: 18px;
  color: #a1a1aa;
}

/* 方案概览 */
.plan-overview-glass {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.overview-item-glass {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.overview-icon-glass {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.overview-icon-glass svg {
  width: 20px;
  height: 20px;
}

.overview-info-glass {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.overview-label {
  font-size: 0.75rem;
  color: #94a3b8;
}

.overview-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1e293b;
}

.overview-value.price {
  color: #10B981;
  font-weight: 600;
}

/* 紧凑模式方案概览（用于左侧下方） */
.plan-overview-glass.compact {
  gap: 0.75rem;
}

.plan-overview-glass.compact .overview-item-glass {
  gap: 0.625rem;
}

.plan-overview-glass.compact .overview-icon-glass {
  width: 36px;
  height: 36px;
}

.plan-overview-glass.compact .overview-icon-glass svg {
  width: 18px;
  height: 18px;
}

.plan-overview-glass.compact .overview-value {
  font-size: 0.875rem;
}

/* 工具包列�?*/
.tool-list-glass {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tool-item-glass {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  background: rgba(248, 250, 252, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 0.875rem;
  transition: all 0.3s ease;
}

.tool-item-glass:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(161, 161, 170, 0.2);
  transform: translateX(4px);
}

.tool-marker-glass {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.tool-icon-glass {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-icon-glass svg {
  width: 24px;
  height: 24px;
}

.tool-info-glass {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
}

.tool-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
}

.tool-price {
  font-size: 0.8125rem;
  color: #64748b;
}

/* 空间元素列表 */
.element-list-glass {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.element-item-glass {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
}

.element-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.element-name {
  flex: 1;
  font-size: 0.875rem;
  color: #475569;
}

.element-count {
  font-size: 0.875rem;
  font-weight: 500;
  color: #a1a1aa;
}

/* 空状�?*/
.empty-state-glass {
  text-align: center;
  padding: 2rem 1rem;
}

.empty-icon-glass {
  width: 80px;
  height: 80px;
  background: rgba(161, 161, 170, 0.08);
  border: 2px solid rgba(161, 161, 170, 0.15);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #a1a1aa;
}

.empty-icon-glass svg {
  width: 40px;
  height: 40px;
}

.empty-state-glass p {
  color: #64748b;
  margin-bottom: 1.25rem;
}

/* 响应�?*/
@media (max-width: 991px) {
  .space3d-canvas-glass {
    height: 400px;
  }

  .header-content-glass {
    flex-direction: column;
    text-align: center;
  }

  .header-icon-glass {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .space3d-canvas-glass {
    height: 320px;
  }

  .space3d-controls-glass {
    flex-direction: row;
    top: auto;
    bottom: 4rem;
    right: 50%;
    transform: translateX(50%);
  }

  .view-hint-glass {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
}

/* ==================== 案例库页�?- 玻璃拟态风�?==================== */

/* 页面模块 */
.cases-module-glass {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding-bottom: 3rem;
}

/* 玻璃拟态页面标�?*/
.cases-header-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  padding: 2.5rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* 统计卡片 - 玻璃拟�?*/
.stats-overview-glass {
  margin-bottom: 2rem;
}

.stat-card-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.stat-card-glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon-glass {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.stat-icon-glass svg {
  width: 28px;
  height: 28px;
}

.stat-number-glass {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #a1a1aa 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label-glass {
  font-size: 0.875rem;
  color: #64748b;
}

/* 筛选栏 - 玻璃拟�?*/
.filter-bar-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.filter-group-glass {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

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

.filter-group-glass label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
}

.filter-tabs-glass {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tab-glass {
  padding: 0.5rem 1rem;
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 2rem;
  font-size: 0.875rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab-glass:hover {
  background: rgba(161, 161, 170, 0.1);
  border-color: rgba(161, 161, 170, 0.3);
  color: #a1a1aa;
}

.filter-tab-glass.active {
  background: linear-gradient(135deg, #a1a1aa 0%, #8B5CF6 100%);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(161, 161, 170, 0.3);
}

/* 案例网格 */
.cases-grid-glass {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* 案例卡片 - 玻璃拟�?*/
.case-card-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.case-card-glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* 案例图片区域 */
.case-image-glass {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.case-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.case-card-glass:hover .case-image-placeholder {
  transform: scale(1.05);
}

.placeholder-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.case-budget-glass {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.375rem 0.875rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.case-scene-glass {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  color: white;
  font-size: 0.8125rem;
  font-weight: 500;
}

.case-scene-glass svg {
  width: 16px;
  height: 16px;
}

/* 案例内容区域 */
.case-content-glass {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-title-glass {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.case-school-glass {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.case-school-glass svg {
  width: 16px;
  height: 16px;
  color: #94a3b8;
}

.case-summary-glass {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

/* 案例统计 */
.case-stats-glass {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.stat-glass {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.stat-glass svg {
  width: 16px;
  height: 16px;
  color: #94a3b8;
}

/* 案例标签 */
.case-tags-glass {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-glass {
  padding: 0.25rem 0.625rem;
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 1rem;
  font-size: 0.75rem;
  color: #64748b;
}

/* 案例操作 */
.case-actions-glass {
  padding: 0 1.25rem 1.25rem;
}

.case-actions-glass .btn-glass {
  width: 100%;
  justify-content: center;
}

/* 响应式适配 */
@media (max-width: 991px) {
  .cases-grid-glass {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }

  .stat-card-glass {
    padding: 1.25rem;
  }

  .stat-number-glass {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .cases-header-glass {
    padding: 1.5rem 0;
  }

  .filter-group-glass {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .cases-grid-glass {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .case-image-glass {
    height: 160px;
  }
}

/* ==================== iOS Safari 特定修复 ==================== */

/* iOS 设备检�?*/
@supports (-webkit-touch-callout: none) {
  /* 修复 iOS 100vh 问题 - 使用 -webkit-fill-available */
  .portfolio-hero-section,
  .home-module,
  .space3d-premium,
  .space3d-viewport {
    min-height: -webkit-fill-available !important;
    height: -webkit-fill-available !important;
  }
  
  /* 修复 iOS 弹性滚动导致的布局问题 */
  body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
  }
  
  /* 修复 iOS �?flexbox 布局重叠问题 */
  .portfolio-features-grid,
  .scrollytelling-step,
  .portfolio-stats-row,
  .process-steps,
  .scene-grid-glass,
  .cases-grid-glass,
  .news-grid {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
  }
  
  /* 修复 iOS �?grid 布局问题 */
  .portfolio-features-grid,
  .scene-grid-glass,
  .cases-grid-glass,
  .news-grid,
  .favorites-grid,
  .history-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  /* 修复 iOS 上固定定位问�?*/
  .chatbot-widget,
  .space3d-header,
  .space3d-controls-float,
  .space3d-sidebar {
    position: fixed;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  /* 修复 iOS �?transform 动画性能 */
  .portfolio-feature-card,
  .scrollytelling-content,
  .scene-card-glass,
  .case-card-glass,
  .news-card-new {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  /* 修复 iOS �?backdrop-filter 性能问题 */
  .chatbot-toggle,
  .chatbot-window {
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }

  .space3d-panel,
  .panel-card-glass,
  .stat-card-glass,
  .filter-bar-glass {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
  
  /* 修复 iOS �?sticky 定位问题 */
  .portfolio-sidebar,
  .profile-sidebar {
    position: -webkit-sticky;
    position: sticky;
  }
  
  /* 修复 iOS 上图片加载导致的布局跳动 */
  img {
    height: auto;
    max-width: 100%;
  }
  
  /* 修复 iOS 上按钮点击高�?*/
  button,
  .btn-glass,
  .filter-tab-glass,
  .scene-card-glass {
    -webkit-tap-highlight-color: transparent;
  }
  
  /* 修复 iOS 上输入框缩放问题 */
  input,
  textarea,
  select {
    font-size: 16px;
  }
  
  /* 修复 iOS 上滚动卡�?*/
  .chatbot-messages,
  .space3d-sidebar,
  .portfolio-scroll-container {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }
  
  /* 修复 iOS 上动画导致的闪烁 */
  .hero-ambient-glow,
  .particle,
  .portfolio-hero-decoration {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  
  /* 修复 iOS �?z-index 堆叠问题 */
  .portfolio-hero-section {
    z-index: 1;
  }
  
  .portfolio-features-grid {
    position: relative;
    z-index: 2;
  }
  
  /* 修复 iOS 上视�?画布元素 */
  canvas,
  video {
    display: block;
    max-width: 100%;
  }
}

/* iOS 横屏模式特定修复 */
@media screen and (max-width: 896px) and (-webkit-touch-callout: none) and (orientation: landscape) {
  .portfolio-hero-section {
    min-height: auto;
    padding: 60px 0;
  }
  
  .portfolio-hero-title {
    font-size: 2rem;
  }
}

/* iOS 低电量模式动画降�?*/
@media (prefers-reduced-motion: reduce) {
  @supports (-webkit-touch-callout: none) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* ==================== CTA区域 - 高级质感设计 ==================== */
.cta-section-final {
  padding: 100px 0;
  background: #fafaf9;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-decoration-line {
  width: 28px;
  height: 1.5px;
  background: #d4d4d4;
  margin: 0 auto 36px;
}

.cta-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 5px 16px;
  background: #f0f0f0;
  border: 1px solid #e6e6e6;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: #6e6e73;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 auto 24px auto;
  width: fit-content;
}

.cta-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  flex-shrink: 0;
  animation: ctaDotPulse 2s ease-in-out infinite;
}

@keyframes ctaDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.cta-content h2 {
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 500;
  color: #1d1d1f;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 auto 16px auto;
  text-align: center !important;
  width: 100%;
  text-indent: 0.35em;
}

.cta-subtitle {
  font-size: 17px;
  color: #86868b;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: center !important;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 44px;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6e6e73;
  font-weight: 450;
}

.cta-feature svg {
  width: 20px;
  height: 20px;
  color: #999;
  flex-shrink: 0;
}

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

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: #1d1d1f;
  color: #ffffff;
  border: 1px solid #1d1d1f;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-primary-cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-cta:hover {
  background: #2d2d32;
  border-color: #2d2d32;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  color: #ffffff;
  text-decoration: none;
}

.btn-primary-cta:hover svg {
  transform: translateX(3px);
}

.btn-primary-cta:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.cta-note {
  font-size: 12px;
  color: #9a9a9e;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* ==================== 滚动叙事区域（四步改造流程）- 高级质感设计 ==================== */
.scrollytelling-section {
  padding: 88px 0;
  background: #fafaf9;
  overflow: hidden;
}

.scrollytelling-header {
  text-align: center;
  margin-bottom: 60px;
}

.scrollytelling-header .container {
  max-width: 680px;
  margin: 0 auto;
}

.scrollytelling-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.scrollytelling-subtitle {
  font-size: 1.08rem;
  color: #86868b;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.scrollytelling-header::after {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: #d4d4d4;
  margin: 20px auto 0;
}

.scrollytelling-steps {
  position: relative;
}

.scrollytelling-steps .container {
  max-width: 960px;
  margin: 0 auto;
}

/* 中轴线 */
.scrollytelling-steps::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.06) 5%,
    rgba(0, 0, 0, 0.06) 95%,
    transparent 100%
  );
  transform: translateX(-50%);
}

.scrollytelling-step {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 52px 0;
  position: relative;
}

.scrollytelling-step[data-step="2"],
.scrollytelling-step[data-step="4"] {
  flex-direction: row-reverse;
}

/* 步骤时间轴圆点 */
.scrollytelling-step::before {
  content: attr(data-step);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fafaf9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: #86868b;
  z-index: 2;
}

/* 步骤图片区域 */
.step-image {
  flex: 0 0 46%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 16px rgba(0, 0, 0, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.03);
  aspect-ratio: 1 / 1;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.scrollytelling-step:hover .step-image img {
  transform: scale(1.03);
}

/* 装饰角标 */
.step-decor {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 0;
  z-index: 1;
  pointer-events: none;
}

.step-decor.top-left {
  top: -1px;
  left: -1px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px 0 0 0;
}

.step-decor.bottom-right {
  bottom: -1px;
  right: -1px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0 0 12px 0;
}

/* 步骤图标（图片上的叠加 SVG） */
.step-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  z-index: 2;
  color: rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.step-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 步骤文字区域 */
.step-text {
  flex: 1;
}

.scrollytelling-step .step-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.scrollytelling-step .step-number {
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  background: transparent;
  font-size: 4rem;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 12px 0;
  opacity: 0.16;
}

.scrollytelling-step .step-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.scrollytelling-step .step-description {
  font-size: 1rem;
  color: #6e6e73;
  margin: 0;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  max-width: 420px;
}

/* 悬停时步骤文字微动 */
.scrollytelling-step:hover .step-title {
  color: #007aff;
  transition: color 0.3s ease;
}

.scrollytelling-step:hover .step-number {
  opacity: 0.22;
  transition: opacity 0.3s ease;
}

/* ==================== 数据统计区域 - 高级质感设计 ==================== */
.portfolio-stats-section {
  padding: 88px 0;
  background: #fafaf9;
}

.portfolio-stats-decoration {
  text-align: center;
  margin-bottom: 52px;
}

.portfolio-stats-line {
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: #d4d4d4;
}

.portfolio-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-stats-scale {
  margin-bottom: 48px;
}

.portfolio-stats-results {
  margin-bottom: 0;
}

.portfolio-stat-item {
  text-align: center;
  padding: 0 56px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-stat-item:hover {
  transform: translateY(-2px);
}

.portfolio-stat-value {
  font-size: clamp(48px, 6.5vw, 76px);
  font-weight: 450;
  color: #1d1d1f;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}

.portfolio-stat-percent {
  color: #1d1d1f;
}

.portfolio-stat-label {
  font-size: 14px;
  color: #86868b;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.portfolio-stat-divider {
  width: 1px;
  height: 44px;
  background: #e6e6e6;
  flex-shrink: 0;
}

/* ==================== 核心能力展示区域 - 高级质感设计 ==================== */
.portfolio-features-section {
  padding: 100px 0;
  background: #fafaf9;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-features-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-features-title {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 500;
  color: #1d1d1f;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 16px 0;
}

.portfolio-features-subtitle {
  font-size: 17px;
  color: #86868b;
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.portfolio-features-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.portfolio-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-feature-item {
  display: flex;
  flex-direction: column;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

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

.feature-image-wrapper {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.feature-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-feature-item:hover .feature-image img {
  transform: scale(1.04);
}

.feature-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.feature-label {
  font-size: 11px;
  font-weight: 600;
  color: #6e6e73;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-title {
  font-size: 18px;
  font-weight: 500;
  color: #1d1d1f;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.feature-description {
  font-size: 14px;
  color: #86868b;
  line-height: 1.65;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.feature-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #6e6e73;
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-top: auto;
  padding-top: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-learn-more::after {
  content: '→';
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-learn-more:hover {
  color: #1d1d1f;
  text-decoration: none;
}

.feature-learn-more:hover::after {
  transform: translateX(4px);
}

.features-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.features-control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e6e6e6;
  background: #ffffff;
  color: #6e6e73;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-control-btn svg {
  width: 20px;
  height: 20px;
}

.features-control-btn:hover:not(:disabled) {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.features-control-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ==================== 精选案例区域 - 高级质感设计 ==================== */
.pentagram-case-section {
  padding: 100px 0;
  background: #fafaf9;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pentagram-case-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.pentagram-case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  gap: 40px;
}

.pentagram-case-text {
  max-width: 580px;
}

.pentagram-case-title {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 500;
  color: #1d1d1f;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 14px 0;
}

.pentagram-case-description {
  font-size: 15px;
  color: #86868b;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.pentagram-case-count {
  font-size: 14px;
  font-weight: 500;
  color: #9a9a9e;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.pentagram-case-carousel {
  overflow: hidden;
  margin-bottom: 36px;
}

.pentagram-case-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pentagram-case-slide {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 320px;
}

.pentagram-case-image {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pentagram-case-slide:hover .pentagram-case-image {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pentagram-case-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.pentagram-case-scrollbar {
  flex: 1;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pentagram-case-scrollbar-track {
  width: 100%;
  height: 2px;
  background: #e6e6e6;
  border-radius: 100px;
  position: relative;
}

.pentagram-case-scrollbar-thumb {
  height: 2px;
  background: #1d1d1f;
  border-radius: 100px;
  width: 30%;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pentagram-case-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid #d4d4d4;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: #6e6e73;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pentagram-case-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pentagram-case-more:hover {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.pentagram-case-more:hover svg {
  transform: translateX(3px);
}

.pentagram-case-more:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
/**
 * 统一按钮组件样式
 * 收敛各页面分散的按钮实现，提供一致的状态反馈
 * 
 * 设计原则：
 * - 使用 CSS 变量，与现有设计系统对齐
 * - 所有状态必须有明确的视觉反馈
 * - 支持主按钮、次要按钮、幽灵按钮、边框按钮四种变体
 * - 支持标准尺寸和大尺寸
 */

/* ==================== 基础按钮 ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  line-height: var(--leading-snug);
  border-radius: var(--radius-lg);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--duration-200) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

.btn:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* ==================== 尺寸变体 ==================== */
.btn--sm {
  padding: 8px 16px;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

.btn--lg {
  padding: 16px 32px;
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

.btn--icon-only {
  padding: 10px;
  aspect-ratio: 1;
}

/* ==================== 主按钮 ==================== */
.btn--primary {
  background: var(--primary-600);
  color: white;
  border-color: var(--primary-600);
  box-shadow: var(--shadow-md), var(--shadow-primary);
}

.btn--primary:hover:not(:disabled) {
  background: var(--primary-500);
  border-color: var(--primary-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-primary);
}

.btn--primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* ==================== 次要按钮 ==================== */
.btn--secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: var(--gray-400);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: var(--shadow-xs);
}

/* ==================== 幽灵按钮 ==================== */
.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn--ghost:hover:not(:disabled) {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn--ghost:active:not(:disabled) {
  background: var(--bg-active);
}

/* ==================== 边框按钮 ==================== */
.btn--outline {
  background: transparent;
  color: var(--primary-700);
  border-color: var(--primary-300);
}

.btn--outline:hover:not(:disabled) {
  background: var(--primary-50);
  border-color: var(--primary-500);
  color: var(--primary-600);
}

.btn--outline:active:not(:disabled) {
  background: var(--primary-100);
}

/* ==================== 危险按钮 ==================== */
.btn--danger {
  background: var(--danger-color);
  color: white;
  border-color: var(--danger-color);
  box-shadow: var(--shadow-md);
}

.btn--danger:hover:not(:disabled) {
  background: #dc2626;
  border-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--danger:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* ==================== Disabled 状态 ==================== */
.btn:disabled,
.btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* 更明显的 disabled 反馈 */
.btn--primary:disabled,
.btn--primary.is-disabled {
  background: var(--gray-300);
  border-color: var(--gray-300);
  color: var(--gray-500);
}

.btn--secondary:disabled,
.btn--secondary.is-disabled {
  background: var(--gray-100);
  border-color: var(--gray-200);
  color: var(--gray-400);
}

.btn--outline:disabled,
.btn--outline.is-disabled {
  border-color: var(--gray-200);
  color: var(--gray-400);
}

/* ==================== Loading 状态 ==================== */
.btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: var(--radius-full);
  animation: btnSpin 0.8s linear infinite;
}

.btn--primary.is-loading::after,
.btn--danger.is-loading::after {
  border-color: rgba(255, 255, 255, 0.3);
  border-right-color: white;
}

.btn--secondary.is-loading::after,
.btn--ghost.is-loading::after,
.btn--outline.is-loading::after {
  border-color: var(--gray-300);
  border-right-color: var(--primary-500);
}

@keyframes btnSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ==================== 成功状态 ==================== */
.btn.is-success {
  pointer-events: none;
}

.btn.is-success::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
}

/* ==================== 按钮组 ==================== */
.btn-group {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  align-items: center;
}

.btn-group--center {
  justify-content: center;
}

.btn-group--right {
  justify-content: flex-end;
}

.btn-group--vertical {
  flex-direction: column;
  align-items: stretch;
}

/* ==================== 全宽按钮 ==================== */
.btn--block {
  width: 100%;
}

/* ==================== 响应式 ==================== */
@media (max-width: 640px) {
  .btn {
    padding: 10px 20px;
    font-size: var(--text-sm);
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: var(--text-base);
  }

  .btn-group {
    gap: var(--spacing-sm);
  }
}

/* ==================== 减少动画偏好 ==================== */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn::after {
    transition: none;
    animation: none;
  }
}

/* ==================== 暗黑模式 ==================== */
[data-theme='dark'] .btn--secondary {
  background: var(--gray-800);
  color: var(--gray-100);
  border-color: var(--gray-700);
}

[data-theme='dark'] .btn--secondary:hover:not(:disabled) {
  background: var(--gray-700);
  border-color: var(--gray-600);
}

[data-theme='dark'] .btn--ghost {
  color: var(--gray-300);
}

[data-theme='dark'] .btn--ghost:hover:not(:disabled) {
  background: var(--gray-800);
  color: var(--gray-100);
}

[data-theme='dark'] .btn--outline {
  color: var(--primary-400);
  border-color: var(--primary-700);
}

[data-theme='dark'] .btn--outline:hover:not(:disabled) {
  background: var(--primary-900);
  border-color: var(--primary-500);
}

[data-theme='dark'] .btn--primary:disabled,
[data-theme='dark'] .btn--secondary:disabled {
  background: var(--gray-800);
  border-color: var(--gray-700);
  color: var(--gray-600);
}
/**
 * 统一卡片组件样式
 * 收敛各页面分散的卡片实现，提供一致的视觉层级
 * 
 * 设计原则：
 * - 使用 CSS 变量，与现有设计系统对齐
 * - 三种层级：普通 / 强调 / 选中
 * - 统一的 hover 和选中反馈
 * - 支持图片、图标、内容等多种布局
 */

/* ==================== 基础卡片 ==================== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-300) var(--ease-out);
  overflow: hidden;
  position: relative;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* ==================== 卡片层级变体 ==================== */

/* --- 普通卡片 --- */
.card--default {
  border-color: var(--gray-100);
}

.card--default:hover {
  border-color: var(--gray-200);
}

/* --- 强调卡片（用于推荐/精选） --- */
.card--featured {
  border-color: #e0e0e0;
  box-shadow: var(--shadow-md);
}

.card--featured:hover {
  border-color: #d0d0d0;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* --- 选中卡片 --- */
.card--selected {
  border-color: #1d1d1f;
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.08),
    var(--shadow-md);
}

.card--selected:hover {
  border-color: #000000;
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.12),
    var(--shadow-lg);
}

/* --- 禁用卡片 --- */
.card--disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.card--disabled:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

/* ==================== 卡片内容区域 ==================== */

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: #f5f5f7;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card__body {
  padding: var(--spacing-lg);
}

.card__header {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0;
  line-height: var(--leading-snug);
}

.card__subtitle {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin: var(--spacing-xs) 0 0 0;
}

.card__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.card__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
}

.card__badge--primary {
  background: #f5f5f7;
  color: #1d1d1f;
}

.card__badge--success {
  background: var(--success-100);
  color: var(--success-700);
}

.card__badge--warning {
  background: var(--warm-100);
  color: var(--warm-700);
}

/* ==================== 卡片布局变体 ==================== */

/* --- 横向卡片 --- */
.card--horizontal {
  display: flex;
  flex-direction: row;
}

.card--horizontal .card__image {
  width: 40%;
  aspect-ratio: auto;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.card--horizontal .card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- 紧凑卡片 --- */
.card--compact {
  border-radius: var(--radius-lg);
}

.card--compact .card__body {
  padding: var(--spacing-md);
}

.card--compact .card__title {
  font-size: var(--text-base);
}

/* --- 可点击卡片 --- */
.card--clickable {
  cursor: pointer;
}

.card--clickable::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0%, transparent 100%);
  transition: opacity var(--duration-300) var(--ease-out);
  pointer-events: none;
}

.card--clickable:hover::after {
  opacity: 0.03;
}

/* ==================== 卡片组 ==================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .card-grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card--horizontal {
    flex-direction: column;
  }

  .card--horizontal .card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
}

@media (max-width: 480px) {
  .card-grid,
  .card-grid--2,
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }

  .card__body {
    padding: var(--spacing-md);
  }
}

/* ==================== 暗色模式 ==================== */
[data-theme='dark'] .card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

[data-theme='dark'] .card:hover {
  border-color: var(--gray-600);
}

[data-theme='dark'] .card--featured {
  border-color: #3a3a3c;
}

[data-theme='dark'] .card--selected {
  border-color: #e4e4e7;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    var(--shadow-md);
}

[data-theme='dark'] .card__footer {
  border-top-color: var(--gray-700);
  background: var(--gray-900);
}

[data-theme='dark'] .card__icon {
  background: #2c2c2e;
  color: #e4e4e7;
}

[data-theme='dark'] .card__title {
  color: var(--gray-100);
}

[data-theme='dark'] .card__text {
  color: var(--gray-300);
}

/* ==================== 减少动画偏好 ==================== */
@media (prefers-reduced-motion: reduce) {
  .card,
  .card:hover,
  .card:active {
    transition: none;
    transform: none;
  }
}
.step-indicator {
  width: 100%;
  padding: 24px 0;
}

.step-indicator__track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
}

.step-indicator__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.step-indicator__item.active,
.step-indicator__item.completed {
  opacity: 1;
}

.step-indicator__num {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: 0.08em;
  min-width: 24px;
  text-align: center;
  transition: color 0.3s ease;
}

.step-indicator__num svg {
  width: 14px;
  height: 14px;
}

.step-indicator__label {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #86868b;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.step-indicator__connector {
  width: 40px;
  height: 1px;
  background: #d2d2d7;
  margin-top: 9px;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.step-indicator__item.completed .step-indicator__num {
  color: #1d1d1f;
}

.step-indicator__item.completed .step-indicator__label {
  color: #1d1d1f;
}

.step-indicator__connector.completed {
  background: #1d1d1f;
}

.step-indicator__item.active .step-indicator__num {
  color: #1d1d1f;
}

.step-indicator__item.active .step-indicator__label {
  color: #1d1d1f;
  font-weight: 600;
}

.step-indicator__item.pending .step-indicator__num {
  color: #86868b;
}

.step-indicator__item.pending .step-indicator__label {
  color: #86868b;
}

.step-indicator--compact .step-indicator__track {
  max-width: 100%;
  padding: 0 16px;
}

.step-indicator--compact .step-indicator__connector {
  width: 24px;
}

.step-indicator--compact .step-indicator__label {
  font-size: 10px;
}

@media (max-width: 640px) {
  .step-indicator__track {
    max-width: 100%;
    padding: 0 16px;
  }

  .step-indicator__connector {
    width: 24px;
  }

  .step-indicator__label {
    display: none;
  }
}

[data-theme='dark'] .step-indicator__item.completed .step-indicator__num {
  color: #f5f5f7;
}

[data-theme='dark'] .step-indicator__item.completed .step-indicator__label {
  color: #f5f5f7;
}

[data-theme='dark'] .step-indicator__connector.completed {
  background: #f5f5f7;
}

[data-theme='dark'] .step-indicator__item.active .step-indicator__num {
  color: #f5f5f7;
}

[data-theme='dark'] .step-indicator__item.active .step-indicator__label {
  color: #f5f5f7;
}

[data-theme='dark'] .step-indicator__item.pending .step-indicator__num {
  color: #6e6e73;
}

[data-theme='dark'] .step-indicator__item.pending .step-indicator__label {
  color: #6e6e73;
}

[data-theme='dark'] .step-indicator__connector:not(.completed) {
  background: #424245;
}
/**
 * 空状态组件样式
 * 与主设计系统变量完全对齐
 */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3xl) var(--spacing-lg);
  text-align: center;
  min-height: 400px;
}

.empty-state__icon {
  color: var(--gray-300);
  margin-bottom: var(--spacing-lg);
  transition: color var(--duration-300) var(--ease-out);
}

.empty-state:hover .empty-state__icon {
  color: var(--gray-400);
}

.empty-state__title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-sm) 0;
  line-height: var(--leading-snug);
}

.empty-state__description {
  font-size: var(--text-base);
  color: var(--text-tertiary);
  margin: 0 0 var(--spacing-xl) 0;
  line-height: var(--leading-relaxed);
  max-width: 360px;
}

.empty-state__action {
  margin-top: var(--spacing-md);
}

/* 紧凑模式 */
.empty-state--compact {
  min-height: auto;
  padding: var(--spacing-xl) var(--spacing-lg);
}

.empty-state--compact .empty-state__icon {
  transform: scale(0.75);
  margin-bottom: var(--spacing-md);
}

.empty-state--compact .empty-state__title {
  font-size: var(--text-lg);
}

.empty-state--compact .empty-state__description {
  font-size: var(--text-sm);
  margin-bottom: var(--spacing-lg);
}

/* 内联模式（用于卡片内部） */
.empty-state--inline {
  min-height: auto;
  padding: var(--spacing-xl);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px dashed var(--gray-200);
}

/* 暗色模式 */
[data-theme='dark'] .empty-state__icon {
  color: var(--gray-700);
}

[data-theme='dark'] .empty-state:hover .empty-state__icon {
  color: var(--gray-600);
}

[data-theme='dark'] .empty-state--inline {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

/* 动画 */
@keyframes emptyStateFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.empty-state {
  animation: emptyStateFadeIn var(--duration-500) var(--ease-out);
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  .empty-state {
    animation: none;
  }
}
/**
 * 移动端导航优化样式
 * 提升移动端导航和主流程的可用性
 */

/* ==================== 底部固定导航栏 ==================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-card);
  border-top: 1px solid var(--gray-200);
  padding-bottom: env(safe-area-inset-bottom);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-bottom-nav__list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  margin: 0;
  list-style: none;
}

.mobile-bottom-nav__item {
  flex: 1;
  text-align: center;
}

.mobile-bottom-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: var(--font-medium);
  transition: color var(--duration-200) var(--ease-out);
}

.mobile-bottom-nav__link:hover,
.mobile-bottom-nav__link:active {
  color: var(--primary-600);
}

.mobile-bottom-nav__link.active {
  color: var(--primary-600);
}

.mobile-bottom-nav__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== 移动端步骤指示器优化 ==================== */
@media (max-width: 640px) {
  .step-indicator__track {
    padding: 0 var(--spacing-sm);
  }

  .step-indicator__connector {
    flex: 1;
    min-width: 12px;
    max-width: 32px;
  }

  .step-indicator__num {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .step-indicator__label {
    font-size: 9px;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ==================== 移动端按钮优化 ==================== */
@media (max-width: 640px) {
  .btn {
    min-height: 44px;
    padding: 12px 20px;
  }

  .btn--lg {
    min-height: 52px;
    padding: 16px 24px;
    font-size: var(--text-lg);
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
  }
}

/* ==================== 移动端卡片优化 ==================== */
@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .card__body {
    padding: var(--spacing-md);
  }

  .card__title {
    font-size: var(--text-base);
  }
}

/* ==================== 主流程移动端优化 ==================== */
@media (max-width: 640px) {
  /* 场景选择页 */
  .scene-grid {
    grid-template-columns: 1fr !important;
  }

  .scene-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-md);
  }

  .scene-card-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }

  .scene-card-image img {
    border-radius: var(--radius-lg);
  }

  .scene-card-content {
    flex: 1;
    padding: 0;
  }

  /* 预算选择页 */
  .budget-cards {
    flex-direction: column;
  }

  .budget-card {
    width: 100%;
  }

  /* 结果页 */
  .result-overview-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ==================== 触摸反馈优化 ==================== */
@media (hover: none) {
  .card:active {
    transform: scale(0.98);
    transition: transform var(--duration-100) var(--ease-out);
  }

  .btn:active {
    transform: scale(0.96);
    transition: transform var(--duration-100) var(--ease-out);
  }

  .card:hover {
    transform: none;
  }
}

/* ==================== 安全区域适配 ==================== */
@supports (padding-top: env(safe-area-inset-top)) {
  .mobile-bottom-nav {
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
}

/* ==================== 暗色模式 ==================== */
[data-theme='dark'] .mobile-bottom-nav {
  background: rgba(24, 24, 27, 0.95);
  border-top-color: var(--gray-800);
}

/* ==================== 显示/隐藏逻辑 ==================== */
@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }

  /* 为底部导航留出空间 */
  body {
    padding-bottom: 64px;
  }
}
/**
 * 模态框组件样式
 * 提供统一的弹窗视觉和交互反馈
 *
 * 设计原则：
 * - 使用 CSS 变量，与现有设计系统对齐
 * - 支持多种尺寸和变体
 * - 平滑的进入/退出动画
 * - 支持减少动画偏好
 * - 支持暗色模式
 */

/* ==================== 基础结构 ==================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal, 1000);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--duration-200) var(--ease-out),
    visibility var(--duration-200) var(--ease-out);
}

.modal.is-visible {
  opacity: 1;
  visibility: visible;
}

/* 锁定 body 滚动 */
body.modal-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

/* ==================== 背景遮罩 ==================== */
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  transition: opacity var(--duration-200) var(--ease-out);
}

.modal.is-visible .modal__backdrop {
  opacity: 1;
}

/* ==================== 容器 ==================== */
.modal__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: calc(100vh - var(--spacing-xl) * 2);
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(10px);
  transition: transform var(--duration-200) var(--ease-out);
}

.modal.is-visible .modal__container {
  transform: scale(1) translateY(0);
}

/* ==================== 内容区域 ==================== */
.modal__content {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* ==================== 关闭按钮 ==================== */
.modal__close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-150) var(--ease-out);
  z-index: 2;
}

.modal__close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.modal__close:active {
  background: var(--bg-active);
}

/* ==================== 图标 ==================== */
.modal__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--spacing-xl) auto var(--spacing-md);
  flex-shrink: 0;
}

.modal__icon--confirm,
.modal__icon--info {
  background: var(--primary-100);
  color: var(--primary-600);
}

.modal__icon--warning {
  background: var(--warm-100);
  color: var(--warm-600);
}

.modal__icon--danger {
  background: #fee2e2;
  color: var(--danger-color);
}

/* ==================== 标题 ==================== */
.modal__title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  text-align: center;
  margin: 0 var(--spacing-xl);
  line-height: var(--leading-snug);
}

.modal__icon + .modal__title {
  margin-top: 0;
}

/* ==================== 正文 ==================== */
.modal__body {
  padding: var(--spacing-lg) var(--spacing-xl);
  overflow-y: auto;
  flex: 1;
}

.modal__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  text-align: center;
  margin: 0;
}

.modal__title + .modal__body .modal__text {
  margin-top: var(--spacing-sm);
}

/* ==================== 底部操作区 ==================== */
.modal__footer {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-xl) var(--spacing-xl);
  justify-content: center;
  flex-shrink: 0;
}

.modal__footer .btn {
  min-width: 100px;
}

/* ==================== 尺寸变体 ==================== */
.modal--sm .modal__container {
  max-width: 360px;
}

.modal--md .modal__container {
  max-width: 480px;
}

.modal--lg .modal__container {
  max-width: 640px;
}

.modal--xl .modal__container {
  max-width: 800px;
}

.modal--full .modal__container {
  max-width: calc(100vw - var(--spacing-xl) * 2);
  max-height: calc(100vh - var(--spacing-xl) * 2);
}

/* ==================== 变体样式 ==================== */
.modal--danger .modal__footer .btn--primary {
  background: var(--danger-color);
  border-color: var(--danger-color);
}

.modal--danger .modal__footer .btn--primary:hover:not(:disabled) {
  background: #dc2626;
  border-color: #dc2626;
}

/* ==================== 响应式 ==================== */
@media (max-width: 640px) {
  .modal {
    padding: var(--spacing-md);
    align-items: flex-end;
  }

  .modal__container {
    max-height: calc(100vh - var(--spacing-md) * 2);
  }

  .modal__content {
    border-radius: var(--radius-lg);
  }

  .modal__body {
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .modal__footer {
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
    flex-direction: column-reverse;
  }

  .modal__footer .btn {
    width: 100%;
  }

  .modal--lg .modal__container,
  .modal--xl .modal__container {
    max-width: 100%;
  }
}

/* ==================== 暗色模式 ==================== */
[data-theme='dark'] .modal__backdrop {
  background: rgba(0, 0, 0, 0.7);
}

[data-theme='dark'] .modal__content {
  background: var(--gray-800);
  box-shadow: var(--shadow-xl);
}

[data-theme='dark'] .modal__title {
  color: var(--gray-100);
}

[data-theme='dark'] .modal__text {
  color: var(--gray-300);
}

[data-theme='dark'] .modal__close {
  color: var(--gray-400);
}

[data-theme='dark'] .modal__close:hover {
  background: var(--gray-700);
  color: var(--gray-100);
}

[data-theme='dark'] .modal__icon--confirm,
[data-theme='dark'] .modal__icon--info {
  background: var(--primary-900);
  color: var(--primary-400);
}

[data-theme='dark'] .modal__icon--warning {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warm-400);
}

[data-theme='dark'] .modal__icon--danger {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* ==================== 减少动画偏好 ==================== */
@media (prefers-reduced-motion: reduce) {
  .modal,
  .modal__backdrop,
  .modal__container {
    transition: none;
  }

  .modal__container {
    transform: none;
  }
}
/**
 * 轻提示组件样式（Toast）
 * 提供非阻塞式消息反馈
 *
 * 设计原则：
 * - 使用 CSS 变量，与现有设计系统对齐
 * - 堆叠展示，新消息在上
 * - 平滑的进入/退出动画
 * - 支持减少动画偏好
 * - 支持暗色模式
 */

/* ==================== 容器 ==================== */
.toast-container {
  position: fixed;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  z-index: var(--z-toast, 1100);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  max-width: 400px;
  width: calc(100% - var(--spacing-lg) * 2);
  pointer-events: none;
}

.toast-container > * {
  pointer-events: auto;
}

/* ==================== 基础 Toast ==================== */
.toast {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  color: var(--text-primary);
  transform: translateX(120%);
  opacity: 0;
  transition:
    transform var(--duration-300) var(--ease-out),
    opacity var(--duration-300) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.toast.is-visible {
  transform: translateX(0);
  opacity: 1;
}

.toast.is-leaving {
  transform: translateX(120%);
  opacity: 0;
}

/* ==================== 图标 ==================== */
.toast__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== 消息文本 ==================== */
.toast__message {
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
}

/* ==================== 关闭按钮 ==================== */
.toast__close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-150) var(--ease-out);
  margin-left: var(--spacing-xs);
}

.toast__close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* ==================== 类型变体 ==================== */

/* --- Success --- */
.toast--success {
  border-color: var(--success-200);
}

.toast--success .toast__icon {
  color: var(--success-500);
}

/* --- Info --- */
.toast--info {
  border-color: var(--primary-200);
}

.toast--info .toast__icon {
  color: var(--primary-500);
}

/* --- Warning --- */
.toast--warning {
  border-color: var(--warm-200);
}

.toast--warning .toast__icon {
  color: var(--warm-500);
}

/* --- Error --- */
.toast--error {
  border-color: #fecaca;
}

.toast--error .toast__icon {
  color: var(--danger-color);
}

/* ==================== 进度条（可选） ==================== */
.toast::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: currentColor;
  opacity: 0.2;
  width: 100%;
  transform-origin: left;
}

/* ==================== 响应式 ==================== */
@media (max-width: 640px) {
  .toast-container {
    top: auto;
    bottom: var(--spacing-lg);
    right: var(--spacing-md);
    left: var(--spacing-md);
    width: auto;
    max-width: none;
  }

  .toast {
    transform: translateY(120%);
  }

  .toast.is-visible {
    transform: translateY(0);
  }

  .toast.is-leaving {
    transform: translateY(120%);
  }
}

/* ==================== 暗色模式 ==================== */
[data-theme='dark'] .toast {
  background: var(--gray-800);
  border-color: var(--gray-700);
  color: var(--gray-100);
  box-shadow: var(--shadow-xl);
}

[data-theme='dark'] .toast--success {
  border-color: var(--success-800);
}

[data-theme='dark'] .toast--info {
  border-color: var(--primary-800);
}

[data-theme='dark'] .toast--warning {
  border-color: rgba(245, 158, 11, 0.3);
}

[data-theme='dark'] .toast--error {
  border-color: rgba(239, 68, 68, 0.3);
}

[data-theme='dark'] .toast__close {
  color: var(--gray-400);
}

[data-theme='dark'] .toast__close:hover {
  background: var(--gray-700);
  color: var(--gray-100);
}

/* ==================== 减少动画偏好 ==================== */
@media (prefers-reduced-motion: reduce) {
  .toast,
  .toast.is-visible,
  .toast.is-leaving {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
/**
 * 图标组件样式
 * 提供统一的图标尺寸和动画控制
 *
 * 设计原则：
 * - 使用 CSS 变量，与现有设计系统对齐
 * - 支持旋转动画（用于加载状态）
 * - 支持减少动画偏好
 */

/* ==================== 基础图标 ==================== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
  transition:
    transform var(--duration-150) var(--ease-out),
    color var(--duration-150) var(--ease-out);
}

.icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==================== 旋转动画 ==================== */
.icon--spin {
  animation: iconSpin 1s linear infinite;
}

@keyframes iconSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ==================== 尺寸工具类 ==================== */
.icon--xs {
  width: 12px;
  height: 12px;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--md {
  width: 20px;
  height: 20px;
}

.icon--lg {
  width: 24px;
  height: 24px;
}

.icon--xl {
  width: 32px;
  height: 32px;
}

.icon--2xl {
  width: 48px;
  height: 48px;
}

/* ==================== 颜色工具类 ==================== */
.icon--primary {
  color: var(--primary-500);
}

.icon--secondary {
  color: var(--text-secondary);
}

.icon--muted {
  color: var(--text-muted);
}

.icon--success {
  color: var(--success-500);
}

.icon--warning {
  color: var(--warm-500);
}

.icon--danger {
  color: var(--danger-color);
}

/* ==================== 按钮内的图标 ==================== */
.btn .icon {
  margin: 0;
}

.btn .icon + span,
.btn span + .icon {
  margin-left: var(--spacing-xs);
}

/* ==================== 减少动画偏好 ==================== */
@media (prefers-reduced-motion: reduce) {
  .icon {
    transition: none;
  }

  .icon--spin {
    animation: none;
  }
}
/**
 * 轮播组件样式
 * 提供统一的图片/内容轮播视觉
 *
 * 设计原则：
 * - 使用 CSS 变量，与现有设计系统对齐
 * - 平滑的切换动画
 * - 支持触摸滑动
 * - 支持减少动画偏好
 * - 支持暗色模式
 */

/* ==================== 基础结构 ==================== */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

/* ==================== 轮播项 ==================== */
.carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition:
    opacity var(--duration-400) var(--ease-out),
    transform var(--duration-400) var(--ease-out);
  pointer-events: none;
}

.carousel__slide.is-active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
  z-index: 1;
}

/* ==================== 图片 ==================== */
.carousel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==================== 内容 ==================== */
.carousel__content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
  background: var(--bg-card);
}

/* ==================== 导航箭头 ==================== */
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  cursor: pointer;
  z-index: 2;
  transition: all var(--duration-150) var(--ease-out);
  box-shadow: var(--shadow-md);
  opacity: 0;
}

.carousel:hover .carousel__arrow {
  opacity: 1;
}

.carousel__arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel__arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel__arrow--prev {
  left: var(--spacing-md);
}

.carousel__arrow--next {
  right: var(--spacing-md);
}

/* ==================== 指示点 ==================== */
.carousel__dots {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-xs);
  z-index: 2;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--duration-200) var(--ease-out);
  padding: 0;
}

.carousel__dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel__dot.is-active {
  width: 24px;
  background: white;
  border-radius: var(--radius-full);
}

/* ==================== 单张模式 ==================== */
.carousel--single .carousel__arrow,
.carousel--single .carousel__dots {
  display: none;
}

/* ==================== 响应式 ==================== */
@media (max-width: 768px) {
  .carousel {
    border-radius: var(--radius-lg);
  }

  .carousel__arrow {
    width: 32px;
    height: 32px;
    opacity: 1;
  }

  .carousel__arrow--prev {
    left: var(--spacing-sm);
  }

  .carousel__arrow--next {
    right: var(--spacing-sm);
  }

  .carousel__dots {
    bottom: var(--spacing-sm);
  }
}

/* ==================== 暗色模式 ==================== */
[data-theme='dark'] .carousel__arrow {
  background: rgba(30, 30, 30, 0.9);
  color: var(--gray-100);
}

[data-theme='dark'] .carousel__arrow:hover {
  background: rgba(50, 50, 50, 0.95);
}

[data-theme='dark'] .carousel__dots {
  background: rgba(0, 0, 0, 0.5);
}

[data-theme='dark'] .carousel__content {
  background: var(--gray-800);
}

/* ==================== 减少动画偏好 ==================== */
@media (prefers-reduced-motion: reduce) {
  .carousel__slide {
    transition: none;
  }

  .carousel__arrow,
  .carousel__dot {
    transition: none;
  }
}


/**
 * 首页模块样式 - 新版设计
 * 阴影层次系统：
 * --shadow-sm: 0 1px 2px rgba(161,161,170, 0.05)
 * --shadow-md: 0 4px 6px -1px rgba(161,161,170, 0.08), 0 2px 4px -1px rgba(161,161,170, 0.04)
 * --shadow-lg: 0 10px 15px -3px rgba(161,161,170, 0.1), 0 4px 6px -2px rgba(161,161,170, 0.05)
 * --shadow-xl: 0 20px 25px -5px rgba(161,161,170, 0.12), 0 10px 10px -5px rgba(161,161,170, 0.04)
 * --shadow-hover: 0 25px 50px -12px rgba(161,161,170, 0.25)
 */

.home-module {
  animation: fadeIn 0.5s ease;
}

/* 颜色系统 - 基于心理学研究优化 */

:root {
  /* 主色 - 专业蓝 */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #a1a1aa;
  --primary-500: #a1a1aa;
  --primary-600: #71717a;
  --primary-700: #71717a;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
  
  /* 辅助色 - 疗愈绿 */
  --success-50: #f0fdf4;
  --success-100: #dcfce7;
  --success-200: #bbf7d0;
  --success-300: #86efac;
  --success-400: #4ade80;
  --success-500: #22c55e;
  --success-600: #16a34a;
  --success-700: #15803d;
  
  /* 温暖色 - 关怀橙 */
  --warm-50: #fff7ed;
  --warm-100: #ffedd5;
  --warm-200: #fed7aa;
  --warm-300: #fdba74;
  --warm-400: #fb923c;
  --warm-500: #f97316;
  
  /* 中性色 */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* 微交互基础变量 */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==================== 建筑作品集风格 - 沉浸式Hero区域 ==================== */

.hero-section-new {
  background-color: var(--gray-900);
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* Hero背景图片容器 - 全幅背景 */

.hero-background {
  display: none;
}

.hero-background-image {
  display: none;
}

/* 多层渐变遮罩 - 确保文字清晰可见 */

.hero-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, 
    rgba(15, 23, 42, 0.55) 0%, 
    rgba(15, 23, 42, 0.45) 30%, 
    rgba(15, 23, 42, 0.35) 60%, 
    rgba(15, 23, 42, 0.25) 100%);
  z-index: 1;
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(251, 146, 60, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(250, 204, 21, 0.1) 0%, transparent 50%);
  z-index: 2;
  mix-blend-mode: screen;
}

.hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--gray-50) 0%, transparent 100%);
  z-index: 3;
}

/* Hero内容 - 叠加在图片上 */

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

/* 建筑作品集风格文字 - 白色主题，高对比度 */

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 12px 28px;
  margin-bottom: var(--spacing-xl);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: white;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--sun-400) 0%, var(--pink-400) 100%);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.6);
  animation: pulse-warm 2.5s ease-in-out infinite;
}

@keyframes pulse-warm {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.6);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.8);
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
  }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: var(--spacing-xl);
}

.hero-title-main {
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.35);
}

.hero-title .highlight {
  font-weight: 800;
  background: linear-gradient(135deg, var(--sun-300) 0%, var(--pink-300) 30%, var(--primary-300) 70%, var(--success-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  text-shadow: none;
  filter: none;
}

.hero-subtitle {
  font-size: var(--text-xl);
  line-height: 1.7;
  color: white;
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  font-weight: 600;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.45), 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: var(--text-base);
  line-height: 1.6;
  color: white;
  margin-bottom: var(--spacing-2xl);
  letter-spacing: 0.02em;
  font-weight: 600;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4), 0 1px 8px rgba(0, 0, 0, 0.25);
}

/* 白色主题按钮 - 高对比度 */

.hero-buttons {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
  margin-bottom: var(--spacing-2xl);
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, var(--sun-500) 0%, var(--warm-500) 50%, var(--pink-500) 100%);
  color: white;
  box-shadow: 0 12px 35px rgba(251, 146, 60, 0.45), 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-primary:hover {
  background: linear-gradient(135deg, var(--sun-400) 0%, var(--warm-400) 50%, var(--pink-400) 100%);
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(251, 146, 60, 0.55), 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-buttons .btn-primary svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-buttons .btn-outline-primary {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-outline-primary:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.9);
  color: white;
}

.hero-buttons .btn-outline-primary svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* 白色主题统计 - 高对比度 */

.hero-stats {
  display: flex;
  gap: var(--spacing-2xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-item {
  text-align: left;
}

.stat-value {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: var(--spacing-xs);
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.25);
}

.stat-label {
  font-size: var(--text-sm);
  color: white;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35), 0 1px 6px rgba(0, 0, 0, 0.2);
}

/* 滚动提示 - 白色主题，高对比度 */

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 1;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2.5px solid white;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.25);
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scroll-wheel 1.5s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 1px 4px rgba(0, 0, 0, 0.2);
}

.scroll-text {
  color: white;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 1px 5px rgba(0, 0, 0, 0.2);
}

@keyframes scroll-wheel {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(6px);
    opacity: 0.4;
  }
}

.scroll-text {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* 添加动态光晕效果 */

.hero-section-new::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(113,113,122, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  animation: float-glow 12s ease-in-out infinite;
  pointer-events: none;
}

.hero-section-new::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  animation: float-glow 14s ease-in-out infinite reverse;
  pointer-events: none;
}

/* 纹理遮罩层 */

.hero-section-new .texture-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  mix-blend-mode: multiply;
}

@keyframes float-glow {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-20px, 25px) scale(1.05);
  }
  66% {
    transform: translate(25px, -15px) scale(0.98);
  }
}

.stat-item {
  text-align: left;
}

.stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

/* Hero 图片容器样式 */

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-xl);
}

.hero-image-container {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform var(--duration-500) var(--ease-out);
}

.hero-image-container:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-main-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-2xl);
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(113,113,122, 0.1) 0%, 
    rgba(34, 197, 94, 0.05) 100%);
  border-radius: var(--radius-2xl);
  pointer-events: none;
}

.hero-image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary-400) 0%, var(--success-400) 100%);
  border-radius: var(--radius-2xl);
  opacity: 0.6;
  filter: blur(20px);
  z-index: -1;
}

/* 响应式调整 */

@media (max-width: 992px) {
  .hero-image-container {
    transform: none;
    margin-top: var(--spacing-xl);
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-stats {
    gap: var(--spacing-lg);
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
}

/* 功能卡片 */

.hero-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

.feature-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow:
    0 1px 2px rgba(161,161,170, 0.04),
    0 4px 6px -1px rgba(161,161,170, 0.06),
    0 10px 15px -3px rgba(161,161,170, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all var(--transition-slow);
  cursor: default;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* 微交互：悬停光效扫过 */

.feature-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
  transition: left 0.5s ease;
  pointer-events: none;
}

.feature-card-item:hover::before {
  left: 100%;
}

/* 微交互：悬停状态 */

.feature-card-item:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(77, 150, 255, 0.35);
  box-shadow:
    0 4px 6px -1px rgba(161,161,170, 0.1),
    0 10px 15px -3px rgba(161,161,170, 0.12),
    0 20px 25px -5px rgba(161,161,170, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-4px) scale(1.02);
}

/* 微交互：点击反馈 */

.feature-card-item:active {
  transform: translateY(-2px) scale(0.98);
  transition: all var(--transition-fast);
}

/* 精细化图标设计 */

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-card-icon svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 2;
}

.feature-card-icon.blue {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: white;
  box-shadow:
    0 4px 12px rgba(113,113,122, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.feature-card-icon.blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 100%);
  border-radius: 14px 14px 0 0;
}

.feature-card-icon.light-blue {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
  color: var(--primary-600);
  border: 2px solid rgba(161,161,170, 0.25);
  box-shadow:
    0 4px 12px rgba(161,161,170, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.feature-card-icon.light-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
  border-radius: 12px 12px 0 0;
}

/* 新增：温暖橙色图标 - 用于方案生成 */

.feature-card-icon.warm {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #f97316;
  border: 2px solid rgba(249, 115, 22, 0.2);
  box-shadow:
    0 4px 12px rgba(249, 115, 22, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.feature-card-icon.warm::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
  border-radius: 12px 12px 0 0;
}

/* 新增：柔和绿色图标 - 用于效果评估 */

.feature-card-icon.soft-green {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #16a34a;
  border: 2px solid rgba(22, 163, 74, 0.2);
  box-shadow:
    0 4px 12px rgba(22, 163, 74, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.feature-card-icon.soft-green::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
  border-radius: 12px 12px 0 0;
}

.feature-card-text {
  font-size: 13px;
  font-weight: 500;
  color: #2d3748;
}

/* 按钮 */

.hero-actions-new {
  display: flex;
  gap: 20px;
}

.btn-primary-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow:
    0 1px 2px rgba(113,113,122, 0.1),
    0 4px 6px -1px rgba(113,113,122, 0.2),
    0 10px 15px -3px rgba(113,113,122, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

/* 微交互：光泽扫过效果 */

.btn-primary-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary-new:hover::before {
  left: 100%;
}

/* 微交互：悬停状态 */

.btn-primary-new:hover {
  background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 4px 6px -1px rgba(113,113,122, 0.25),
    0 10px 15px -3px rgba(113,113,122, 0.3),
    0 20px 25px -5px rgba(113,113,122, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: white;
}

/* 微交互：点击反馈 */

.btn-primary-new:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow:
    0 2px 4px rgba(113,113,122, 0.2),
    0 4px 6px -1px rgba(113,113,122, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

/* 按钮图标样式 */

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-outline-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gray-700);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow:
    0 1px 2px rgba(113,113,122, 0.04),
    0 4px 6px -1px rgba(113,113,122, 0.06),
    0 10px 15px -3px rgba(113,113,122, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

/* 微交互：光泽扫过 */

.btn-outline-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-outline-new:hover::before {
  left: 100%;
}

/* 微交互：悬停状态 */

.btn-outline-new:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(161,161,170, 0.35);
  color: var(--primary-600);
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 4px 6px -1px rgba(113,113,122, 0.1),
    0 10px 15px -3px rgba(113,113,122, 0.12),
    0 20px 25px -5px rgba(161,161,170, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* 微交互：点击反馈 */

.btn-outline-new:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow:
    0 2px 4px rgba(161,161,170, 0.08),
    0 4px 6px -1px rgba(161,161,170, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all var(--transition-fast);
}

/* 一键演出按钮 */

.btn-showcase-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow:
    0 1px 2px rgba(139, 92, 246, 0.1),
    0 4px 6px -1px rgba(139, 92, 246, 0.2),
    0 10px 15px -3px rgba(139, 92, 246, 0.25);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.btn-showcase-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-showcase-new:hover::before {
  left: 100%;
}

.btn-showcase-new:hover {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 4px 6px -1px rgba(139, 92, 246, 0.15),
    0 10px 15px -3px rgba(139, 92, 246, 0.2),
    0 20px 25px -5px rgba(139, 92, 246, 0.15);
}

.btn-showcase-new:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow:
    0 2px 4px rgba(139, 92, 246, 0.1),
    0 4px 6px -1px rgba(139, 92, 246, 0.15);
  transition: all var(--transition-fast);
}

.btn-showcase-new .btn-icon {
  width: 20px;
  height: 20px;
}

/* ==================== 3D示意图 ==================== */

.hero-image-new {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.isometric-scene {
  position: relative;
  width: 400px;
  height: 350px;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* ==================== 高端建筑体块风格图示 ==================== */

.hero-image-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  padding: 40px;
}

.architecture-scene {
  position: relative;
  width: 420px;
  height: 380px;
  transform-style: preserve-3d;
  perspective: 1200px;
  margin: 0 auto;
}

/* 建筑体块基础样式 */

.arch-block {
  position: absolute;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.arch-block:hover {
  transform: translateY(-10px) rotateX(5deg);
}

/* 建筑体面 */

.arch-face {
  position: absolute;
  border-radius: 4px;
}

.arch-front {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  backface-visibility: hidden;
}

.arch-side {
  width: 20px;
  height: 100%;
  right: -20px;
  top: 0;
  transform-origin: left;
  transform: rotateY(90deg);
}

.arch-top {
  width: 100%;
  height: 20px;
  top: -20px;
  left: 0;
  transform-origin: bottom;
  transform: rotateX(90deg);
}

/* 主建筑体块 - 场景诊断 */

.arch-main {
  width: 130px;
  height: 90px;
  top: 50px;
  left: 30px;
  transform: rotateX(12deg) rotateY(-22deg) rotateZ(4deg);
}

.arch-main .arch-front {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(77, 150, 255, 0.2);
  box-shadow:
    0 16px 32px rgba(77, 150, 255, 0.12),
    0 4px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.arch-main .arch-side {
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
}

.arch-main .arch-top {
  background: linear-gradient(135deg, #ffffff 0%, #edf2f7 100%);
}

/* AI诊断体块 */

.arch-ai {
  width: 110px;
  height: 78px;
  top: 25px;
  left: 160px;
  transform: rotateX(8deg) rotateY(-18deg) rotateZ(-2deg);
}

.arch-ai .arch-front {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.85) 0%, rgba(241, 245, 249, 0.75) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.04),
    0 4px 8px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.arch-ai .arch-side {
  background: linear-gradient(135deg, rgba(203, 213, 225, 0.35) 0%, rgba(148, 163, 184, 0.25) 100%);
  border-left: 1px solid rgba(148, 163, 184, 0.08);
}

.arch-ai .arch-top {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.8) 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

/* 痛点分析体块 */

.arch-pain {
  width: 100px;
  height: 72px;
  top: 120px;
  left: 170px;
  transform: rotateX(10deg) rotateY(-25deg) rotateZ(2deg);
}

.arch-pain .arch-front {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid rgba(248, 113, 113, 0.2);
  box-shadow:
    0 16px 32px rgba(248, 113, 113, 0.08),
    0 4px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.arch-pain .arch-side {
  background: linear-gradient(135deg, #fca5a5 0%, #f87171 100%);
}

.arch-pain .arch-top {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

/* 预算规划体块 */

.arch-budget {
  width: 105px;
  height: 75px;
  top: 210px;
  left: 100px;
  transform: rotateX(6deg) rotateY(-20deg) rotateZ(-2deg);
}

.arch-budget .arch-front {
  background: linear-gradient(135deg, var(--success-50) 0%, var(--success-100) 100%);
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow:
    0 16px 32px rgba(22, 163, 74, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.arch-budget .arch-side {
  background: linear-gradient(135deg, #86efac 0%, #22c55e 100%);
}

.arch-budget .arch-top {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

/* 方案生成体块 */

.arch-result {
  width: 115px;
  height: 82px;
  top: 160px;
  left: 250px;
  transform: rotateX(8deg) rotateY(-25deg) rotateZ(3deg);
}

.arch-result .arch-front {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow:
    0 20px 40px rgba(139, 92, 246, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.arch-result .arch-side {
  background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 100%);
}

.arch-result .arch-top {
  background: linear-gradient(135deg, #f5f3ff 0%, #ddd6fe 100%);
}

/* 建筑标签 */

.arch-label {
  font-size: 13px;
  font-weight: 600;
  color: #2d3748;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* 指示器 */

.arch-indicator {
  display: flex;
  gap: 5px;
}

.arch-indicator span {
  width: 6px;
  height: 6px;
  background: var(--primary-400);
  border-radius: 50%;
  opacity: 0.6;
}

.arch-indicator span:nth-child(2) {
  opacity: 1;
  transform: scale(1.2);
}

/* AI图标 */

.arch-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-500);
}

/* 波浪指示 */

.arch-waves {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 20px;
}

.arch-waves span {
  width: 4px;
  background: #f87171;
  border-radius: 2px;
  animation: wave 1.5s ease-in-out infinite;
}

.arch-waves span:nth-child(1) { height: 8px; animation-delay: 0s; }

.arch-waves span:nth-child(2) { height: 16px; animation-delay: 0.2s; }

.arch-waves span:nth-child(3) { height: 12px; animation-delay: 0.4s; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.3); }
}

/* 柱状图 */

.arch-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 24px;
}

.arch-bars span {
  width: 8px;
  background: linear-gradient(180deg, var(--success-400) 0%, var(--success-500) 100%);
  border-radius: 2px 2px 0 0;
}

.arch-bars span:nth-child(1) { height: 40%; }

.arch-bars span:nth-child(2) { height: 70%; }

.arch-bars span:nth-child(3) { height: 100%; }

/* 完成标记 */

.arch-check svg {
  width: 28px;
  height: 28px;
  color: #8b5cf6;
}

/* 连接线 */

.arch-connector {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--gray-300) 0%, var(--gray-400) 50%, var(--gray-300) 100%);
  border-radius: 1px;
  opacity: 0.5;
}

.conn-1 {
  width: 50px;
  top: 85px;
  left: 140px;
  transform: rotate(-12deg);
}

.conn-2 {
  width: 45px;
  top: 110px;
  left: 250px;
  transform: rotate(18deg);
}

.conn-3 {
  width: 60px;
  top: 170px;
  left: 180px;
  transform: rotate(-8deg);
}

.conn-4 {
  width: 50px;
  top: 215px;
  left: 190px;
  transform: rotate(22deg);
}

/* 装饰元素 */

.arch-deco {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.deco-1 {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--primary-400) 0%, transparent 70%);
  top: 15px;
  right: 30px;
}

.deco-2 {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--success-400) 0%, transparent 70%);
  bottom: 40px;
  left: 50px;
}

.deco-3 {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, #a78bfa 0%, transparent 70%);
  top: 130px;
  right: 40px;
}

.iso-squares {
  display: flex;
  gap: 4px;
}

.iso-squares span {
  width: 10px;
  height: 10px;
  background: var(--primary-400);
  border-radius: 2px;
}

.iso-floating-bar {
  position: absolute;
  height: 6px;
  background: var(--gray-300);
  border-radius: 3px;
  opacity: 0.6;
}

.bar-1 {
  width: 60px;
  top: 60px;
  right: 20px;
  transform: rotate(-15deg);
}

.bar-2 {
  width: 40px;
  top: 100px;
  right: 0;
  transform: rotate(10deg);
}

.bar-3 {
  width: 50px;
  top: 180px;
  right: 30px;
  transform: rotate(-5deg);
}

.emotion-navigator {
  position: absolute;
  bottom: 20px;
  right: 0;
  font-size: 15px;
  font-weight: 600;
  color: #718096;
  text-align: right;
  line-height: 1.5;
  letter-spacing: 1px;
}

/* ==================== 滚动提示 ==================== */

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(77, 150, 255, 0.4);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-500);
  border-radius: 2px;
  animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

.scroll-text {
  font-size: 13px;
  color: #718096;
  font-weight: 500;
}

/* ==================== 信任背书区域 - 温暖疗愈风格 ==================== */

.trust-section {
  background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
  padding: 100px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--sun-300), 
    var(--pink-300), 
    var(--primary-300), 
    var(--success-300), 
    transparent);
}

.trust-header {
  text-align: center;
  margin-bottom: 70px;
}

.trust-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(250, 204, 21, 0.1);
  color: var(--warm-600);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trust-label::before {
  content: '';
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, var(--sun-400), var(--pink-400));
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.5);
  animation: trust-pulse 2s ease-in-out infinite;
}

@keyframes trust-pulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.3);
    opacity: 0.6;
  }
}

.trust-title {
  font-size: 40px;
  font-weight: 300;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.trust-title strong {
  font-weight: 700;
  background: linear-gradient(135deg, var(--sun-500) 0%, var(--pink-500) 50%, var(--primary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-stats {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
  position: relative;
}

.trust-stat-item {
  text-align: center;
  position: relative;
  padding: 0 30px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-stat-item:hover {
  transform: translateY(-5px);
}

.trust-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 70px;
  background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.3), transparent);
}

.trust-number {
  font-size: 64px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--sun-500) 0%, var(--pink-500) 50%, var(--primary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  filter: drop-shadow(0 2px 8px rgba(251, 146, 60, 0.15));
}

.trust-desc {
  font-size: 17px;
  color: var(--gray-600);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ==================== 流程步骤结果标签 ==================== */

.step-result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.result-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(161,161,170, 0.1) 0%, rgba(161,161,170, 0.05) 100%);
  color: var(--primary-500);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* ==================== 区域标题样式 - 温暖疗愈风格 ==================== */

.section-label {
  display: inline-block;
  background: rgba(250, 204, 21, 0.1);
  color: var(--warm-600);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--sun-400), var(--pink-400));
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 12px;
}

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

/* ==================== 功能卡片高亮 ==================== */

.feature-highlight {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.highlight-number {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-text {
  font-size: 14px;
  color: #718096;
}

/* ==================== 成功案例预览 ==================== */

.cases-preview-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 80px 0;
}

.case-preview-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 10px 40px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-preview-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.03),
    0 20px 60px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.case-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-image.case-classroom {
  background: linear-gradient(135deg, var(--success-50) 0%, var(--success-100) 100%);
}

.case-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-500);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.case-content {
  padding: 24px;
}

.case-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 12px;
}

.case-content p {
  font-size: 14px;
  color: #718096;
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.case-stat {
  display: flex;
  flex-direction: column;
}

.case-stat .stat-value {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-stat .stat-label {
  font-size: 13px;
  color: #718096;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-500);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.case-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.case-link:hover svg {
  transform: translateX(4px);
}

/* ==================== 案例滑动卡片样式 ==================== */

.case-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 60px;
}

.case-carousel-wrapper {
  overflow: hidden;
  border-radius: 24px;
}

.case-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.case-carousel-slide {
  flex: 0 0 100%;
  padding: 0 10px;
}

.case-card-carousel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 10px 40px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card-carousel:hover {
  transform: translateY(-8px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.03),
    0 20px 60px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.case-image-carousel {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-image-carousel.case-classroom-carousel {
  background: linear-gradient(135deg, var(--success-50) 0%, var(--success-100) 100%);
}

.case-image-carousel.case-playground-carousel {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.case-badge-carousel {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-500);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.case-content-carousel {
  padding: 28px;
}

.case-content-carousel h4 {
  font-size: 20px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 12px;
}

.case-content-carousel p {
  font-size: 15px;
  color: #718096;
  line-height: 1.7;
  margin-bottom: 20px;
}

.case-stats-carousel {
  display: flex;
  gap: 32px;
  margin-bottom: 20px;
}

.case-stat-carousel {
  display: flex;
  flex-direction: column;
}

.stat-value-carousel {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label-carousel {
  font-size: 14px;
  color: #718096;
}

.case-link-carousel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-500);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.case-link-carousel svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.case-link-carousel:hover svg {
  transform: translateX(4px);
}

/* 触摸滑动支持 */

.case-carousel-wrapper {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.case-carousel-track.dragging {
  transition: none;
  cursor: grabbing;
}

/* 响应式适配 */

@media (max-width: 768px) {
  .case-carousel {
    padding: 20px 50px;
  }
  
  .case-image-carousel {
    height: 160px;
  }
  
  .case-content-carousel {
    padding: 20px;
  }
  
  .case-content-carousel h4 {
    font-size: 18px;
  }
  
  .stat-value-carousel {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .case-carousel {
    padding: 20px 40px;
  }
  
  .case-image-carousel {
    height: 140px;
  }
  
  .case-stats-carousel {
    gap: 24px;
  }
}

/* ==================== Apple风格滑动卡片样式 ==================== */

.case-carousel-apple {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.case-carousel-viewport {
  overflow: hidden;
  padding: 20px 0;
}

.case-carousel-track-apple {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.case-slide-apple {
  flex: 0 0 60%;
  padding: 0 15px;
  opacity: 0.5;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.case-card-apple {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 20px 50px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-slide-apple.active .case-card-apple {
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.04),
    0 30px 80px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.case-image-apple {
  height: 220px;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-image-apple.case-classroom-apple {
  background: linear-gradient(135deg, var(--success-50) 0%, var(--success-100) 100%);
}

.case-image-apple.case-playground-apple {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.case-badge-apple {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-500);
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.case-content-apple {
  padding: 32px;
}

.case-content-apple h4 {
  font-size: 22px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 12px;
}

.case-content-apple p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 24px;
}

.case-stats-apple {
  display: flex;
  gap: 40px;
  margin-bottom: 24px;
}

.case-stat-apple {
  display: flex;
  flex-direction: column;
}

.stat-value-apple {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label-apple {
  font-size: 14px;
  color: #718096;
  margin-top: 4px;
}

.case-link-apple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-500);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.case-link-apple svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.case-link-apple:hover svg {
  transform: translateX(4px);
}

/* 底部长方形进度条 */

.carousel-progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.progress-track {
  position: relative;
  width: 200px;
  height: 4px;
  background: rgba(161,161,170, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--primary-500);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-segments {
  display: flex;
  gap: 8px;
}

.progress-segment {
  width: 40px;
  height: 4px;
  background: rgba(161,161,170, 0.2);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.progress-segment:hover {
  background: rgba(161,161,170, 0.4);
}

.progress-segment.active {
  background: var(--primary-500);
}

/* 暂停/播放按钮 */

.carousel-pause-btn {
  width: 36px;
  height: 36px;
  background: rgba(161,161,170, 0.1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary-500);
}

.carousel-pause-btn:hover {
  background: rgba(161,161,170, 0.2);
  transform: scale(1.1);
}

.carousel-pause-btn svg {
  width: 14px;
  height: 14px;
}

/* 触摸滑动支持 */

.case-carousel-viewport {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.case-carousel-track-apple.dragging {
  transition: none;
  cursor: grabbing;
}

/* 响应式适配 */

@media (max-width: 992px) {
  .case-slide-apple {
    flex: 0 0 70%;
  }
}

@media (max-width: 768px) {
  .case-slide-apple {
    flex: 0 0 80%;
    padding: 0 10px;
  }
  
  .case-image-apple {
    height: 180px;
  }
  
  .case-content-apple {
    padding: 24px;
  }
  
  .case-content-apple h4 {
    font-size: 20px;
  }
  
  .stat-value-apple {
    font-size: 28px;
  }
  
  .case-stats-apple {
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .case-slide-apple {
    flex: 0 0 85%;
    padding: 0 8px;
  }
  
  .case-image-apple {
    height: 160px;
  }
  
  .case-content-apple {
    padding: 20px;
  }
  
  .case-content-apple h4 {
    font-size: 18px;
  }
  
  .stat-value-apple {
    font-size: 24px;
  }
  
  .case-stats-apple {
    gap: 24px;
  }
  
  .carousel-progress-bar {
    gap: 12px;
  }
  
  .progress-track {
    width: 150px;
  }
  
  .progress-segment {
    width: 32px;
  }
}

/* ==================== 查看更多案例按钮 ==================== */

.case-view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--primary-500);
  border: 1px solid rgba(161,161,170, 0.2);
  border-radius: 14px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 10px 20px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-view-more-btn:hover {
  background: white;
  border-color: rgba(161,161,170, 0.3);
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.04),
    0 15px 30px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

.case-view-more-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.case-view-more-btn:hover svg {
  transform: translateX(4px);
}

/* ==================== 核心功能区Apple风格滑动卡片 ==================== */

.feature-carousel-apple {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.feature-carousel-viewport {
  overflow: hidden;
  padding: 20px 0;
}

.feature-carousel-track-apple {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.feature-slide-apple {
  flex: 0 0 60%;
  padding: 0 15px;
  opacity: 0.5;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.feature-card-apple {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  padding: 48px 40px;
  text-align: center;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 20px 50px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.feature-slide-apple.active .feature-card-apple {
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.04),
    0 30px 80px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-icon-apple {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, var(--sun-400) 0%, var(--pink-400) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(251, 146, 60, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.feature-icon-apple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
  border-radius: 50% 50% 0 0;
}

.feature-icon-apple svg {
  width: 40px;
  height: 40px;
  color: white;
  position: relative;
  z-index: 2;
}

.feature-icon-apple.heatmap-icon-apple {
  background: linear-gradient(135deg, var(--pink-400) 0%, var(--primary-400) 100%);
  box-shadow:
    0 8px 24px rgba(236, 72, 153, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.feature-card-apple h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1a202c;
}

.feature-card-apple p {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-highlight-apple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 204, 21, 0.1);
  padding: 12px 20px;
  border-radius: 24px;
}

.highlight-number-apple {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--sun-500) 0%, var(--pink-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-text-apple {
  font-size: 14px;
  color: var(--gray-600);
}

/* 功能区进度条 */

.feature-progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.feature-progress-fill {
  background: var(--primary-500);
}

.feature-progress-segments {
  display: flex;
  gap: 8px;
}

.feature-progress-segments .progress-segment {
  width: 40px;
  height: 4px;
  background: rgba(161,161,170, 0.2);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.feature-progress-segments .progress-segment:hover {
  background: rgba(161,161,170, 0.4);
}

.feature-progress-segments .progress-segment.active {
  background: var(--primary-500);
}

/* 功能区暂停按钮 */

.feature-pause-btn {
  width: 36px;
  height: 36px;
  background: rgba(161,161,170, 0.1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary-500);
}

.feature-pause-btn:hover {
  background: rgba(161,161,170, 0.2);
  transform: scale(1.1);
}

.feature-pause-btn svg {
  width: 14px;
  height: 14px;
}

/* 触摸滑动支持 */

.feature-carousel-viewport {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.feature-carousel-track-apple.dragging {
  transition: none;
  cursor: grabbing;
}

/* 响应式适配 */

@media (max-width: 992px) {
  .feature-slide-apple {
    flex: 0 0 70%;
  }
}

@media (max-width: 768px) {
  .feature-slide-apple {
    flex: 0 0 80%;
    padding: 0 10px;
  }
  
  .feature-card-apple {
    padding: 36px 28px;
  }
  
  .feature-icon-apple {
    width: 72px;
    height: 72px;
  }
  
  .feature-icon-apple svg {
    width: 32px;
    height: 32px;
  }
  
  .feature-card-apple h4 {
    font-size: 20px;
  }
  
  .highlight-number-apple {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .feature-slide-apple {
    flex: 0 0 85%;
    padding: 0 8px;
  }
  
  .feature-card-apple {
    padding: 28px 20px;
  }
  
  .feature-card-apple h4 {
    font-size: 18px;
  }
  
  .feature-card-apple p {
    font-size: 14px;
  }
  
  .highlight-number-apple {
    font-size: 22px;
  }
  
  .feature-progress-bar {
    gap: 12px;
  }
}

/* ==================== 最终CTA区域 - Pentagram简约风格 ==================== */

.cta-section-final {
  background: #f5f5f7;
  padding: 100px 0;
  border-top: 1px solid #e5e5ea;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* 标签 - Pentagram简约风格 */

.cta-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.05);
  color: #1d1d1f;
  padding: 6px 14px;
  border-radius: 980px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.cta-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #6e6e73;
  line-height: 1.6;
  margin-bottom: 32px;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6e6e73;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.cta-feature svg {
  width: 18px;
  height: 18px;
  color: #0071e3;
}

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

/* 主按钮 - Apple风格纯黑 */

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #000;
  color: white;
  border: none;
  border-radius: 980px;
  padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-cta:hover {
  background: #1d1d1f;
}

.btn-primary-cta:active {
  transform: scale(0.98);
}

.btn-primary-cta .btn-icon {
  width: 20px;
  height: 20px;
}

/* 去掉按钮内的图标，只保留文字 */

.btn-primary-cta .btn-icon {
  display: none;
}

.cta-note {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #86868b;
  margin: 0;
}

/* ==================== 滚动动画 ==================== */

.process-step-card,
.feature-card,
.case-preview-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.process-step-card.animate-in,
.feature-card.animate-in,
.case-preview-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* 玻璃拟态基础样式 */

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 10px 40px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.03),
    0 20px 60px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-4px);
}

/* 玻璃拟态 - 深色版本 */

.glass-card-dark {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 10px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 玻璃拟态 - 彩色渐变背景 */

.glass-gradient-bg {
  background: linear-gradient(135deg,
    rgba(77, 150, 255, 0.15) 0%,
    rgba(107, 203, 119, 0.15) 50%,
    rgba(255, 255, 255, 0.7) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

/* 高光边框效果 */

.glass-shine {
  position: relative;
  overflow: hidden;
}

.glass-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.7s ease;
}

.glass-shine:hover::before {
  left: 100%;
}

/* ==================== 流程区域 - 温暖疗愈风格 ==================== */

.process-section-new {
  background: white;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.process-section-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--sun-200), 
    var(--pink-200), 
    var(--primary-200), 
    var(--success-200), 
    transparent);
}

.process-header {
  text-align: center;
  margin-bottom: 80px;
}

.process-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(236, 72, 153, 0.08);
  color: var(--pink-600);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.process-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, var(--sun-400), var(--pink-400));
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.4);
}

.process-title {
  font-size: 42px;
  font-weight: 300;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.process-title strong {
  font-weight: 700;
  background: linear-gradient(135deg, var(--sun-500) 0%, var(--pink-500) 50%, var(--primary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-subtitle {
  font-size: 18px;
  color: var(--gray-600);
  font-weight: 400;
}

.process-steps-new {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.process-step-card {
  position: relative;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 48px 32px 32px;
  text-align: left;
  width: 280px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 4px 6px rgba(15, 23, 42, 0.03),
    0 10px 20px rgba(15, 23, 42, 0.02);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  margin-top: 24px;
}

.process-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sun-400), var(--pink-400), var(--primary-400));
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.process-step-card:hover::before {
  opacity: 1;
}

.process-step-card:hover {
  border-color: rgba(251, 146, 60, 0.3);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 12px 24px rgba(251, 146, 60, 0.1),
    0 24px 48px rgba(251, 146, 60, 0.1);
  transform: translateY(-8px);
}

.step-badge {
  position: absolute;
  top: -20px;
  left: 28px;
  width: 44px;
  height: 44px;
  background: white;
  color: var(--warm-600);
  border: 2px solid var(--sun-200);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow:
    0 4px 12px rgba(251, 146, 60, 0.2),
    0 2px 6px rgba(251, 146, 60, 0.15);
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step-card:hover .step-badge {
  background: linear-gradient(135deg, var(--sun-400), var(--pink-400));
  color: white;
  border-color: transparent;
  transform: scale(1.05);
  box-shadow:
    0 6px 18px rgba(251, 146, 60, 0.35);
}

/* 步骤图标精细化设计 */

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  overflow: hidden;
}

.step-icon svg {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 2;
}

.step-icon.blue {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
  color: var(--primary-600);
  border: 2px solid rgba(113,113,122, 0.25);
  box-shadow:
    0 4px 15px rgba(113,113,122, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.step-icon.blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
  border-radius: 18px 18px 0 0;
}

.step-icon.gray {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  color: var(--gray-600);
  border: 2px solid rgba(100, 116, 139, 0.2);
  box-shadow:
    0 4px 15px rgba(100, 116, 139, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.step-icon.gray::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
  border-radius: 18px 18px 0 0;
}

.step-icon.green {
  background: linear-gradient(135deg, var(--success-50) 0%, var(--success-100) 100%);
  color: var(--success-600);
  border: 2px solid rgba(22, 163, 74, 0.25);
  box-shadow:
    0 4px 15px rgba(22, 163, 74, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.step-icon.green::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
  border-radius: 18px 18px 0 0;
}

/* 紫色图标样式 */

.step-icon.purple {
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
  color: #7c3aed;
  border: 2px solid rgba(124, 58, 237, 0.25);
  box-shadow:
    0 4px 15px rgba(124, 58, 237, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.step-icon.purple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
  border-radius: 18px 18px 0 0;
}

/* 橙色图标样式 */

.step-icon.orange {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #ea580c;
  border: 2px solid rgba(234, 88, 12, 0.25);
  box-shadow:
    0 4px 15px rgba(234, 88, 12, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.step-icon.orange::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
  border-radius: 18px 18px 0 0;
}

/* 步骤箭头 */

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  color: var(--primary-400);
  align-self: center;
}

.step-arrow svg {
  width: 24px;
  height: 24px;
}

.step-name {
  font-size: 20px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: #718096;
  line-height: 1.6;
}

/* ==================== 原有样式保留 ==================== */

.features-section {
  background: white;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 10px 40px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transition: left 0.7s ease;
  pointer-events: none;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-8px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.03),
    0 20px 60px rgba(77, 150, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* 核心功能图标精细化设计 */

.feature-icon {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(113,113,122, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
  border-radius: 50% 50% 0 0;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  color: white;
  position: relative;
  z-index: 2;
}

/* 热力图图标特殊样式 - 使用和谐的双色渐变 */

.feature-icon.heatmap-icon {
  background: linear-gradient(135deg, var(--warm-400) 0%, var(--primary-500) 100%);
}

.feature-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #343a40;
}

.feature-card p {
  color: #6c757d;
  line-height: 1.6;
}

/* ==================== 滑动卡片轮播样式 ==================== */

.feature-carousel {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 60px;
}

.feature-carousel-wrapper {
  overflow: hidden;
  border-radius: 24px;
}

.feature-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.feature-carousel-slide {
  flex: 0 0 100%;
  padding: 0 10px;
}

.feature-card-carousel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 10px 40px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.feature-card-carousel:hover {
  transform: translateY(-8px);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-icon-carousel {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(113,113,122, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.feature-icon-carousel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
  border-radius: 50% 50% 0 0;
}

.feature-icon-carousel svg {
  width: 40px;
  height: 40px;
  color: white;
  position: relative;
  z-index: 2;
}

.feature-icon-carousel.heatmap-icon {
  background: linear-gradient(135deg, var(--warm-400) 0%, var(--primary-500) 100%);
}

.feature-card-carousel h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #343a40;
}

.feature-card-carousel p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-highlight-carousel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(161,161,170, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

/* 导航按钮 */

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(161,161,170, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  z-index: 10;
  color: var(--primary-500);
}

.carousel-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.carousel-nav svg {
  width: 24px;
  height: 24px;
}

/* 指示器 */

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background: rgba(161,161,170, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(161,161,170, 0.4);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--primary-500);
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(161,161,170, 0.4);
}

/* 触摸滑动支持 */

.feature-carousel-wrapper {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.feature-carousel-track.dragging {
  transition: none;
  cursor: grabbing;
}

/* 响应式适配 */

@media (max-width: 768px) {
  .feature-carousel {
    padding: 20px 50px;
  }
  
  .carousel-nav {
    width: 40px;
    height: 40px;
  }
  
  .carousel-nav svg {
    width: 20px;
    height: 20px;
  }
  
  .feature-card-carousel {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .feature-carousel {
    padding: 20px 40px;
  }
  
  .feature-icon-carousel {
    width: 72px;
    height: 72px;
  }
  
  .feature-icon-carousel svg {
    width: 32px;
    height: 32px;
  }
}

.advanced-features-section {
  background: #f8f9fa;
}

.advanced-feature-card {
  display: block;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 10px 40px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.advanced-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transition: left 0.7s ease;
  pointer-events: none;
}

.advanced-feature-card:hover::before {
  left: 100%;
}

.advanced-feature-card:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-8px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.03),
    0 20px 60px rgba(77, 150, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: inherit;
}

/* 高级功能图标精细化设计 */

.advanced-icon {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.advanced-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
  border-radius: 24px 24px 0 0;
}

.advanced-icon svg {
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 2;
}

.advanced-feature-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.75rem;
}

.advanced-feature-card p {
  color: #6c757d;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-500);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.feature-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.advanced-feature-card:hover .feature-link svg {
  transform: translateX(4px);
}

.advanced-feature-card:hover .feature-link {
  gap: 0.75rem;
}

/* 数据统计区域 */

.stats-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 60px 0;
}

.stat-item {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 统计图标精细化设计 */

.stat-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(77, 150, 255, 0.1) 0%, rgba(77, 150, 255, 0.05) 100%);
  border: 2px solid rgba(77, 150, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.stat-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
  border-radius: 14px 14px 0 0;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary-500);
  position: relative;
  z-index: 2;
}

.stat-item:hover .stat-icon {
  background: linear-gradient(135deg, rgba(161,161,170, 0.2) 0%, rgba(161,161,170, 0.1) 100%);
  border-color: rgba(161,161,170, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(113,113,122, 0.15);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-500);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1.1rem;
  color: #6c757d;
  font-weight: 500;
}

/* CTA区域 */

.cta-section {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%) !important;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.cta-section .lead {
  position: relative;
  z-index: 1;
}

/* CTA按钮精细化设计 */

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--primary-500);
  border: none;
  border-radius: 14px;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(77, 150, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  background: white;
  color: var(--primary-500);
  transform: translateY(-3px);
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.12),
    0 15px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cta-btn svg {
  width: 22px;
  height: 22px;
}

/* 动画 */

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

/* ==================== 响应式适配 ==================== */

@media (max-width: 991px) {
  .hero-section-new {
    padding: 40px 0 60px;
    min-height: auto;
  }

  .hero-title-new {
    font-size: 36px;
  }

  .hero-feature-cards {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-card-item {
    width: 100%;
    max-width: 300px;
  }

  .hero-image-new {
    min-height: 350px;
    margin-top: 40px;
  }

  .isometric-scene {
    transform: scale(0.8);
  }

  .process-steps-new {
    flex-direction: column;
    align-items: center;
  }

  .process-step-card {
    width: 100%;
    max-width: 320px;
    margin-bottom: 20px;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }

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

@media (max-width: 767px) {
  .hero-title-new {
    font-size: 28px;
  }

  .hero-subtitle-new {
    font-size: 16px;
  }

  .hero-actions-new {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-new,
  .btn-outline-new {
    width: 100%;
    justify-content: center;
  }

  .hero-image-new {
    min-height: 280px;
  }

  .isometric-scene {
    transform: scale(0.6);
  }

  .emotion-navigator {
    font-size: 14px;
    bottom: 20px;
    right: 10px;
  }

  .process-title {
    font-size: 24px;
  }

  .process-section-new {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

/* ==================== 建筑作品集风格 - 流程模块 ==================== */

.home-module .process-section-new {
  background: #fafafa !important;
  padding: 120px 0 !important;
  border-top: 1px solid #e5e5e5 !important;
  border-bottom: 1px solid #e5e5e5 !important;
}

.home-module .process-header {
  text-align: left !important;
  margin-bottom: 80px !important;
}

.home-module .process-tag {
  display: inline-block !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #666 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin-bottom: 16px !important;
}

.home-module .process-tag::before {
  display: none !important;
}

.home-module .process-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 48px !important;
  font-weight: 400 !important;
  color: #1a1a1a !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  margin-bottom: 16px !important;
}

.home-module .process-title strong {
  font-weight: 600 !important;
  background: none !important;
  -webkit-background-clip: none !important;
  -webkit-text-fill-color: #1a1a1a !important;
  background-clip: none !important;
}

.home-module .process-subtitle {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  color: #666 !important;
  letter-spacing: 0.01em !important;
}

.home-module .process-steps-new {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 0 !important;
  position: relative !important;
}

.home-module .process-step-card {
  position: relative !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  width: 22% !important;
  box-shadow: none !important;
  margin-top: 0 !important;
  transition: none !important;
}

.home-module .process-step-card::before {
  display: none !important;
}

.home-module .process-step-card:hover {
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.home-module .step-badge {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  width: auto !important;
  height: auto;
  background: transparent;
  color: #1a1a1a;
  border: none;
  border-radius: 0;
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  box-shadow: none;
  z-index: 1;
  transition: none;
  margin-bottom: 24px;
}

.process-step-card:hover .step-badge {
  background: transparent;
  color: #1a1a1a;
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

.step-icon {
  display: none;
}

.step-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  position: relative;
  padding-top: 12px;
}

.step-name::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: #1a1a1a;
}

.step-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  font-weight: 300;
}

.step-result {
  margin-top: 16px;
  padding-top: 0;
  border-top: none;
}

.result-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  letter-spacing: 0.05em;
}

.step-arrow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: auto;
  color: #e5e5e5;
  align-self: flex-start;
  padding-top: 40px;
}

.step-arrow svg {
  width: 32px;
  height: 32px;
}

/* ==================== 建筑作品集风格 - 案例滑动模块 ==================== */

.cases-preview-section {
  background: white;
  padding: 120px 0;
}

.cases-preview-section .section-header {
  text-align: left;
  margin-bottom: 60px;
}

.cases-preview-section .section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  margin-bottom: 16px;
}

.cases-preview-section .section-label::before {
  display: none;
}

.cases-preview-section .section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.cases-preview-section .section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #666;
  letter-spacing: 0.01em;
}

.case-carousel-apple {
  position: relative;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.case-carousel-viewport {
  overflow: visible;
  padding: 0;
}

.case-carousel-track-apple {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  gap: 40px;
}

.case-slide-apple {
  flex: 0 0 45%;
  padding: 0;
  opacity: 1;
  transform: none;
  transition: none;
}

.case-slide-apple.active {
  opacity: 1;
  transform: none;
}

.case-card-apple {
  background: white;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: none;
}

.case-slide-apple.active .case-card-apple {
  box-shadow: none;
}

.case-image-apple {
  height: 300px;
  background: #fafafa;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e5e5e5;
}

.case-image-apple.case-classroom-apple {
  background: #fafafa;
}

.case-image-apple.case-playground-apple {
  background: #fafafa;
}

.case-badge-apple {
  position: absolute;
  top: 24px;
  left: 24px;
  background: #1a1a1a;
  color: white;
  padding: 8px 16px;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: none;
}

.case-content-apple {
  padding: 32px;
}

.case-content-apple h4 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.case-content-apple p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 300;
}

.case-stats-apple {
  display: flex;
  gap: 40px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.case-stat-apple {
  display: flex;
  flex-direction: column;
}

.stat-value-apple {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 500;
  color: #1a1a1a;
  background: none;
  -webkit-background-clip: none;
  -webkit-text-fill-color: #1a1a1a;
  background-clip: none;
}

.stat-label-apple {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.case-link-apple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-link-apple svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.case-link-apple:hover svg {
  transform: translateX(4px);
}

.carousel-progress-bar {
  display: none;
}

.carousel-pause-btn {
  display: none;
}

.case-view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 0;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
  transition: all 0.3s ease;
  margin-top: 40px;
}

.case-view-more-btn:hover {
  background: #1a1a1a;
  color: white;
  border-color: #1a1a1a;
  box-shadow: none;
  transform: none;
}

.case-view-more-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.case-view-more-btn:hover svg {
  transform: translateX(4px);
}

/* ==================== 建筑作品集风格 - 核心功能滑动模块 ==================== */

.features-section {
  background: white;
  padding: 120px 0;
}

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

.features-section .section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  margin-bottom: 16px;
}

.features-section .section-label::before {
  display: none;
}

.features-section .section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.features-section .section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #666;
  letter-spacing: 0.01em;
}

.feature-carousel-apple {
  position: relative;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.feature-carousel-track-apple {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  gap: 40px;
}

.feature-slide-apple {
  flex: 0 0 45%;
  padding: 0;
  opacity: 1;
  transform: none;
  transition: none;
}

.feature-slide-apple.active {
  opacity: 1;
  transform: none;
}

.feature-card-apple {
  background: white;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  padding: 48px 40px;
  text-align: left;
  box-shadow: none;
  transition: none;
  height: 100%;
}

.feature-slide-apple.active .feature-card-apple {
  box-shadow: none;
}

.feature-icon-apple {
  width: 64px;
  height: 64px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 24px;
  position: relative;
  overflow: visible;
  box-shadow: none;
}

.feature-icon-apple::before {
  display: none;
}

.feature-icon-apple svg {
  width: 32px;
  height: 32px;
  color: #1a1a1a;
  position: relative;
  z-index: 2;
}

.feature-icon-apple.heatmap-icon-apple {
  background: transparent;
  box-shadow: none;
}

.feature-card-apple h4 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 16px;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.feature-card-apple p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 300;
}

.feature-highlight-apple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border-top: 1px solid #e5e5e5;
  padding-top: 24px;
}

.highlight-number-apple {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 500;
  color: #1a1a1a;
  background: none;
  -webkit-background-clip: none;
  -webkit-text-fill-color: #1a1a1a;
  background-clip: none;
}

.highlight-text-apple {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #666;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-progress-bar {
  display: none;
}

.feature-pause-btn {
  display: none;
}

/* ==================== 响应式 - 建筑作品集风格 ==================== */

@media (max-width: 991px) {
  .process-title {
    font-size: 36px;
  }

  .process-steps-new {
    flex-direction: column;
    gap: 40px;
  }

  .process-step-card {
    width: 100%;
  }

  .step-arrow {
    display: none;
  }

  .case-slide-apple {
    flex: 0 0 70%;
  }

  .feature-slide-apple {
    flex: 0 0 70%;
  }

  .cases-preview-section .section-header h2,
  .features-section .section-header h2 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .process-section-new,
  .cases-preview-section,
  .features-section {
    padding: 80px 0;
  }

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

  .step-badge {
    font-size: 56px;
  }

  .step-name {
    font-size: 20px;
  }

  .case-slide-apple {
    flex: 0 0 85%;
  }

  .feature-slide-apple {
    flex: 0 0 85%;
  }

  .case-image-apple {
    height: 240px;
  }

  .case-content-apple {
    padding: 24px;
  }

  .case-content-apple h4,
  .feature-card-apple h4 {
    font-size: 20px;
  }

  .cases-preview-section .section-header h2,
  .features-section .section-header h2 {
    font-size: 28px;
  }

  .stat-value-apple {
    font-size: 28px;
  }

  .highlight-number-apple {
    font-size: 24px;
  }
}

/* ==================== 滚动叙事模块 - 优化版本 ==================== */

.scrollytelling-section {
  background: #ffffff;
  position: relative;
  padding: 100px 0 140px;
}

/* 顶部标题区域 */

.scrollytelling-header {
  text-align: center;
  padding-bottom: 96px;
}

.scrollytelling-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 400;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.scrollytelling-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  font-weight: 300;
  color: #6e6e73;
  letter-spacing: 0;
  line-height: 1.6;
  margin: 0;
}

/* 步骤容器 */

.scrollytelling-steps {
  position: relative;
}

/* 单个步骤 */

.scrollytelling-step {
  display: flex;
  align-items: center;
  gap: 96px;
  margin-bottom: 120px;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s cubic-bezier(0.32, 0.72, 0, 1),
              transform 0.9s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: opacity, transform;
}

.scrollytelling-step:last-child {
  margin-bottom: 0;
}

.scrollytelling-step.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* 偶数步骤反向布局 */

.scrollytelling-step:nth-child(even) {
  flex-direction: row-reverse;
}

/* 步骤图片 */

.step-image {
  flex: 0 0 46%;
  border-radius: 20px;
  overflow: hidden;
  background: #fafafa;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  cursor: default;
}

/* 图片装饰边框 */

.step-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  pointer-events: none;
  z-index: 3;
}

/* 图片角标装饰 */

.step-image::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.scrollytelling-step.animate-in .step-image::after {
  opacity: 1;
  transform: scale(1);
}

/* 左上角装饰 */

.step-decor.top-left {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px 0 0 0;
  z-index: 4;
  opacity: 0;
  transform: translate(-8px, -8px);
  transition: all 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.scrollytelling-step.animate-in .step-decor.top-left {
  opacity: 1;
  transform: translate(0, 0);
  transition-delay: 0.1s;
}

/* 右下角装饰 */

.step-decor.bottom-right {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0 0 4px 0;
  z-index: 4;
  opacity: 0;
  transform: translate(8px, 8px);
  transition: all 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.scrollytelling-step.animate-in .step-decor.bottom-right {
  opacity: 1;
  transform: translate(0, 0);
  transition-delay: 0.15s;
}

.step-icon {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  z-index: 2;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.scrollytelling-step.animate-in .step-icon {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

.step-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s cubic-bezier(0.32, 0.72, 0, 1),
              transform 1s cubic-bezier(0.32, 0.72, 0, 1);
}

.abstract-visual {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  display: block;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 244, 240, 0.86)),
    linear-gradient(160deg, rgba(17, 24, 39, 0.03), rgba(15, 118, 110, 0.05));
  isolation: isolate;
}

.abstract-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(255, 255, 255, 0.46) 45% 48%, transparent 50%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.36), transparent 42%);
  opacity: 0.72;
  pointer-events: none;
  z-index: 8;
}

.abstract-visual::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(24, 31, 38, 0.08);
  pointer-events: none;
  z-index: 9;
}

.step-image .abstract-visual {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s cubic-bezier(0.32, 0.72, 0, 1),
              transform 1s cubic-bezier(0.32, 0.72, 0, 1);
}

.scrollytelling-step.animate-in .step-image .abstract-visual {
  opacity: 1;
  transform: scale(1);
}

.step-image:hover .abstract-visual,
.portfolio-feature-item:hover .abstract-visual {
  transform: scale(1.025);
}

.abstract-grid {
  position: absolute;
  inset: 11%;
  background-image:
    linear-gradient(rgba(24, 31, 38, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 31, 38, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
  z-index: 1;
}

.abstract-plan {
  position: absolute;
  display: grid;
  gap: 10px;
  z-index: 3;
}

.abstract-plan span {
  display: block;
  border: 1px solid rgba(24, 31, 38, 0.14);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.abstract-plan-large {
  inset: 20% 17% 22%;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 0.9fr 1.1fr;
  transform: rotate(-2deg);
}

.abstract-plan-small {
  width: 42%;
  height: 42%;
  right: 14%;
  bottom: 15%;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 0.8fr 1.2fr;
}

.abstract-plan-diagnostic {
  inset: 17% 35% 18% 13%;
  grid-template-columns: 1fr 0.9fr;
  grid-template-rows: 0.7fr 1fr 0.8fr;
}

.abstract-plan-diagnostic span:nth-child(1) {
  grid-column: span 2;
}

.abstract-path {
  position: absolute;
  left: 22%;
  right: 21%;
  top: 50%;
  height: 1px;
  background: rgba(15, 118, 110, 0.36);
  transform: rotate(-18deg);
  z-index: 4;
}

.abstract-path::before,
.abstract-path::after,
.abstract-connector::before,
.abstract-connector::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #0f766e;
  top: -3px;
}

.abstract-path::before,
.abstract-connector::before {
  left: 0;
}

.abstract-path::after,
.abstract-connector::after {
  right: 0;
}

.abstract-marker,
.abstract-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #0f766e;
  box-shadow: 0 0 0 8px rgba(15, 118, 110, 0.08);
  z-index: 5;
}

.marker-a,
.node-a {
  left: 28%;
  top: 34%;
}

.marker-b,
.node-b {
  right: 28%;
  top: 48%;
}

.marker-c,
.node-c {
  left: 46%;
  bottom: 28%;
}

.marker-d {
  right: 31%;
  bottom: 28%;
}

.abstract-heat-field {
  position: absolute;
  border-radius: 32% 44% 36% 48%;
  background:
    radial-gradient(ellipse at 36% 46%, rgba(191, 77, 51, 0.34), transparent 0 30%, rgba(191, 77, 51, 0.12) 31% 48%, transparent 49%),
    radial-gradient(ellipse at 65% 56%, rgba(205, 141, 64, 0.28), transparent 0 34%, rgba(205, 141, 64, 0.1) 35% 56%, transparent 57%),
    rgba(255, 255, 255, 0.28);
  filter: saturate(0.86);
  z-index: 2;
}

.heat-field-main {
  inset: 20% 18% 18%;
  transform: rotate(-7deg);
}

.heat-field-soft {
  inset: 24% 18% 21%;
  transform: rotate(8deg);
  opacity: 0.78;
}

.abstract-heat-ring,
.abstract-contour {
  position: absolute;
  border: 1px solid rgba(191, 77, 51, 0.24);
  border-radius: 42% 36% 45% 34%;
  z-index: 4;
}

.ring-a,
.contour-a {
  inset: 25% 29% 34% 24%;
  transform: rotate(-16deg);
}

.ring-b,
.contour-b {
  inset: 34% 20% 25% 38%;
  transform: rotate(13deg);
}

.ring-c,
.contour-c {
  inset: 42% 40% 19% 27%;
  transform: rotate(27deg);
}

.abstract-stack {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 28%;
  display: grid;
  gap: 13px;
  z-index: 3;
}

.abstract-stack span {
  height: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(24, 31, 38, 0.1);
  box-shadow: 0 12px 24px rgba(24, 31, 38, 0.04);
}

.abstract-stack span:nth-child(1) {
  width: 78%;
}

.abstract-stack span:nth-child(2) {
  width: 58%;
}

.abstract-stack span:nth-child(3) {
  width: 88%;
}

.abstract-stack span:nth-child(4) {
  width: 68%;
}

.abstract-budget-modules {
  position: absolute;
  right: 17%;
  bottom: 18%;
  display: flex;
  gap: 9px;
  z-index: 4;
}

.abstract-budget-modules span,
.abstract-module-cloud span {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: rgba(15, 118, 110, 0.08);
}

.abstract-axis {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 26%;
  height: 1px;
  background: rgba(24, 31, 38, 0.12);
  z-index: 3;
}

.abstract-sheet {
  position: absolute;
  border: 1px solid rgba(24, 31, 38, 0.12);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 20px 50px rgba(24, 31, 38, 0.08);
  z-index: 3;
}

.sheet-main {
  width: 38%;
  height: 52%;
  left: 16%;
  top: 20%;
}

.sheet-secondary {
  width: 30%;
  height: 40%;
  left: 26%;
  top: 30%;
  opacity: 0.62;
}

.sheet-solution {
  width: 38%;
  height: 50%;
  right: 14%;
  top: 18%;
}

.abstract-connector {
  position: absolute;
  height: 1px;
  background: rgba(15, 118, 110, 0.32);
  z-index: 5;
}

.connector-a {
  width: 36%;
  left: 35%;
  top: 42%;
  transform: rotate(18deg);
}

.connector-b {
  width: 26%;
  left: 37%;
  bottom: 35%;
  transform: rotate(-24deg);
}

.connector-c {
  width: 34%;
  left: 30%;
  top: 36%;
  transform: rotate(-16deg);
}

.connector-d {
  width: 29%;
  left: 26%;
  bottom: 30%;
  transform: rotate(21deg);
}

.abstract-side-panel {
  position: absolute;
  right: 13%;
  top: 22%;
  width: 18%;
  display: grid;
  gap: 10px;
  z-index: 4;
}

.abstract-side-panel span {
  height: 42px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(24, 31, 38, 0.1);
}

.abstract-module-cloud {
  position: absolute;
  left: 14%;
  bottom: 18%;
  width: 42%;
  height: 44%;
  z-index: 4;
}

.abstract-module-cloud span {
  position: absolute;
}

.abstract-module-cloud span:nth-child(1) {
  left: 0;
  top: 28%;
}

.abstract-module-cloud span:nth-child(2) {
  left: 26%;
  top: 4%;
}

.abstract-module-cloud span:nth-child(3) {
  left: 48%;
  top: 36%;
}

.abstract-module-cloud span:nth-child(4) {
  left: 18%;
  top: 62%;
}

.abstract-module-cloud span:nth-child(5) {
  left: 72%;
  top: 14%;
}

.feature-modal-image .abstract-visual {
  height: 100%;
}

.feature-modal-image .abstract-visual::after {
  inset: 22px;
}

.product-mockup {
  box-sizing: border-box;
  padding: 34px;
  background:
    linear-gradient(145deg, #fbfbfa 0%, #f3f4f1 100%),
    radial-gradient(circle at 74% 18%, rgba(15, 118, 110, 0.1), transparent 30%);
  color: #1f2933;
  transform-origin: center;
}

.product-mockup::before {
  background:
    linear-gradient(120deg, transparent 0 58%, rgba(255, 255, 255, 0.52) 59% 62%, transparent 64%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.62), transparent 24%);
  opacity: 0.62;
}

.product-mockup::after {
  inset: 18px;
  border-color: rgba(31, 41, 51, 0.12);
}

.mockup-topbar {
  height: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  position: relative;
  z-index: 10;
}

.mockup-topbar span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(31, 41, 51, 0.24);
}

.mockup-topbar::after {
  content: '';
  flex: 1;
  height: 1px;
  margin-left: 10px;
  background: rgba(31, 41, 51, 0.1);
}

.mockup-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  position: relative;
  z-index: 10;
}

.mockup-title-row strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #18212b;
}

.mockup-title-row em,
.mockup-footer-note,
.mockup-scene-option span,
.budget-plan span,
.metric-row span {
  font-style: normal;
  font-size: 12px;
  color: #667085;
}

.mockup-scene-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  position: relative;
  z-index: 10;
}

.mockup-scene-option {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(31, 41, 51, 0.12);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 28px rgba(31, 41, 51, 0.04);
}

.mockup-scene-option b,
.budget-plan b,
.report-preview b,
.dashboard-score span,
.solution-summary b {
  font-size: 14px;
  font-weight: 700;
  color: #18212b;
}

.mockup-scene-option.selected,
.budget-plan.selected {
  border-color: rgba(15, 118, 110, 0.38);
  background: rgba(240, 253, 250, 0.92);
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.12);
}

.mockup-footer-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(31, 41, 51, 0.1);
  position: relative;
  z-index: 10;
}

.pain-map,
.heatmap-panel,
.report-layout,
.dashboard-layout,
.solution-workbench {
  position: relative;
  z-index: 10;
}

.pain-map {
  height: 222px;
  border: 1px solid rgba(31, 41, 51, 0.1);
  background:
    linear-gradient(rgba(31, 41, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 41, 51, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.58);
  background-size: 28px 28px;
  margin-bottom: 14px;
}

.plan-room {
  position: absolute;
  border: 1px solid rgba(31, 41, 51, 0.14);
  background: rgba(255, 255, 255, 0.5);
}

.room-a {
  left: 12%;
  top: 16%;
  width: 36%;
  height: 34%;
}

.room-b {
  right: 12%;
  top: 18%;
  width: 30%;
  height: 28%;
}

.room-c {
  left: 18%;
  bottom: 13%;
  width: 54%;
  height: 30%;
}

.heat-spot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #b94e32;
  box-shadow: 0 0 0 14px rgba(185, 78, 50, 0.14), 0 0 0 28px rgba(185, 78, 50, 0.06);
}

.heat-spot span {
  position: absolute;
  left: 22px;
  top: -8px;
  white-space: nowrap;
  padding: 5px 8px;
  background: rgba(24, 31, 38, 0.88);
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
}

.hot-a {
  left: 35%;
  top: 28%;
}

.hot-b {
  right: 25%;
  top: 46%;
}

.hot-c {
  left: 23%;
  bottom: 24%;
}

.insight-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
  z-index: 10;
}

.insight-list div,
.metric-row,
.solution-summary div {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(31, 41, 51, 0.1);
}

.insight-list b,
.metric-row b,
.solution-summary strong {
  display: block;
  color: #b94e32;
  font-size: 13px;
  margin-bottom: 4px;
}

.insight-list span,
.solution-summary span {
  color: #667085;
  font-size: 12px;
}

.budget-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  position: relative;
  z-index: 10;
}

.budget-plan {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.2fr;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 41, 51, 0.1);
}

.budget-plan strong {
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #0f766e;
}

.budget-bars {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  position: relative;
  z-index: 10;
}

.budget-bars div {
  height: 8px;
  background: rgba(31, 41, 51, 0.08);
}

.budget-bars span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0f766e, #7dd3c7);
}

.report-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
}

.report-preview {
  min-height: 194px;
  padding: 18px;
  border: 1px solid rgba(31, 41, 51, 0.12);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 34px rgba(31, 41, 51, 0.06);
}

.report-preview span {
  display: block;
  height: 9px;
  margin-top: 16px;
  background: rgba(31, 41, 51, 0.12);
}

.report-preview span:nth-child(3) {
  width: 72%;
}

.report-preview span:nth-child(4) {
  width: 54%;
}

.report-list {
  display: grid;
  gap: 10px;
}

.report-list div {
  padding: 14px;
  border: 1px solid rgba(31, 41, 51, 0.1);
  background: rgba(255, 255, 255, 0.62);
  color: #344054;
  font-size: 13px;
}

.mockup-action {
  margin-top: 16px;
  padding: 11px 18px;
  border: 0;
  background: #18212b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  position: relative;
  z-index: 10;
}

.dashboard-score {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 41, 51, 0.1);
  margin-bottom: 14px;
}

.dashboard-score strong {
  font-size: 46px;
  line-height: 1;
  color: #0f766e;
  letter-spacing: -0.05em;
}

.diagnosis-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.diagnosis-tags span,
.module-palette span {
  padding: 8px 10px;
  background: rgba(24, 31, 38, 0.86);
  color: #ffffff;
  font-size: 12px;
}

.mini-plan {
  height: 142px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(31, 41, 51, 0.1);
  background:
    linear-gradient(rgba(31, 41, 51, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 41, 51, 0.04) 1px, transparent 1px),
    rgba(255, 255, 255, 0.56);
  background-size: 24px 24px;
}

.mini-plan span {
  border: 1px solid rgba(31, 41, 51, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.heatmap-floor {
  height: 210px;
  position: relative;
  border: 1px solid rgba(31, 41, 51, 0.11);
  background:
    linear-gradient(rgba(31, 41, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 41, 51, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.6);
  background-size: 28px 28px;
  margin-bottom: 12px;
}

.heat-zone {
  position: absolute;
  border-radius: 45% 38% 48% 40%;
  filter: blur(1px);
}

.zone-a {
  left: 20%;
  top: 25%;
  width: 33%;
  height: 34%;
  background: radial-gradient(circle, rgba(185, 78, 50, 0.62), rgba(185, 78, 50, 0.13) 62%, transparent 70%);
}

.zone-b {
  right: 15%;
  top: 35%;
  width: 28%;
  height: 30%;
  background: radial-gradient(circle, rgba(203, 132, 57, 0.5), rgba(203, 132, 57, 0.11) 62%, transparent 70%);
}

.zone-c {
  left: 38%;
  bottom: 10%;
  width: 26%;
  height: 26%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.36), rgba(15, 118, 110, 0.08) 62%, transparent 70%);
}

.heatmap-legend {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #667085;
  font-size: 12px;
}

.heatmap-legend i {
  width: 58px;
  height: 8px;
  background: linear-gradient(90deg, #0f766e, #d7a64b, #b94e32);
}

.metric-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-row b {
  margin: 0;
  font-size: 22px;
  color: #0f766e;
}

.solution-workbench {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
}

.module-palette {
  display: grid;
  gap: 10px;
}

.module-palette span {
  background: rgba(15, 118, 110, 0.9);
}

.solution-summary {
  min-height: 214px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 41, 51, 0.1);
}

.solution-summary b {
  display: block;
  margin-bottom: 18px;
  font-size: 18px;
}

.solution-summary div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.solution-summary strong {
  margin: 0;
  color: #0f766e;
}

.feature-image .product-mockup {
  padding: 26px;
}

.feature-image-wrapper.product-mockup-wrapper {
  height: clamp(230px, 19vw, 278px);
  overflow: visible;
}

.feature-image.product-mockup-frame {
  aspect-ratio: auto;
  height: clamp(190px, 15vw, 230px);
}

.feature-image.product-mockup-frame .product-mockup {
  aspect-ratio: auto;
  height: 100%;
}

.feature-image .mockup-title-row strong,
.feature-image .mockup-scene-option b,
.feature-image .budget-plan b,
.feature-image .report-preview b,
.feature-image .solution-summary b {
  font-size: 12px;
}

.feature-image .pain-map,
.feature-image .heatmap-floor {
  height: 160px;
}

.feature-image .dashboard-score strong {
  font-size: 36px;
}

.feature-image .diagnosis-tags span,
.feature-image .module-palette span,
.feature-image .heat-spot span {
  font-size: 10px;
}

.feature-image .solution-workbench {
  display: block;
}

.feature-image .module-palette {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.feature-image .module-palette span {
  white-space: nowrap;
  padding: 6px 7px;
}

.feature-image .solution-summary {
  min-height: auto;
  padding: 12px;
}

.feature-image .solution-summary b {
  margin-bottom: 8px;
}

.feature-image .solution-summary div {
  padding: 7px 8px;
  margin-bottom: 6px;
}

.feature-modal-image .product-mockup {
  min-height: 100%;
}

.scrollytelling-section .step-image:has(.product-mockup) .step-icon {
  display: none;
}

.scrollytelling-step.animate-in .step-image img {
  opacity: 1;
  transform: scale(1);
}

/* 鼠标悬停效果 */

.step-image:hover img {
  transform: scale(1.04);
}

.step-image:hover .step-icon {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* 步骤文字 */

.step-text {
  flex: 1;
}

.step-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.35);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.step-number {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.25);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.step-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 600;
  color: #000000;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.step-description {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.75;
  margin: 0;
  max-width: 480px;
}

/* 滚动叙事响应式 */

@media (max-width: 992px) {
  .scrollytelling-section {
    padding: 80px 0 100px;
  }

  .scrollytelling-header {
    padding-bottom: 72px;
  }

  .scrollytelling-step {
    flex-direction: column !important;
    -webkit-box-orient: vertical !important;
    gap: 32px;
    margin-bottom: 88px;
    /* 移动端减少动画初始偏移量，使动画更流畅 */
    transform: translateY(16px);
    -webkit-transform: translateY(16px);
    /* 移动端减少动画持续时间 */
    transition: opacity 0.4s cubic-bezier(0.32, 0.72, 0, 1),
                transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    -webkit-transition: opacity 0.4s cubic-bezier(0.32, 0.72, 0, 1),
                -webkit-transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    /* 移动端优化性能 */
    will-change: opacity, transform;
    /* iOS 防止重叠 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .step-image {
    flex: none;
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
  }

  .step-image::before {
    border-radius: 16px;
  }

  .step-decor.top-left,
  .step-decor.bottom-right {
    width: 32px;
    height: 32px;
    top: 12px;
    left: 12px;
  }

  .step-decor.bottom-right {
    top: auto;
    left: auto;
    bottom: 12px;
    right: 12px;
  }

  .step-image::after {
    bottom: 16px;
    right: 16px;
  }

  .step-icon {
    top: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .step-icon svg {
    width: 28px;
    height: 28px;
  }

  .step-text {
    text-align: center;
  }

  .step-description {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .scrollytelling-section {
    padding: 60px 0 80px;
  }

  .scrollytelling-header {
    padding-bottom: 56px;
  }

  .scrollytelling-title {
    font-size: 1.5rem;
  }

  .scrollytelling-step {
    gap: 24px;
    margin-bottom: 72px;
    /* 小屏幕进一步减少动画偏移量和持续时间 */
    transform: translateY(12px);
    transition: opacity 0.35s cubic-bezier(0.32, 0.72, 0, 1),
                transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    /* 小屏幕优化性能 */
    will-change: opacity, transform;
  }

  .step-image {
    border-radius: 12px;
  }

  .step-image::before {
    border-radius: 12px;
  }

  .step-decor.top-left,
  .step-decor.bottom-right {
    width: 24px;
    height: 24px;
    top: 10px;
    left: 10px;
  }

  .step-decor.bottom-right {
    top: auto;
    left: auto;
    bottom: 10px;
    right: 10px;
  }

  .step-image::after {
    bottom: 12px;
    right: 12px;
    width: 6px;
    height: 6px;
  }

  .step-icon {
    top: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .step-icon svg {
    width: 24px;
    height: 24px;
  }

  .step-title {
    font-size: 1.25rem;
  }

  .step-description {
    font-size: 0.9375rem;
  }
}

/* ==================== 核心能力模块 - Apple风格 ==================== */

.portfolio-features-section {
  background: #f5f5f7;
  padding: 120px 0;
}

.portfolio-features-header {
  text-align: center;
  margin-bottom: 80px;
}

.portfolio-features-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 400;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.br-mobile {
  display: none;
}

.portfolio-features-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  font-weight: 300;
  color: #6e6e73;
  letter-spacing: 0;
  line-height: 1.6;
}

.portfolio-features-wrapper {
  position: relative;
}

.portfolio-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-feature-item {
  background: #ffffff;
  border-radius: 28px;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.32, 0.72, 0, 1),
              transform 0.9s cubic-bezier(0.32, 0.72, 0, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  will-change: opacity, transform;
}

.portfolio-feature-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-feature-item:hover {
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 10px 15px -3px rgba(0, 0, 0, 0.06),
    0 20px 25px -5px rgba(0, 0, 0, 0.04);
}

.feature-image-wrapper {
  position: relative;
  overflow: hidden;
  padding: 40px 40px 0;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  background: #f5f5f7;
  transform: scale(0.98);
  transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.portfolio-feature-item:hover .feature-image {
  transform: scale(1);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

.feature-content {
  padding: 32px 40px 40px;
}

.feature-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #0071e3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.feature-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.8125rem, 1.2vw, 0.875rem);
  font-weight: 300;
  color: #1d1d1f;
  margin-bottom: 12px;
  letter-spacing: 0;
  line-height: 1.4;
}

.feature-description {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 400;
  color: #6e6e73;
  line-height: 1.6;
  margin: 0;
}

/* Apple风格左右控制键 */

.features-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
}

.features-control-btn {
  width: 52px;
  height: 52px;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-control-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.1);
}

.features-control-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.features-control-btn svg {
  width: 20px;
  height: 20px;
  color: #1d1d1f;
}

/* 核心能力模块响应式 */

@media (max-width: 1068px) {
  .portfolio-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .feature-image-wrapper {
    padding: 32px 32px 0;
  }

  .feature-content {
    padding: 28px 32px 32px;
  }
}

@media (max-width: 734px) {
  .portfolio-features-section {
    padding: 80px 0;
  }

  .br-mobile {
    display: inline;
  }

  .portfolio-features-header {
    margin-bottom: 56px;
  }

  .portfolio-features-grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    /* 移除 scroll-snap，避免滚动卡顿 */
    /* scroll-snap-type: x mandatory; */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding: 0 8px;
    margin: 0 -8px;
    /* 确保垂直滚动不会被拦截 */
    touch-action: pan-y;
    /* 防止滚动链问题 */
    overscroll-behavior-x: contain;
    /* iOS flexbox 修复 */
    -webkit-box-orient: horizontal;
  }

  .portfolio-features-grid::-webkit-scrollbar {
    display: none;
  }

  .portfolio-feature-item {
    flex-shrink: 0;
    width: calc(100vw - 48px);
    /* 移除 scroll-snap-align */
    /* scroll-snap-align: center; */
    margin: 0 8px;
    /* 移动端优化性能 */
    will-change: opacity, transform;
    /* 移动端减少动画偏移量 */
    transform: translateY(20px);
    /* 移动端减少动画持续时间 */
    transition: opacity 0.5s cubic-bezier(0.32, 0.72, 0, 1),
                transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .feature-image-wrapper {
    padding: 28px 28px 0;
  }

  .feature-image {
    border-radius: 16px;
  }

  .feature-content {
    padding: 24px 28px 28px;
  }

  .feature-title {
    font-size: 0.9375rem;
  }

  .features-controls {
    display: none;
  }
}

/* 四步流程模块 - 响应式设计 */

@media (max-width: 1200px) {
  .portfolio-process-steps {
    gap: 16px;
  }
  
  .portfolio-process-step {
    padding: 32px 20px 28px;
  }
  
  .step-icon-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .step-icon {
    font-size: 28px;
  }
}

@media (max-width: 992px) {
  .portfolio-process-section {
    padding: 80px 0;
  }
  
  .portfolio-process-title {
    font-size: 40px;
  }
  
  .portfolio-process-steps {
    flex-wrap: wrap;
    gap: 24px;
  }
  
  .portfolio-process-step {
    flex: 0 0 calc(50% - 12px);
  }
  
  .portfolio-step-connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .portfolio-process-header {
    margin-bottom: 50px;
  }
  
  .portfolio-process-title {
    font-size: 32px;
  }
  
  .portfolio-process-subtitle {
    font-size: 16px;
  }
  
  .portfolio-process-step {
    padding: 32px 24px 28px;
  }
  
  .step-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }
  
  .step-icon {
    font-size: 26px;
  }
  
  .step-number-badge {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }
  
  .portfolio-step-name {
    font-size: 19px;
  }
  
  .portfolio-step-desc {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .portfolio-process-section {
    padding: 60px 0;
  }
  
  .portfolio-process-title {
    font-size: 28px;
  }
  
  .portfolio-process-steps {
    gap: 16px;
  }
  
  .portfolio-process-step {
    flex: 0 0 100%;
    padding: 28px 20px 24px;
  }
  
  .step-icon-wrapper {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
  }
  
  .step-icon {
    font-size: 24px;
  }
  
  .portfolio-step-name {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .portfolio-step-desc {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  
  .portfolio-meta-label {
    font-size: 11px;
    padding: 6px 12px;
  }
}

/* ==================== Hero区域 - 高端升级版（借鉴Apple + Linear + Aesop） ==================== */

/* 动态光晕装饰 */

.hero-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
  animation: ambientFloat 8s ease-in-out infinite;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.3) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(161,161,170, 0.25) 0%, transparent 70%);
  bottom: 20%;
  left: -8%;
  animation-delay: -3s;
}

/* ==================== 了解更多链接 ==================== */

.feature-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #0071e3;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-learn-more:hover {
  color: #0077ed;
  gap: 10px;
}

.feature-learn-more::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-learn-more:hover::after {
  transform: rotate(45deg) translateX(2px);
}

/* ==================== 核心能力卡片点击效果 ==================== */

.portfolio-feature-item {
  cursor: pointer;
}

.portfolio-feature-item:hover .feature-image-wrapper {
  transform: scale(1.02);
}

.portfolio-feature-item:hover .feature-image {
  transform: scale(1.03);
}

/* ==================== Apple风格详情弹窗 - 极简克制 ==================== */

.feature-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.feature-modal {
  background: white;
  border-radius: 32px;
  max-width: 1000px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(40px) scale(0.96);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-modal-overlay.active .feature-modal {
  transform: translateY(0) scale(1);
}

.feature-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1f;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.feature-modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.feature-modal-close svg {
  width: 18px;
  height: 18px;
}

.feature-modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}

.feature-modal-image-wrapper {
  background: #f5f5f7;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-modal-image {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.feature-modal-text {
  padding: 60px 50px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-modal-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0071e3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.feature-modal-title {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.feature-modal-description {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #6e6e73;
  line-height: 1.6;
  margin-bottom: 32px;
}

.feature-modal-details {
  margin-bottom: 40px;
}

.feature-modal-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #d2d2d7;
}

.feature-modal-detail-item:first-child {
  padding-top: 0;
}

.feature-modal-detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-modal-detail-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #0071e3;
}

.feature-modal-detail-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
  line-height: 1.5;
}

/* 极简克制的CTA按钮 - Apple风格 */

.feature-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: #000;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 980px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: fit-content;
}

.feature-modal-cta:hover {
  background: #1d1d1f;
}

.feature-modal-cta:active {
  transform: scale(0.98);
}

/* 简洁的箭头 */

.feature-modal-cta::after {
  content: '';
  width: 6px;
  height: 6px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-modal-cta:hover::after {
  transform: rotate(45deg) translateX(2px);
}

/* 弹窗滚动条美化 */

.feature-modal::-webkit-scrollbar {
  width: 8px;
}

.feature-modal::-webkit-scrollbar-track {
  background: transparent;
}

.feature-modal::-webkit-scrollbar-thumb {
  background: #d2d2d7;
  border-radius: 4px;
}

.feature-modal::-webkit-scrollbar-thumb:hover {
  background: #86868b;
}

/* 响应式适配 */

@media (max-width: 992px) {
  .feature-modal-content {
    grid-template-columns: 1fr;
  }

  .feature-modal-image-wrapper {
    padding: 40px 30px 0;
  }

  .feature-modal-text {
    padding: 40px 30px 30px;
  }

  .feature-modal-title {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .feature-modal-overlay {
    padding: 20px 10px;
  }

  .feature-modal {
    border-radius: 24px;
  }

  .feature-modal-close {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
  }

  .feature-modal-close svg {
    width: 16px;
    height: 16px;
  }

  .feature-modal-image-wrapper {
    padding: 30px 20px 0;
  }

  .feature-modal-image {
    max-width: 280px;
  }

  .feature-modal-text {
    padding: 30px 20px 20px;
  }

  .feature-modal-title {
    font-size: 28px;
  }

  .feature-modal-description {
    font-size: 16px;
  }

  .feature-modal-cta {
    width: 100%;
  }
}

.hero-glow-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
  top: 40%;
  right: 15%;
  animation-delay: -5s;
}

@keyframes ambientFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
    opacity: 0.5;
  }
  66% {
    transform: translate(-20px, 15px) scale(0.95);
    opacity: 0.35;
  }
}

/* 精致装饰网格 */

.hero-grid-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
  pointer-events: none;
  z-index: 2;
}

/* 浮动粒子 */

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  animation: particleFloat 12s ease-in-out infinite;
}

.particle-1 { left: 15%; top: 25%; animation-delay: 0s; }

.particle-2 { left: 75%; top: 35%; animation-delay: -2s; }

.particle-3 { left: 45%; top: 65%; animation-delay: -4s; }

.particle-4 { left: 85%; top: 55%; animation-delay: -6s; }

.particle-5 { left: 25%; top: 75%; animation-delay: -8s; }

.particle-6 { left: 65%; top: 15%; animation-delay: -10s; }

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-30px) translateX(15px);
    opacity: 1;
  }
  50% {
    transform: translateY(-15px) translateX(-10px);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-45px) translateX(20px);
    opacity: 0.4;
  }
}

/* 品牌标识 */

.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.07) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.12)) 1;
  border-radius: 50px;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 44px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.hero-brand-badge::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 51px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.4), rgba(168, 85, 247, 0.4));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-brand-badge:hover::before {
  opacity: 1;
}

.hero-brand-badge:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.12) 100%);
  transform: translateY(-3px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.25),
    0 8px 24px rgba(251, 191, 36, 0.18),
    0 4px 12px rgba(168, 85, 247, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.hero-brand-badge svg {
  opacity: 1;
  filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.35)) drop-shadow(0 0 16px rgba(251, 191, 36, 0.2));
}

/* 标题包装器 - 支持逐行动画 */

.title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.title-line-1,
.title-line-2 {
  display: block;
  letter-spacing: normal;
  word-spacing: normal;
}

/* 数据亮点展示 */

.hero-stats-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 56px;
  padding: 32px 52px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.18),
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.hero-stats-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.5), transparent);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
}

.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.035em;
  line-height: 1;
  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(251, 191, 36, 0.25);
  position: relative;
}

.stat-number::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24, #ec4899);
  border-radius: 2px;
  opacity: 0.8;
}

.stat-label {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-separator {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

/* 副标题优化 */

.subtitle-text {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: 0.015em;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(255, 255, 255, 0.06);
}

.subtitle-accent {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17.5px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
  letter-spacing: 0.025em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

/* Playground卡片图标包装器升级 */

.playground-icon-wrapper {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playground-icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.playground-preview-card:hover .playground-icon-bg {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.3) 0%, rgba(168, 85, 247, 0.3) 100%);
}

.icon-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(251, 146, 60, 0.4);
  border-radius: 16px;
  animation: iconPulse 2s ease-in-out infinite;
  opacity: 0;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

/* 按钮内容布局 */

.btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.btn-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-hero-button-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.portfolio-hero-button-primary:hover .btn-shine {
  left: 100%;
}

/* 次要按钮图标 */

.btn-icon-right {
  width: 14px;
  height: 14px;
  margin-left: 8px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-hero-button-secondary:hover .btn-icon-right {
  opacity: 1;
  transform: translateX(0);
}

/* 滚动提示文字升级 */

.portfolio-hero-scroll-text {
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 400;
}

/* 案例模块 */

.portfolio-cases-section {
  background: white;
  padding: 120px 0;
}

.portfolio-cases-grid {
  display: flex;
  gap: 40px;
}

.portfolio-case-card {
  flex: 1;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  overflow: hidden;
}

.portfolio-case-image {
  height: 300px;
  background: #fafafa;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e5e5e5;
}

.portfolio-case-classroom {
  background: #fafafa;
}

.portfolio-case-playground {
  background: #fafafa;
}

.portfolio-case-label {
  position: absolute;
  top: 24px;
  left: 24px;
  background: #1a1a1a;
  color: white;
  padding: 8px 16px;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portfolio-case-content {
  padding: 32px;
}

.portfolio-case-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.portfolio-case-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 300;
}

.portfolio-case-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.portfolio-stat {
  display: flex;
  flex-direction: column;
}

.portfolio-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 500;
  color: #1a1a1a;
}

.portfolio-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.portfolio-case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portfolio-case-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.portfolio-case-link:hover svg {
  transform: translateX(4px);
}

.portfolio-view-more {
  margin-top: 40px;
}

.portfolio-view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 0;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio-view-more-btn:hover {
  background: #1a1a1a;
  color: white;
  border-color: #1a1a1a;
}

.portfolio-view-more-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.portfolio-view-more-btn:hover svg {
  transform: translateX(4px);
}

/* ==================== Pentagram风格案例展示 ==================== */

.pentagram-case-section {
  background: #1d1d1f;
  padding: 100px 0 80px;
}

.pentagram-case-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.pentagram-case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.pentagram-case-text {
  max-width: 600px;
}

.pentagram-case-title {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.pentagram-case-description {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #86868b;
  line-height: 1.7;
}

.pentagram-case-count {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #86868b;
}

.pentagram-case-carousel {
  overflow: hidden;
  margin-bottom: 40px;
}

.pentagram-case-track {
  display: flex;
  gap: 8px;
  transition: none;
}

.pentagram-case-slide {
  flex-shrink: 0;
  width: 600px;
}

.pentagram-case-image {
  width: 100%;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pentagram-case-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pentagram-case-scrollbar {
  flex: 1;
  max-width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.pentagram-case-scrollbar-track {
  width: 100%;
  height: 100%;
}

.pentagram-case-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 100%;
  background: white;
  border-radius: 2px;
  transition: left 0.1s linear;
}

.pentagram-case-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 20px;
  border-radius: 980px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pentagram-case-more:hover {
  background: rgba(255, 255, 255, 0.15);
}

.pentagram-case-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pentagram-case-more:hover svg {
  transform: translateY(4px);
}

/* 响应式适配 */

@media (max-width: 1068px) {
  .pentagram-case-container {
    padding: 0 32px;
  }

  .pentagram-case-slide {
    width: 480px;
  }

  .pentagram-case-title {
    font-size: 32px;
  }
}

@media (max-width: 734px) {
  .pentagram-case-section {
    padding: 80px 0 60px;
  }

  .pentagram-case-container {
    padding: 0 24px;
  }

  .pentagram-case-header {
    flex-direction: column;
    gap: 24px;
  }

  .pentagram-case-slide {
    width: 320px;
  }

  .pentagram-case-title {
    font-size: 28px;
  }

  .pentagram-case-footer {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .pentagram-case-scrollbar {
    max-width: 100%;
    width: 100%;
  }
}

/* ==================== 沉浸式Hero区域 - 借鉴Apple + Aesop + Linear ==================== */

.portfolio-hero-section {
  background-color: #000000;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.portfolio-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.portfolio-hero-overlay-dark {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.55) 25%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.48) 75%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

.portfolio-hero-overlay-gradient {
  background:
    radial-gradient(ellipse 80% 60% at 25% 35%, rgba(251, 146, 60, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 72% 55%, rgba(250, 204, 21, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 75%, rgba(161, 161, 170, 0.08) 0%, transparent 60%);
  mix-blend-mode: screen;
}

.portfolio-hero-overlay-bottom {
  background: linear-gradient(
    to top,
    #ffffff 0%,
    rgba(255, 255, 255, 0.85) 6%,
    rgba(255, 255, 255, 0.4) 14%,
    rgba(255, 255, 255, 0) 30%
  );
}

.portfolio-hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}

.portfolio-hero-line-left,
.portfolio-hero-line-right {
  position: absolute;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 10%,
    rgba(255, 255, 255, 0.25) 35%,
    rgba(255, 255, 255, 0.25) 65%,
    rgba(255, 255, 255, 0.12) 90%,
    transparent 100%
  );
}

.portfolio-hero-line-left {
  left: 7%;
}

.portfolio-hero-line-right {
  right: 7%;
}

.hero-grid-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

.hero-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  top: -15%;
  left: -8%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.15) 0%, transparent 70%);
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  bottom: 15%;
  right: -5%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 70%);
}

.hero-glow-3 {
  width: 300px;
  height: 300px;
  top: 45%;
  left: 35%;
  background: radial-gradient(circle, rgba(161, 161, 170, 0.08) 0%, transparent 70%);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: particleFloat 8s ease-in-out infinite;
}

.particle-1 { top: 15%; left: 10%; animation-delay: 0s; animation-duration: 9s; }

.particle-2 { top: 25%; left: 80%; animation-delay: 1.5s; animation-duration: 7.5s; width: 3px; height: 3px; }

.particle-3 { top: 60%; left: 20%; animation-delay: 3s; animation-duration: 8.5s; }

.particle-4 { top: 70%; left: 75%; animation-delay: 4.5s; animation-duration: 10s; width: 1.5px; height: 1.5px; }

.particle-5 { top: 40%; left: 50%; animation-delay: 2s; animation-duration: 9.5s; opacity: 0.6; }

.particle-6 { top: 80%; left: 45%; animation-delay: 5.5s; animation-duration: 8s; width: 2.5px; height: 2.5px; }

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-30px) translateX(15px); opacity: 0.7; }
  50% { transform: translateY(-15px) translateX(-10px); opacity: 0.4; }
  75% { transform: translateY(-40px) translateX(8px); opacity: 0.6; }
}

.portfolio-hero-content {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 80px 100px;
}

.portfolio-hero-container {
  max-width: 700px;
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-hero-divider {
  width: 56px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.45);
  margin: 0 auto 44px;
  position: relative;
}

.portfolio-hero-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

.portfolio-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: #ffffff;
  margin-bottom: 36px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-title-line {
  display: inline-block;
  position: relative;
}

.title-line-1 {
  font-size: 0.72em;
  font-weight: 300;
  opacity: 0.85;
  display: block;
  margin-bottom: 4px;
}

.title-line-2 {
  font-size: 1em;
  font-weight: 500;
}

.portfolio-hero-subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto 52px;
  font-weight: 400;
  max-width: 520px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.subtitle-text {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  margin-bottom: 6px;
}

.subtitle-accent {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.portfolio-playground-preview {
  margin-bottom: 48px;
  display: flex;
  justify-content: center;
}

.playground-link-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.playground-link-premium:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.playground-link-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.playground-link-premium:hover .playground-link-arrow {
  transform: translateX(3px);
}

.portfolio-hero-buttons {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 76px;
}

.portfolio-hero-button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 15px 36px;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.portfolio-hero-button-primary {
  background: #ffffff;
  color: #0d0d0d;
  border: 1px solid #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12);
}

.portfolio-hero-button-primary:hover {
  background: #f5f5f7;
  border-color: #f5f5f7;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.16);
}

.portfolio-hero-button-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.portfolio-hero-button-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.portfolio-hero-button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.portfolio-hero-button-secondary:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.04);
}

.portfolio-hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.portfolio-hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.15) 100%
  );
  position: relative;
  border-radius: 0.5px;
}

.portfolio-hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  animation: heroScrollDot 2.4s ease-in-out infinite;
}

@keyframes heroScrollDot {
  0%, 100% { top: -3px; opacity: 0.7; }
  50% { top: calc(100% - 4px); opacity: 0.25; }
}

.portfolio-hero-scroll-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

@media (max-width: 992px) {
  .portfolio-hero-content {
    padding: 100px 32px 60px;
  }

  .portfolio-hero-line-left,
  .portfolio-hero-line-right {
    opacity: 0.4;
  }
}

@media (max-width: 768px) {
  .portfolio-hero-content {
    padding: 80px 24px 48px;
  }

  .portfolio-hero-divider {
    width: 40px;
    margin-bottom: 32px;
  }

  .portfolio-hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .portfolio-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .portfolio-playground-preview {
    margin-bottom: 40px;
  }

  .portfolio-hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .portfolio-hero-button {
    width: 100%;
    max-width: 280px;
  }

  .portfolio-hero-line-left,
  .portfolio-hero-line-right {
    display: none;
  }
}

@media (max-width: 576px) {
  .portfolio-hero-content {
    padding: 100px 20px 60px;
  }

  .portfolio-hero-divider {
    margin-bottom: 28px;
  }

  .portfolio-hero-subtitle {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .portfolio-hero-button {
    padding: 12px 28px;
    font-size: 0.9375rem;
  }
}

/* ==================== 数据展示区域 - 借鉴Zaha Hadid ==================== */

.portfolio-stats-section {
  background-color: #ffffff;
  padding: 120px 0;
  position: relative;
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 装饰元素 */

.portfolio-stats-decoration {
  position: relative;
  text-align: center;
  margin-bottom: 60px;
}

.portfolio-stats-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #000000 20%,
    #000000 80%,
    transparent 100%
  );
  margin: 0 auto;
}

/* 数据行 */

.portfolio-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}

.portfolio-stats-row:last-child {
  margin-bottom: 0;
}

/* 数据项 */

.portfolio-stat-item {
  text-align: center;
  flex: 1;
  max-width: 280px;
  padding: 0 32px;
}

.portfolio-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000000;
  margin-bottom: 16px;
}

.portfolio-stat-percent {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
}

.portfolio-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #757575;
  text-transform: uppercase;
}

/* 分割线 */

.portfolio-stat-divider {
  width: 1px;
  height: 80px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #e0e0e0 20%,
    #e0e0e0 80%,
    transparent 100%
  );
  flex-shrink: 0;
}

/* 悬停效果 */

.portfolio-stat-item {
  transition: transform 0.3s ease;
}

.portfolio-stat-item:hover {
  transform: translateY(-8px);
}

.portfolio-stat-item:hover .portfolio-stat-value {
  color: #4ecdc4;
  transition: color 0.3s ease;
}

/* 响应式适配 */

@media (max-width: 992px) {
  .portfolio-stats-section {
    padding: 80px 0;
  }
  
  .portfolio-container {
    padding: 0 32px;
  }
  
  .portfolio-stats-line {
    height: 48px;
    margin-bottom: 48px;
  }
  
  .portfolio-stat-item {
    padding: 0 24px;
  }
  
  .portfolio-stat-divider {
    height: 60px;
  }
}

@media (max-width: 768px) {
  .portfolio-stats-section {
    padding: 60px 0;
  }
  
  .portfolio-container {
    padding: 0 24px;
  }
  
  .portfolio-stats-line {
    height: 40px;
    margin-bottom: 40px;
  }
  
  .portfolio-stats-row {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .portfolio-stat-item {
    padding: 0;
    max-width: 100%;
  }
  
  .portfolio-stat-divider {
    display: none;
  }
  
  .portfolio-stat-value {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
  
  .portfolio-stat-percent {
    font-size: clamp(2rem, 7vw, 3rem);
  }
}

@media (max-width: 576px) {
  .portfolio-stats-section {
    padding: 48px 0;
  }
  
  .portfolio-container {
    padding: 0 16px;
  }
  
  .portfolio-stats-line {
    height: 32px;
    margin-bottom: 32px;
  }
  
  .portfolio-stats-row {
    gap: 32px;
    margin-bottom: 32px;
  }
  
  .portfolio-stat-label {
    font-size: 0.875rem;
  }
}

/* ==================== 案例展示区域 - 借鉴Pentagram ==================== */

.portfolio-showcase-section {
  background-color: #ffffff;
  padding: 120px 0;
  position: relative;
}

/* 标题区域 */

.portfolio-showcase-header {
  text-align: center;
  margin-bottom: 80px;
}

.portfolio-showcase-decoration {
  margin-bottom: 32px;
}

.portfolio-showcase-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #000000 20%,
    #000000 80%,
    transparent 100%
  );
  margin: 0 auto;
}

.portfolio-showcase-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 0;
}

/* 案例网格 */

.portfolio-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.portfolio-showcase-grid:last-of-type {
  margin-bottom: 64px;
}

/* 案例卡片 */

.portfolio-showcase-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.portfolio-showcase-card:hover {
  transform: translateY(-12px);
}

/* 卡片图片 */

.portfolio-showcase-image {
  position: relative;
  width: 100%;
  padding-bottom: 133.33%; /* 3:4 比例 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* 场景主题色占位图 */

.portfolio-showcase-corridor {
  background: linear-gradient(135deg, #4ecdc4 0%, #2d9c94 100%);
}

.portfolio-showcase-library {
  background: linear-gradient(135deg, #6c5ce7 0%, #4a3aa8 100%);
}

.portfolio-showcase-counseling {
  background: linear-gradient(135deg, #ff6b35 0%, #cc5629 100%);
}

.portfolio-showcase-playground {
  background: linear-gradient(135deg, #ffd93d 0%, #ccae31 100%);
}

.portfolio-showcase-classroom {
  background: linear-gradient(135deg, #74b9ff 0%, #5a94cc 100%);
}

.portfolio-showcase-naproom {
  background: linear-gradient(135deg, #a29bfe 0%, #817ccc 100%);
}

/* 遮罩层 */

.portfolio-showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  transition: opacity 0.4s ease;
  opacity: 0.7;
}

.portfolio-showcase-card:hover .portfolio-showcase-overlay {
  opacity: 0.9;
}

/* 卡片信息 */

.portfolio-showcase-info {
  padding: 24px 0 0;
  text-align: center;
}

.portfolio-showcase-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #000000;
  margin: 0 0 8px;
  transition: color 0.3s ease;
}

.portfolio-showcase-card:hover .portfolio-showcase-name {
  color: #4ecdc4;
}

.portfolio-showcase-location {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #757575;
  margin: 0;
  text-transform: uppercase;
}

/* 查看更多按钮 */

.portfolio-showcase-more {
  text-align: center;
}

.portfolio-showcase-more-btn {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #000000;
  padding: 16px 48px;
  border: 1px solid #000000;
  border-radius: 0;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.portfolio-showcase-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #000000;
  transition: left 0.3s ease;
  z-index: -1;
}

.portfolio-showcase-more-btn:hover::before {
  left: 0;
}

.portfolio-showcase-more-btn:hover {
  color: #ffffff;
}

/* 响应式适配 */

@media (max-width: 1200px) {
  .portfolio-showcase-grid {
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .portfolio-showcase-section {
    padding: 80px 0;
  }
  
  .portfolio-showcase-header {
    margin-bottom: 60px;
  }
  
  .portfolio-showcase-line {
    height: 48px;
    margin-bottom: 24px;
  }
  
  .portfolio-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .portfolio-showcase-section {
    padding: 60px 0;
  }
  
  .portfolio-showcase-header {
    margin-bottom: 48px;
  }
  
  .portfolio-showcase-line {
    height: 40px;
    margin-bottom: 20px;
  }
  
  .portfolio-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .portfolio-showcase-grid:last-of-type {
    margin-bottom: 48px;
  }
  
  .portfolio-showcase-info {
    padding: 20px 0 0;
  }
  
  .portfolio-showcase-name {
    font-size: 1.25rem;
  }
  
  .portfolio-showcase-more-btn {
    padding: 14px 40px;
    font-size: 0.9375rem;
  }
}

@media (max-width: 576px) {
  .portfolio-showcase-section {
    padding: 48px 0;
  }
  
  .portfolio-showcase-header {
    margin-bottom: 40px;
  }
  
  .portfolio-showcase-line {
    height: 32px;
    margin-bottom: 16px;
  }
  
  .portfolio-showcase-grid {
    gap: 32px;
    margin-bottom: 32px;
  }
  
  .portfolio-showcase-grid:last-of-type {
    margin-bottom: 40px;
  }
  
  .portfolio-showcase-info {
    padding: 16px 0 0;
  }
  
  .portfolio-showcase-location {
    font-size: 0.875rem;
  }
}
/**
 * 暗黑模式样式系统
 * 借鉴Linear的现代极简暗黑风格设计
 */

/* ==================== 暗黑模式CSS变量 ==================== */
:root {
  --transition-theme: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 暗黑模式变量 */
[data-theme="dark"] {
  /* 背景色系�?- 深黑色系�?*/
  --bg-primary: #000000;
  --bg-secondary: #0a0a0b;
  --bg-tertiary: #111113;
  --bg-card: #18181b;
  --bg-hover: #1f1f23;
  --bg-active: #27272a;
  
  /* 文本色系�?- 柔和灰色，非亮眼 */
  --text-primary: #a1a1aa;
  --text-secondary: #71717a;
  --text-tertiary: #52525b;
  --text-muted: #3f3f46;
  --text-inverse: #0a0a0a;
  
  /* 主色调系�?- 中性灰 */
  --primary-50: #09090b;
  --primary-100: #18181b;
  --primary-200: #27272a;
  --primary-300: #3f3f46;
  --primary-400: #52525b;
  --primary-500: #71717a;
  --primary-600: #a1a1aa;
  --primary-700: #d4d4d8;
  --primary-800: #e4e4e7;
  --primary-900: #f4f4f5;
  
  /* 辅助色系�?*/
  --success-50: #052e16;
  --success-100: #064e3b;
  --success-200: #065f46;
  --success-300: #047857;
  --success-400: #059669;
  --success-500: #10b981;
  --success-600: #34d399;
  --success-700: #6ee7b7;
  
  /* 温暖色系�?*/
  --warm-50: #431407;
  --warm-100: #7c2d12;
  --warm-200: #9a3412;
  --warm-300: #c2410c;
  --warm-400: #ea580c;
  --warm-500: #f97316;
  
  /* 粉色系统 */
  --pink-50: #500724;
  --pink-100: #831843;
  --pink-200: #9d174d;
  --pink-300: #be185d;
  --pink-400: #db2777;
  --pink-500: #ec4899;
  
  /* 阳光黄色系统 */
  --sun-50: #422006;
  --sun-100: #713f12;
  --sun-200: #854d0e;
  --sun-300: #a16207;
  --sun-400: #ca8a04;
  --sun-500: #eab308;
  
  /* 紫色系统 */
  --purple-50: #3b0764;
  --purple-100: #581c87;
  --purple-200: #7e22ce;
  --purple-300: #9333ea;
  --purple-400: #a855f7;
  --purple-500: #c084fc;
  
  /* 高级灰系�?- 全部深灰�?*/
  --gray-50: #0a0a0b;
  --gray-100: #111113;
  --gray-200: #18181b;
  --gray-300: #27272a;
  --gray-400: #3f3f46;
  --gray-500: #52525b;
  --gray-600: #71717a;
  --gray-700: #86868b;
  --gray-800: #a1a1aa;
  --gray-900: #d4d4d8;
  
  /* 边框系统 - 微妙的深灰色边框 */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-dark: rgba(255, 255, 255, 0.18);
  
  /* 阴影系统 - 调整为暗黑模�?*/
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  
  /* 彩色阴影 */
  --shadow-primary: 0 10px 25px -5px rgba(161, 161, 170, 0.15);
  --shadow-success: 0 10px 25px -5px rgba(16, 185, 129, 0.2);
  --shadow-warm: 0 10px 25px -5px rgba(249, 115, 22, 0.2);
  
  /* 兼容性变�?*/
  --primary-color: var(--primary-600);
  --primary-dark: var(--primary-500);
  --secondary-color: var(--success-400);
  --success-color: var(--success-400);
  --danger-color: #f87171;
  --warning-color: #fbbf24;
  --info-color: var(--primary-600);
  --light-color: var(--bg-secondary);
  --dark-color: var(--text-primary);
}

/* ==================== 基础样式覆盖 ==================== */

/* 关键修复：确保html元素也有黑色背景（移动端滚动时不会露出白边） */
[data-theme="dark"] html {
  background-color: #000000 !important;
  background: #000000 !important;
}

[data-theme="dark"] body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  /* 移除transition，避免移动端突然位移问题 */
  /* transition: background-color var(--transition-theme),
              color var(--transition-theme); */
  /* 确保body至少占满整个视口 */
  min-height: 100vh;
  min-height: 100dvh; /* 移动端动态视口高�?*/
}

/* ==================== 导航栏暗黑模�?- Linear风格 ==================== */
[data-theme="dark"] .navbar {
  background: rgba(10, 10, 12, 0.72) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(10, 10, 12, 0.92) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .navbar-brand {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="dark"] .navbar.scrolled .navbar-brand {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="dark"] .brand-logo-icon {
  color: rgba(255, 255, 255, 0.75);
}

[data-theme="dark"] .navbar.scrolled .brand-logo-icon {
  color: rgba(255, 255, 255, 0.75);
}

[data-theme="dark"] .brand-logo-text {
  color: rgba(255, 255, 255, 0.85);
}

/* 导航链接 - 暗黑模式 */
[data-theme="dark"] .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.4) !important;
  transition: color 0.22s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.22s cubic-bezier(0.25, 0.1, 0.25, 1);
}

[data-theme="dark"] .navbar.scrolled .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.45) !important;
}

[data-theme="dark"] .navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 0.92) !important;
  transform: translateY(-1px);
}

[data-theme="dark"] .navbar.scrolled .navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 0.92) !important;
}

[data-theme="dark"] .navbar-nav .nav-link.active {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
}

[data-theme="dark"] .navbar.scrolled .navbar-nav .nav-link.active {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
}

/* 用户菜单按钮 - 暗黑模式 */
[data-theme="dark"] .theme-toggle-btn,
[data-theme="dark"] .sound-toggle-btn {
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .theme-toggle-btn:hover,
[data-theme="dark"] .sound-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .dropdown-toggle {
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .dropdown-toggle:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .dropdown-menu {
  background: rgba(18, 18, 21, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .dropdown-item {
  color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  transform: translateX(3px);
}

[data-theme="dark"] .dropdown-item {
  color: rgba(255, 255, 255, 0.6);
  transition: background 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), color 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

[data-theme="dark"] .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.06);
}

/* 移动端导�?- 暗黑模式 */
[data-theme="dark"] .navbar-toggler {
  border: none;
  padding: 6px;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .navbar-toggler svg path {
  stroke: rgba(255, 255, 255, 0.65);
}

[data-theme="dark"] .navbar-toggler:focus {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 991px) {
  [data-theme="dark"] .navbar-collapse {
    background: rgba(18, 18, 21, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
      0 1px 3px rgba(0, 0, 0, 0.3),
      0 12px 32px rgba(0, 0, 0, 0.4);
  }
}

/* ==================== 底部区域暗黑模式 - Pentagram简约风�?==================== */
[data-theme="dark"] .footer-glass {
  background: #060608;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .footer-divider {
  background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .footer-logo {
  color: rgba(255, 255, 255, 0.65);
}

[data-theme="dark"] .footer-logo:hover {
  opacity: 0.8;
}

[data-theme="dark"] .footer-logo svg {
  color: rgba(255, 255, 255, 0.65);
}

[data-theme="dark"] .footer-tagline {
  color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .footer-description {
  color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .footer-links h6,
[data-theme="dark"] .footer-contact h6 {
  color: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .footer-links a {
  color: rgba(255, 255, 255, 0.38);
}

[data-theme="dark"] .footer-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}

[data-theme="dark"] .footer-contact li {
  color: rgba(255, 255, 255, 0.38);
}

[data-theme="dark"] .footer-contact svg {
  color: rgba(255, 255, 255, 0.28);
}

[data-theme="dark"] .footer-contact li:hover svg {
  color: rgba(255, 255, 255, 0.45);
}

[data-theme="dark"] .footer-copyright {
  color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .footer-legal a {
  color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .footer-legal a:hover {
  color: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .footer-legal .divider {
  color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.06);
}

/* ==================== 导航下拉菜单暗黑模式 ==================== */
[data-theme="dark"] .nav-dropdown-content {
  background: #111113;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.3),
    0 10px 15px -3px rgba(0, 0, 0, 0.35),
    0 20px 25px -5px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .user-dropdown-content {
  background: #111113;
}

[data-theme="dark"] .user-info-header {
  border-bottom-color: #1f1f23;
}

[data-theme="dark"] .user-avatar svg {
  color: #52525b;
}

[data-theme="dark"] .user-info-name {
  color: #e4e4e7;
}

[data-theme="dark"] .user-info-email {
  color: #52525b;
}

[data-theme="dark"] .nav-dropdown-item-icon {
  color: #52525b;
}

[data-theme="dark"] .dropdown-divider {
  background: #1f1f23;
}

[data-theme="dark"] .dropdown-action-btn {
  color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .dropdown-action-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .logout-link:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="dark"] .logout-link:hover .nav-dropdown-item-icon {
  color: rgba(255, 255, 255, 0.65);
}

[data-theme="dark"] .nav-dropdown-item-link {
  color: #a1a1aa;
}

[data-theme="dark"] .nav-dropdown-item-link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #e4e4e7;
}

[data-theme="dark"] .nav-dropdown-item-link:hover .nav-dropdown-item-icon {
  color: #a1a1aa;
}

[data-theme="dark"] .nav-dropdown-item-arrow {
  color: #3f3f46;
}

/* ==================== 卡片系统暗黑模式 ==================== */
[data-theme="dark"] .card {
  background: #111113;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .card:hover {
  background: #18181b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .card {
  transition: background 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

[data-theme="dark"] .card-header {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .glass-card {
  background: #111113;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .glass-card::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
}

[data-theme="dark"] .glass-card:hover {
  background: #18181d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .glass-card {
  transition: background 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), border-color 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

[data-theme="dark"] .glass-card-shine::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
}

/* ==================== 按钮系统暗黑模式 ==================== */
[data-theme="dark"] .btn {
  transition: all var(--duration-200) var(--ease-out);
}

[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, var(--primary-300) 0%, var(--primary-400) 100%);
  box-shadow: var(--shadow-md), var(--shadow-primary);
}

[data-theme="dark"] .btn-primary::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
}

[data-theme="dark"] .btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
  box-shadow: var(--shadow-xl), var(--shadow-primary);
}

[data-theme="dark"] .btn-success {
  background: linear-gradient(135deg, var(--success-300) 0%, var(--success-400) 100%);
  box-shadow: var(--shadow-md), var(--shadow-success);
}

[data-theme="dark"] .btn-success::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
}

[data-theme="dark"] .btn-success:hover {
  background: linear-gradient(135deg, var(--success-400) 0%, var(--success-500) 100%);
  box-shadow: var(--shadow-xl), var(--shadow-success);
}

[data-theme="dark"] .btn-outline-primary {
  background: rgba(31, 31, 35, 0.7);
  border: 1.5px solid var(--primary-400);
  color: var(--primary-300);
}

[data-theme="dark"] .btn-outline-primary:hover {
  background: rgba(39, 39, 42, 0.9);
  border-color: var(--primary-400);
  color: var(--primary-400);
}

[data-theme="dark"] .btn-shine::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

/* ==================== 表单系统暗黑模式 ==================== */
[data-theme="dark"] .form-control {
  background-color: var(--bg-card);
  border-color: var(--border-light);
  color: var(--text-primary);
}

[data-theme="dark"] .form-control::placeholder {
  color: var(--text-muted);
}

[data-theme="dark"] .form-control:focus {
  background-color: var(--bg-card);
  border-color: var(--primary-400);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.2rem rgba(161, 161, 170, 0.25);
}

[data-theme="dark"] .form-check-input {
  background-color: var(--bg-card);
  border-color: var(--border-light);
}

[data-theme="dark"] .form-check-input:checked {
  background-color: var(--primary-400);
  border-color: var(--primary-400);
}

/* ==================== 排版系统暗黑模式 ==================== */
[data-theme="dark"] .text-display {
  color: var(--text-primary);
}

[data-theme="dark"] .text-h1 {
  color: var(--text-primary);
}

[data-theme="dark"] .text-h2 {
  color: var(--text-secondary);
}

[data-theme="dark"] .text-h3 {
  color: var(--text-secondary);
}

[data-theme="dark"] .text-body-lg {
  color: var(--text-tertiary);
}

[data-theme="dark"] .text-body {
  color: var(--text-tertiary);
}

[data-theme="dark"] .text-small {
  color: var(--text-muted);
}

[data-theme="dark"] .text-xs {
  color: var(--text-muted);
}

[data-theme="dark"] .text-primary { color: var(--primary-400) !important; }
[data-theme="dark"] .text-secondary { color: var(--secondary-color) !important; }
[data-theme="dark"] .text-success { color: var(--success-color) !important; }
[data-theme="dark"] .text-danger { color: var(--danger-color) !important; }
[data-theme="dark"] .text-warning { color: var(--warning-color) !important; }

[data-theme="dark"] .bg-primary { background-color: var(--primary-400) !important; }
[data-theme="dark"] .bg-secondary { background-color: var(--secondary-color) !important; }
[data-theme="dark"] .bg-light { background-color: var(--bg-secondary) !important; }

/* ==================== 首页模块暗黑模式 ==================== */
[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #111113 100%);
}

[data-theme="dark"] .hero-title {
  color: var(--text-primary);
}

[data-theme="dark"] .hero-subtitle {
  color: var(--text-tertiary);
}

[data-theme="dark"] .feature-item {
  color: var(--text-secondary);
}

[data-theme="dark"] .features-section {
  background: var(--bg-secondary);
}

[data-theme="dark"] .section-header h2 {
  color: var(--text-primary);
}

[data-theme="dark"] .feature-card {
  background: var(--bg-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

[data-theme="dark"] .feature-card:hover {
  background: var(--bg-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

[data-theme="dark"] .feature-card h4 {
  color: var(--text-primary);
}

[data-theme="dark"] .feature-card p {
  color: var(--text-tertiary);
}

[data-theme="dark"] .process-section {
  background: var(--bg-primary);
}

[data-theme="dark"] .process-step h5 {
  color: var(--text-primary);
}

[data-theme="dark"] .process-step p {
  color: var(--text-tertiary);
}

[data-theme="dark"] .feature-card-item {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 4px 6px -1px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .feature-card-item:hover {
  background: var(--bg-hover);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.25), 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .advanced-feature-card {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .advanced-feature-card:hover {
  background: var(--bg-hover);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2), 0 20px 60px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .feature-card-carousel {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .feature-card-carousel:hover {
  background: var(--bg-hover);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25), 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .case-preview-card {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .case-preview-card:hover {
  background: var(--bg-hover);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2), 0 20px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .case-card-carousel {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .case-card-carousel:hover {
  background: var(--bg-hover);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2), 0 20px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .process-step-card {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .process-step-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15), 0 12px 24px rgba(0, 0, 0, 0.2), 0 24px 48px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .home-module .process-step-card {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .home-module .process-step-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15), 0 20px 60px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .stats-section {
  background: var(--bg-secondary);
}

[data-theme="dark"] .stat-label {
  color: var(--text-tertiary);
}

[data-theme="dark"] .cta-section h2 {
  color: var(--text-primary);
}

[data-theme="dark"] .cta-section .btn-light {
  color: var(--primary-400);
  background: var(--bg-card);
}

[data-theme="dark"] .cta-section .btn-light:hover {
  background: var(--bg-hover);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

/* ==================== 场景选择模块暗黑模式 ==================== */
[data-theme="dark"] .scene-card {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  transition: border-color 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), background 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

[data-theme="dark"] .scene-card:hover {
  border-color: var(--primary-400);
  background: var(--bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(161, 161, 170, 0.1), 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .scene-card.selected {
  border-color: var(--primary-400);
  background-color: rgba(161, 161, 170, 0.1);
}

[data-theme="dark"] .scene-info h4 {
  color: var(--text-primary);
}

[data-theme="dark"] .scene-info p {
  color: var(--text-tertiary);
}

/* ==================== 痛点选择模块暗黑模式 ==================== */
[data-theme="dark"] .pain-option {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  transition: border-color 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), background-color 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

[data-theme="dark"] .pain-option:hover {
  border-color: var(--primary-400);
  background-color: rgba(161, 161, 170, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .pain-option.selected {
  border-color: var(--primary-400);
  background-color: rgba(161, 161, 170, 0.1);
}

/* ==================== 方案结果模块暗黑模式 ==================== */
[data-theme="dark"] .plan-header h1 {
  color: var(--text-primary);
}

[data-theme="dark"] .plan-subtitle {
  color: var(--text-tertiary);
}

[data-theme="dark"] .overview-card {
  background: var(--bg-card);
}

[data-theme="dark"] .overview-label {
  color: var(--text-tertiary);
}

[data-theme="dark"] .overview-value {
  color: var(--text-primary);
}

[data-theme="dark"] .overview-value.price {
  color: var(--primary-400);
}

[data-theme="dark"] .tools-section h2 {
  color: var(--text-primary);
}

[data-theme="dark"] .tool-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
}

[data-theme="dark"] .tool-content h4 {
  color: var(--text-primary);
}

[data-theme="dark"] .tool-content p {
  color: var(--text-tertiary);
}

[data-theme="dark"] .tool-tag {
  background: var(--bg-hover);
  color: var(--text-secondary);
}

[data-theme="dark"] .tool-price {
  color: var(--primary-400);
}

[data-theme="dark"] .steps-section h2 {
  color: var(--text-primary);
}

[data-theme="dark"] .step-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
}

[data-theme="dark"] .step-text {
  color: var(--text-secondary);
}

[data-theme="dark"] .effect-section h2 {
  color: var(--text-primary);
}

[data-theme="dark"] .effect-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(161, 161, 170, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .effect-card p {
  color: var(--text-secondary);
}

/* ==================== 改造方案生成界面全面暗黑模式优�?==================== */

/* 1. 结果模块主体 */
[data-theme="dark"] .result-module,
[data-theme="dark"] .result-normal,
[data-theme="dark"] .result-image,
[data-theme="dark"] .result-video {
  background: #000000 !important;
  color: #a1a1aa;
}

/* 2. 头部区域（步骤指示器�?*/
[data-theme="dark"] .result-module div[style*="background:#ffffff"][style*="padding:56px"],
[data-theme="dark"] .result-normal div[style*="background:#ffffff"][style*="border-bottom"] {
  background: #09090b !important;
  border-bottom-color: #27272a !important;
}

/* 步骤数字和文�?*/
[data-theme="dark"] .result-module div[style*="font-size:12px"][style*="color:#1a1a1a"],
[data-theme="dark"] .result-normal div[style*="font-size:12px"][style*="color:#1a1a1a"] {
  color: #a1a1aa !important;
  font-weight: 500 !important;
}

[data-theme="dark"] .result-module div[style*="font-size:11px"][style*="color:#8a8a8a"],
[data-theme="dark"] .result-normal div[style*="font-size:11px"][style*="color:#8a8a8a"] {
  color: #52525b !important;
}

/* 步骤连接�?*/
[data-theme="dark"] .result-module div[style*="width:32px"][style*="height:1px"][style*="background:#e8e8e8"],
[data-theme="dark"] .result-normal div[style*="width:32px"][style*="height:1px"][style*="background:#e8e8e8"] {
  background: #27272a !important;
}

/* 3. 标题区域 */
[data-theme="dark"] .result-module div[style*="font-size:12px"][style*="color:#8a8a8a"][style*="letter-spacing:0.16em"],
[data-theme="dark"] .result-normal div[style*="font-size:12px"][style*="color:#8a8a8a"][style*="letter-spacing:0.16em"] {
  color: #71717a !important;
}

[data-theme="dark"] .result-module h1[style*="font-size:40px"][style*="color:#1a1a1a"],
[data-theme="dark"] .result-normal h1[style*="font-size:40px"][style*="color:#1a1a1a"] {
  color: #a1a1aa !important;
}

[data-theme="dark"] .result-module p[style*="font-size:16px"][style*="color:#6b6b6b"],
[data-theme="dark"] .result-normal p[style*="font-size:16px"][style*="color:#6b6b6b"] {
  color: #71717a !important;
}

/* 4. 概览卡片区域 */
[data-theme="dark"] .result-module div[style*="padding-top:56px"][style*="padding-bottom:96px"],
[data-theme="dark"] .result-normal div[style*="padding-top:56px"][style*="padding-bottom:96px"] {
  background: transparent !important;
}

/* 概览卡片 - 场景、问题、预算、价�?*/
[data-theme="dark"] .result-module div[style*="padding:24px"][style*="background:#fafafa"][style*="border-radius:12px"],
[data-theme="dark"] .result-normal div[style*="padding:24px"][style*="background:#fafafa"][style*="border-radius:12px"] {
  background: #111113 !important;
  border-color: #27272a !important;
}

/* 概览标签 */
[data-theme="dark"] .result-module div[style*="font-size:12px"][style*="color:#8a8a8a"][style*="margin-bottom:8px"],
[data-theme="dark"] .result-normal div[style*="font-size:12px"][style*="color:#8a8a8a"][style*="margin-bottom:8px"] {
  color: #52525b !important;
}

/* 概览�?*/
[data-theme="dark"] .result-module div[style*="font-size:18px"][style*="color:#1a1a1a"],
[data-theme="dark"] .result-normal div[style*="font-size:18px"][style*="color:#1a1a1a"] {
  color: #a1a1aa !important;
}

/* 价格特殊处理 - 使用主题�?*/
[data-theme="dark"] .result-module div[style*="font-size:24px"][style*="font-weight:600"][style*="color:#1a1a1a"],
[data-theme="dark"] .result-normal div[style*="font-size:24px"][style*="font-weight:600"][style*="color:#1a1a1a"] {
  color: var(--primary-400) !important;
}

/* 5. 工具包区�?*/
[data-theme="dark"] .result-module div[style*="font-size:24px"][style*="color:#1a1a1a"][style*="margin-bottom:32px"]:nth-of-type(2),
[data-theme="dark"] .result-normal div[style*="font-size:24px"][style*="color:#1a1a1a"][style*="margin-bottom:32px"]:nth-of-type(2) {
  color: #a1a1aa !important;
}

/* 工具项卡�?*/
[data-theme="dark"] .result-module div[style*="display:flex"][style*="gap:24px"][style*="padding:28px"][style*="background:#fafafa"],
[data-theme="dark"] .result-normal div[style*="display:flex"][style*="gap:24px"][style*="padding:28px"][style*="background:#fafafa"] {
  background: #111113 !important;
  border-color: #27272a !important;
}

/* 工具图标容器 */
[data-theme="dark"] .result-module div[style*="width:40px"][style*="height:40px"][style*="background:#ffffff"],
[data-theme="dark"] .result-normal div[style*="width:40px"][style*="height:40px"][style*="background:#ffffff"] {
  background: #18181b !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

/* 工具名称 */
[data-theme="dark"] .result-module h3[style*="font-size:18px"][style*="color:#1a1a1a"],
[data-theme="dark"] .result-normal h3[style*="font-size:18px"][style*="color:#1a1a1a"] {
  color: #a1a1aa !important;
}

/* 工具价格 */
[data-theme="dark"] .result-module div[style*="font-size:16px"][style*="font-weight:600"][style*="color:#1a1a1a"],
[data-theme="dark"] .result-normal div[style*="font-size:16px"][style*="font-weight:600"][style*="color:#1a1a1a"] {
  color: var(--primary-400) !important;
}

/* 工具描述 */
[data-theme="dark"] .result-module p[style*="font-size:14px"][style*="line-height:1.6"],
[data-theme="dark"] .result-normal p[style*="font-size:14px"][style*="line-height:1.6"] {
  color: #71717a !important;
}

/* 工具标签 */
[data-theme="dark"] .result-module span[style*="font-size:12px"][style*="color:#6b6b6b"][style*="background:#ffffff"],
[data-theme="dark"] .result-normal span[style*="font-size:12px"][style*="color:#6b6b6b"][style*="background:#ffffff"] {
  background: #18181b !important;
  color: #71717a !important;
  border-color: #27272a !important;
}

/* 6. 实施步骤区域 */
[data-theme="dark"] .result-module div[style*="font-size:24px"][style*="color:#1a1a1a"][style*="margin-bottom:32px"]:last-of-type,
[data-theme="dark"] .result-normal div[style*="font-size:24px"][style*="color:#1a1a1a"][style*="margin-bottom:32px"]:last-of-type {
  color: #a1a1aa !important;
}

/* 步骤圆圈 */
[data-theme="dark"] .result-module div[style*="width:32px"][style*="height:32px"][style*="background:#1a1a1a"],
[data-theme="dark"] .result-normal div[style*="width:32px"][style*="height:32px"][style*="background:#1a1a1a"] {
  background: #a1a1aa !important;
  color: #ffffff !important;
}

/* 步骤文字 */
[data-theme="dark"] .result-module div[style*="font-size:16px"][style*="color:#1a1a1a"][style*="line-height:1.6"],
[data-theme="dark"] .result-normal div[style*="font-size:16px"][style*="color:#1a1a1a"][style*="line-height:1.6"] {
  color: #a1a1aa !important;
}

/* 7. 预期效果区域 */
[data-theme="dark"] .result-module div[style*="padding:32px"][style*="background:#fafafa"][style*="text-align:center"],
[data-theme="dark"] .result-normal div[style*="padding:32px"][style*="background:#fafafa"][style*="text-align:center"] {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(161, 161, 170, 0.08)) !important;
  border-color: rgba(161, 161, 170, 0.15) !important;
}

/* 效果数�?*/
[data-theme="dark"] .result-module div[style*="font-size:48px"][style*="font-weight:600"][style*="color:#1a1a1a"],
[data-theme="dark"] .result-normal div[style*="font-size:48px"][style*="font-weight:600"][style*="color:#1a1a1a"] {
  color: var(--primary-400) !important;
}

/* 效果描述 */
[data-theme="dark"] .result-module div[style*="font-size:14px"][style*="font-weight:500"][style*="color:#6b6b6b"],
[data-theme="dark"] .result-normal div[style*="font-size:14px"][style*="font-weight:500"][style*="color:#6b6b6b"] {
  color: #71717a !important;
}

/* 8. 底部按钮�?*/
[data-theme="dark"] .result-module button[style*="background:#ffffff"][style*="color:#1a1a1a"],
[data-theme="dark"] .result-normal button[style*="background:#ffffff"][style*="color:#1a1a1a"] {
  background: #18181b !important;
  color: #a1a1aa !important;
  border-color: #3f3f46 !important;
}

[data-theme="dark"] .result-module button[style*="background:#ffffff"][style*="color:#1a1a1a"]:hover,
[data-theme="dark"] .result-normal button[style*="background:#ffffff"][style*="color:#1a1a1a"]:hover {
  background: #27272a !important;
  border-color: #52525b !important;
}

/* 3D预览按钮 */
[data-theme="dark"] .result-module button[style*="background:#fafafa"][style*="color:#1a1a1a"],
[data-theme="dark"] .result-normal button[style*="background:#fafafa"][style*="color:#1a1a1a"] {
  background: #111113 !important;
  color: #a1a1aa !important;
  border-color: #27272a !important;
}

[data-theme="dark"] .result-module button[style*="background:#fafafa"][style*="color:#1a1a1a"]:hover,
[data-theme="dark"] .result-normal button[style*="background:#fafafa"][style*="color:#1a1a1a"]:hover {
  background: #18181b !important;
  border-color: #3f3f46 !important;
}

/* 导出PDF按钮 */
[data-theme="dark"] .result-module button[style*="background:#1a1a1a"][style*="color:#ffffff"],
[data-theme="dark"] .result-normal button[style*="background:#1a1a1a"][style*="color:#ffffff"] {
  background: #a1a1aa !important;
  color: #ffffff !important;
  border-color: #a1a1aa !important;
}

[data-theme="dark"] .result-module button[style*="background:#1a1a1a"][style*="color:#ffffff"]:hover,
[data-theme="dark"] .result-normal button[style*="background:#1a1a1a"][style*="color:#ffffff"]:hover {
  background: #71717a !important;
  transform: translateY(-1px);
}

/* ==================== 页面标题暗黑模式 ==================== */
[data-theme="dark"] .page-header h1 {
  color: var(--text-primary);
}

[data-theme="dark"] .page-header p {
  color: var(--text-tertiary);
}

/* ==================== 步骤指示器暗黑模�?==================== */
[data-theme="dark"] .step {
  color: var(--text-tertiary);
}

[data-theme="dark"] .step.active {
  color: var(--primary-400);
}

[data-theme="dark"] .step.completed {
  color: var(--success-400);
}

[data-theme="dark"] .step-number {
  background-color: var(--text-muted);
}

[data-theme="dark"] .step.active .step-number {
  background-color: var(--primary-400);
}

[data-theme="dark"] .step.completed .step-number {
  background-color: var(--success-400);
}

[data-theme="dark"] .step-divider {
  background-color: var(--text-muted);
}

[data-theme="dark"] .step-divider.completed {
  background-color: var(--success-400);
}

/* ==================== 主题切换按钮样式 ==================== */
.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-200) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  transform: scale(1.05);
}

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

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--duration-300) var(--ease-out);
}

.theme-toggle-btn:hover svg {
  transform: rotate(180deg);
}

[data-theme="dark"] .theme-toggle-btn {
  background: rgba(31, 31, 35, 0.7);
  color: var(--text-secondary);
}

[data-theme="dark"] .theme-toggle-btn:hover {
  background: rgba(39, 39, 42, 0.9);
  color: var(--primary-400);
}

/* ==================== 过渡动画 ==================== */
/* 移除全局transition，避免移动端突然位移问题 */
/* * {
  transition: background-color var(--transition-theme),
              border-color var(--transition-theme),
              color var(--transition-theme);
} */

/* 图片在暗黑模式下的调�?*/
[data-theme="dark"] img {
  opacity: 0.9;
}

[data-theme="dark"] .hero-illustration {
  box-shadow: 0 20px 60px rgba(161, 161, 170, 0.2);
}

/* ==================== 加载屏幕暗黑模式 ==================== */
[data-theme="dark"] .loading-screen {
  background: #000000;
}

[data-theme="dark"] .loading-spinner {
  border: 4px solid rgba(255, 255, 255, 0.05);
  border-top-color: #52525b;
}

[data-theme="dark"] .loading-content h2 {
  color: #71717a;
}

[data-theme="dark"] .loading-content p {
  color: #52525b;
}

/* ================================================================
   全局暗黑模式覆盖 - 覆盖所有模块中的白�?亮色内容
   ================================================================ */

/* ==================== 1. 全局背景色覆�?==================== */
[data-theme="dark"] html {
  background: #000000 !important;
}

[data-theme="dark"] body {
  background: #000000 !important;
  color: #a1a1aa;
  /* 确保body完全覆盖视口 */
  min-height: 100vh;
  min-height: 100dvh;
}

[data-theme="dark"] #app {
  background: #000000 !important;
  /* 确保主容器完全覆�?*/
  min-height: 100vh;
  min-height: 100dvh;
}

[data-theme="dark"] .page-container,
[data-theme="dark"] .module-container,
[data-theme="dark"] .content-container,
[data-theme="dark"] main,
[data-theme="dark"] section {
  background: #000000 !important;
  color: #a1a1aa;
}

/* ==================== 2. 白色背景全局覆盖 ==================== */
[data-theme="dark"] .bg-white,
[data-theme="dark"] [class*="bg-white"],
[data-theme="dark"] [style*="background: white"],
[data-theme="dark"] [style*="background:#fff"],
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background:#ffffff"],
[data-theme="dark"] [style*="background: #ffffff"] {
  background: #111113 !important;
}

/* ==================== 3. 浅灰背景覆盖 (#f5f5f7, #fafafa, #e5e5e5) ==================== */
[data-theme="dark"] [style*="background: #f5f5f7"],
[data-theme="dark"] [style*="background:#f5f5f7"],
[data-theme="dark"] [style*="background: #fafafa"],
[data-theme="dark"] [style*="background:#fafafa"],
[data-theme="dark"] [style*="background: #e5e5e5"],
[data-theme="dark"] [style*="background:#e5e5e5"] {
  background: #0a0a0b !important;
}

/* ==================== 4. 页面级背景覆�?- 各模�?==================== */
[data-theme="dark"] .scene-container,
[data-theme="dark"] .scene-page,
[data-theme="dark"] #scene-module {
  background: #000000 !important;
}

[data-theme="dark"] .heatmap-container,
[data-theme="dark"] .heatmap-page,
[data-theme="dark"] #heatmap-module {
  background: #000000 !important;
}

[data-theme="dark"] .pain-container,
[data-theme="dark"] .pain-page,
[data-theme="dark"] #pain-module {
  background: #000000 !important;
}

[data-theme="dark"] .budget-container,
[data-theme="dark"] .budget-page,
[data-theme="dark"] #budget-module {
  background: #000000 !important;
}

[data-theme="dark"] .showcase-container,
[data-theme="dark"] .showcase-page,
[data-theme="dark"] #showcase-module {
  background: #000000 !important;
}

[data-theme="dark"] .result-container,
[data-theme="dark"] .result-page,
[data-theme="dark"] #result-module {
  background: #000000 !important;
}

[data-theme="dark"] .space3d-container,
[data-theme="dark"] .space3d-page,
[data-theme="dark"] #space3d-module,
[data-theme="dark"] #3d-space-module {
  background: #000000 !important;
}

[data-theme="dark"] .cases-container,
[data-theme="dark"] .cases-page,
[data-theme="dark"] #cases-module {
  background: #000000 !important;
}

[data-theme="dark"] .gamification-container,
[data-theme="dark"] .gamification-page,
[data-theme="dark"] #gamification-module {
  background: #000000 !important;
}

[data-theme="dark"] .emotion-playground-container,
[data-theme="dark"] .emotion-playground-page,
[data-theme="dark"] #emotion-playground-module {
  background: #000000 !important;
}

[data-theme="dark"] .home-container,
[data-theme="dark"] .home-page,
[data-theme="dark"] #home-module {
  background: #000000 !important;
}

/* ==================== 5. 白色文字覆盖为灰�?==================== */
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6 {
  color: #a1a1aa !important;
}

[data-theme="dark"] p, [data-theme="dark"] span, [data-theme="dark"] li,
[data-theme="dark"] td, [data-theme="dark"] th, [data-theme="dark"] label {
  color: #71717a;
}

[data-theme="dark"] a {
  color: #71717a;
}

[data-theme="dark"] a:hover {
  color: #a1a1aa;
}

[data-theme="dark"] small, [data-theme="dark"] .text-muted, [data-theme="dark"] .text-secondary {
  color: #52525b !important;
}

/* ==================== 6. 表单元素覆盖 ==================== */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: #111113 !important;
  color: #a1a1aa !important;
  border-color: #27272a !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: #3f3f46 !important;
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
  border-color: #3f3f46 !important;
  box-shadow: 0 0 0 2px rgba(63, 63, 70, 0.3) !important;
}

/* ==================== 7. 表格覆盖 ==================== */
[data-theme="dark"] table {
  background: #111113 !important;
  color: #71717a;
}

[data-theme="dark"] thead th {
  background: #0a0a0b !important;
  color: #a1a1aa !important;
  border-bottom-color: #27272a !important;
}

[data-theme="dark"] tbody tr {
  border-bottom-color: #1f1f23 !important;
}

[data-theme="dark"] tbody tr:hover {
  background: #18181b !important;
}

/* ==================== 8. Bootstrap组件覆盖 ==================== */
[data-theme="dark"] .modal-content {
  background: #111113 !important;
  color: #a1a1aa;
  border-color: #27272a !important;
}

[data-theme="dark"] .modal-header {
  border-bottom-color: #1f1f23 !important;
}

[data-theme="dark"] .modal-footer {
  border-top-color: #1f1f23 !important;
}

[data-theme="dark"] .dropdown-menu {
  background: #111113 !important;
  border-color: #27272a !important;
}

[data-theme="dark"] .dropdown-item {
  color: #71717a;
}

[data-theme="dark"] .dropdown-item:hover {
  background: #18181b !important;
  color: #a1a1aa;
}

[data-theme="dark"] .alert {
  border-color: #27272a !important;
}

[data-theme="dark"] .badge {
  background: #27272a !important;
  color: #a1a1aa;
}

[data-theme="dark"] .progress {
  background: #1f1f23 !important;
}

[data-theme="dark"] .list-group-item {
  background: #111113 !important;
  color: #71717a;
  border-color: #1f1f23 !important;
}

[data-theme="dark"] .breadcrumb-item a {
  color: #52525b;
}

[data-theme="dark"] .breadcrumb-item.active {
  color: #71717a;
}

/* ==================== 9. 分割�?边框覆盖 ==================== */
[data-theme="dark"] hr,
[data-theme="dark"] .divider {
  border-color: #1f1f23 !important;
}

[data-theme="dark"] [class*="border"] {
  border-color: #1f1f23 !important;
}

/* ==================== 10. 按钮覆盖 - 白色/浅色按钮 ==================== */
[data-theme="dark"] .btn-light {
  background: #27272a !important;
  color: #a1a1aa !important;
  border-color: #3f3f46 !important;
}

[data-theme="dark"] .btn-light:hover {
  background: #3f3f46 !important;
  color: #a1a1aa !important;
}

[data-theme="dark"] .btn-outline-light {
  color: #71717a !important;
  border-color: #3f3f46 !important;
}

[data-theme="dark"] .btn-outline-light:hover {
  background: #27272a !important;
  color: #a1a1aa !important;
}

[data-theme="dark"] .btn-white {
  background: #27272a !important;
  color: #a1a1aa !important;
  border-color: #3f3f46 !important;
}

/* ==================== 11. 首页特定元素覆盖 ==================== */
[data-theme="dark"] .hero-section,
[data-theme="dark"] .hero-container {
  background: #000000 !important;
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-subtitle {
  color: #a1a1aa !important;
}

[data-theme="dark"] .portfolio-features-section,
[data-theme="dark"] .portfolio-features-container {
  background: #000000 !important;
}

[data-theme="dark"] .portfolio-features-title {
  color: #a1a1aa !important;
}

[data-theme="dark"] .portfolio-features-subtitle {
  color: #52525b !important;
}

[data-theme="dark"] .scrollytelling-section,
[data-theme="dark"] .scrollytelling-container {
  background: #060608 !important;
}

[data-theme="dark"] .scrollytelling-title {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="dark"] .scrollytelling-subtitle {
  color: rgba(255, 255, 255, 0.35) !important;
}

[data-theme="dark"] .scrollytelling-header::after {
  background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .scrollytelling-steps::before {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 5%,
    rgba(255, 255, 255, 0.06) 95%,
    transparent 100%
  );
}

[data-theme="dark"] .step-image {
  background: #121214 !important;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .step-decor.top-left {
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .step-decor.bottom-right {
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .step-icon {
  color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(30, 30, 35, 0.7) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .scrollytelling-step .step-label {
  color: rgba(255, 255, 255, 0.35) !important;
}

[data-theme="dark"] .scrollytelling-step .step-number {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  display: block !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.85) !important;
  opacity: 0.12;
}

[data-theme="dark"] .scrollytelling-step .step-title {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="dark"] .scrollytelling-step .step-description {
  color: rgba(255, 255, 255, 0.45) !important;
}

[data-theme="dark"] .scrollytelling-step:hover .step-title {
  color: #0a84ff !important;
}

[data-theme="dark"] .scrollytelling-step::before {
  background: #121214 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.4) !important;
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .feature-item {
  background: #111113 !important;
  border-color: #1f1f23 !important;
}

[data-theme="dark"] .feature-title {
  color: #a1a1aa !important;
}

[data-theme="dark"] .feature-desc,
[data-theme="dark"] .feature-description {
  color: #52525b !important;
}

/* ==================== 12. 步骤/流程卡片覆盖 ==================== */
[data-theme="dark"] .step-card,
[data-theme="dark"] .step-item,
[data-theme="dark"] .step-container {
  background: #111113 !important;
  border-color: #1f1f23 !important;
  color: #71717a;
}

[data-theme="dark"] .step-number,
[data-theme="dark"] .step-index {
  color: #52525b !important;
  background: #18181b !important;
}

[data-theme="dark"] .step-title {
  color: #a1a1aa !important;
}

[data-theme="dark"] .step-desc,
[data-theme="dark"] .step-description {
  color: #52525b !important;
}

/* ==================== 13. 通用卡片/面板覆盖 ==================== */
[data-theme="dark"] .panel,
[data-theme="dark"] .panel-body,
[data-theme="dark"] .panel-header {
  background: #111113 !important;
  color: #71717a;
  border-color: #1f1f23 !important;
}

[data-theme="dark"] .info-card,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .metric-card,
[data-theme="dark"] .data-card {
  background: #111113 !important;
  border-color: #1f1f23 !important;
  color: #71717a;
}

[data-theme="dark"] .stat-value,
[data-theme="dark"] .metric-value,
[data-theme="dark"] .data-value {
  color: #a1a1aa !important;
}

[data-theme="dark"] .stat-label,
[data-theme="dark"] .metric-label,
[data-theme="dark"] .data-label {
  color: #52525b !important;
}

/* ==================== 14. 标签/徽章覆盖 ==================== */
[data-theme="dark"] .tag,
[data-theme="dark"] .chip,
[data-theme="dark"] .label-tag {
  background: #27272a !important;
  color: #71717a !important;
  border-color: #3f3f46 !important;
}

/* ==================== 15. 工具提示/弹出框覆�?==================== */
[data-theme="dark"] .tooltip-inner {
  background: #27272a !important;
  color: #a1a1aa !important;
}

[data-theme="dark"] .tooltip-arrow {
  border-color: #27272a !important;
}

[data-theme="dark"] .popover {
  background: #111113 !important;
  border-color: #27272a !important;
}

[data-theme="dark"] .popover-body {
  color: #71717a;
}

[data-theme="dark"] .popover-header {
  background: #0a0a0b !important;
  color: #a1a1aa !important;
  border-bottom-color: #1f1f23 !important;
}

/* ==================== 16. 热力图模块覆�?==================== */
[data-theme="dark"] .heatmap-grid,
[data-theme="dark"] .heatmap-cell {
  border-color: #1f1f23 !important;
}

[data-theme="dark"] .heatmap-legend {
  background: #111113 !important;
  color: #71717a;
}

[data-theme="dark"] .heatmap-info,
[data-theme="dark"] .heatmap-detail {
  background: #111113 !important;
  color: #71717a;
  border-color: #1f1f23 !important;
}

/* ==================== 17. 预算模块覆盖 ==================== */
[data-theme="dark"] .budget-summary,
[data-theme="dark"] .budget-detail {
  background: #111113 !important;
  color: #71717a;
  border-color: #1f1f23 !important;
}

[data-theme="dark"] .budget-total {
  color: #a1a1aa !important;
}

/* ==================== 18. 案例模块覆盖 ==================== */
[data-theme="dark"] .case-card,
[data-theme="dark"] .case-item {
  background: #111113 !important;
  border-color: #1f1f23 !important;
}

[data-theme="dark"] .case-title {
  color: #a1a1aa !important;
}

[data-theme="dark"] .case-desc,
[data-theme="dark"] .case-description {
  color: #52525b !important;
}

/* ==================== 19. 3D空间模块覆盖 ==================== */
[data-theme="dark"] .space-viewer,
[data-theme="dark"] .space-canvas-container {
  background: #000000 !important;
}

[data-theme="dark"] .space-controls,
[data-theme="dark"] .space-toolbar {
  background: #111113 !important;
  border-color: #1f1f23 !important;
  color: #71717a;
}

/* ==================== 20. 结果模块覆盖 ==================== */
[data-theme="dark"] .result-summary,
[data-theme="dark"] .result-detail {
  background: #111113 !important;
  color: #71717a;
  border-color: #1f1f23 !important;
}

/* ==================== 21. 游戏化模块覆�?==================== */
[data-theme="dark"] .achievement-card,
[data-theme="dark"] .reward-item {
  background: #111113 !important;
  border-color: #1f1f23 !important;
  color: #71717a;
}

[data-theme="dark"] .progress-bar-container {
  background: #1f1f23 !important;
}

/* ==================== 22. 情绪互动模块覆盖 ==================== */
[data-theme="dark"] .emotion-card,
[data-theme="dark"] .emotion-item {
  border-color: #1f1f23 !important;
}

/* ==================== 23. 登录/注册页面覆盖 ==================== */
[data-theme="dark"] .login-container,
[data-theme="dark"] .register-container,
[data-theme="dark"] .auth-container {
  background: #000000 !important;
}

[data-theme="dark"] .login-card,
[data-theme="dark"] .register-card,
[data-theme="dark"] .auth-card {
  background: #111113 !important;
  border-color: #1f1f23 !important;
  color: #a1a1aa;
}

[data-theme="dark"] .login-title,
[data-theme="dark"] .register-title {
  color: #a1a1aa !important;
}

/* ==================== 24. 个人中心页面覆盖 ==================== */
[data-theme="dark"] .profile-container,
[data-theme="dark"] .user-profile {
  background: #000000 !important;
}

[data-theme="dark"] .profile-card {
  background: #111113 !important;
  border-color: #1f1f23 !important;
}

/* ==================== 25. 关于页面覆盖 ==================== */
[data-theme="dark"] .about-container,
[data-theme="dark"] .about-section {
  background: #000000 !important;
}

/* ==================== 26. 通用白色背景面板 - 最强覆�?==================== */
[data-theme="dark"] .white-panel,
[data-theme="dark"] .white-card,
[data-theme="dark"] .white-bg,
[data-theme="dark"] .light-bg,
[data-theme="dark"] .light-panel,
[data-theme="dark"] .bg-light {
  background: #111113 !important;
  color: #71717a;
}

/* ==================== 27. 滚动条覆�?==================== */
[data-theme="dark"] ::-webkit-scrollbar {
  background: #0a0a0b;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #27272a;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #0a0a0b;
}

/* ==================== 28. 选中文字覆盖 ==================== */
[data-theme="dark"] ::selection {
  background: #27272a;
  color: #a1a1aa;
}

/* ==================== 29. 图片/图标亮度调整 ==================== */
[data-theme="dark"] img:not([src*="logo"]):not([src*="icon"]) {
  opacity: 0.85;
}

[data-theme="dark"] img:not([src*="logo"]):not([src*="icon"]):hover {
  opacity: 1;
}

/* ==================== 30. 代码块覆�?==================== */
[data-theme="dark"] code,
[data-theme="dark"] pre {
  background: #111113 !important;
  color: #71717a !important;
  border-color: #1f1f23 !important;
}

/* ================================================================
   特殊元素暗黑模式覆盖 - 针对选中的元�?   ================================================================ */

/* ==================== 首页 Hero 板块 ==================== */

/* 1. Hero区域主体 - 确保完全黑色背景 */
[data-theme="dark"] .portfolio-hero-section {
  background: #000000 !important;
  background-color: #000000 !important;
  /* 移动端视口完全覆�?*/
  min-height: 100vh;
  min-height: 100dvh;
}

/* 2. 所有遮罩层 - 暗黑模式优化 */
[data-theme="dark"] .portfolio-hero-overlay {
  background: transparent !important;
}

/* 暗色遮罩 - 增强对比�?*/
[data-theme="dark"] .portfolio-hero-overlay-dark {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.72) 25%,
    rgba(0, 0, 0, 0.48) 50%,
    rgba(0, 0, 0, 0.65) 75%,
    rgba(0, 0, 0, 0.82) 100%
  ) !important;
}

/* 渐变遮罩 - 降低亮度，使用深色调 */
[data-theme="dark"] .portfolio-hero-overlay-gradient {
  background:
    radial-gradient(ellipse 80% 60% at 25% 35%, rgba(161, 161, 170, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 72% 55%, rgba(161, 161, 170, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 75%, rgba(139, 92, 246, 0.04) 0%, transparent 60%) !important;
  mix-blend-mode: normal !important;
}

/* 底部渐变 - 关键修复：从白色改为黑色�?*/
[data-theme="dark"] .portfolio-hero-overlay-bottom {
  background: linear-gradient(
    to top,
    #060608 0%,
    rgba(6, 6, 8, 0.9) 10%,
    rgba(6, 6, 8, 0.5) 25%,
    rgba(6, 6, 8, 0) 40%
  ) !important;
}

/* 3. 装饰元素 - 暗黑模式适配 */
[data-theme="dark"] .portfolio-hero-decoration {
  opacity: 0.25;
}

/* 装饰�?- 改为深灰�?*/
[data-theme="dark"] .portfolio-hero-line-left,
[data-theme="dark"] .portfolio-hero-line-right {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(113, 113, 122, 0.15) 10%,
    rgba(113, 113, 122, 0.25) 35%,
    rgba(113, 113, 122, 0.25) 65%,
    rgba(113, 113, 122, 0.15) 90%,
    transparent 100%
  ) !important;
}

/* 4. 环境光效�?- 降低亮度 */
[data-theme="dark"] .hero-ambient-glow {
  opacity: 0.12;
}

[data-theme="dark"] .hero-glow-1,
[data-theme="dark"] .hero-glow-2,
[data-theme="dark"] .hero-glow-3 {
  background: radial-gradient(
    circle,
    rgba(161, 161, 170, 0.04) 0%,
    transparent 70%
  ) !important;
}

/* 5. 网格装饰 */
[data-theme="dark"] .hero-grid-decoration {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(113, 113, 122, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 113, 122, 0.08) 1px, transparent 1px) !important;
}

/* 6. 粒子效果 */
[data-theme="dark"] .hero-particles {
  opacity: 0.15;
}

/* 7. 内容区域 - 完全黑色背景 */
[data-theme="dark"] .portfolio-hero-content,
[data-theme="dark"] .portfolio-hero-container {
  background: transparent !important;
  /* 确保移动端完全覆�?*/
  min-height: 100vh;
  min-height: 100dvh;
}

[data-theme="dark"] .portfolio-hero-title,
[data-theme="dark"] .hero-title-line {
  color: rgba(255, 255, 255, 0.88) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 12px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .portfolio-hero-subtitle {
  color: rgba(255, 255, 255, 0.55) !important;
}

[data-theme="dark"] .subtitle-text {
  color: rgba(255, 255, 255, 0.75) !important;
}

[data-theme="dark"] .subtitle-accent {
  color: rgba(255, 255, 255, 0.45) !important;
}

[data-theme="dark"] .playground-link-premium {
  color: rgba(255, 255, 255, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

[data-theme="dark"] .portfolio-hero-button-primary {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0a0a0a !important;
  border-color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="dark"] .portfolio-hero-button-secondary {
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.65) !important;
}

[data-theme="dark"] .portfolio-hero-scroll-text {
  color: rgba(255, 255, 255, 0.3) !important;
}

[data-theme="dark"] .portfolio-hero-scroll-line {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.08) 100%
  ) !important;
}

[data-theme="dark"] .portfolio-hero-scroll-line::after {
  background: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .portfolio-hero-divider {
  background: rgba(255, 255, 255, 0.3) !important;
}

[data-theme="dark"] .portfolio-hero-divider::after {
  background: rgba(255, 255, 255, 0.4) !important;
}

/* ==================== 数据统计板块 - 高级质感暗黑模式 ==================== */
[data-theme="dark"] .portfolio-stats-section {
  background: #060608;
}

[data-theme="dark"] .portfolio-stats-line {
  background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .portfolio-stat-item {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
}

[data-theme="dark"] .portfolio-stat-value {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="dark"] .portfolio-stat-label {
  color: rgba(255, 255, 255, 0.35) !important;
}

[data-theme="dark"] .portfolio-stat-divider {
  background: rgba(255, 255, 255, 0.08);
}

/* ==================== 场景/痛点导航 ==================== */
[data-theme="dark"] .scene-nav,
[data-theme="dark"] .pain-nav {
  background: #000000 !important;
  border-bottom-color: #1f1f23 !important;
}

[data-theme="dark"] .scene-back-link,
[data-theme="dark"] .pain-back-link {
  color: #71717a !important;
}

/* ==================== 痛点卡片 ==================== */
[data-theme="dark"] .pain-card {
  background: #111113 !important;
  border-color: #1f1f23 !important;
}

[data-theme="dark"] .pain-card-desc {
  color: #71717a !important;
}

[data-theme="dark"] .pain-card-quadrant {
  color: #52525b !important;
}

[data-theme="dark"] .pain-card-indicator {
  color: #3f3f46 !important;
}

/* ==================== 核心能力展示板块 - 高级质感暗黑模式 ==================== */
[data-theme="dark"] .portfolio-features-section {
  background: #060608;
  border-top-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .portfolio-features-title {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .portfolio-features-subtitle {
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .portfolio-feature-item {
  background: #111113;
  border-color: #27272a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .portfolio-feature-item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.35),
    0 12px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .feature-image-wrapper {
  background: transparent !important;
}

[data-theme="dark"] .feature-label {
  color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .feature-title {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .feature-description {
  color: rgba(255, 255, 255, 0.42);
}

[data-theme="dark"] .feature-learn-more {
  color: rgba(255, 255, 255, 0.42);
}

[data-theme="dark"] .feature-learn-more:hover {
  color: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

[data-theme="dark"] .feature-learn-more {
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.22s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.22s cubic-bezier(0.25, 0.1, 0.25, 1);
}

[data-theme="dark"] .features-control-btn {
  background: #1a1a1e;
  border-color: #27272a;
  color: rgba(255, 255, 255, 0.42);
}

[data-theme="dark"] .features-control-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.88);
  color: #1d1d1f;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .features-control-btn:disabled {
  opacity: 0.25;
}

/* ==================== 技术栈卡片 - inline style白色 ==================== */
[data-theme="dark"] .fade-in-up[style*="background: rgb(250, 250, 250)"],
[data-theme="dark"] .fade-in-up[style*="background: rgb(255, 255, 255)"] {
  background: #111113 !important;
  border-color: #1f1f23 !important;
}

[data-theme="dark"] .fade-in-up h3 {
  color: #a1a1aa !important;
}

[data-theme="dark"] .fade-in-up [style*="background:#1a1a1a"],
[data-theme="dark"] .fade-in-up [style*="background: #1a1a1a"] {
  background: #27272a !important;
  color: #a1a1aa !important;
}

[data-theme="dark"] .fade-in-up [style*="background:#ffffff"],
[data-theme="dark"] .fade-in-up [style*="background: #ffffff"] {
  background: #18181b !important;
  border-color: #27272a !important;
  color: #71717a !important;
}

[data-theme="dark"] .fade-in-up [style*="color:#1a1a1a"],
[data-theme="dark"] .fade-in-up [style*="color: #1a1a1a"] {
  color: #71717a !important;
}

[data-theme="dark"] .fade-in-up [style*="stroke:currentColor"] svg {
  stroke: #71717a !important;
}

[data-theme="dark"] .fade-in-up [style*="fill:currentColor"] svg {
  fill: #71717a !important;
}

/* ==================== 新闻卡片 - 优化排版和暗黑模�?==================== */
[data-theme="dark"] .news-card {
  background: transparent !important;
}

/* 强覆盖所有子元素�?inline style - 新闻卡片 */
[data-theme="dark"] .news-card *,
[data-theme="dark"] .news-card *:before,
[data-theme="dark"] .news-card *:after {
  background-color: transparent !important;
  background-image: none !important;
}

/* 直接子容�?*/
[data-theme="dark"] .news-card > div {
  background: #111113 !important;
  border-color: #1f1f23 !important;
}

/* 所有带�?style 属性的子元�?*/
[data-theme="dark"] .news-card [style*="background"] {
  background: #111113 !important;
  background-color: #111113 !important;
}

[data-theme="dark"] .news-card [style*="background:#fafafa"],
[data-theme="dark"] .news-card [style*="background: #fafafa"] {
  background: #111113 !important;
  border-color: #1f1f23 !important;
}

[data-theme="dark"] .news-card [style*="background:#f5f5f7"],
[data-theme="dark"] .news-card [style*="background: #f5f5f7"] {
  background: #0a0a0b !important;
  border-color: #1f1f23 !important;
}

[data-theme="dark"] .news-card [style*="background:rgba(255, 255, 255, 0.95)"],
[data-theme="dark"] .news-card [style*="background: rgba(255, 255, 255, 0.95)"] {
  background: rgba(63, 63, 70, 0.95) !important;
  border-color: #27272a !important;
}

/* 强覆盖所有文字颜�?*/
[data-theme="dark"] .news-card [style*="color"] {
  color: #71717a !important;
}

[data-theme="dark"] .news-card [style*="color:#1a1a1a"],
[data-theme="dark"] .news-card [style*="color: #1a1a1a"] {
  color: #71717a !important;
}

[data-theme="dark"] .news-card [style*="color:#8a8a8a"],
[data-theme="dark"] .news-card [style*="color: #8a8a8a"],
[data-theme="dark"] .news-card [style*="color:#6b6b6b"],
[data-theme="dark"] .news-card [style*="color: #6b6b6b"] {
  color: #52525b !important;
}

[data-theme="dark"] .news-card h3,
[data-theme="dark"] .news-card [style*="font-size:18px"] {
  color: #a1a1aa !important;
}

[data-theme="dark"] .news-card p,
[data-theme="dark"] .news-card [style*="font-size:14px"] {
  color: #52525b !important;
}

[data-theme="dark"] .news-card [style*="stroke:#1a1a1a"],
[data-theme="dark"] .news-card [style*="stroke: #1a1a1a"] {
  stroke: #71717a !important;
}

/* ==================== 通用 inline style 白色覆盖 - 终极兜底 ==================== */
/* 覆盖所有背景色 */
[data-theme="dark"] [style*="background: rgb(255, 255, 255)"],
[data-theme="dark"] [style*="background:rgb(255,255,255)"],
[data-theme="dark"] [style*="background-color: rgb(255, 255, 255)"],
[data-theme="dark"] [style*="background-color:rgb(255,255,255)"] {
  background: #111113 !important;
  background-color: #111113 !important;
}

[data-theme="dark"] [style*="background: rgb(250, 250, 250)"],
[data-theme="dark"] [style*="background:rgb(250,250,250)"],
[data-theme="dark"] [style*="background-color: rgb(250, 250, 250)"],
[data-theme="dark"] [style*="background-color:rgb(250,250,250)"] {
  background: #0a0a0b !important;
  background-color: #0a0a0b !important;
}

/* 覆盖所有边框色 */
[data-theme="dark"] [style*="border: 1px solid rgb(232, 232, 232)"],
[data-theme="dark"] [style*="border:1px solid rgb(232,232,232)"],
[data-theme="dark"] [style*="border-color: rgb(232, 232, 232)"],
[data-theme="dark"] [style*="border-color:rgb(232,232,232)"] {
  border-color: #1f1f23 !important;
}

/* 覆盖所有文字色 */
[data-theme="dark"] [style*="color: rgb(26, 26, 26)"],
[data-theme="dark"] [style*="color:rgb(26,26,26)"],
[data-theme="dark"] [style*="color: rgb(10, 10, 10)"],
[data-theme="dark"] [style*="color:rgb(10,10,10)"] {
  color: #71717a !important;
}

[data-theme="dark"] [style*="color: rgb(138, 138, 138)"],
[data-theme="dark"] [style*="color:rgb(138,138,138)"],
[data-theme="dark"] [style*="color: rgb(107, 107, 107)"],
[data-theme="dark"] [style*="color:rgb(107,107,107)"] {
  color: #52525b !important;
}

/* 覆盖所有背景色 - 其他�?*/
[data-theme="dark"] [style*="background: rgb(26, 26, 26)"],
[data-theme="dark"] [style*="background:rgb(26,26,26)"],
[data-theme="dark"] [style*="background-color: rgb(26, 26, 26)"],
[data-theme="dark"] [style*="background-color:rgb(26,26,26)"] {
  background: #27272a !important;
  background-color: #27272a !important;
  color: #a1a1aa !important;
}

/* 覆盖边框�?- 其他�?*/
[data-theme="dark"] [style*="border: 1.5px solid rgb(26, 26, 26)"],
[data-theme="dark"] [style*="border:1.5px solid rgb(26,26,26)"],
[data-theme="dark"] [style*="border-color: rgb(26, 26, 26)"],
[data-theme="dark"] [style*="border-color:rgb(26,26,26)"] {
  border-color: #3f3f46 !important;
}

[data-theme="dark"] [style*="border: 1.5px solid rgb(208, 208, 208)"],
[data-theme="dark"] [style*="border:1.5px solid rgb(208,208,208)"],
[data-theme="dark"] [style*="border-color: rgb(208, 208, 208)"],
[data-theme="dark"] [style*="border-color:rgb(208,208,208)"] {
  border-color: #27272a !important;
}

/* 覆盖 SVG stroke �?fill */
[data-theme="dark"] [style*="stroke: rgb(26, 26, 26)"],
[data-theme="dark"] [style*="stroke:rgb(26,26,26)"] {
  stroke: #71717a !important;
}

[data-theme="dark"] [style*="fill: rgb(255, 255, 255)"],
[data-theme="dark"] [style*="fill:rgb(255,255,255)"] {
  fill: #27272a !important;
}

[data-theme="dark"] [style*="color: rgb(255, 255, 255)"],
[data-theme="dark"] [style*="color:rgb(255,255,255)"] {
  color: #a1a1aa !important;
}

/* 终极兜底：所有带 style 属性的元素都覆盖背景和文字 */
[data-theme="dark"] [style*="background"] {
  background-color: #111113 !important;
}

[data-theme="dark"] [style*="color"] {
  color: #71717a !important;
}

/* 终极兜底：所有子元素 */
[data-theme="dark"] * {
  border-color: #1f1f23 !important;
}

/* 例外：保留图片背�?*/
[data-theme="dark"] img[style*="background"] {
  background-color: transparent !important;
}

/* 最最终极的规则：针对新闻卡片所有元�?*/
[data-theme="dark"] .news-card [style],
[data-theme="dark"] .news-card div[style],
[data-theme="dark"] .news-card span[style],
[data-theme="dark"] .news-card h3[style],
[data-theme="dark"] .news-card p[style],
[data-theme="dark"] .news-card svg[style] {
  background-color: #111113 !important;
  background: #111113 !important;
  color: #71717a !important;
  border-color: #1f1f23 !important;
  stroke: #71717a !important;
  fill: #71717a !important;
}

[data-theme="dark"] .news-card [style*="background:#fafafa"],
[data-theme="dark"] .news-card [style*="background: #fafafa"] {
  background-color: #111113 !important;
  background: #111113 !important;
}

[data-theme="dark"] .news-card [style*="background:#f5f5f7"],
[data-theme="dark"] .news-card [style*="background: #f5f5f7"] {
  background-color: #0a0a0b !important;
  background: #0a0a0b !important;
}

[data-theme="dark"] .news-card [style*="background:rgba(255, 255, 255, 0.95)"] {
  background-color: rgba(63, 63, 70, 0.95) !important;
  background: rgba(63, 63, 70, 0.95) !important;
}

[data-theme="dark"] .news-card [style*="color:#1a1a1a"] {
  color: #71717a !important;
}

[data-theme="dark"] .news-card [style*="color:#8a8a8a"],
[data-theme="dark"] .news-card [style*="color:#6b6b6b"] {
  color: #52525b !important;
}

/* ==================== 新闻动态页�?- 全新设计 V2 暗黑模式 ==================== */
[data-theme="dark"] .news-page {
  background: #000000 !important;
  background-color: #000000 !important;
}

[data-theme="dark"] .news-header-bar {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #1c1c1f;
}

[data-theme="dark"] .news-back-link {
  color: #71717a;
  border-color: #27272a;
  background: #18181b;
}

[data-theme="dark"] .news-back-link:hover {
  color: #a1a1aa;
  background: #27272a;
  border-color: #3f3f46;
}

[data-theme="dark"] .news-content {
  /* 保持原有 padding */
}

/* 英雄区域 */
[data-theme="dark"] .news-hero-badge {
  background: #fafafa;
  color: #18181b;
}

[data-theme="dark"] .news-hero-title {
  color: #fafafa;
}

[data-theme="dark"] .news-hero-desc {
  color: #a1a1aa;
}

/* 筛选按�?*/
[data-theme="dark"] .news-filters-wrap {
  background: #18181b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .news-filter-btn {
  color: #a1a1aa;
}

[data-theme="dark"] .news-filter-btn:hover {
  color: #e4e4e7;
  background: #27272a;
}

[data-theme="dark"] .news-filter-btn::before {
  background: #fafafa;
}

[data-theme="dark"] .news-filter-btn.active {
  color: #ffffff;
}

/* 新闻卡片 - 左图右文布局 */
[data-theme="dark"] .news-grid {
  gap: 28px;
}

[data-theme="dark"] .news-card-new {
  background: #18181b;
  border-color: #27272a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .news-card-new.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-theme="dark"] .news-card-new:hover {
  border-color: #3f3f46;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* 图片区域 */
[data-theme="dark"] .news-card-img-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 100%);
}

[data-theme="dark"] .news-card-tag {
  background: rgba(39, 39, 42, 0.95);
  backdrop-filter: blur(8px);
  color: #d4d4d8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 内容区域 */
[data-theme="dark"] .news-card-body {
  /* 保持原有 padding */
}

[data-theme="dark"] .news-card-time {
  color: #71717a;
}

[data-theme="dark"] .news-card-heading {
  color: #fafafa;
}

[data-theme="dark"] .news-card-new:hover .news-card-heading {
  color: #ffffff;
}

[data-theme="dark"] .news-card-text {
  color: #a1a1aa;
}

[data-theme="dark"] .news-card-action {
  color: #e4e4e7;
}

[data-theme="dark"] .news-card-action:hover {
  color: #ffffff;
}

[data-theme="dark"] .news-card-arrow-icon {
  stroke: currentColor;
}

/* 加载更多按钮 */
[data-theme="dark"] .news-load-more-btn {
  border-color: #27272a;
  background: #18181b;
  color: #a1a1aa;
}

[data-theme="dark"] .news-load-more-btn:hover {
  border-color: #e4e4e7;
  color: #e4e4e7;
  box-shadow: 0 8px 24px rgba(228, 228, 231, 0.1);
}

/* 订阅区域 - 黑白渐变 */
[data-theme="dark"] .news-subscribe-box {
  background: linear-gradient(135deg, #27272a 0%, #18181b 100%);
}

[data-theme="dark"] .news-subscribe-box::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

[data-theme="dark"] .news-subscribe-icon {
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

[data-theme="dark"] .news-subscribe-title {
  color: #ffffff;
}

[data-theme="dark"] .news-subscribe-text {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .news-subscribe-input {
  background: rgba(255, 255, 255, 0.95);
  color: #18181b;
}

[data-theme="dark"] .news-subscribe-input::placeholder {
  color: #71717a;
}

[data-theme="dark"] .news-subscribe-input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .news-subscribe-submit {
  background: #fafafa;
  color: #18181b;
}

[data-theme="dark"] .news-subscribe-submit:hover {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .news-subscribe-submit.success {
  background: #34d399;
}

/* ==================== 功能详情弹窗 - 完整暗黑模式适配 ==================== */
[data-theme="dark"] .feature-modal-overlay {
  background: rgba(0, 0, 0, 0.75) !important;
}

[data-theme="dark"] .feature-modal {
  background: #18181b !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .feature-modal-close {
  background: rgba(63, 63, 70, 0.5) !important;
  color: #e4e4e7 !important;
}

[data-theme="dark"] .feature-modal-close:hover {
  background: rgba(63, 63, 70, 0.8) !important;
}

[data-theme="dark"] .feature-modal-image-wrapper {
  background: #27272a !important;
}

[data-theme="dark"] .feature-modal-image {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .feature-modal-text {
  background: transparent !important;
}

[data-theme="dark"] .feature-modal-label {
  color: #71717a !important;
}

[data-theme="dark"] .feature-modal-title {
  color: #fafafa !important;
}

[data-theme="dark"] .feature-modal-description {
  color: #a1a1aa !important;
}

[data-theme="dark"] .feature-modal-detail-item {
  border-bottom-color: #3f3f46 !important;
}

[data-theme="dark"] .feature-modal-detail-icon {
  color: #a1a1aa !important;
}

[data-theme="dark"] .feature-modal-detail-text {
  color: #e4e4e7 !important;
}

[data-theme="dark"] .feature-modal-cta {
  background: #fafafa !important;
  color: #09090b !important;
}

[data-theme="dark"] .feature-modal-cta:hover {
  background: #ffffff !important;
}

[data-theme="dark"] .feature-modal-cta::after {
  border-top-color: #09090b !important;
  border-right-color: #09090b !important;
}

/* ==================== 热力图分析页面（AI诊断�? 完整暗黑模式适配 ==================== */
[data-theme="dark"] .heatmap-module {
  background: #000000 !important;
}

[data-theme="dark"] .heatmap-nav {
  background: #000000 !important;
}

[data-theme="dark"] .heatmap-back-link {
  color: #71717a !important;
  border-color: transparent !important;
  background: transparent !important;
}

[data-theme="dark"] .heatmap-back-link:hover {
  color: #a1a1aa !important;
  background: transparent !important;
}

/* 页面标题 */
[data-theme="dark"] .heatmap-header-section {
  background: #000000 !important;
}

[data-theme="dark"] .heatmap-label {
  color: #71717a !important;
}

[data-theme="dark"] .heatmap-main-title {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-sub-description {
  color: #a1a1aa !important;
}

/* 内容区域 */
[data-theme="dark"] .heatmap-content-section {
  background: #000000 !important;
}

/* 分析模式选择 */
[data-theme="dark"] .heatmap-mode-section {
  background: #000000 !important;
}

[data-theme="dark"] .heatmap-section-label {
  color: #71717a !important;
}

[data-theme="dark"] .heatmap-section-title {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-mode-card {
  background: #18181b !important;
  border-color: #27272a !important;
}

[data-theme="dark"] .heatmap-mode-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .heatmap-mode-card.selected {
  box-shadow: 0 0 0 3px rgba(161, 161, 170, 0.15) !important;
}

[data-theme="dark"] .heatmap-mode-icon {
  background: #27272a !important;
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-mode-card:hover .heatmap-mode-icon {
  background: #3f3f46 !important;
}

[data-theme="dark"] .heatmap-mode-card.selected .heatmap-mode-icon {
  background: #a1a1aa !important;
  color: #09090b !important;
}

[data-theme="dark"] .heatmap-mode-title {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-mode-desc {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-mode-feature {
  background: rgba(63, 63, 70, 0.4) !important;
  color: #a1a1aa !important;
}

/* 底部操作按钮 */
[data-theme="dark"] .heatmap-actions-section {
  background: #000000 !important;
}

[data-theme="dark"] .heatmap-btn-outline {
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-btn-outline:hover {
  background: #27272a !important;
}

[data-theme="dark"] .heatmap-btn-primary {
  background: #a1a1aa !important;
  color: #09090b !important;
}

[data-theme="dark"] .heatmap-btn-primary:hover {
  background: #d4d4d8 !important;
}

[data-theme="dark"] .heatmap-btn-primary:disabled {
  background: #3f3f46 !important;
  color: #71717a !important;
}

/* ==================== 热力图分析页�?- 上传区域暗黑模式适配 ==================== */
[data-theme="dark"] .heatmap-upload-section {
  background: #000000 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .heatmap-upload-type {
  color: #a1a1aa !important;
  background: rgba(63, 63, 70, 0.4) !important;
}

[data-theme="dark"] .heatmap-upload-hint-text {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-upload-area {
  border-color: #3f3f46 !important;
  background: #27272a !important;
}

[data-theme="dark"] .heatmap-upload-area:hover,
[data-theme="dark"] .heatmap-upload-area.dragover {
  border-color: #a1a1aa !important;
  background: #3f3f46 !important;
}

[data-theme="dark"] .heatmap-upload-icon {
  background: #3f3f46 !important;
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-upload-area:hover .heatmap-upload-icon,
[data-theme="dark"] .heatmap-upload-area.dragover .heatmap-upload-icon {
  background: rgba(250, 250, 250, 0.1) !important;
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-upload-title {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-upload-text {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-upload-hint {
  color: #71717a !important;
}

[data-theme="dark"] .heatmap-upload-btn {
  background: #a1a1aa !important;
  color: #09090b !important;
}

[data-theme="dark"] .heatmap-upload-btn:hover {
  background: #d4d4d8 !important;
}

/* ==================== 热力图分析页�?- 文件预览暗黑模式适配 ==================== */
[data-theme="dark"] .heatmap-preview-container {
  background: #27272a !important;
}

[data-theme="dark"] .heatmap-preview-media {
  background: #3f3f46 !important;
}

[data-theme="dark"] .heatmap-preview-name {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-preview-size {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-btn-remove {
  color: #ef4444 !important;
}

[data-theme="dark"] .heatmap-btn-remove:hover {
  background: rgba(239, 68, 68, 0.1) !important;
}

/* ==================== 热力图分析页�?- 结果区域暗黑模式适配 ==================== */
[data-theme="dark"] .heatmap-result-section {
  background: #000000 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .heatmap-result-title {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-result-desc {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-element-card {
  background: #27272a !important;
}

[data-theme="dark"] .heatmap-element-icon {
  background: #3f3f46 !important;
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-element-name {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-element-desc {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-visualization-section {
  background: #27272a !important;
}

[data-theme="dark"] .heatmap-visualization-title {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-visualization-desc {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-analysis-card {
  background: #27272a !important;
}

[data-theme="dark"] .heatmap-analysis-title {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-analysis-value {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-analysis-label {
  color: #71717a !important;
}

[data-theme="dark"] .heatmap-visualization-placeholder {
  background: #3f3f46 !important;
}

[data-theme="dark"] .heatmap-visualization-placeholder-icon {
  color: #71717a !important;
}

[data-theme="dark"] .heatmap-visualization-placeholder-text {
  color: #a1a1aa !important;
}

[data-theme="dark"] .heatmap-visualization-placeholder-hint {
  color: #71717a !important;
}

/* ==================== 3D预览页面 - UI暗黑模式适配 ==================== */
[data-theme="dark"] .3dspace-module {
  background: #09090b !important;
}

[data-theme="dark"] .3dspace-module > div:first-child {
  background: #09090b !important;
  border-color: #1f1f23 !important;
}

[data-theme="dark"] .3dspace-module > div:first-child h1 {
  color: #fafafa !important;
}

[data-theme="dark"] .3dspace-module > div:first-child p {
  color: #a1a1aa !important;
}

[data-theme="dark"] .3dspace-module > div:first-child a {
  color: #a1a1aa !important;
  border-color: #27272a !important;
  background: #18181b !important;
}

[data-theme="dark"] .3dspace-module > div:first-child a:hover {
  color: #e4e4e7 !important;
  background: #27272a !important;
}

[data-theme="dark"] .3dspace-module > div:nth-child(2) {
  background: #09090b !important;
}

[data-theme="dark"] #space3d-canvas {
  background: transparent !important;
}

[data-theme="dark"] #space3d-canvas > div:first-child {
  background: transparent !important;
}

[data-theme="dark"] .3dspace-module #space3d-canvas + div {
  background: #18181b !important;
  border-color: #27272a !important;
}

[data-theme="dark"] .3dspace-module #space3d-canvas + div button {
  background: #18181b !important;
  border-color: #27272a !important;
  color: #e4e4e7 !important;
}

[data-theme="dark"] .3dspace-module #space3d-canvas + div button:hover {
  background: #27272a !important;
}

[data-theme="dark"] .3dspace-module #space3d-canvas + div span {
  color: #71717a !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:first-child > div:first-child,
[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:first-child > div:nth-child(2) {
  background: #18181b !important;
  border-color: #27272a !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:first-child > div:first-child div:first-child,
[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:first-child > div:nth-child(2) div:first-child {
  color: #fafafa !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:first-child > div:first-child div:nth-child(2),
[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:first-child > div:nth-child(2) div:nth-child(2) {
  color: #a1a1aa !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:first-child > div:first-child div:nth-child(3),
[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:first-child > div:nth-child(2) div:nth-child(3) {
  border-color: #27272a !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:first-child > div:first-child div:nth-child(3) div:first-child,
[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:first-child > div:nth-child(2) div:nth-child(3) div:first-child {
  color: #71717a !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:first-child > div:first-child div:nth-child(3) div:nth-child(2),
[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:first-child > div:nth-child(2) div:nth-child(3) div:nth-child(2) {
  color: #fafafa !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:nth-child(2) > div {
  background: #18181b !important;
  border-color: #27272a !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:nth-child(2) > div div:first-child {
  background: #27272a !important;
  color: #e4e4e7 !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:nth-child(2) > div div:nth-child(2) {
  background: #18181b !important;
  border-color: #27272a !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:nth-child(2) > div div:nth-child(2) div:first-child {
  color: #fafafa !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:nth-child(2) > div div:nth-child(2) div:nth-child(2) {
  color: #71717a !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:nth-child(2) > div a:first-of-type {
  background: #fafafa !important;
  color: #09090b !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:nth-child(2) > div a:first-of-type:hover {
  background: #ffffff !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:nth-child(2) > div button {
  background: #18181b !important;
  border-color: #27272a !important;
  color: #e4e4e7 !important;
}

[data-theme="dark"] .3dspace-module .3dspace-module > div:nth-child(2) > div > div:nth-child(2) > div button:hover {
  background: #27272a !important;
}

/* ==================== 核心能力详情�?- 完整暗黑模式适配 ==================== */
/* Hero区域 */
[data-theme="dark"] .intro-hero {
  background: #09090b !important;
}

[data-theme="dark"] .intro-back-btn {
  color: #a1a1aa !important;
}

[data-theme="dark"] .intro-back-btn:hover {
  color: #e4e4e7 !important;
}

[data-theme="dark"] .intro-label {
  color: #71717a !important;
}

[data-theme="dark"] .intro-title {
  color: #fafafa !important;
}

[data-theme="dark"] .intro-subtitle {
  color: #a1a1aa !important;
}

/* 内容区域 */
[data-theme="dark"] .intro-content {
  background: #09090b !important;
}

[data-theme="dark"] .intro-section-title {
  color: #e4e4e7 !important;
}

[data-theme="dark"] .intro-section-description {
  color: #a1a1aa !important;
}

[data-theme="dark"] .intro-section-image img {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
}

/* 功能特性列�?*/
[data-theme="dark"] .intro-feature-icon {
  background: rgba(63, 63, 70, 0.4) !important;
  color: #a1a1aa !important;
}

[data-theme="dark"] .intro-feature-content h3 {
  color: #e4e4e7 !important;
}

[data-theme="dark"] .intro-feature-content p {
  color: #a1a1aa !important;
}

/* 步骤列表 */
[data-theme="dark"] .intro-step-number {
  color: #a1a1aa !important;
  background: rgba(63, 63, 70, 0.4) !important;
}

[data-theme="dark"] .intro-step-content h3 {
  color: #e4e4e7 !important;
}

[data-theme="dark"] .intro-step-content p {
  color: #a1a1aa !important;
}

/* CTA区域 */
[data-theme="dark"] .intro-cta-section {
  background: #18181b !important;
}

[data-theme="dark"] .intro-cta-section h2 {
  color: #fafafa !important;
}

[data-theme="dark"] .intro-cta-section p {
  color: #a1a1aa !important;
}

[data-theme="dark"] .intro-cta-primary {
  background: #fafafa !important;
  color: #09090b !important;
}

[data-theme="dark"] .intro-cta-primary:hover {
  background: #ffffff !important;
}

[data-theme="dark"] .intro-cta-secondary {
  color: #a1a1aa !important;
  border-color: #3f3f46 !important;
}

[data-theme="dark"] .intro-cta-secondary:hover {
  border-color: #a1a1aa !important;
}

/* ==================== 3D空间预览 - Apple/Linear/Pentagram 高端设计 暗黑模式 ==================== */
[data-theme="dark"] .space3d-premium {
  background: linear-gradient(180deg, #09090b 0%, #0c0c0e 50%, #101013 100%);
}

[data-theme="dark"] .space3d-header {
  background: rgba(24, 24, 27, 0.85);
  border-color: rgba(63, 63, 70, 0.5);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.2),
    0 2px 4px -2px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .space3d-back {
  color: #a1a1aa;
}

[data-theme="dark"] .space3d-back:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fafafa;
}

[data-theme="dark"] .space3d-title-group {
  border-left-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .space3d-title {
  color: #fafafa;
}

[data-theme="dark"] .space3d-subtitle {
  color: #71717a;
}

[data-theme="dark"] .space3d-controls-float {
  background: rgba(24, 24, 27, 0.85);
  border-color: rgba(63, 63, 70, 0.5);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.2),
    0 2px 4px -2px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .space3d-control-btn {
  color: #a1a1aa;
}

[data-theme="dark"] .space3d-control-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fafafa;
}

[data-theme="dark] .space3d-divider {
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

[data-theme="dark"] .space3d-hint {
  color: #71717a;
}

/* 右侧信息面板 */
[data-theme="dark"] .space3d-panel {
  background: rgba(24, 24, 27, 0.85);
  border-color: rgba(63, 63, 70, 0.5);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.25),
    0 2px 4px -2px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .space3d-panel-label {
  color: #71717a;
}

[data-theme="dark"] .space3d-panel-value {
  color: #fafafa;
}

[data-theme="dark"] .space3d-panel-detail {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
}

[data-theme="dark"] .space3d-panel-detail svg {
  color: #52525b;
}

[data-theme="dark"] .space3d-panel-count {
  color: #71717a;
  background: rgba(255, 255, 255, 0.06);
}

/* 工具包列�?*/
[data-theme="dark"] .space3d-tool-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .space3d-tool-item:hover {
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
}

[data-theme="dark"] .space3d-tool-name {
  color: #e4e4e7;
}

[data-theme="dark"] .space3d-tool-price {
  color: #71717a;
}

/* 价格卡片 */
[data-theme="dark"] .space3d-pricing-card {
  background: #18181b !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

[data-theme="dark"] .space3d-pricing-label {
  color: #71717a;
}

[data-theme="dark"] .space3d-pricing-amount {
  color: #ffffff;
}

[data-theme="dark"] .space3d-export-btn {
  background: #ffffff;
  color: #09090b;
}

[data-theme="dark"] .space3d-export-btn:hover {
  background: #f9fafb;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

/* ==================== 隐私政策页面 - Apple/Linear风格 暗黑模式 ==================== */
[data-theme="dark"] .privacy-module .page-header-glass {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 1) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .privacy-module .page-title {
  color: #e4e4e7;
}

[data-theme="dark"] .privacy-module .page-subtitle {
  color: #71717a;
}

[data-theme="dark"] .privacy-content-card {
  background: rgba(0, 0, 0, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .privacy-meta {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .privacy-update-badge {
  background: rgba(161, 161, 170, 0.15);
  color: #a1a1aa;
}

[data-theme="dark"] .privacy-section h2 {
  color: #e4e4e7;
}

[data-theme="dark"] .privacy-section h3 {
  color: #a1a1aa;
}

[data-theme="dark"] .privacy-section p {
  color: #71717a;
}

[data-theme="dark"] .privacy-section ul li {
  color: #71717a;
}

[data-theme="dark"] .privacy-section ul li strong {
  color: #a1a1aa;
}

[data-theme="dark"] .measure-item {
  background: rgba(17, 17, 19, 0.9);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .measure-item:hover {
  background: rgba(161, 161, 170, 0.1);
  border-color: rgba(161, 161, 170, 0.2);
}

[data-theme="dark"] .measure-item svg {
  color: #a1a1aa;
}

[data-theme="dark"] .measure-item h5 {
  color: #e4e4e7;
}

[data-theme="dark"] .measure-item p {
  color: #71717a;
}

[data-theme="dark"] .right-item {
  background: rgba(17, 17, 19, 0.9);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .right-item:hover {
  background: rgba(161, 161, 170, 0.1);
  border-color: rgba(161, 161, 170, 0.2);
}

[data-theme="dark"] .right-item svg {
  color: #a1a1aa;
}

[data-theme="dark"] .right-item span {
  color: #a1a1aa;
}

[data-theme="dark"] .privacy-contact-box {
  border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .privacy-contact-item {
  background: rgba(17, 17, 19, 0.9);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .privacy-contact-item:hover {
  background: rgba(161, 161, 170, 0.1);
  border-color: rgba(161, 161, 170, 0.2);
}

[data-theme="dark"] .privacy-contact-item svg {
  color: #a1a1aa;
}

[data-theme="dark"] .privacy-contact-item span {
  color: #a1a1aa;
}

[data-theme="dark"] .privacy-actions {
  border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .privacy-back-btn {
  background: #a1a1aa;
  box-shadow: 0 8px 20px rgba(161, 161, 170, 0.3);
}

[data-theme="dark"] .privacy-back-btn:hover {
  background: #71717a;
  box-shadow: 0 8px 20px rgba(161, 161, 170, 0.4);
}

/* ==================== 服务条款页面 - Apple/Linear风格 暗黑模式 ==================== */
[data-theme="dark"] .terms-module .page-header-glass {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 1) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .terms-module .page-title {
  color: #e4e4e7;
}

[data-theme="dark"] .terms-module .page-subtitle {
  color: #71717a;
}

[data-theme="dark"] .terms-content-card {
  background: rgba(0, 0, 0, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .terms-meta {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .terms-update-badge {
  background: rgba(161, 161, 170, 0.15);
  color: #a1a1aa;
}

[data-theme="dark"] .terms-section h2 {
  color: #e4e4e7;
}

[data-theme="dark"] .terms-section h3 {
  color: #a1a1aa;
}

[data-theme="dark"] .terms-section p {
  color: #71717a;
}

[data-theme="dark"] .terms-section ul li {
  color: #71717a;
}

[data-theme="dark"] .terms-section a {
  color: #a1a1aa;
}

[data-theme="dark"] .terms-section a:hover {
  color: #a1a1aa;
}

[data-theme="dark"] .terms-contact-item {
  background: rgba(17, 17, 19, 0.9);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .terms-contact-item:hover {
  background: rgba(161, 161, 170, 0.1);
  border-color: rgba(161, 161, 170, 0.2);
}

[data-theme="dark"] .terms-contact-item svg {
  color: #a1a1aa;
}

[data-theme="dark"] .terms-contact-item span {
  color: #a1a1aa;
}

[data-theme="dark"] .terms-actions {
  border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .terms-back-btn {
  background: #a1a1aa;
  box-shadow: 0 8px 20px rgba(161, 161, 170, 0.3);
}

[data-theme="dark"] .terms-back-btn:hover {
  background: #71717a;
  box-shadow: 0 8px 20px rgba(161, 161, 170, 0.4);
}

/* ==================== 终极覆盖 - 隐私政策与服务条款页面纯黑色背景 ==================== */
[data-theme="dark"] .privacy-module,
[data-theme="dark"] .privacy-container,
[data-theme="dark"] .terms-module,
[data-theme="dark"] .terms-container {
  background: #000000 !important;
}

[data-theme="dark"] .privacy-module *,
[data-theme="dark"] .terms-module * {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .privacy-content-card,
[data-theme="dark"] .terms-content-card {
  background: rgba(0, 0, 0, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .measure-item,
[data-theme="dark"] .right-item,
[data-theme="dark"] .privacy-contact-item,
[data-theme="dark"] .terms-contact-item {
  background: rgba(17, 17, 19, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

[data-theme="dark"] .measure-item:hover,
[data-theme="dark"] .right-item:hover,
[data-theme="dark"] .privacy-contact-item:hover,
[data-theme="dark"] .terms-contact-item:hover {
  background: rgba(161, 161, 170, 0.1) !important;
  border-color: rgba(161, 161, 170, 0.2) !important;
}

/* ==================== 终极强制覆盖 - 隐私政策与服务条款页�?- 所有白色转黑色 ==================== */
[data-theme="dark"] .privacy-module *,
[data-theme="dark"] .terms-module * {
  background-color: transparent !important;
  background: transparent !important;
}

[data-theme="dark"] .privacy-module,
[data-theme="dark"] .terms-module,
[data-theme="dark"] .privacy-module > *,
[data-theme="dark"] .terms-module > * {
  background-color: #000000 !important;
  background: #000000 !important;
}

[data-theme="dark"] .privacy-module .container,
[data-theme="dark"] .terms-module .container {
  background-color: transparent !important;
  background: transparent !important;
}

[data-theme="dark"] .privacy-content-card,
[data-theme="dark"] .terms-content-card {
  background-color: rgba(0, 0, 0, 0.98) !important;
  background: rgba(0, 0, 0, 0.98) !important;
}

[data-theme="dark"] .privacy-module h1,
[data-theme="dark"] .privacy-module h2,
[data-theme="dark"] .privacy-module h3,
[data-theme="dark"] .privacy-module h4,
[data-theme="dark"] .privacy-module h5,
[data-theme="dark"] .privacy-module h6,
[data-theme="dark"] .privacy-module p,
[data-theme="dark"] .privacy-module li,
[data-theme="dark"] .privacy-module span,
[data-theme="dark"] .privacy-module div,
[data-theme="dark"] .terms-module h1,
[data-theme="dark"] .terms-module h2,
[data-theme="dark"] .terms-module h3,
[data-theme="dark"] .terms-module h4,
[data-theme="dark"] .terms-module h5,
[data-theme="dark"] .terms-module h6,
[data-theme="dark"] .terms-module p,
[data-theme="dark"] .terms-module li,
[data-theme="dark"] .terms-module span,
[data-theme="dark"] .terms-module div {
  background-color: transparent !important;
  background: transparent !important;
}

/* 覆盖所有带内联样式的白色背�?*/
[data-theme="dark"] .privacy-module [style*="background"],
[data-theme="dark"] .terms-module [style*="background"],
[data-theme="dark"] .privacy-module [style*="white"],
[data-theme="dark"] .terms-module [style*="white"],
[data-theme="dark"] .privacy-module [style*="WHITE"],
[data-theme="dark"] .terms-module [style*="WHITE"],
[data-theme="dark"] .privacy-module [style*="#fff"],
[data-theme="dark"] .terms-module [style*="#fff"],
[data-theme="dark"] .privacy-module [style*="#FFF"],
[data-theme="dark"] .terms-module [style*="#FFF"],
[data-theme="dark"] .privacy-module [style*="rgb(255"],
[data-theme="dark"] .terms-module [style*="rgb(255"] {
  background-color: #000000 !important;
  background: #000000 !important;
}

[data-theme="dark"] .privacy-module [style*="background-color: white"],
[data-theme="dark"] .terms-module [style*="background-color: white"],
[data-theme="dark"] .privacy-module [style*="background-color:#ffffff"],
[data-theme="dark"] .terms-module [style*="background-color:#ffffff"],
[data-theme="dark"] .privacy-module [style*="background-color: #ffffff"],
[data-theme="dark"] .terms-module [style*="background-color: #ffffff"] {
  background-color: #000000 !important;
  background: #000000 !important;
}

/* 页面头部特殊处理 */
[data-theme="dark"] .privacy-module .page-header-glass,
[data-theme="dark"] .terms-module .page-header-glass {
  background: linear-gradient(135deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 100%) !important;
  background-color: #000000 !important;
}

/* 内容卡片特殊处理 */
[data-theme="dark"] .privacy-content-card,
[data-theme="dark"] .terms-content-card {
  background: rgba(0, 0, 0, 0.98) !important;
  background-color: rgba(0, 0, 0, 0.98) !important;
}

/* 措施卡片、权利卡片、联系卡�?*/
[data-theme="dark"] .measure-item,
[data-theme="dark"] .right-item,
[data-theme="dark"] .privacy-contact-item,
[data-theme="dark"] .terms-contact-item {
  background: rgba(17, 17, 19, 1) !important;
  background-color: rgba(17, 17, 19, 1) !important;
}

/* 更新徽章 */
[data-theme="dark"] .privacy-update-badge,
[data-theme="dark"] .terms-update-badge {
  background: rgba(161, 161, 170, 0.2) !important;
  background-color: rgba(161, 161, 170, 0.2) !important;
}

/* 按钮 */
[data-theme="dark"] .privacy-back-btn,
[data-theme="dark"] .terms-back-btn {
  background: #a1a1aa !important;
  background-color: #a1a1aa !important;
}

[data-theme="dark"] .privacy-back-btn:hover,
[data-theme="dark"] .terms-back-btn:hover {
  background: #71717a !important;
  background-color: #71717a !important;
}

/* 终极兜底选择�?- 所有白色背景都强制转为黑色 */
[data-theme="dark"] .privacy-module *[style*="background-color"][style*="white"],
[data-theme="dark"] .terms-module *[style*="background-color"][style*="white"],
[data-theme="dark"] .privacy-module *[style*="background"][style*="white"],
[data-theme="dark"] .terms-module *[style*="background"][style*="white"],
[data-theme="dark"] .privacy-module *[style*="background-color"][style*="#fff"],
[data-theme="dark"] .terms-module *[style*="background-color"][style*="#fff"],
[data-theme="dark"] .privacy-module *[style*="background"][style*="#fff"],
[data-theme="dark"] .terms-module *[style*="background"][style*="#fff"],
[data-theme="dark"] .privacy-module *[style*="background-color"][style*="#FFF"],
[data-theme="dark"] .terms-module *[style*="background-color"][style*="#FFF"],
[data-theme="dark"] .privacy-module *[style*="background"][style*="#FFF"],
[data-theme="dark"] .terms-module *[style*="background"][style*="#FFF"] {
  background-color: #000000 !important;
  background: #000000 !important;
}

[data-theme="dark"] .privacy-module *[style*="white"],
[data-theme="dark"] .terms-module *[style*="white"] {
  background-color: #000000 !important;
  background: #000000 !important;
}

[data-theme="dark"] .privacy-module *[style*="#fff"],
[data-theme="dark"] .terms-module *[style*="#fff"] {
  background-color: #000000 !important;
  background: #000000 !important;
}

[data-theme="dark"] .privacy-module *[style*="#FFF"],
[data-theme="dark"] .terms-module *[style*="#FFF"] {
  background-color: #000000 !important;
  background: #000000 !important;
}

/* ================================================================
   全局通用暗黑模式保障 - 统一所有页面的暗夜风格
   ================================================================ */

/* 1. 所有模块的白色背景强制转为深色 */
[data-theme="dark"] [class*="-module"][style*="background:#ffffff"],
[data-theme="dark"] [class*="-module"][style*="background: #ffffff"],
[data-theme="dark"] [class*="-module"][style*="background:rgb(255, 255, 255)"],
[data-theme="dark"] [class*="-module"][style*="background: rgb(255, 255, 255)"],
[data-theme="dark"] [class*="-module"][style*="background:#fafafa"],
[data-theme="dark"] [class*="-module"][style*="background: #fafafa"],
[data-theme="dark"] [class*="-module"][style*="background:rgb(250, 250, 250)"],
[data-theme="dark"] [class*="-module"][style*="background: rgb(250, 250, 250)"],
[data-theme="dark"] div[style*="min-height:100vh"][style*="background:#ffffff"],
[data-theme="dark"] section[style*="background:#ffffff"] {
  background: #09090b !important;
  background-color: #09090b !important;
}

/* 2. 所有内联样式的白色文字转为浅灰�?*/
[data-theme="dark"] [class*="-module"] h1[style*="color:#1a1a1a"],
[data-theme="dark"] [class*="-module"] h2[style*="color:#1a1a1a"],
[data-theme="dark"] [class*="-module"] h3[style*="color:#1a1a1a"],
[data-theme="dark"] [class*="-module"] h4[style*="color:#1a1a1a"],
[data-theme="dark"] [class*="-module"] h5[style*="color:#1a1a1a"],
[data-theme="dark"] [class*="-module"] h6[style*="color:#1a1a1a"],
[data-theme="dark"] [class*="-module"] h1[style*="color: #1a1a1a"],
[data-theme="dark"] [class*="-module"] h2[style*="color: #1a1a1a"],
[data-theme="dark"] [class*="-module"] h3[style*="color: #1a1a1a"],
[data-theme="dark"] [class*="-module"] h4[style*="color: #1a1a1a"],
[data-theme="dark"] [class*="-module"] h5[style*="color: #1a1a1a"],
[data-theme="dark"] [class*="-module"] h6[style*="color: #1a1a1a"],
[data-theme="dark"] [class*="-module"] div[style*="color:#1a1a1a"]:not([style*="font-size:48px"]):not([style*="font-size:24px"]),
[data-theme="dark"] [class*="-module"] span[style*="color:#1a1a1a"],
[data-theme="dark"] [class*="-module"] a[style*="color:#1a1a1a"],
[data-theme="dark"] [class*="-module"] p[style*="color:#1a1a1a"] {
  color: #a1a1aa !important;
}

/* 3. 灰色次要文字 */
[data-theme="dark"] [class*="-module"] p[style*="color:#6b6b6b"],
[data-theme="dark"] [class*="-module"] p[style*="color: #6b6b6b"],
[data-theme="dark"] [class*="-module"] span[style*="color:#6b6b6b"],
[data-theme="dark"] [class*="-module"] span[style*="color: #6b6b6b"],
[data-theme="dark"] [class*="-module"] div[style*="color:#6b6b6b"],
[data-theme="dark"] [class*="-module"] div[style*="color: #6b6b6b"],
[data-theme="dark"] [class*="-module"] a[style*="color:#6b6b6b"],
[data-theme="dark"] [class*="-module"] label[style*="color:#1a1a1a"] {
  color: #71717a !important;
}

/* 4. 浅灰色标�?提示文字 */
[data-theme="dark"] [class*="-module"] div[style*="color:#8a8a8a"],
[data-theme="dark"] [class*="-module"] div[style*="color: #8a8a8a"],
[data-theme="dark"] [class*="-module"] p[style*="color:#8a8a8a"],
[data-theme="dark"] [class*="-module"] span[style*="color:#8a8a8a"],
[data-theme="dark"] [class*="-module"] small[style*="color:#8a8a8a"] {
  color: #52525b !important;
}

/* 5. 白色边框转为深灰色边�?*/
[data-theme="dark"] [class*="-module"][style*="border:1px solid #e8e8e8"],
[data-theme="dark"] [class*="-module"][style*="border: 1px solid #e8e8e8"],
[data-theme="dark"] [class*="-module"][style*="border:1px solid #e5e5ea"],
[data-theme="dark"] [class*="-module"][style*="border: 1px solid #e5e5ea"],
[data-theme="dark"] [class*="-module"][style*="border-bottom:1px solid #e8e8e8"],
[data-theme="dark"] [class*="-module"][style*="border-bottom: 1px solid #e8e8e8"],
[data-theme="dark"] [class*="-module"][style*="border:1px solid #d0d0d0"],
[data-theme="dark"] [class*="-module"][style*="border: 1px solid #d0d0d0"] {
  border-color: #27272a !important;
}

/* 6. 表单元素 - 输入框、文本域�?*/
[data-theme="dark"] input[style*="background:#ffffff"],
[data-theme="dark"] input[style*="background: #ffffff"],
[data-theme="dark"] textarea[style*="background:#ffffff"],
[data-theme="dark"] textarea[style*="background: #ffffff"],
[data-theme="dark"] select[style*="background:#ffffff"],
[data-theme="dark"] select[style*="background: #ffffff"],
[data-theme="dark"] input[style*="color:#1a1a1a"],
[data-theme="dark"] textarea[style*="color:#1a1a1a"],
[data-theme="dark"] select[style*="color:#1a1a1a"] {
  background: #111113 !important;
  background-color: #111113 !important;
  color: #a1a1aa !important;
  border-color: #27272a !important;
}

[data-theme="dark"] input[style*="border:1px solid #e8e8e8"],
[data-theme="dark"] textarea[style*="border:1px solid #e8e8e8"],
[data-theme="dark"] select[style*="border:1px solid #e8e8e8"] {
  border-color: #27272a !important;
}

/* 7. 按钮样式 - 统一处理 */
/* 次要按钮（白色背景） */
[data-theme="dark"] button[style*="background:#ffffff"][style*="color:#1a1a1a"],
[data-theme="dark"] button[style*="background: #ffffff"][style*="color: #1a1a1a"],
[data-theme="dark"] button[style*="background:rgb(255, 255, 255)"][style*="color:rgb(26, 26, 26)"] {
  background: #18181b !important;
  background-color: #18181b !important;
  color: #a1a1aa !important;
  border-color: #3f3f46 !important;
}

[data-theme="dark"] button[style*="background:#ffffff"][style*="color:#1a1a1a"]:hover,
[data-theme="dark"] button[style*="background: #ffffff"][style*="color: #1a1a1a"]:hover {
  background: #27272a !important;
  border-color: #52525b !important;
}

/* 主要按钮（黑色背景） */
[data-theme="dark"] button:not([disabled])[style*="background:#1a1a1a"][style*="color:#ffffff"],
[data-theme="dark"] button:not([disabled])[style*="background: #1a1a1a"][style*="color: #ffffff"],
[data-theme="dark"] button:not([disabled])[style*="background:rgb(26, 26, 26)"][style*="color:rgb(255, 255, 255)"] {
  background: #a1a1aa !important;
  background-color: #a1a1aa !important;
  color: #ffffff !important;
  border-color: #a1a1aa !important;
}

[data-theme="dark"] button:not([disabled])[style*="background:#1a1a1a"][style*="color:#ffffff"]:hover,
[data-theme="dark"] button:not([disabled])[style*="background: #1a1a1a"][style*="color: #ffffff"]:hover {
  background: #71717a !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(161, 161, 170, 0.4);
}

/* 禁用按钮 */
[data-theme="dark"] button[disabled][style*="background:#1a1a1a"],
[data-theme="dark"] button[disabled][style*="background: #1a1a1a"] {
  background: #27272a !important;
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}

/* 浅色按钮�?fafafa背景�?*/
[data-theme="dark"] button[style*="background:#fafafa"][style*="color:#1a1a1a"],
[data-theme="dark"] button[style*="background: #fafafa"][style*="color: #1a1a1a"] {
  background: #111113 !important;
  color: #a1a1aa !important;
  border-color: #27272a !important;
}

[data-theme="dark"] button[style*="background:#fafafa"][style*="color:#1a1a1a"]:hover {
  background: #18181b !important;
  border-color: #3f3f46 !important;
}

/* 8. 卡片和容�?- 统一深色背景 */
[data-theme="dark"] [class*="-module"] div[style*="padding:24px"][style*="background:#fafafa"],
[data-theme="dark"] [class*="-module"] div[style*="padding:28px"][style*="background:#fafafa"],
[data-theme="dark"] [class*="-module"] div[style*="padding:32px"][style*="background:#fafafa"],
[data-theme="dark"] [class*="-module"] div[style*="background:#fafafa"][style*="border-radius"] {
  background: #111113 !important;
  border-color: #27272a !important;
}

/* 图标容器�?4x64�?0x40白色方块�?*/
[data-theme="dark"] [class*="-module"] div[style*="width:64px"][style*="background:#ffffff"],
[data-theme="dark"] [class*="-module"] div[style*="width:40px"][style*="background:#ffffff"] {
  background: #18181b !important;
  border-color: #27272a !important;
}

/* 9. 特殊数值显�?- 使用主题色高�?*/
[data-theme="dark"] [class*="-module"] div[style*="font-size:48px"][style*="color:#1a1a1a"],
[data-theme="dark"] [class*="-module"] div[style*="font-size:24px"][style*="font-weight:600"][style*="color:#1a1a1a"]:not(button),
[data-theme="dark"] [class*="-module"] div[style*="font-size:16px"][style*="font-weight:600"][style*="color:#1a1a1a"] {
  color: var(--primary-400) !important;
}

/* 步骤圆圈�?2x32黑色圆圈�?*/
[data-theme="dark"] [class*="-module"] div[style*="width:32px"][style*="height:32px"][style*="background:#1a1a1a"] {
  background: #a1a1aa !important;
  color: #ffffff !important;
}

/* 选择圆圈�?4x24圆形选择器） */
[data-theme="dark"] [class*="-module"] div[style*="width:24px"][style*="border-radius:50%"][style*="border:1.5px solid #d0d0d0"] {
  border-color: #3f3f46 !important;
  background: transparent !important;
}

[data-theme="dark"] [class*="-module"] div[style*="width:24px"][style*="border-radius:50%"][style*="background:#1a1a1a"] {
  background: #a1a1aa !important;
  border-color: #a1a1aa !important;
}

/* 10. 标签和徽�?*/
[data-theme="dark"] [class*="-module"] span[style*="font-size:12px"][style*="background:#ffffff"][style*="border-radius:100px"],
[data-theme="dark"] [class*="-module"] span[style*="background:#ffffff"][style*="border-radius:100px"] {
  background: #18181b !important;
  color: #71717a !important;
  border-color: #27272a !important;
}

/* 11. 连接线和分割�?*/
[data-theme="dark"] [class*="-module"] div[style*="width:48px"][style*="height:1px"][style*="background:#e5e5ea"],
[data-theme="dark"] [class*="-module"] div[style*="width:32px"][style*="height:1px"][style*="background:#e8e8e8"],
[data-theme="dark"] [class*="-module"] div[style*="height:1px"][style*="background:#e8e8e8"],
[data-theme="dark"] [class*="-module"] div[style*="height:1px"][style*="background:#e5e5ea"],
[data-theme="dark"] [class*="-module"] hr[style*="background:#e8e8e8"] {
  background: #27272a !important;
}

/* 12. 错误消息和提示框 */
[data-theme="dark"] [class*="-module"] div[style*="padding:12px"][style*="background:#fafafa"][style*="display:none"],
[data-theme="dark"] [class*="-module"] div[id*="error"][style*="background:#fafafa"] {
  background: #1c1917 !important;
  border-color: #44403c !important;
  color: #fbbf24 !important;
}

/* 13. 链接和可点击元素 */
[data-theme="dark"] [class*="-module"] a[style*="color:#6b6b6b"] {
  color: #71717a !important;
}

[data-theme="dark"] [class*="-module"] a[style*="color:#6b6b6b"]:hover {
  color: #a1a1aa !important;
}

/* 14. SVG图标颜色 */
[data-theme="dark"] [class*="-module"] svg[style*="stroke:#1a1a1a"],
[data-theme="dark"] [class*="-module"] svg[stroke="#1a1a1a"] {
  stroke: #a1a1aa !important;
}

[data-theme="dark"] [class*="-module"] svg[fill="#1a1a1a"] {
  fill: #a1a1aa !important;
}

/* ================================================================
   全页面纯黑背景终极保�?- 覆盖所有选中元素的背�?   ================================================================ */

/* 1. 所有section元素 - 纯黑背景 */
[data-theme="dark"] section[style*="background:#ffffff"],
[data-theme="dark"] section[style*="background: #ffffff"],
[data-theme="dark"] section[style*="background:rgb(255, 255, 255)"],
[data-theme="dark"] section[style*="background: rgb(255, 255, 255)"],
[data-theme="dark"] section[style*="background:#fafafa"],
[data-theme="dark"] section[style*="background: #fafafa"],
[data-theme="dark"] section[style*="background:rgb(250, 250, 250)"],
[data-theme="dark"] section[style*="background: rgb(250, 250, 250)] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 2. 所有div容器 - 纯黑背景（针对padding:24px/32px/48px/56px等常见模式） */
[data-theme="dark"] div[style*="background:#ffffff"][style*="padding:24px"],
[data-theme="dark"] div[style*="background: #ffffff"][style*="padding:24px"],
[data-theme="dark"] div[style*="background:#ffffff"][style*="padding:32px"],
[data-theme="dark"] div[style*="background: #ffffff"][style*="padding:32px"],
[data-theme="dark"] div[style*="background:#ffffff"][style*="padding:48px"],
[data-theme="dark"] div[style*="background: #ffffff"][style*="padding:48px"],
[data-theme="dark"] div[style*="background:#ffffff"][style*="padding:56px"],
[data-theme="dark"] div[style*="background: #ffffff"][style*="padding:56px"],
[data-theme="dark"] div[style*="background:#ffffff"][style*="padding:96px"],
[data-theme="dark"] div[style*="background: #ffffff"][style*="padding:96px"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 3. sticky定位的导航栏 - 纯黑背景 */
[data-theme="dark"] div[style*="position:sticky"][style*="background:#ffffff"],
[data-theme="dark"] div[style*="position:sticky"][style*="background: #ffffff"],
[data-theme="dark"] div[style*="position: sticky"][style*="background:#ffffff"],
[data-theme="dark"] div[style*="position: sticky"][style*="background: #ffffff"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 4. 主内容区�?- 纯黑背景 */
[data-theme="dark"] div[style*="padding:48px 0"]:not([style*="background:#111113"]):not([style*="background:#09090b"]),
[data-theme="dark"] div[style*="padding:48px 0 96px"]:not([style*="background:#111113"]):not([style*="background:#09090b"]) {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 5. 表单区域 - 纯黑背景 */
[data-theme="dark"] form,
[data-theme="dark"] div[style*="max-width:400px"] > div[style*="text-align:center"] {
  background: transparent !important;
}

/* 6. 登录/注册页面的Logo和标题区�?*/
[data-theme="dark"] div[style*="width:72px"][style*="height:72px"][style*="background:#1a1a1a"] {
  background: #18181b !important;
  border-radius: 16px;
}

/* 7. 所有带border-bottom的白色容�?*/
[data-theme="dark"] div[style*="background:#ffffff"][style*="border-bottom:1px solid #e8e8e8"],
[data-theme="dark"] div[style*="background: #ffffff"][style*="border-bottom: 1px solid #e8e8e8"],
[data-theme="dark"] section[style*="background:#ffffff"][style*="border-bottom:1px solid #e8e8e8"],
[data-theme="dark"] section[style*="background: #ffffff"][style*="border-bottom: 1px solid #e8e8e8"] {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a !important;
}

/* 8. 返回链接按钮容器 */
[data-theme="dark"] a[style*="display:inline-flex"][style*="background:#fafafa"][style*="border:1px solid #e8e8e8"],
[data-theme="dark"] a[style*="display: inline-flex"][style*="background: #fafafa"][style*="border: 1px solid #e8e8e8"] {
  background: #111113 !important;
  border-color: #27272a !important;
}

/* 9. 新闻页面特殊处理 */
[data-theme="dark"] .news-header-bar,
[data-theme="dark"] .news-content {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 10. 情绪互动空间和游戏化页面 */
[data-theme="dark"] .emotion-playground-container,
[data-theme="dark"] [class*="gamification-module"] > div[style*="padding:48px"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 11. 关于我们页面的特殊section */
[data-theme="dark"] section[style*="padding:80px 0"][style*="text-align:center"],
[data-theme="dark"] section[style*="padding:96px 0"][style*="border-top:1px solid #e8e8e8"] {
  background: #000000 !important;
  background-color: #000000 !important;
  border-top-color: #27272a !important;
}

/* 12. 卡片内的图标容器�?6x56, 64x64, 72x72, 104x104�?*/
[data-theme="dark"] div[style*="width:56px"][style*="height:56px"][style*="background:#ffffff"],
[data-theme="dark"] div[style*="width:64px"][style*="height:64px"][style*="background:#ffffff"],
[data-theme="dark"] div[style*="width:72px"][style*="height:72px"][style*="background:#ffffff"],
[data-theme="dark"] div[style*="width:104px"][style*="height:104px"][style*="background:#1a1a1a"] {
  background: #18181b !important;
  border-color: #27272a !important;
}

/* 13. 技术栈标签 */
[data-theme="dark"] span[style*="display:inline-block"][style*="padding:8px 14px"][style*="background:#ffffff"][style*="border-radius:100px"] {
  background: #18181b !important;
  color: #a1a1aa !important;
  border-color: #27272a !important;
}

/* 14. 功能标签按钮 */
[data-theme="dark"] span[style*="display:inline-flex"][style*="padding:12px 20px"][style*="background:#fafafa"][style*="border-radius:100px"] {
  background: #111113 !important;
  color: #a1a1aa !important;
  border-color: #27272a !important;
}

/* 15. 联系方式卡片 */
[data-theme="dark"] div[style*="padding:56px 48px"][style*="background:#fafafa"][style*="border-radius:20px"] {
  background: #111113 !important;
  border-color: #27272a !important;
}

/* 16. 分割线hr */
[data-theme="dark"] div[style*="flex:1"][style*="height:1px"][style*="background:#e8e8e8"],
[data-theme="dark"] hr[style*="background:#e8e8e8"] {
  background: #27272a !important;
}

/* 17. 进度�?*/
[data-theme="dark"] div[style*="height:6px"][style*="background:#e8e8e8"][style*="border-radius:100px"] {
  background: #27272a !important;
}

[data-theme="dark"] div[style*="height:100%"][style*="background:#1a1a1a"][style*="border-radius:100px"] {
  background: #a1a1aa !important;
}

/* 18. 徽章卡片 */
[data-theme="dark"] div[style*="padding:24px"][style*="background:#fafafa"][style*="border-radius:12px"][style*="text-align:center"] {
  background: #111113 !important;
  border-color: #27272a !important;
}

/* 19. 徽章图标占位�?*/
[data-theme="dark"] div[style*="width:56px"][style*="height:56px"][style*="background:#e8e8e8"] {
  background: #27272a !important;
}

/* 20. 挑战任务卡片 */
[data-theme="dark"] article[style*="background:#ffffff"][style*="border-radius:16px"],
[data-theme="dark"] article[style*="background: #ffffff"][style*="border-radius: 16px"] {
  background: #111113 !important;
  border-color: #27272a !important;
}

/* 21. 任务状态标�?*/
[data-theme="dark"] span[style*="font-size:12px"][style*="padding:4px 10px"][style*="background:#1a1a1a"][style*="color:#ffffff"] {
  background: #a1a1aa !important;
}

/* 22. 开始挑战按�?*/
[data-theme="dark"] button.start-challenge-btn[style*="background:#1a1a1a"][style*="color:#ffffff"] {
  background: #a1a1aa !important;
  border-color: #a1a1aa !important;
}

[data-theme="dark"] button.start-challenge-btn[style*="background:#1a1a1a"][style*="color:#ffffff"]:hover {
  background: #71717a !important;
  transform: translateY(-1px);
}

/* 23. 表单输入框增�?*/
[data-theme="dark"] input[type="text"][style*="background:#ffffff"],
[data-theme="dark"] input[type="password"][style*="background:#ffffff"],
[data-theme="dark"] input[type="email"][style*="background:#ffffff"],
[data-theme="dark"] input[type="tel"][style*="background:#ffffff"] {
  background: #111113 !important;
  color: #a1a1aa !important;
  border-color: #27272a !important;
}

[data-theme="dark"] input[type="text"][style*="background:#ffffff"]:focus,
[data-theme="dark"] input[type="password"][style*="background:#ffffff"]:focus,
[data-theme="dark"] input[type="email"][style*="background:#ffffff"]:focus,
[data-theme="dark"] input[type="tel"][style*="background:#ffffff"]:focus {
  border-color: #a1a1aa !important;
  box-shadow: 0 0 0 2px rgba(161, 161, 170, 0.2) !important;
}

/* 24. 复选框样式 */
[data-theme="dark"] input[type="checkbox"][style*="border:1px solid #e8e8e8"] {
  border-color: #3f3f46 !important;
  background: #111113 !important;
}

/* 25. 错误消息�?*/
[data-theme="dark"] div[id*="error-message"][style*="background:#fafafa"] {
  background: #1c1917 !important;
  border-color: #44403c !important;
}

/* 26. 社交登录按钮 */
[data-theme="dark"] button[style*="flex:1"][style*="height:48px"][style*="background:#ffffff"][style*="border-radius:10px"] {
  background: #18181b !important;
  color: #a1a1aa !important;
  border-color: #27272a !important;
}

[data-theme="dark"] button[style*="flex:1"][style*="height:48px"][style*="background:#ffffff"][style*="border-radius:10px"]:hover {
  background: #27272a !important;
}

/* 27. 密码强度指示�?*/
[data-theme="dark"] div[style*="height:4px"][style*="background:#e8e8e8"][style*="border-radius:100px"] {
  background: #27272a !important;
}

[data-theme="dark"] .strength-bar[style*="background:#e8e8e8"] {
  background: #27272a !important;
}

/* 28. 工具栏按钮组 */
[data-theme="dark"] button[style*="padding:10px 18px"][style*="border-radius:100px"][style*="background:#fafafa"] {
  background: #111113 !important;
  color: #a1a1aa !important;
  border-color: #27272a !important;
}

[data-theme="dark"] button[style*="padding:10px 18px"][style*="border-radius:100px"][style*="background:#1a1a1a"][style*="color:#ffffff"] {
  background: #a1a1aa !important;
  border-color: #a1a1aa !important;
}

/* 29. 情绪选择按钮 */
[data-theme="dark"] button.emotion-btn[style*="background:#ffffff"] {
  background: #18181b !important;
  color: #a1a1aa !important;
  border-color: #27272a !important;
}

[data-theme="dark"] button.emotion-btn[style*="background:#1a1a1a"][style*="color:#ffffff"] {
  background: #a1a1aa !important;
  border-color: #a1a1aa !important;
}

/* 30. 滑块input range */
[data-theme="dark"] input[type="range"][style*="background:#e8e8e8"] {
  background: #27272a !important;
}

/* 31. 画布容器 */
[data-theme="dark"] div[id*="container"][style*="background:#fafafa"] {
  background: #09090b !important;
  border-color: #27272a !important;
}

/* 32. 画布底部工具�?*/
[data-theme="dark"] div[style*="padding:16px 24px"][style*="border-top:1px solid #e8e8e8"] {
  background: #09090b !important;
  border-top-color: #27272a !important;
}

/* ==================== 终极核弹级覆�?- 隐私政策与服务条款页�?==================== */
body[data-theme="dark"] div.privacy-module,
body[data-theme="dark"] div.terms-module {
  background-color: #000000 !important;
  background-image: none !important;
}

body[data-theme="dark"] div.privacy-module > *,
body[data-theme="dark"] div.terms-module > * {
  background-color: #000000 !important;
  background-image: none !important;
}

body[data-theme="dark"] div.privacy-content-card,
body[data-theme="dark"] div.terms-content-card {
  background-color: rgba(0, 0, 0, 1) !important;
  background: rgba(0, 0, 0, 1) !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body[data-theme="dark"] div.page-header-glass {
  background-color: #000000 !important;
  background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%) !important;
  background-image: linear-gradient(180deg, #000000 0%, #0a0a0a 100%) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

/* ==================== 精选案例区域暗黑模式 - 高级质感 ==================== */
[data-theme="dark"] .pentagram-case-section {
  background: #060608;
  border-top-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .pentagram-case-title {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .pentagram-case-description {
  color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .pentagram-case-count {
  color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .pentagram-case-image {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .pentagram-case-slide:hover .pentagram-case-image {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .pentagram-case-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .pentagram-case-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.45);
}

[data-theme="dark"] .pentagram-case-more {
  color: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .pentagram-case-more:hover {
  background: rgba(255, 255, 255, 0.88);
  color: #1d1d1f;
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 14px rgba(255, 255, 255, 0.1);
}

/* ==================== CTA区域暗黑模式 - 高级质感 ==================== */
[data-theme="dark"] .cta-section-final {
  background: #060608;
  border-top-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .cta-decoration-line {
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .cta-badge {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .cta-badge-dot {
  background: #22c55e;
}

[data-theme="dark"] .cta-content h2 {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .cta-subtitle {
  color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .cta-feature {
  color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .cta-feature svg {
  color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .btn-primary-cta {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.88);
  color: #1d1d1f;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .btn-primary-cta:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .cta-note {
  color: rgba(255, 255, 255, 0.2);
}

body[data-theme="dark"] div.privacy-container,
body[data-theme="dark"] div.terms-container {
  background-color: #000000 !important;
  background: #000000 !important;
}

body[data-theme="dark"] div.privacy-meta,
body[data-theme="dark"] div.terms-meta {
  background-color: transparent !important;
  background: transparent !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body[data-theme="dark"] section.privacy-section,
body[data-theme="dark"] section.terms-section {
  background-color: transparent !important;
  background: transparent !important;
}

body[data-theme="dark"] div.measure-item,
body[data-theme="dark"] div.right-item,
body[data-theme="dark"] div.privacy-contact-item,
body[data-theme="dark"] div.terms-contact-item {
  background-color: #111113 !important;
  background: #111113 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

body[data-theme="dark"] span.privacy-update-badge,
body[data-theme="dark"] span.terms-update-badge {
  background-color: rgba(161, 161, 170, 0.2) !important;
  background: rgba(161, 161, 170, 0.2) !important;
}

body[data-theme="dark"] a.privacy-back-btn,
body[data-theme="dark"] a.terms-back-btn {
  background-color: #a1a1aa !important;
  background: #a1a1aa !important;
}

/* 强制所有子元素背景透明 */
body[data-theme="dark"] div.privacy-module h1,
body[data-theme="dark"] div.privacy-module h2,
body[data-theme="dark"] div.privacy-module h3,
body[data-theme="dark"] div.privacy-module h4,
body[data-theme="dark"] div.privacy-module h5,
body[data-theme="dark"] div.privacy-module h6,
body[data-theme="dark"] div.privacy-module p,
body[data-theme="dark"] div.privacy-module li,
body[data-theme="dark"] div.privacy-module ul,
body[data-theme="dark"] div.privacy-module ol,
body[data-theme="dark"] div.privacy-module span:not(.privacy-update-badge),
body[data-theme="dark"] div.privacy-module strong,
body[data-theme="dark"] div.privacy-module em,
body[data-theme="dark"] div.privacy-module a:not(.privacy-back-btn),
body[data-theme="dark"] div.terms-module h1,
body[data-theme="dark"] div.terms-module h2,
body[data-theme="dark"] div.terms-module h3,
body[data-theme="dark"] div.terms-module h4,
body[data-theme="dark"] div.terms-module h5,
body[data-theme="dark"] div.terms-module h6,
body[data-theme="dark"] div.terms-module p,
body[data-theme="dark"] div.terms-module li,
body[data-theme="dark"] div.terms-module ul,
body[data-theme="dark"] div.terms-module ol,
body[data-theme="dark"] div.terms-module span:not(.terms-update-badge),
body[data-theme="dark"] div.terms-module strong,
body[data-theme="dark"] div.terms-module em,
body[data-theme="dark"] div.terms-module a:not(.terms-back-btn) {
  background-color: transparent !important;
  background: transparent !important;
  background-image: none !important;
}

/* ================================================================
   移动端暗黑模式完全覆盖保�?- 修复黑底显示不全问题
   ================================================================ */

/* 1. 确保所有层级的容器都有黑色背景 */
[data-theme="dark"] html,
[data-theme="dark"] body,
[data-theme="dark"] #app,
[data-theme="dark"] main,
[data-theme="dark"] .app-container {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 2. 移动端视口完全覆�?- 使用动态视口高�?*/
@media (max-width: 991.98px) {
  [data-theme="dark"] html {
    background: #000000 !important;
    min-height: 100vh;
    min-height: 100dvh;
  }

  [data-theme="dark"] body {
    background: #000000 !important;
    min-height: 100vh;
    min-height: 100dvh;
  }

  [data-theme="dark"] #app {
    background: #000000 !important;
    min-height: 100vh;
    min-height: 100dvh;
  }

  /* 确保所有直接子元素也有背景 */
  [data-theme="dark"] #app > * {
    background: #000000 !important;
  }
}

/* 3. 固定定位和绝对定位元素的背景保障 */
[data-theme="dark"] [style*="position: fixed"],
[data-theme="dark"] [style*="position:fixed"],
[data-theme="dark"] [style*="position: absolute"],
[data-theme="dark"] [style*="position:absolute"],
[data-theme="dark"] .fixed,
[data-theme="dark"] .absolute,
[data-theme="dark"] [class*="modal"],
[data-theme="dark"] [class*="overlay"],
[data-theme="dark"] [class*="drawer"],
[data-theme="dark"] [class*="sidebar"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 4. 滚动容器的背景保�?*/
[data-theme="dark"] [style*="overflow"],
[data-theme="dark"] [class*="scroll"],
[data-theme="dark"] .overflow-auto,
[data-theme="dark"] .overflow-y-auto,
[data-theme="dark"] .overflow-x-auto {
  background: #000000 !important;
}

/* 5. 防止iOS Safari的弹性滚动露出白�?*/
@supports (-webkit-touch-callout: none) {
  [data-theme="dark"] html,
  [data-theme="dark"] body {
    background: #000000 !important;
    -webkit-overscroll-behavior: none;
    overscroll-behavior: none;
  }
}

/* 6. 终极兜底：确保所有可见元素都不会露出白底 */
[data-theme="dark"] *:not(script):not(style):not(link):not(meta):not(head):not([class*="transparent"]) {
  border-color: transparent !important;
}

/* 7. 特殊处理：确保模态框、弹窗背景正�?*/
[data-theme="dark"] .modal-backdrop,
[data-theme="dark"] .modal,
[data-theme="dark"] .popover,
[data-theme="dark"] .tooltip {
  background: #18181b !important;
  background-color: #18181b !important;
}

/* ================================================================
   🚨 核弹级终极修�?- 解决CSS不生效的问题
   使用最高优先级选择�?+ body前缀 + 精确匹配
   ================================================================ */

/* ⚠️ 重要：这些规则必须放在最后，确保最高优先级 */

/* 1. Sticky导航�?- 用户选中的第一个div */
body[data-theme="dark"] div[style*="background:#ffffff"][style*="padding:24px 0"][style*="border-bottom:1px solid #e8e8e8"][style*="position:sticky"],
body[data-theme="dark"] div[style*="background: #ffffff"][style*="padding:24px 0"][style*="border-bottom:1px solid #e8e8e8"][style*="position:sticky"],
body[data-theme="dark"] div[style*="background:#ffffff"][style*="padding:24px 0"][style*="border-bottom: 1px solid #e8e8e8"][style*="position: sticky"],
body[data-theme="dark"] div[style*="background: rgb(255, 255, 255)"][style*="padding:24px 0"][style*="border-bottom"][style*="position:sticky"] {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a !important;
}

/* 2. 返回链接按钮 - 用户选中的第二个div内的a标签 */
body[data-theme="dark"] a[style*="display:inline-flex"][style*="align-items:center"][style*="gap:8px"][style*="font-size:14px"][style*="color:#6b6b6b"][style*="background:#fafafa"][style*="border:1px solid #e8e8e8"],
body[data-theme="dark"] a[style*="display: inline-flex"][style*="align-items: center"][style*="gap: 8px"][style*="font-size: 14px"][style*="color: #6b6b6b"][style*="background: #fafafa"][style*="border: 1px solid #e8e8e8"],
body[data-theme="dark"] a#back-link[style*="background:#fafafa"] {
  background: #111113 !important;
  background-color: #111113 !important;
  color: #a1a1aa !important;
  border-color: #27272a !important;
}

body[data-theme="dark"] a#back-link[style*="background:#fafafa"]:hover {
  background: #18181b !important;
  border-color: #3f3f46 !important;
}

/* 3. SVG图标颜色修复 */
body[data-theme="dark"] a#back-link svg[stroke="#1a1a1a"],
body[data-theme="dark"] a[style*="background:#fafafa"] svg[stroke="#1a1a1a"],
body[data-theme="dark"] div[style*="position:sticky"] svg[stroke="#1a1a1a"] {
  stroke: #a1a1aa !important;
}

/* 4. 超强通用规则 - 覆盖所有可能的白色背景变体 */
body[data-theme="dark"] [style*="background:#ffffff"],
body[data-theme="dark"] [style*="background: #ffffff"],
body[data-theme="dark"] [style*="background:rgb(255"],
body[data-theme="dark"] [style*="background: rgb(255"],
body[data-theme="dark"] [style*="background:#fff"],
body[data-theme="dark"] [style*="background: #fff"],
body[data-theme="dark"] [style*="background:#FFF"],
body[data-theme="dark"] [style*="background: #FFF"],
body[data-theme="dark"] [style*="background:white"],
body[data-theme="dark"] [style*="background: white"],
body[data-theme="dark"] [style*="background:White"],
body[data-theme="dark"] [style*="background: White"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 5. 浅灰色背景也转为纯黑 */
body[data-theme="dark"] [style*="background:#fafafa"],
body[data-theme="dark"] [style*="background: #fafafa"],
body[data-theme="dark"] [style*="background:rgb(250"],
body[data-theme="dark"] [style*="background: rgb(250"],
body[data-theme="dark"] [style*="background:#f5f5f5"],
body[data-theme="dark"] [style*="background: #f5f5f5"],
body[data-theme="dark"] [style*="background:#f8f9fa"],
body[data-theme="dark"] [style*="background: #f8f9fa"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 6. 所有浅色边框转为深�?*/
body[data-theme="dark"] [style*="border:1px solid #e8e8e8"],
body[data-theme="dark"] [style*="border: 1px solid #e8e8e8"],
body[data-theme="dark"] [style*="border:1px solid #e5e5ea"],
body[data-theme="dark"] [style*="border: 1px solid #e5e5ea"],
body[data-theme="dark"] [style*="border:1px solid #ddd"],
body[data-theme="dark"] [style*="border: 1px solid #ddd"],
body[data-theme="dark"] [style*="border:1px solid #d0d0d0"],
body[data-theme="dark"] [style*="border: 1px solid #d0d0d0"],
body[data-theme="dark"] [style*="border-bottom:1px solid #e8e8e8"],
body[data-theme="dark"] [style*="border-bottom: 1px solid #e8e8e8"],
body[data-theme="dark"] [style*="border-top:1px solid #e8e8e8"],
body[data-theme="dark"] [style*="border-top: 1px solid #e8e8e8"] {
  border-color: #27272a !important;
}

/* 7. 所有深色文字（#1a1a1a）转为浅灰色 */
body[data-theme="dark"] [style*="color:#1a1a1a"],
body[data-theme="dark"] [style*="color: #1a1a1a"],
body[data-theme="dark"] [style*="color:#0a0a0a"],
body[data-theme="dark"] [style*="color: #0a0a0a"],
body[data-theme="dark"] [style*="color:#000000"],
body[data-theme="dark"] [style*="color: #000000"],
body[data-theme="dark"] [style*="color:black"],
body[data-theme="dark"] [style*="color: black"] {
  color: #a1a1aa !important;
}

/* 8. 所有次要文字颜色调�?*/
body[data-theme="dark"] [style*="color:#6b6b6b"],
body[data-theme="dark"] [style*="color: #6b6b6b"],
body[data-theme="dark"] [style*="color:#666666"],
body[data-theme="dark"] [style*="color: #666666"],
body[data-theme="dark"] [style*="color:#888888"],
body[data-theme="dark"] [style*="color: #888888"] {
  color: #71717a !important;
}

/* 9. 特别处理：容器类元素的子元素 */
body[data-theme="dark"] .container > [style*="background:#ffffff"],
body[data-theme="dark"] .container > [style*="background: #ffffff"],
body[data-theme="dark"] .container > [style*="background:#fafafa"],
body[data-theme="dark"] .container > [style*="background: #fafafa"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 10. 最终兜底：如果以上都不生效，使用通配符（慎用，性能影响�?*/
@media (prefers-color-scheme: dark) {
  body[data-theme="dark"] * [style*="background:#ffffff"] {
    background: #000000 !important;
    background-color: #000000 !important;
  }
  
  body[data-theme="dark"] * [style*="background:#fafafa"] {
    background: #000000 !important;
    background-color: #000000 !important;
  }
}

/* ================================================================
   🎯 特定页面覆盖 - 结果页、关于我们、新闻、案例库�?   ================================================================ */

/* 结果页面 - 头部区域 */
body[data-theme="dark"] .result-module div[style*="background:#ffffff"][style*="padding:56px"],
body[data-theme="dark"] .result-module div[style*="background: #ffffff"][style*="padding:56px"],
body[data-theme="dark"] .result-module div[style*="background:#ffffff"][style*="padding: 56px"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 关于我们页面 */
body[data-theme="dark"] .about-module div[style*="background:#ffffff"],
body[data-theme="dark"] .about-module div[style*="background: #ffffff"],
body[data-theme="dark"] .about-module section[style*="background:#ffffff"],
body[data-theme="dark"] .about-module section[style*="background: #ffffff"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 关于我们 - 卡片和容�?*/
body[data-theme="dark"] .about-module div[style*="background:#fafafa"][style*="border-radius:20px"],
body[data-theme="dark"] .about-module div[style*="background: #fafafa"][style*="border-radius: 20px"],
body[data-theme="dark"] .about-module div[style*="background:#fafafa"][style*="border-radius:16px"],
body[data-theme="dark"] .about-module div[style*="background: #fafafa"][style*="border-radius: 16px"] {
  background: #111113 !important;
  background-color: #111113 !important;
  border-color: #27272a !important;
}

/* 关于我们 - 图标容器 */
body[data-theme="dark"] .about-module div[style*="width:56px"][style*="height:56px"][style*="background:#1a1a1a"],
body[data-theme="dark"] .about-module div[style*="width: 56px"][style*="height: 56px"][style*="background: #1a1a1a"],
body[data-theme="dark"] .about-module div[style*="width:104px"][style*="height:104px"][style*="background:#1a1a1a"] {
  background: #18181b !important;
  background-color: #18181b !important;
}

/* 新闻页面 */
body[data-theme="dark"] .news-module div[style*="background:#ffffff"],
body[data-theme="dark"] .news-module div[style*="background: #ffffff"],
body[data-theme="dark"] .news-header-bar,
body[data-theme="dark"] .news-content {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 新闻卡片 */
body[data-theme="dark"] .news-card-new,
body[data-theme="dark"] .news-module article[class*="news-card"] {
  background: #111113 !important;
  border-color: #27272a !important;
}

/* 案例库页�?*/
body[data-theme="dark"] .cases-module div[style*="background:#ffffff"],
body[data-theme="dark"] .cases-module div[style*="background: #ffffff"],
body[data-theme="dark"] .showcase-module div[style*="background:#ffffff"],
body[data-theme="dark"] .showcase-module div[style*="background: #ffffff"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 通用：所有模块内的白色背�?*/
body[data-theme="dark"] [class*="-module"] div[style*="background:#ffffff"],
body[data-theme="dark"] [class*="-module"] div[style*="background: #ffffff"],
body[data-theme="dark"] [class*="-module"] section[style*="background:#ffffff"],
body[data-theme="dark"] [class*="-module"] section[style*="background: #ffffff"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 通用：所有模块内的浅灰背�?*/
body[data-theme="dark"] [class*="-module"] div[style*="background:#fafafa"],
body[data-theme="dark"] [class*="-module"] div[style*="background: #fafafa"] {
  background: #111113 !important;
  background-color: #111113 !important;
}

/* 通用：所有模块内的白色卡�?*/
body[data-theme="dark"] [class*="-module"] div[style*="background:#ffffff"][style*="border-radius:16px"],
body[data-theme="dark"] [class*="-module"] div[style*="background: #ffffff"][style*="border-radius: 16px"],
body[data-theme="dark"] [class*="-module"] div[style*="background:#ffffff"][style*="border-radius:12px"],
body[data-theme="dark"] [class*="-module"] div[style*="background: #ffffff"][style*="border-radius: 12px"] {
  background: #111113 !important;
  background-color: #111113 !important;
  border-color: #27272a !important;
}

/* 按钮样式覆盖 */
body[data-theme="dark"] [class*="-module"] a[style*="background:#1a1a1a"][style*="color:#ffffff"],
body[data-theme="dark"] [class*="-module"] a[style*="background: #1a1a1a"][style*="color: #ffffff"] {
  background: #a1a1aa !important;
  background-color: #a1a1aa !important;
  border-color: #a1a1aa !important;
  color: #ffffff !important;
}

body[data-theme="dark"] [class*="-module"] a[style*="background:#fafafa"][style*="border:1px solid #e8e8e8"],
body[data-theme="dark"] [class*="-module"] a[style*="background: #fafafa"][style*="border: 1px solid #e8e8e8"] {
  background: #111113 !important;
  background-color: #111113 !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

/* 标签和徽�?*/
body[data-theme="dark"] [class*="-module"] span[style*="background:#ffffff"][style*="border-radius:100px"],
body[data-theme="dark"] [class*="-module"] span[style*="background: #ffffff"][style*="border-radius: 100px"] {
  background: #18181b !important;
  background-color: #18181b !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

body[data-theme="dark"] [class*="-module"] span[style*="background:#fafafa"][style*="border-radius:100px"],
body[data-theme="dark"] [class*="-module"] span[style*="background: #fafafa"][style*="border-radius: 100px"] {
  background: #18181b !important;
  background-color: #18181b !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

/* SVG图标颜色 */
body[data-theme="dark"] [class*="-module"] svg[stroke="#1a1a1a"] {
  stroke: #a1a1aa !important;
}

body[data-theme="dark"] [class*="-module"] svg[fill="#1a1a1a"] {
  fill: #a1a1aa !important;
}

/* 步骤指示�?*/
body[data-theme="dark"] [class*="-module"] div[style*="width:32px"][style*="height:1px"][style*="background:#e8e8e8"],
body[data-theme="dark"] [class*="-module"] div[style*="width: 32px"][style*="height: 1px"][style*="background: #e8e8e8"],
body[data-theme="dark"] [class*="-module"] div[style*="width:48px"][style*="height:1px"][style*="background:#e5e5ea"],
body[data-theme="dark"] [class*="-module"] div[style*="width: 48px"][style*="height: 1px"][style*="background: #e5e5ea"] {
  background: #27272a !important;
  background-color: #27272a !important;
}

/* 输入�?*/
body[data-theme="dark"] [class*="-module"] input[style*="background:#ffffff"],
body[data-theme="dark"] [class*="-module"] input[style*="background: #ffffff"] {
  background: #111113 !important;
  background-color: #111113 !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

/* 图片容器 */
body[data-theme="dark"] [class*="-module"] div[style*="background:#ffffff"][style*="border-radius:14px"],
body[data-theme="dark"] [class*="-module"] div[style*="background: #ffffff"][style*="border-radius: 14px"] {
  background: #18181b !important;
  background-color: #18181b !important;
  border-color: #27272a !important;
}

/* ================================================================
   🚨 终极兜底 - 使用更通用的选择器覆盖所有白色背�?   ================================================================ */

/* 直接针对所有带白色背景的div，无论在哪里 */
body[data-theme="dark"] div[style*="background:#ffffff"],
body[data-theme="dark"] div[style*="background: rgb(255, 255, 255)"],
body[data-theme="dark"] div[style*="background: rgb(255,255,255)"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 针对结果页面的特定结�?- 直接子元�?*/
body[data-theme="dark"] .result-module > div[style*="background:#ffffff"],
body[data-theme="dark"] .result-module > div[style*="background: rgb(255, 255, 255)"],
body[data-theme="dark"] [class*="result-"] > div[style*="background:#ffffff"],
body[data-theme="dark"] [class*="result-"] > div[style*="background: rgb(255, 255, 255)"] {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a !important;
}

/* 针对padding:56px 0 48px的白色背景div */
body[data-theme="dark"] div[style*="background:#ffffff"][style*="padding:56px"],
body[data-theme="dark"] div[style*="background: rgb(255, 255, 255)"][style*="padding:56px"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 使用属性包含选择�?- 更宽松匹�?*/
body[data-theme="dark"] [style*="background"][style*="#ffffff"],
body[data-theme="dark"] [style*="background"][style*="rgb(255"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 强制覆盖所有可能的白色背景变体 */
body[data-theme="dark"] [style*="background-color:#ffffff"],
body[data-theme="dark"] [style*="background-color: #ffffff"],
body[data-theme="dark"] [style*="background-color:rgb(255"] {
  background-color: #000000 !important;
}

/* ================================================================
   🎯 特定修复 - 结果页面renderNormalResult中的白色背景div
   ================================================================ */

/* 结果页面 - 英雄区域白色背景 - 使用最高优先级 */
body[data-theme="dark"] .result-normal > div:first-child,
body[data-theme="dark"] .result-module.result-normal > div:first-child {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a !important;
}

/* 强制覆盖 - 针对内联样式 */
body[data-theme="dark"] .result-normal > div:first-child[style],
body[data-theme="dark"] .result-module.result-normal > div:first-child[style] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 结果页面 - 所有直接子div的白色背�?*/
body[data-theme="dark"] .result-module.result-normal > div[style*="background:#ffffff"],
body[data-theme="dark"] .result-module.result-image > div[style*="background:#ffffff"],
body[data-theme="dark"] .result-module.result-video > div[style*="background:#ffffff"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 结果页面 - 步骤指示器连接线 */
body[data-theme="dark"] .result-module div[style*="width:32px"][style*="height:1px"][style*="background:#e8e8e8"],
body[data-theme="dark"] .result-module div[style*="width: 32px"][style*="height: 1px"][style*="background: #e8e8e8"] {
  background: #27272a !important;
  background-color: #27272a !important;
}

/* 结果页面 - 方案概览卡片 */
body[data-theme="dark"] .result-module div[style*="background:#fafafa"][style*="border-radius:12px"],
body[data-theme="dark"] .result-module div[style*="background: #fafafa"][style*="border-radius: 12px"] {
  background: #111113 !important;
  background-color: #111113 !important;
  border-color: #27272a !important;
}

/* 结果页面 - 工具项标�?*/
body[data-theme="dark"] .result-module span[style*="background:#ffffff"][style*="border-radius:100px"],
body[data-theme="dark"] .result-module span[style*="background: #ffffff"][style*="border-radius: 100px"] {
  background: #18181b !important;
  background-color: #18181b !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

/* 结果页面 - 按钮 */
body[data-theme="dark"] .result-module button[style*="background:#ffffff"],
body[data-theme="dark"] .result-module button[style*="background: #ffffff"] {
  background: #18181b !important;
  background-color: #18181b !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

/* 结果页面 - 图标容器 */
body[data-theme="dark"] .result-module div[style*="width:40px"][style*="height:40px"][style*="background:#ffffff"],
body[data-theme="dark"] .result-module div[style*="width: 40px"][style*="height: 40px"][style*="background: #ffffff"] {
  background: #18181b !important;
  background-color: #18181b !important;
  border-color: #27272a !important;
}

/* 结果页面 - 文字颜色 */
body[data-theme="dark"] .result-module [style*="color:#1a1a1a"],
body[data-theme="dark"] .result-module [style*="color: #1a1a1a"] {
  color: #a1a1aa !important;
}

body[data-theme="dark"] .result-module [style*="color:#8a8a8a"],
body[data-theme="dark"] .result-module [style*="color: #8a8a8a"] {
  color: #71717a !important;
}

body[data-theme="dark"] .result-module [style*="color:#6b6b6b"],
body[data-theme="dark"] .result-module [style*="color: #6b6b6b"] {
  color: #71717a !important;
}

/* ================================================================
   🎯 案例库页�?(cases module) 暗夜模式适配
   ================================================================ */

/* 案例库页�?- 所有白色背景区�?*/
body[data-theme="dark"] .cases-page > div[style*="background:#ffffff"],
body[data-theme="dark"] .cases-page > div[style*="background: #ffffff"] {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a !important;
}

/* 案例库页�?- 返回按钮区域 */
body[data-theme="dark"] .cases-page > div:first-child[style*="background:#ffffff"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 案例库页�?- 英雄区域 */
body[data-theme="dark"] .cases-page > div:nth-child(2)[style*="background:#ffffff"] {
  background: #000000 !important;
  background-color: #000000 !important;
}

/* 案例库页�?- 统计卡片 */
body[data-theme="dark"] .cases-page div[style*="background:#fafafa"][style*="border-radius:12px"] {
  background: #111113 !important;
  background-color: #111113 !important;
  border-color: #27272a !important;
}

/* 案例库页�?- 筛选按�?*/
body[data-theme="dark"] .cases-page button.filter-tab[style*="background:#ffffff"] {
  background: #18181b !important;
  background-color: #18181b !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

body[data-theme="dark"] .cases-page button.filter-tab.active[style*="background:#ffffff"] {
  background: #a1a1aa !important;
  background-color: #a1a1aa !important;
  border-color: #a1a1aa !important;
  color: #ffffff !important;
}

/* 案例库页�?- 加载更多按钮 */
body[data-theme="dark"] .cases-page button#load-more[style*="background:#ffffff"] {
  background: #18181b !important;
  background-color: #18181b !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

/* 案例库页�?- 标签 */
body[data-theme="dark"] .cases-page div[style*="background:#ffffff"][style*="border-radius:100px"] {
  background: #18181b !important;
  background-color: #18181b !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

/* 案例库页�?- 弹窗 */
body[data-theme="dark"] .cases-page div[style*="background:#ffffff"][style*="padding:24px 28px"],
body[data-theme="dark"] .cases-page div[style*="background:#ffffff"][style*="padding:32px 28px"] {
  background: #111113 !important;
  background-color: #111113 !important;
  border-color: #27272a !important;
}

/* 案例库页�?- 返回链接按钮 */
body[data-theme="dark"] .cases-page a#back-link[style*="background:#fafafa"] {
  background: #111113 !important;
  background-color: #111113 !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

/* 案例库页�?- 主按�?*/
body[data-theme="dark"] .cases-page a[style*="background:#1a1a1a"][style*="color:#ffffff"] {
  background: #a1a1aa !important;
  background-color: #a1a1aa !important;
  border-color: #a1a1aa !important;
}

/* 案例库页�?- 文字颜色 */
body[data-theme="dark"] .cases-page [style*="color:#1a1a1a"] {
  color: #a1a1aa !important;
}

body[data-theme="dark"] .cases-page [style*="color:#8a8a8a"],
body[data-theme="dark"] .cases-page [style*="color:#6b6b6b"] {
  color: #71717a !important;
}

/* 案例库页�?- 边框 */
body[data-theme="dark"] .cases-page [style*="border:1px solid #e8e8e8"] {
  border-color: #27272a !important;
}

/* ================================================================
   🤖 AI助手/智能客服 (chatbot) 暗夜模式适配
   ================================================================ */

/* AI助手悬浮按钮 - 图标颜色 */
[data-theme="dark"] .chatbot-icon-robot,
body[data-theme="dark"] .chatbot-icon-robot {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* AI助手悬浮按钮 - 背景 */
[data-theme="dark"] .chatbot-toggle,
body[data-theme="dark"] .chatbot-toggle {
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.92) 0%, rgba(18, 18, 21, 0.85) 100%) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="dark"] .chatbot-toggle::before,
body[data-theme="dark"] .chatbot-toggle::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 60%);
}

[data-theme="dark"] .chatbot-toggle:hover,
body[data-theme="dark"] .chatbot-toggle:hover {
  background: linear-gradient(135deg, rgba(39, 39, 42, 0.94) 0%, rgba(24, 24, 27, 0.88) 100%) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.25),
    0 12px 36px rgba(0, 0, 0, 0.45),
    0 4px 10px rgba(0, 0, 0, 0.25),
    0 0 0 4px rgba(82, 82, 91, 0.15) !important;
}

[data-theme="dark"] .chatbot-toggle:active,
body[data-theme="dark"] .chatbot-toggle:active,
[data-theme="dark"] .chatbot-toggle.dragging,
body[data-theme="dark"] .chatbot-toggle.dragging {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 0 0 8px rgba(82, 82, 91, 0.1) !important;
}

[data-theme="dark"] .chatbot-drag-hint,
body[data-theme="dark"] .chatbot-drag-hint {
  background: rgba(24, 24, 27, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="dark"] .chatbot-drag-hint svg,
body[data-theme="dark"] .chatbot-drag-hint svg {
  color: rgba(255, 255, 255, 0.4);
}

/* AI助手悬浮按钮 - 脉冲效果 */
[data-theme="dark"] .chatbot-icon-pulse,
body[data-theme="dark"] .chatbot-icon-pulse {
  background: radial-gradient(circle, rgba(161, 161, 170, 0.12) 0%, transparent 70%) !important;
}

/* AI助手聊天窗口 - 整体 */
[data-theme="dark"] .chatbot-window,
body[data-theme="dark"] .chatbot-window {
  background: rgba(18, 18, 21, 0.94) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 20px 60px rgba(0, 0, 0, 0.45) !important;
}

/* AI助手聊天窗口 - 头部 */
[data-theme="dark"] .chatbot-header,
body[data-theme="dark"] .chatbot-header {
  background: rgba(24, 24, 27, 0.88) !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

[data-theme="dark"] .chatbot-avatar,
body[data-theme="dark"] .chatbot-avatar {
  background: linear-gradient(135deg, rgba(82, 82, 91, 0.12) 0%, rgba(82, 82, 91, 0.04) 100%) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .chatbot-avatar i,
body[data-theme="dark"] .chatbot-avatar i {
  color: rgba(255, 255, 255, 0.55);
  filter: none;
}

[data-theme="dark"] .chatbot-info h4,
body[data-theme="dark"] .chatbot-info h4 {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="dark"] .chatbot-status,
body[data-theme="dark"] .chatbot-status {
  color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .chatbot-status i,
body[data-theme="dark"] .chatbot-status i {
  filter: drop-shadow(0 0 2px rgba(52, 199, 89, 0.2));
}

[data-theme="dark"] .chatbot-close,
body[data-theme="dark"] .chatbot-close {
  background: rgba(255, 255, 255, 0.04) !important;
}

[data-theme="dark"] .chatbot-close:hover,
body[data-theme="dark"] .chatbot-close:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .chatbot-close i,
body[data-theme="dark"] .chatbot-close i {
  color: rgba(255, 255, 255, 0.4);
}

/* AI助手聊天窗口 - 消息区域 */
[data-theme="dark"] .chatbot-messages,
body[data-theme="dark"] .chatbot-messages {
  background: #0a0a0b !important;
}

[data-theme="dark"] .chat-message.bot .message-bubble,
body[data-theme="dark"] .chat-message.bot .message-bubble {
  background: rgba(24, 24, 27, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="dark"] .chat-message.user .message-bubble,
body[data-theme="dark"] .chat-message.user .message-bubble {
  background: linear-gradient(135deg, #52525b 0%, #3f3f46 100%) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="dark"] .message-avatar,
body[data-theme="dark"] .message-avatar {
  border-color: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .chat-message.bot .message-avatar,
body[data-theme="dark"] .chat-message.bot .message-avatar {
  background: linear-gradient(135deg, rgba(82, 82, 91, 0.08) 0%, rgba(82, 82, 91, 0.03) 100%) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

[data-theme="dark"] .chat-message.user .message-avatar,
body[data-theme="dark"] .chat-message.user .message-avatar {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
}

[data-theme="dark"] .message-avatar i,
body[data-theme="dark"] .message-avatar i {
  color: rgba(255, 255, 255, 0.4) !important;
}

[data-theme="dark"] .message-time,
body[data-theme="dark"] .message-time {
  color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="dark"] .typing-indicator span,
body[data-theme="dark"] .typing-indicator span {
  background: rgba(255, 255, 255, 0.3) !important;
}

/* AI助手聊天窗口 - 输入区域 */
[data-theme="dark"] .chatbot-input-area,
body[data-theme="dark"] .chatbot-input-area {
  background: rgba(24, 24, 27, 0.88) !important;
  border-top-color: rgba(255, 255, 255, 0.06) !important;
}

[data-theme="dark"] .chatbot-input-wrapper,
body[data-theme="dark"] .chatbot-input-wrapper {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

[data-theme="dark"] .chatbot-input-wrapper:focus-within,
body[data-theme="dark"] .chatbot-input-wrapper:focus-within {
  border-color: rgba(82, 82, 91, 0.25) !important;
  box-shadow: 0 0 0 3px rgba(82, 82, 91, 0.1) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .chatbot-input,
body[data-theme="dark"] .chatbot-input {
  background: transparent !important;
  border-color: transparent !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

[data-theme="dark"] .chatbot-input::placeholder,
body[data-theme="dark"] .chatbot-input::placeholder {
  color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="dark"] .chatbot-send,
body[data-theme="dark"] .chatbot-send {
  background: linear-gradient(135deg, #52525b 0%, #3f3f46 100%) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .chatbot-send:hover,
body[data-theme="dark"] .chatbot-send:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="dark"] .chatbot-hint,
body[data-theme="dark"] .chatbot-hint {
  color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .chatbot-hint i,
body[data-theme="dark"] .chatbot-hint i {
  color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .chatbot-quick-questions,
body[data-theme="dark"] .chatbot-quick-questions {
  background: rgba(10, 10, 11, 0.85) !important;
  border-top-color: rgba(255, 255, 255, 0.06) !important;
}

[data-theme="dark"] .quick-question-btn,
body[data-theme="dark"] .quick-question-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

[data-theme="dark"] .quick-question-btn:hover,
body[data-theme="dark"] .quick-question-btn:hover {
  background: rgba(82, 82, 91, 0.12) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(82, 82, 91, 0.2) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* AI助手聊天窗口 - 输入�?*/
[data-theme="dark"] .chatbot-input,
body[data-theme="dark"] .chatbot-input {
  background: transparent !important;
  border-color: transparent !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

/* AI助手聊天窗口 - 快捷问题 */
[data-theme="dark"] .chatbot-quick-questions,
body[data-theme="dark"] .chatbot-quick-questions {
  background: rgba(10, 10, 11, 0.85) !important;
  border-top-color: rgba(255, 255, 255, 0.06) !important;
}

/* AI助手聊天窗口 - 快捷问题按钮 */
[data-theme="dark"] .quick-question-btn,
body[data-theme="dark"] .quick-question-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.55) !important;
}
/**
 * 结果页面样式
 * 设计语言：Apple极简 + Linear专业�? * 核心原则：大留白、精简边框、统一圆角/间距/字号层级
 */

/* ================================================================
   设计令牌
   ================================================================ */

:root {
  --rs-radius: 16px;
  --rs-radius-sm: 10px;
  --rs-radius-xs: 6px;
  --rs-gap: 48px;
  --rs-gap-sm: 24px;
  --rs-gap-xs: 12px;
  --rs-border: 1px solid #f0f0f0;
  --rs-bg: #fafafa;
  --rs-bg-elevated: #ffffff;
  --rs-text-primary: #1a1a1a;
  --rs-text-secondary: #6b6b6b;
  --rs-text-tertiary: #999999;
  --rs-accent: #1a1a1a;
}

/* ================================================================
   基础布局
   ================================================================ */

.result-module {
  min-height: 100vh;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--rs-accent);
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ================================================================
   英雄区域
   ================================================================ */

.result-hero {
  background: var(--rs-bg-elevated);
  padding: 80px 0 64px;
  border-bottom: var(--rs-border);
  position: relative;
  overflow: hidden;
}

.result-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 4s ease-in-out infinite alternate;
}

.result-hero-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.result-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rs-bg-elevated);
  border: 1px solid #e0e0e0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--rs-gap-sm);
  animation: resultIconIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  position: relative;
}

.result-success-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #e8e8e8;
  opacity: 0;
  animation: iconPulse 2s ease-in-out 1s infinite;
  z-index: -1;
}

.result-success-icon svg path {
  stroke: var(--rs-text-primary);
}

.result-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--rs-text-tertiary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: resultFadeInUp 0.5s ease 0.2s both;
}

.result-hero-score {
  margin-bottom: 16px;
  animation: resultFadeInUp 0.5s ease 0.25s both;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: 999px;
}

.result-hero-grade {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--rs-text-primary);
}

.result-hero-score-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--rs-text-tertiary);
  letter-spacing: 0.02em;
  text-transform: none;
}

.result-title {
  font-size: 36px;
  font-weight: 600;
  color: var(--rs-text-primary);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
  animation: resultFadeInUp 0.5s ease 0.3s both;
}

.result-subtitle {
  font-size: 15px;
  color: var(--rs-text-secondary);
  line-height: 1.6;
  font-weight: 400;
  animation: resultFadeInUp 0.5s ease 0.4s both;
}

/* ================================================================
   主内容区
   ================================================================ */

.result-main {
  padding-top: var(--rs-gap);
  padding-bottom: 96px;
}

/* ================================================================
   报告式双栏布局
   ================================================================ */

.result-report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.result-report-content {
  min-width: 0;
}

.result-report-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.result-conclusion-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  padding: 32px;
  margin-bottom: var(--rs-gap);
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
}

.result-conclusion-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 18px;
  border-left: 2px solid var(--rs-text-primary);
}

.result-eyebrow,
.result-sidebar-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--rs-text-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-conclusion-copy h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--rs-text-primary);
  margin: 12px 0;
}

.result-conclusion-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--rs-text-secondary);
  margin: 0;
}

.result-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.result-kpi-card {
  min-height: 104px;
  padding: 18px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.result-kpi-card--primary {
  background: var(--rs-bg);
  border-color: var(--rs-text-primary);
  box-shadow: inset 0 3px 0 var(--rs-text-primary);
  padding: 18px;
}

.result-kpi-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--rs-text-primary);
  font-variant-numeric: tabular-nums;
}

.result-kpi-card--primary .result-kpi-value {
  color: var(--rs-text-primary);
}

.result-kpi-card--primary .result-kpi-label {
  color: var(--rs-text-secondary);
}

.result-kpi-label {
  font-size: 12px;
  line-height: 1.4;
  color: var(--rs-text-tertiary);
}

.result-sidebar-card {
  padding: 22px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
}

.result-sidebar-card h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--rs-text-primary);
  letter-spacing: -0.02em;
  margin: 10px 0 18px;
}

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

.result-sidebar-list div {
  padding-bottom: 14px;
  border-bottom: var(--rs-border);
}

.result-sidebar-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.result-sidebar-list span {
  display: block;
  font-size: 12px;
  color: var(--rs-text-tertiary);
  margin-bottom: 5px;
}

.result-sidebar-list strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--rs-text-primary);
}

.result-sidebar-actions .result-actions {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.result-sidebar-actions .result-btn {
  width: 100%;
}

.result-sidebar-actions #export-btn {
  order: -1;
}

.result-report-id {
  margin: 10px 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--rs-text-primary);
  letter-spacing: 0.02em;
}

.result-sidebar-card--meta p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--rs-text-tertiary);
  margin: 0;
}

/* ================================================================
   方案概览卡片
   ================================================================ */

.result-overview {
  margin-bottom: var(--rs-gap);
}

.result-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--rs-gap-xs);
}

.result-overview-card {
  padding: 20px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
}

.result-overview-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--rs-text-tertiary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.result-overview-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--rs-text-primary);
  line-height: 1.3;
}

.result-overview-price {
  font-size: 22px;
  font-weight: 600;
  color: var(--rs-text-primary);
  letter-spacing: -0.02em;
}

/* ================================================================
   分析摘要
   ================================================================ */

.result-summary {
  margin-bottom: var(--rs-gap);
}

.result-summary-text {
  font-size: 15px;
  color: var(--rs-text-secondary);
  line-height: 1.7;
  padding: 20px 24px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
}

/* ================================================================
   深度行为分析
   ================================================================ */

.result-analysis {
  margin-bottom: var(--rs-gap);
}

.result-analysis-card {
  padding: 28px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
}

.result-analysis-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: var(--rs-gap-sm);
}

.result-analysis-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--rs-radius-xs);
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.result-analysis-icon svg {
  stroke: var(--rs-text-primary);
}

.result-analysis-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--rs-text-primary);
  margin: 0 0 4px 0;
}

.result-analysis-header p {
  font-size: 13px;
  color: var(--rs-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.result-analysis-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--rs-gap-xs);
}

.result-stat-card {
  padding: 14px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius-sm);
  text-align: center;
}

.result-stat-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--rs-text-primary);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.result-stat-label {
  font-size: 11px;
  color: var(--rs-text-tertiary);
  font-weight: 500;
}

/* ================================================================
   热力�?   ================================================================ */

.result-heatmap {
  margin-bottom: var(--rs-gap);
}

.result-heatmap-card {
  padding: 28px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
}

.result-heatmap-container {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border: var(--rs-border);
  border-radius: var(--rs-radius-sm);
  position: relative;
  overflow: hidden;
  margin-bottom: var(--rs-gap-sm);
}

.result-heatmap-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f172a;
}

.result-heatmap-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--rs-gap-xs);
  margin-bottom: var(--rs-gap-sm);
}

.result-hotspots {
  margin-top: var(--rs-gap-sm);
}

.result-hotspots h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--rs-text-primary);
  margin-bottom: var(--rs-gap-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.result-hotspot-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius-sm);
}

.result-hotspot-marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1d1d1f;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  position: relative;
  flex-shrink: 0;
}

.result-hotspot-marker::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid #d4d4d8;
  opacity: 0;
  animation: hotspotPulse 2s ease-in-out infinite;
  z-index: -1;
}

.result-hotspot-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--rs-text-primary);
}

.result-hotspot-intensity {
  font-size: 11px;
  color: var(--rs-text-tertiary);
}

/* ================================================================
   干预方案（策�?工具包联合）
   ================================================================ */

.result-strategies {
  margin-bottom: var(--rs-gap);
}

.result-strategies-list {
  display: flex;
  flex-direction: column;
  gap: var(--rs-gap-xs);
}

.result-strategy-item {
  padding: 24px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
}

.result-strategy-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--rs-radius-xs);
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--rs-text-primary);
  margin-bottom: 12px;
}

.result-strategy-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--rs-text-primary);
  margin: 0 0 6px 0;
}

.result-strategy-body p {
  font-size: 13px;
  color: var(--rs-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.result-strategy-effect {
  margin-top: 8px !important;
  font-size: 12px !important;
  color: var(--rs-text-tertiary) !important;
  font-style: italic;
}

.result-strategy-tools {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.result-strategy-tools-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--rs-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.result-strategy-tools-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.result-tool-item--inline {
  padding: 14px 16px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius-sm);
}

.result-tool-item--inline .result-tool-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.result-tool-item--inline .result-tool-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--rs-text-primary);
  margin: 0;
}

.result-tool-item--inline .result-tool-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--rs-text-primary);
  white-space: nowrap;
}

.result-tool-item--inline .result-tool-description {
  font-size: 12px;
  color: var(--rs-text-secondary);
  line-height: 1.5;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-tool-item--inline .result-tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.result-tool-item--inline .result-tool-tag {
  font-size: 10px;
  color: var(--rs-text-tertiary);
  padding: 2px 8px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: 100px;
}

/* ================================================================
   改造建�?   ================================================================ */

.result-recommendations {
  margin-bottom: var(--rs-gap);
}

.result-recommendations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-recommendations-list li {
  font-size: 14px;
  color: var(--rs-text-secondary);
  line-height: 1.6;
  padding: 12px 16px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius-sm);
  position: relative;
  padding-left: 28px;
}

.result-recommendations-list li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rs-text-tertiary);
}

/* ================================================================
   环境传感器数�?   ================================================================ */

.result-sensor-section {
  margin-bottom: var(--rs-gap);
}

.result-sensor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-gap-xs);
}

.result-sensor-card {
  padding: 24px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
}

.result-sensor-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.result-sensor-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--rs-text-primary);
  margin: 0 0 6px 0;
}

.result-sensor-summary {
  font-size: 13px;
  color: var(--rs-text-secondary);
  line-height: 1.6;
  margin: 0 0 14px 0;
}

.result-sensor-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.result-sensor-metrics span {
  display: inline-block;
  padding: 4px 10px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius-xs);
  font-size: 12px;
  font-weight: 500;
  color: var(--rs-text-secondary);
}

/* ================================================================
   工具包列表（降级模式，无策略时显示）
   ================================================================ */

.result-tools {
  margin-bottom: var(--rs-gap);
}

.result-tools-list {
  display: flex;
  flex-direction: column;
  gap: var(--rs-gap-xs);
}

.result-tool-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
}

.result-tool-number {
  width: 36px;
  height: 36px;
  border-radius: var(--rs-radius-sm);
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--rs-text-primary);
}

.result-tool-content {
  flex: 1;
}

.result-tool-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.result-tool-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--rs-text-primary);
  margin: 0;
}

.result-tool-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--rs-text-primary);
}

.result-tool-description {
  font-size: 13px;
  color: var(--rs-text-secondary);
  line-height: 1.6;
  margin: 0 0 10px 0;
}

.result-tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.result-tool-tag {
  font-size: 11px;
  color: var(--rs-text-tertiary);
  padding: 3px 10px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: 100px;
}

/* ================================================================
   实施步骤
   ================================================================ */

.result-steps-section {
  margin-bottom: var(--rs-gap);
}

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

.result-step-item {
  display: flex;
  gap: 16px;
}

.result-step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--rs-text-primary);
}

.result-step-text {
  flex: 1;
  padding-top: 3px;
  font-size: 15px;
  font-weight: 500;
  color: var(--rs-text-primary);
  line-height: 1.6;
}

/* ================================================================
   AI效果预测
   ================================================================ */

.result-prediction {
  margin-bottom: var(--rs-gap);
}

.result-prediction-detailed {
  margin-bottom: var(--rs-gap);
  padding: 28px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
}

.prediction-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  margin-left: 8px;
  background: var(--rs-bg);
  color: var(--rs-text-secondary);
  border: var(--rs-border);
}

.prediction-confidence {
  margin-bottom: var(--rs-gap-sm);
  padding: 16px 20px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius-sm);
}

.confidence-bar {
  height: 6px;
  background: var(--rs-bg);
  border-radius: 3px;
  margin-bottom: 10px;
  overflow: hidden;
}

.confidence-fill {
  height: 100%;
  background: var(--rs-accent);
  border-radius: 3px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.confidence-text {
  font-size: 12px;
  color: var(--rs-text-tertiary);
}

.prediction-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rs-gap-xs);
}

.prediction-metric {
  padding: 20px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
  text-align: center;
}

.prediction-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--rs-text-primary);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.prediction-label {
  font-size: 12px;
  color: var(--rs-text-secondary);
  font-weight: 500;
}

.prediction-reasons {
  margin-top: var(--rs-gap-sm);
  padding: 20px 24px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius-sm);
}

.prediction-reasons h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--rs-text-primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prediction-reasons ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prediction-reasons li {
  font-size: 13px;
  color: var(--rs-text-secondary);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.prediction-reasons li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rs-text-tertiary);
}

.prediction-timeline {
  margin-top: var(--rs-gap-sm);
  padding: 20px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius-sm);
}

.prediction-timeline h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--rs-text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--rs-gap-xs);
}

.timeline-item {
  padding: 20px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
  text-align: center;
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rs-text-tertiary);
  margin: 0 auto 12px;
}

.timeline-dot.active {
  background: var(--rs-accent);
}

.timeline-connector {
  display: none;
}

.timeline-body {
  width: 100%;
}

.timeline-header {
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--rs-text-primary);
}

.timeline-status {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  color: var(--rs-text-tertiary);
  padding: 2px 6px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius-xs);
  margin-top: 4px;
}

.timeline-desc {
  font-size: 12px;
  color: var(--rs-text-secondary);
  margin: 6px 0 12px;
  line-height: 1.5;
}

.timeline-improvement {
  display: flex;
  align-items: center;
  gap: 8px;
}

.improvement-bar {
  flex: 1;
  height: 6px;
  background: var(--rs-bg);
  border-radius: 3px;
  overflow: hidden;
}

.improvement-fill {
  height: 100%;
  background: var(--rs-accent);
  border-radius: 3px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.improvement-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--rs-text-primary);
  min-width: 32px;
  text-align: right;
}

/* Scoped prediction report styles. These class names intentionally avoid the
   legacy global .prediction-* and .timeline-* selectors in assets/css/main.css. */
.result-prediction-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  margin-left: 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  background: var(--rs-bg);
  color: var(--rs-text-secondary);
  border: var(--rs-border);
  vertical-align: middle;
}

.result-prediction-confidence {
  margin-bottom: var(--rs-gap-sm);
  padding: 16px 20px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius-sm);
}

.result-confidence-bar {
  height: 6px;
  background: var(--rs-bg);
  border-radius: 3px;
  margin-bottom: 10px;
  overflow: hidden;
}

.result-confidence-fill {
  height: 100%;
  background: var(--rs-accent);
  border-radius: 3px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.result-confidence-text {
  display: block;
  font-size: 12px;
  color: var(--rs-text-tertiary);
}

.result-prediction-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rs-gap-xs);
}

.result-prediction-metric {
  padding: 20px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
  text-align: center;
}

.result-prediction-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--rs-text-primary);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.result-prediction-label {
  font-size: 12px;
  color: var(--rs-text-secondary);
  font-weight: 500;
}

.result-prediction-reasons {
  margin-top: var(--rs-gap-sm);
  padding: 24px 28px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
}

.result-prediction-reasons h4,
.result-prediction-timeline h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--rs-text-primary);
  margin-bottom: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.result-prediction-reasons ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-prediction-reasons li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--rs-text-secondary);
  line-height: 1.8;
}

.result-prediction-reasons li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rs-text-tertiary);
}

.result-prediction-timeline {
  margin-top: var(--rs-gap-sm);
  padding: 24px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
}

.result-timeline-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.result-timeline-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 210px;
  padding: 20px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
  text-align: left;
}

.result-timeline-dot {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  margin: 0;
  background: var(--rs-bg-elevated);
  position: relative;
  overflow: hidden;
}

.result-timeline-dot::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--rs-accent);
  border-radius: 999px;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}

.result-timeline-dot.active::after {
  width: 100%;
}

.result-timeline-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.result-timeline-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.result-timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--rs-text-primary);
  line-height: 1.4;
}

.result-timeline-status {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 500;
  color: var(--rs-text-tertiary);
  padding: 4px 8px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius-xs);
}

.result-timeline-desc {
  font-size: 14px;
  color: var(--rs-text-secondary);
  margin: 10px 0 14px;
  line-height: 1.75;
}

.result-timeline-improvement {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.result-improvement-bar {
  flex: 1;
  height: 6px;
  background: var(--rs-bg-elevated);
  border-radius: 3px;
  overflow: hidden;
}

.result-improvement-fill {
  height: 100%;
  background: var(--rs-accent);
  border-radius: 3px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.result-improvement-value {
  min-width: 36px;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  color: var(--rs-text-primary);
}

/* ================================================================
   操作按钮
   ================================================================ */

.result-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: var(--rs-gap);
}

.result-btn {
  padding: 10px 22px;
  font-size: 13px;
  border-radius: var(--rs-radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.result-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255,255,255,0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.result-btn:active::after {
  opacity: 1;
}

.result-btn-secondary {
  border: var(--rs-border);
  background: var(--rs-bg-elevated);
  color: var(--rs-text-primary);
}

.result-btn-secondary:hover {
  background: var(--rs-bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

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

.result-btn-ghost {
  border: var(--rs-border);
  background: var(--rs-bg);
  color: var(--rs-text-secondary);
}

.result-btn-ghost:hover {
  background: var(--rs-bg-elevated);
  transform: translateY(-1px);
}

.result-btn-ghost:active {
  transform: translateY(0) scale(0.98);
}

.result-btn-ghost.active {
  color: var(--rs-text-primary);
  border-color: var(--rs-accent);
}

.result-btn-primary {
  border: 1px solid var(--rs-accent);
  background: var(--rs-accent);
  color: #ffffff;
}

.result-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.result-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.result-btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.3;
  transform: none !important;
  background: var(--rs-text-tertiary);
  border-color: var(--rs-text-tertiary);
  color: rgba(255, 255, 255, 0.6);
}

.result-btn-secondary:disabled,
.result-btn-ghost:disabled {
  cursor: not-allowed;
  opacity: 0.3;
  transform: none !important;
  border-color: #f0f0f0;
  color: #ccc;
  background: transparent;
}

/* ================================================================
   共享媒体
   ================================================================ */

.shared-media-section {
  margin-bottom: var(--rs-gap);
}

.shared-media-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--rs-text-primary);
  margin-bottom: var(--rs-gap-sm);
}

.shared-media-card {
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
  padding: 12px;
}

.shared-media-card img,
.shared-media-card video {
  width: 100%;
  max-height: 400px;
  border-radius: var(--rs-radius-sm);
  object-fit: cover;
}

/* ================================================================
   AI/视频推荐标签
   ================================================================ */

.ai-recommend-badge,
.video-recommend-badge {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
  background: var(--rs-bg);
  color: var(--rs-text-secondary);
  border: var(--rs-border);
}

.tool-reason {
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius-xs);
  font-size: 12px;
  color: var(--rs-text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ================================================================
   传感器上�?   ================================================================ */

/* ================================================================
   统一报告章节视觉
   ================================================================ */

.shared-media-section,
.result-overview,
.result-summary,
.result-analysis,
.result-heatmap,
.result-strategies,
.result-recommendations,
.result-sensor-section,
.result-tools,
.result-steps-section,
.result-prediction-detailed {
  margin-bottom: 20px;
  padding: 28px;
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  border-radius: var(--rs-radius);
}

.result-summary-text,
.result-analysis-card,
.result-heatmap-card {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.result-overview-card,
.result-stat-card,
.result-strategy-item,
.result-recommendations-list li,
.result-sensor-card,
.result-tool-item,
.prediction-metric,
.timeline-item {
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius-sm);
}

.result-strategy-item,
.result-tool-item,
.result-sensor-card,
.timeline-item {
  padding: 20px;
}

.prediction-confidence,
.prediction-reasons,
.prediction-timeline,
.result-tool-item--inline,
.result-hotspot-item,
.result-sensor-metrics span,
.result-tool-tag {
  background: var(--rs-bg);
  border: var(--rs-border);
}

/* ================================================================
   重点报告内容的阅读优�?   ================================================================ */

.result-strategies-list {
  gap: 14px;
}

.result-strategy-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.result-strategy-num {
  width: 36px;
  height: 36px;
  margin-bottom: 0;
  border-radius: var(--rs-radius-sm);
  font-size: 14px;
}

.result-strategy-body h3 {
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.result-strategy-body p {
  font-size: 15px;
  line-height: 1.8;
}

.result-strategy-effect {
  margin-top: 14px !important;
  padding: 12px 14px;
  border-left: 2px solid var(--rs-text-primary);
  background: var(--rs-bg-elevated);
  border-radius: 0 var(--rs-radius-xs) var(--rs-radius-xs) 0;
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: var(--rs-text-secondary) !important;
  font-style: normal;
}

.result-strategy-tools {
  margin-top: 18px;
  padding-top: 18px;
}

.result-strategy-tools-label {
  font-size: 12px;
  margin-bottom: 12px;
}

.result-tool-item--inline {
  padding: 16px;
}

.result-tool-item--inline .result-tool-name {
  font-size: 15px;
}

.result-tool-item--inline .result-tool-description {
  font-size: 13px;
  line-height: 1.7;
  -webkit-line-clamp: 3;
}

.result-tool-item--inline .result-tool-tag {
  font-size: 11px;
  padding: 3px 9px;
}

.result-recommendations-list {
  counter-reset: recommendation;
  gap: 12px;
}

.result-recommendations-list li {
  counter-increment: recommendation;
  padding: 16px 18px 16px 52px;
  font-size: 15px;
  line-height: 1.8;
}

.result-recommendations-list li::before {
  content: counter(recommendation, decimal-leading-zero);
  left: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
  border-radius: var(--rs-radius-xs);
  background: var(--rs-bg-elevated);
  border: var(--rs-border);
  color: var(--rs-text-primary);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prediction-reasons {
  padding: 0;
  border: 0;
  background: transparent;
}

.prediction-reasons h4,
.prediction-timeline h4 {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.prediction-reasons ul {
  gap: 12px;
}

.prediction-reasons li {
  padding: 16px 18px 16px 44px;
  background: var(--rs-bg);
  border: var(--rs-border);
  border-radius: var(--rs-radius-sm);
  font-size: 15px;
  line-height: 1.8;
}

.prediction-reasons li::before {
  left: 18px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rs-text-primary);
}

.prediction-timeline {
  padding: 0;
  border: 0;
  background: transparent;
}

.timeline-list {
  gap: 14px;
}

.timeline-item {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 210px;
}

.timeline-dot {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  margin: 0;
  background: var(--rs-bg);
  position: relative;
  overflow: hidden;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--rs-accent);
  border-radius: 999px;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}

.timeline-dot.active::after {
  width: 100%;
}

.timeline-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.timeline-title {
  font-size: 16px;
  line-height: 1.4;
}

.timeline-status {
  align-self: flex-start;
  font-size: 12px;
  padding: 4px 8px;
  margin-top: 0;
}

.timeline-desc {
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.timeline-improvement {
  margin-top: auto;
}

.improvement-value {
  font-size: 14px;
}

[data-theme='dark'] .improvement-value {
  color: #a1a1aa;
}

/* ================================================================
   响应式布局
   ================================================================ */

@media (max-width: 1180px) {
  .result-report-layout {
    grid-template-columns: 1fr;
  }

  .result-report-sidebar {
    position: static;
    order: -1;
  }

  .result-sidebar-card--actions {
    order: -1;
  }

  .result-sidebar-actions .result-actions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .result-conclusion-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .result-overview-grid,
  .result-analysis-stats,
  .result-heatmap-stats,
  .prediction-metrics,
  .timeline-list,
  .result-prediction-metrics,
  .result-timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-sidebar-actions .result-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .result-hero {
    padding: 48px 0 36px;
  }

  .result-title {
    font-size: 30px;
  }

  .result-conclusion-copy h2 {
    font-size: 24px;
  }

  .result-kpi-grid,
  .result-overview-grid,
  .result-analysis-stats,
  .result-heatmap-stats,
  .prediction-metrics,
  .timeline-list,
  .result-prediction-metrics,
  .result-timeline-list,
  .result-sensor-grid,
  .result-sidebar-actions .result-actions {
    grid-template-columns: 1fr;
  }

  .result-conclusion-panel,
  .result-prediction-detailed,
  .result-analysis-card,
  .result-heatmap-card,
  .result-sidebar-card {
    padding: 20px;
  }

  .result-heatmap-container {
    height: 300px;
  }

  .result-tool-item,
  .result-strategy-item {
    padding: 20px;
  }

  .result-strategy-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .timeline-item {
    min-height: auto;
  }
}

.result-sensor-upload-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rs-gap-xs);
}

.result-sensor-upload-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  background: var(--rs-bg);
  border: 2px dashed #e0e0e0;
  border-radius: var(--rs-radius);
  transition: border-color 0.2s;
}

.result-sensor-upload-card:hover {
  border-color: #bbb;
}

.result-sensor-upload-card .result-sensor-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.result-sensor-upload-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--rs-text-primary);
  margin: 0 0 6px 0;
}

.result-sensor-hint {
  font-size: 13px;
  color: var(--rs-text-secondary);
  margin: 0 0 4px 0;
}

.result-sensor-format {
  font-size: 11px;
  color: var(--rs-text-tertiary);
  margin: 0 0 16px 0;
  font-family: monospace;
}

.result-sensor-upload-btn {
  padding: 8px 18px;
  background: var(--rs-accent);
  color: #fff;
  border: none;
  border-radius: var(--rs-radius-xs);
  font-size: 13px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.result-sensor-upload-btn:hover {
  opacity: 0.85;
}

.result-sensor-status {
  margin-top: 14px;
  padding: 10px 16px;
  background: var(--rs-bg);
  border-radius: var(--rs-radius-sm);
  font-size: 13px;
  color: var(--rs-text-secondary);
  text-align: center;
}

.result-sensor-status.uploading {
  background: #e3f2fd;
  color: #1976d2;
}

.result-sensor-status.success {
  background: #e8f5e9;
  color: #2e7d32;
}

.result-sensor-status.error {
  background: #ffebee;
  color: #c62828;
}

/* ================================================================
   点云分析结果
   ================================================================ */

.result-page-pointcloud .result-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: var(--rs-gap);
}

.result-page-pointcloud .result-header h1 {
  margin: 0;
}

#pointcloud-viewer-container {
  position: relative;
}

#pointcloud-viewer-container canvas {
  display: block;
}

/* ================================================================
   分享弹窗
   ================================================================ */

.share-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.share-dialog {
  background: var(--rs-bg-elevated);
  border-radius: var(--rs-radius);
  width: 90%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  animation: slideUp 0.3s ease;
}

.share-dialog-header {
  padding: 18px 22px;
  border-bottom: var(--rs-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.share-dialog-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--rs-text-primary);
}

.share-dialog-close {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--rs-bg);
  border-radius: var(--rs-radius-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--rs-text-secondary);
  transition: all 0.2s ease;
}

.share-dialog-body {
  padding: 22px;
}

.share-option {
  margin-bottom: 18px;
}

.share-option-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--rs-text-primary);
  margin-bottom: 6px;
}

.share-option-desc {
  font-size: 12px;
  color: var(--rs-text-tertiary);
  margin-bottom: 10px;
}

.share-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: #e0e0e0;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.share-toggle.active {
  background: var(--rs-accent);
}

.share-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.share-toggle.active .share-toggle-knob {
  transform: translateX(18px);
}

.share-toggle-text {
  font-size: 13px;
  color: var(--rs-text-secondary);
}

.share-note-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  border: var(--rs-border);
  border-radius: var(--rs-radius-sm);
  background: var(--rs-bg);
  color: var(--rs-text-primary);
  outline: none;
  resize: vertical;
  min-height: 56px;
  font-family: inherit;
}

.share-note-input::placeholder {
  color: var(--rs-text-tertiary);
}

.share-dialog-footer {
  padding: 14px 22px;
  border-top: var(--rs-border);
  display: flex;
  gap: 10px;
}

.share-btn-cancel {
  flex: 1;
  padding: 10px 18px;
  font-size: 13px;
  border-radius: var(--rs-radius-sm);
  border: var(--rs-border);
  background: var(--rs-bg-elevated);
  color: var(--rs-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-btn-submit {
  flex: 1;
  padding: 10px 18px;
  font-size: 13px;
  border-radius: var(--rs-radius-sm);
  border: 1px solid var(--rs-accent);
  background: var(--rs-accent);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

/* ================================================================
   暗夜模式 �?零白色板块，仅文字灰�?   ================================================================ */

[data-theme='dark'] {
  --rs-border: 1px solid #2a2a2e;
  --rs-bg: #0e0e10;
  --rs-bg-elevated: #161618;
  --rs-text-primary: #e4e4e7;
  --rs-text-secondary: #71717a;
  --rs-text-tertiary: #52525b;
  --rs-accent: #a1a1aa;
}

[data-theme='dark'] body {
  background: #000000 !important;
}

[data-theme='dark'] .result-module {
  background: #000000;
}

[data-theme='dark'] .result-hero {
  background: #0a0a0c !important;
  background-color: #0a0a0c !important;
  border-bottom-color: #2a2a2e !important;
}

[data-theme='dark'] .result-hero::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
}

[data-theme='dark'] .result-success-icon {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-success-icon svg path {
  stroke: #a1a1aa;
}

[data-theme='dark'] .result-main {
  background: #000000;
}

[data-theme='dark'] .result-conclusion-copy {
  border-left-color: #a1a1aa;
}

[data-theme='dark'] .result-conclusion-panel,
[data-theme='dark'] .result-sidebar-card,
[data-theme='dark'] .shared-media-section,
[data-theme='dark'] .result-overview,
[data-theme='dark'] .result-summary,
[data-theme='dark'] .result-analysis,
[data-theme='dark'] .result-heatmap,
[data-theme='dark'] .result-strategies,
[data-theme='dark'] .result-recommendations,
[data-theme='dark'] .result-sensor-section,
[data-theme='dark'] .result-tools,
[data-theme='dark'] .result-steps-section,
[data-theme='dark'] .result-prediction-detailed {
  background: #161618;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-kpi-card {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-kpi-card--primary {
  background: #0e0e10;
  border-color: #a1a1aa;
  box-shadow: inset 0 3px 0 #a1a1aa;
}

[data-theme='dark'] .result-kpi-card--primary .result-kpi-value {
  color: #e4e4e7;
}

[data-theme='dark'] .result-kpi-card--primary .result-kpi-label {
  color: #a1a1aa;
}

[data-theme='dark'] .result-sidebar-list div {
  border-bottom-color: #2a2a2e;
}

[data-theme='dark'] .result-overview-card {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-summary-text {
  background: transparent;
  border-color: transparent;
}

[data-theme='dark'] .result-analysis-card {
  background: transparent;
  border-color: transparent;
}

[data-theme='dark'] .result-analysis-icon {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-analysis-icon svg {
  stroke: #a1a1aa;
}

[data-theme='dark'] .result-stat-card {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-heatmap-card {
  background: transparent;
  border-color: transparent;
}

[data-theme='dark'] .result-heatmap-container {
  background: linear-gradient(135deg, #0e0e10 0%, #111118 100%);
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-hotspot-item {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-strategy-item {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-strategy-num {
  background: #0e0e10;
  border-color: #2a2a2e;
  color: #a1a1aa;
}

[data-theme='dark'] .result-strategy-tools {
  border-top-color: #2a2a2e;
}

[data-theme='dark'] .result-strategy-effect {
  background: #161618;
  border-left-color: #a1a1aa;
}

[data-theme='dark'] .result-tool-item--inline {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-tool-item--inline .result-tool-tag {
  background: #161618;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-recommendations-list li {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-recommendations-list li::before {
  background: #161618;
  border-color: #2a2a2e;
  color: #a1a1aa;
}

[data-theme='dark'] .result-sensor-card {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-sensor-metrics span {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-tool-item {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-tool-number {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-tool-tag {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-step-circle {
  background: #0e0e10;
  border-color: #2a2a2e;
  color: #a1a1aa;
}

[data-theme='dark'] .prediction-badge {
  background: #161618;
  border-color: #2a2a2e;
}

[data-theme='dark'] .confidence-bar {
  background: #27272a;
}

[data-theme='dark'] .confidence-fill {
  background: var(--rs-accent);
}

[data-theme='dark'] .prediction-metric {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .prediction-value {
  background: var(--rs-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme='dark'] .prediction-reasons {
  background: transparent;
  border-color: transparent;
}

[data-theme='dark'] .prediction-reasons li::before {
  background: #a1a1aa;
}

[data-theme='dark'] .prediction-reasons li {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .prediction-timeline {
  background: transparent;
  border-color: transparent;
}

[data-theme='dark'] .timeline-item {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .timeline-dot {
  background: #2a2a2e;
}

[data-theme='dark'] .timeline-dot.active::after {
  background: var(--rs-accent);
}

[data-theme='dark'] .timeline-status {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .improvement-bar {
  background: #27272a;
}

[data-theme='dark'] .improvement-fill {
  background: var(--rs-accent);
}

[data-theme='dark'] .result-btn-secondary {
  background: #161618;
  border-color: #2a2a2e;
  color: #e4e4e7;
}

[data-theme='dark'] .result-btn-secondary:hover {
  background: #1e1e22;
}

[data-theme='dark'] .result-btn-ghost {
  background: #0e0e10;
  border-color: #2a2a2e;
  color: #71717a;
}

[data-theme='dark'] .result-btn-ghost:hover {
  background: #161618;
}

[data-theme='dark'] .result-btn-ghost.active {
  color: #e4e4e7;
  border-color: #a1a1aa;
}

[data-theme='dark'] .result-btn-primary {
  background: var(--rs-accent);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.04);
}

[data-theme='dark'] .result-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}

[data-theme='dark'] .result-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

[data-theme='dark'] .result-btn-primary:disabled {
  background: #3f3f46;
  border-color: #3f3f46;
  color: #52525b;
  box-shadow: none;
  transform: none !important;
}

[data-theme='dark'] .result-btn-secondary:disabled,
[data-theme='dark'] .result-btn-ghost:disabled {
  border-color: #27272a;
  color: #3f3f46;
  background: transparent;
}

[data-theme='dark'] .shared-media-card {
  background: #161618;
  border-color: #2a2a2e;
}

[data-theme='dark'] .ai-recommend-badge,
[data-theme='dark'] .video-recommend-badge {
  background: #161618;
  border-color: #2a2a2e;
}

[data-theme='dark'] .tool-reason {
  background: #0e0e10;
  border-color: #2a2a2e;
}

[data-theme='dark'] .result-sensor-upload-card {
  background: #161618;
  border-color: #3f3f46;
}

[data-theme='dark'] .result-sensor-upload-btn {
  background: var(--rs-accent);
  color: #ffffff;
}

[data-theme='dark'] .result-sensor-status {
  background: #161618;
}

[data-theme='dark'] .result-sensor-status.uploading {
  background: #0c1a33;
  color: #60a5fa;
}

[data-theme='dark'] .result-sensor-status.success {
  background: #0c1f14;
  color: #4ade80;
}

[data-theme='dark'] .result-sensor-status.error {
  background: #1f0c0c;
  color: #f87171;
}

[data-theme='dark'] .share-dialog-overlay {
  background: rgba(0, 0, 0, 0.7);
}

[data-theme='dark'] .share-dialog {
  background: #161618 !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

[data-theme='dark'] .share-dialog-header {
  border-color: #2a2a2e !important;
}

[data-theme='dark'] .share-dialog-title {
  color: #e4e4e7 !important;
}

[data-theme='dark'] .share-dialog-close {
  background: #27272a !important;
  color: #a1a1aa !important;
}

[data-theme='dark'] .share-option-label {
  color: #e4e4e7 !important;
}

[data-theme='dark'] .share-option-desc {
  color: #52525b !important;
}

[data-theme='dark'] .share-toggle {
  background: #3f3f46 !important;
}

[data-theme='dark'] .share-toggle.active {
  background: #71717a !important;
}

[data-theme='dark'] .share-toggle-knob {
  background: #e4e4e7 !important;
}

[data-theme='dark'] .share-toggle-text {
  color: #a1a1aa !important;
}

[data-theme='dark'] .share-note-input {
  background: #0e0e10 !important;
  border-color: #2a2a2e !important;
  color: #e4e4e7 !important;
}

[data-theme='dark'] .share-note-input::placeholder {
  color: #52525b !important;
}

[data-theme='dark'] .share-dialog-footer {
  border-color: #2a2a2e !important;
}

[data-theme='dark'] .share-btn-cancel {
  background: #0e0e10 !important;
  border-color: #2a2a2e !important;
  color: #a1a1aa !important;
}

[data-theme='dark'] .share-btn-submit {
  background: var(--rs-accent) !important;
  border: none !important;
  color: #ffffff !important;
}

[data-theme='dark'] .result-hotspot-marker {
  background: #e4e4e7;
  color: #0e0e10;
}

[data-theme='dark'] .result-hotspot-marker::after {
  border-color: #52525b;
}

/* ================================================================
   动画
   ================================================================ */

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

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

@keyframes resultIconIn {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes resultCheckDraw {
  from { opacity: 0; stroke-dasharray: 24; stroke-dashoffset: 24; }
  to { opacity: 1; stroke-dasharray: 24; stroke-dashoffset: 0; }
}

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

@keyframes heroGlow {
  from { opacity: 0.4; transform: translateX(-50%) scale(0.9); }
  to { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

@keyframes iconPulse {
  0% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.6); }
  100% { opacity: 0; transform: scale(1.6); }
}

@keyframes hotspotPulse {
  0% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(1.5); }
}

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

.result-report-content > * {
  opacity: 0;
  animation: sectionReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.result-report-content {
  counter-reset: section;
}

.result-report-content > *:nth-child(1) { animation-delay: 0.1s; }
.result-report-content > *:nth-child(2) { animation-delay: 0.2s; }
.result-report-content > *:nth-child(3) { animation-delay: 0.3s; }
.result-report-content > *:nth-child(4) { animation-delay: 0.4s; }
.result-report-content > *:nth-child(5) { animation-delay: 0.5s; }
.result-report-content > *:nth-child(6) { animation-delay: 0.6s; }
.result-report-content > *:nth-child(7) { animation-delay: 0.7s; }
.result-report-content > *:nth-child(8) { animation-delay: 0.8s; }
.result-report-content > *:nth-child(9) { animation-delay: 0.9s; }
.result-report-content > *:nth-child(10) { animation-delay: 1.0s; }

.result-report-content > *.rs-visible {
  opacity: 1;
  transform: translateY(0);
}

.result-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--rs-text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: var(--rs-border);
  display: flex;
  align-items: center;
  gap: 8px;
  counter-increment: section;
}

.result-section-title::before {
  content: counter(section, decimal-leading-zero);
  font-size: 11px;
  font-weight: 700;
  color: var(--rs-text-tertiary);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
/**
 * 案例库页面样式
 */

/* 基础布局 */
.cases-page {
  min-height: 100vh;
}

/* 头部返回栏 */
.cases-header-bar {
  background: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
}

.cases-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b6b6b;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  background: #fafafa;
}

.cases-back-link:hover {
  color: #1a1a1a;
}

.cases-back-icon {
  font-size: 16px;
  line-height: 1;
}

/* 英雄区域 */
.cases-hero {
  background: #ffffff;
  padding: 56px 0 48px;
  border-bottom: 1px solid #e8e8e8;
}

/* ================================================================
   暗夜模式适配
   ================================================================ */

[data-theme="dark"] .cases-header-bar {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a !important;
}

[data-theme="dark"] .cases-back-link {
  background: #111113 !important;
  background-color: #111113 !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

[data-theme="dark"] .cases-back-link:hover {
  color: #ffffff !important;
}

[data-theme="dark"] .cases-hero {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a !important;
}
/**
 * 关于我们页面样式
 */

/* 基础布局 */
.about-page {
  min-height: 100vh;
  background: #ffffff;
}

/* 头部返回栏 */
.about-header-bar {
  background: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.about-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b6b6b;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  background: #fafafa;
}

.about-back-link:hover {
  color: #1a1a1a;
}

.about-back-icon {
  font-size: 16px;
  line-height: 1;
}

/* 页面内容 */
.about-content {
  padding: 48px 0;
}

/* ================================================================
   暗夜模式适配
   ================================================================ */

[data-theme="dark"] .about-page {
  background: #000000 !important;
  background-color: #000000 !important;
}

[data-theme="dark"] .about-header-bar {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a !important;
}

[data-theme="dark"] .about-back-link {
  background: #111113 !important;
  background-color: #111113 !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

[data-theme="dark"] .about-back-link:hover {
  color: #ffffff !important;
}

[data-theme="dark"] .about-content {
  background: #000000 !important;
  background-color: #000000 !important;
}
/**
 * 交互动画系统
 * 借鉴Linear + Aesop的设计理念
 * 克制的动效，每一个动画都有意义
 */

/* ==================== 动画基础变量 ==================== */
:root {
  --anim-duration-xs: 150ms;
  --anim-duration-sm: 200ms;
  --anim-duration-md: 300ms;
  --anim-duration-lg: 500ms;
  --anim-duration-xl: 700ms;
  
  --anim-ease-out: cubic-bezier(0, 0, 0.2, 1);
  --anim-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --anim-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --anim-ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==================== 入场动画 ==================== */

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

.animate-fade-in {
  animation: fadeIn var(--anim-duration-md) var(--anim-ease-out) forwards;
}

/* 向上滑入 */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUp var(--anim-duration-md) var(--anim-ease-out) forwards;
}

/* 向下滑入 */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-down {
  animation: slideDown var(--anim-duration-md) var(--anim-ease-out) forwards;
}

/* 向左滑入 */
@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-left {
  animation: slideLeft var(--anim-duration-md) var(--anim-ease-out) forwards;
}

/* 向右滑入 */
@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-right {
  animation: slideRight var(--anim-duration-md) var(--anim-ease-out) forwards;
}

/* 缩放进入 */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-scale-in {
  animation: scaleIn var(--anim-duration-md) var(--anim-ease-out) forwards;
}

/* 旋转进入 */
@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

.animate-rotate-in {
  animation: rotateIn var(--anim-duration-lg) var(--anim-ease-out) forwards;
}

/* ==================== 交错入场（用于列表） ==================== */
.animate-stagger > * {
  opacity: 0;
}

.animate-stagger.animated > *:nth-child(1) { animation: slideUp var(--anim-duration-md) var(--anim-ease-out) 0ms forwards; }
.animate-stagger.animated > *:nth-child(2) { animation: slideUp var(--anim-duration-md) var(--anim-ease-out) 50ms forwards; }
.animate-stagger.animated > *:nth-child(3) { animation: slideUp var(--anim-duration-md) var(--anim-ease-out) 100ms forwards; }
.animate-stagger.animated > *:nth-child(4) { animation: slideUp var(--anim-duration-md) var(--anim-ease-out) 150ms forwards; }
.animate-stagger.animated > *:nth-child(5) { animation: slideUp var(--anim-duration-md) var(--anim-ease-out) 200ms forwards; }
.animate-stagger.animated > *:nth-child(6) { animation: slideUp var(--anim-duration-md) var(--anim-ease-out) 250ms forwards; }
.animate-stagger.animated > *:nth-child(7) { animation: slideUp var(--anim-duration-md) var(--anim-ease-out) 300ms forwards; }
.animate-stagger.animated > *:nth-child(8) { animation: slideUp var(--anim-duration-md) var(--anim-ease-out) 350ms forwards; }

/* ==================== 微交互动画 ==================== */

/* 按钮悬停 */
.btn-animate-hover {
  transition: transform var(--anim-duration-sm) var(--anim-ease-out),
              box-shadow var(--anim-duration-sm) var(--anim-ease-out),
              background-color var(--anim-duration-sm) var(--anim-ease-out);
}

.btn-animate-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* 按钮点击 */
.btn-animate-click {
  transition: transform var(--anim-duration-xs) var(--anim-ease-out);
}

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

/* 卡片悬停 */
.card-animate-hover {
  transition: transform var(--anim-duration-md) var(--anim-ease-out),
              box-shadow var(--anim-duration-md) var(--anim-ease-out),
              border-color var(--anim-duration-md) var(--anim-ease-out);
}

.card-animate-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* 输入框焦点 */
.input-animate-focus {
  transition: border-color var(--anim-duration-sm) var(--anim-ease-out),
              box-shadow var(--anim-duration-sm) var(--anim-ease-out),
              transform var(--anim-duration-sm) var(--anim-ease-out);
}

.input-animate-focus:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  transform: scale(1.02);
}

/* 链接悬停 */
.link-animate-hover {
  position: relative;
  transition: color var(--anim-duration-sm) var(--anim-ease-out);
}

.link-animate-hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-400);
  transition: width var(--anim-duration-md) var(--anim-ease-out);
}

.link-animate-hover:hover::after {
  width: 100%;
}

/* ==================== 页面过渡动画 ==================== */

/* 页面进入 */
@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-animate-enter {
  animation: pageEnter var(--anim-duration-lg) var(--anim-ease-out) forwards;
}

/* 页面离开 */
@keyframes pageLeave {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.page-animate-leave {
  animation: pageLeave var(--anim-duration-md) var(--anim-ease-out) forwards;
}

/* 路由切换 */
.route-animate-transition {
  animation: pageEnter var(--anim-duration-lg) var(--anim-ease-out) forwards;
}

/* ==================== 滚动触发动画类 ==================== */

/* 初始状态 - 隐藏 */
.scroll-animate {
  opacity: 0;
  transition: opacity var(--anim-duration-lg) var(--anim-ease-out),
              transform var(--anim-duration-lg) var(--anim-ease-out);
}

/* 向上滑入 */
.scroll-animate-up {
  transform: translateY(40px);
}

/* 向左滑入 */
.scroll-animate-left {
  transform: translateX(40px);
}

/* 向右滑入 */
.scroll-animate-right {
  transform: translateX(-40px);
}

/* 缩放进入 */
.scroll-animate-scale {
  transform: scale(0.9);
}

/* 激活状态 - 显示 */
.scroll-animate.animated {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* 延迟类 */
.scroll-delay-1 { transition-delay: 100ms; }
.scroll-delay-2 { transition-delay: 200ms; }
.scroll-delay-3 { transition-delay: 300ms; }
.scroll-delay-4 { transition-delay: 400ms; }
.scroll-delay-5 { transition-delay: 500ms; }

/* ==================== 持续动画 ==================== */

/* 脉冲动画 */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 弹跳动画 */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce {
  animation: bounce 2s var(--anim-ease-in-out) infinite;
}

/* 摇摆动画 */
@keyframes wiggle {
  0%, 100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

.animate-wiggle {
  animation: wiggle 0.5s var(--anim-ease-in-out) infinite;
}

/* 呼吸动画 */
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-breathe {
  animation: breathe 3s var(--anim-ease-in-out) infinite;
}

/* ==================== 加载动画 ==================== */

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

.animate-spin {
  animation: spin 1s linear infinite;
}

/* 点跳动加载 */
@keyframes bounceDot {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

.animate-dots {
  display: flex;
  gap: 4px;
}

.animate-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-400);
  animation: bounceDot 1.4s var(--anim-ease-in-out) infinite both;
}

.animate-dots span:nth-child(1) { animation-delay: -0.32s; }
.animate-dots span:nth-child(2) { animation-delay: -0.16s; }
.animate-dots span:nth-child(3) { animation-delay: 0s; }

/* ==================== 特殊效果 ==================== */

/* 光晕效果 */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.8);
  }
}

.animate-glow {
  animation: glow 2s var(--anim-ease-in-out) infinite;
}

/* 渐变背景动画 */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradientShift 3s var(--anim-ease-in-out) infinite;
}

/* ==================== 工具类 ==================== */

/* 禁用动画 */
.animate-none {
  animation: none !important;
  transition: none !important;
}

/* 暂停动画 */
.animate-paused {
  animation-play-state: paused;
}

/* 动画速度 */
.animate-fast {
  --anim-duration-xs: 75ms;
  --anim-duration-sm: 100ms;
  --anim-duration-md: 150ms;
  --anim-duration-lg: 250ms;
  --anim-duration-xl: 350ms;
}

.animate-slow {
  --anim-duration-xs: 300ms;
  --anim-duration-sm: 400ms;
  --anim-duration-md: 600ms;
  --anim-duration-lg: 1000ms;
  --anim-duration-xl: 1400ms;
}
/**
 * 移动端专属响应式样式
 * 针对移动设备的全面优化
 */

/* ==================== 基础移动端重置 ==================== */
@media (max-width: 991.98px) {
  html {
    font-size: 14px;
  }
  
  body {
    overflow-x: hidden;
  }
}

@media (max-width: 767.98px) {
  html {
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {
  html {
    font-size: 12px;
  }
}

/* ==================== 导航栏移动端优化 ==================== */
@media (max-width: 991.98px) {
  .navbar {
    padding: 14px 0 !important;
    min-height: 56px !important;
  }
  
  .navbar.scrolled {
    padding: 10px 0 !important;
  }
  
  .navbar-brand {
    font-size: 15px !important;
    gap: 8px !important;
  }
  
  .navbar-brand svg {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0 !important;
  }
  
  .brand-logo-text {
    display: inline-block !important;
    max-width: 120px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  
  /* 汉堡按钮 */
  .navbar-toggler {
    padding: 10px !important;
    border: none !important;
    border-radius: 12px !important;
    min-height: 44px !important;
    min-width: 44px !important;
    background: rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
  }
  
  .navbar-toggler:hover,
  .navbar-toggler:focus {
    background: rgba(0, 0, 0, 0.08) !important;
    outline: none !important;
    box-shadow: none !important;
  }
  
  .navbar-toggler[aria-expanded="true"] {
    background: var(--primary-color, #a1a1aa) !important;
  }
  
  .navbar-toggler[aria-expanded="true"] svg path {
    stroke: #ffffff !important;
  }
  
  /* 导航折叠容器 */
  .navbar-collapse {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 16px !important;
    right: 16px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-radius: 16px !important;
    margin-top: 0 !important;
    padding: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 
      0 1px 3px rgba(0, 0, 0, 0.03),
      0 12px 32px rgba(0, 0, 0, 0.1),
      0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    max-height: calc(100vh - 100px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .navbar-collapse.collapsing {
    transition: height 0.35s ease, transform 0.25s ease !important;
  }
  
  /* 导航列表 */
  .navbar-nav {
    flex-direction: column !important;
    gap: 4px !important;
    padding: 0 !important;
    width: 100% !important;
  }
  
  /* 导航项 */
  .nav-item.nav-dropdown-item {
    width: 100% !important;
    position: relative !important;
  }
  
  /* 导航链接 - 主级菜单 */
  .navbar-nav .nav-link {
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    width: 100% !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: #1d1d1f !important;
    display: flex !important;
    transition: all 0.2s ease !important;
    min-height: 52px !important;
  }
  
  .navbar-nav .nav-link:hover {
    background: rgba(161,161,170, 0.06) !important;
  }
  
  .navbar-nav .nav-link:active {
    background: rgba(161,161,170, 0.1) !important;
  }
  
  /* 显示下拉箭头图标 */
  .navbar-nav .nav-link svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s ease !important;
  }
  
  /* 下拉箭头旋转状态 */
  .nav-dropdown-item.dropdown-expanded > .nav-link svg {
    transform: rotate(180deg) !important;
  }
  
  /* ====== 关键修复：下拉菜单默认隐藏 ====== */
  .nav-dropdown {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    
    /* 默认隐藏 */
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    
    transition: 
      max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.25s ease,
      padding 0.25s ease,
      margin 0.25s ease,
      visibility 0.25s ease !important;
  }
  
  /* 展开状态下显示 */
  .nav-dropdown-item.dropdown-expanded > .nav-dropdown {
    max-height: 500px !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    padding: 8px 0 0 12px !important;
    margin: 4px 0 8px 0 !important;
  }
  
  /* 下拉菜单内容容器 */
  .nav-dropdown-content {
    background: rgba(241, 245, 249, 0.85) !important;
    border-radius: 12px !important;
    padding: 10px !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  }
  
  /* 用户下拉菜单特殊样式 */
  .user-dropdown-content {
    background: #f8fafc !important;
    padding: 12px !important;
  }
  
  /* 下拉菜单项链接 */
  .nav-dropdown-item-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 13px 14px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    color: #374151 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    min-height: 48px !important;
  }
  
  .nav-dropdown-item-link:hover,
  .nav-dropdown-item-link:active {
    background: rgba(161,161,170, 0.08) !important;
    color: #71717a !important;
  }
  
  .nav-dropdown-item-link .nav-dropdown-item-label {
    flex: 1 !important;
  }
  
  .nav-dropdown-item-link .nav-dropdown-item-arrow {
    width: 16px !important;
    height: 16px !important;
    color: #9ca3af !important;
    opacity: 0.7 !important;
  }
  
  /* 用户信息头部 */
  .user-info-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, rgba(161,161,170, 0.08), rgba(113,113,122, 0.04)) !important;
    margin-bottom: 10px !important;
  }
  
  .user-info-header i {
    font-size: 24px !important;
    color: #a1a1aa !important;
  }
  
  .user-info-header span {
    font-weight: 600 !important;
    color: #1d1d1f !important;
    font-size: 15px !important;
  }
  
  /* 操作按钮 */
  .dropdown-action-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 13px 16px !important;
    margin-bottom: 6px !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: none !important;
    color: #374151 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    min-height: 48px !important;
  }
  
  .dropdown-action-btn:hover,
  .dropdown-action-btn:active {
    background: rgba(161,161,170, 0.08) !important;
  }
  
  .dropdown-action-btn svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }
  
  /* 分隔线 */
  .dropdown-divider {
    height: 1px !important;
    margin: 12px 0 !important;
    background: rgba(148, 163, 184, 0.2) !important;
    border: none !important;
  }
  
  /* 登出链接 */
  .logout-link {
    color: #ef4444 !important;
    font-weight: 500 !important;
  }
  
  .logout-link:hover {
    background: rgba(239, 68, 68, 0.08) !important;
  }
}

/* 小屏手机导航优化 */
@media (max-width: 575.98px) {
  .navbar .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  
  .navbar-brand {
    font-size: 14px !important;
  }
  
  .brand-logo-text {
    max-width: 90px !important;
  }
  
  .navbar-collapse {
    left: 12px !important;
    right: 12px !important;
    padding: 12px !important;
    border-radius: 14px !important;
  }
  
  .navbar-nav .nav-link {
    font-size: 15px !important;
    padding: 12px 14px !important;
    min-height: 48px !important;
  }
  
  .nav-dropdown-item-link {
    font-size: 14px !important;
    padding: 11px 12px !important;
    min-height: 44px !important;
  }
}

/* ==================== Hero区域移动端优化 ==================== */
@media (max-width: 991.98px) {
  /* 关键修复：固定背景图片，防止滚动跳变 */
  .portfolio-hero-section {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
  }
  
  /* 禁止JS修改背景位置和大小导致的跳变 */
  .portfolio-hero-section[data-parallax="true"] {
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
  }
  
  .portfolio-hero-content {
    padding-top: 100px !important;
    padding-bottom: 80px !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .portfolio-hero-container {
    max-width: 100% !important;
    text-align: center !important;
  }
  
  /* 标题层级强化 - 主标题最突出 */
  .portfolio-hero-title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 24px !important;
    font-weight: 500 !important;
    letter-spacing: -0.02em !important;
  }
  
  .hero-title-line {
    display: block !important;
  }
  
  .title-line-1 {
    font-size: 0.85em !important;
    opacity: 0.9 !important;
    font-weight: 400 !important;
  }
  
  .title-line-2 {
    font-size: 1em !important;
    font-weight: 600 !important;
  }
  
  /* 副标题层级弱化 - 与标题形成明显对比 */
  .portfolio-hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1rem) !important;
    line-height: 1.7 !important;
    max-width: 100% !important;
    margin-bottom: 32px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    font-weight: 300 !important;
  }
  
  .subtitle-text {
    display: block !important;
    margin-bottom: 8px !important;
    font-size: 0.95em !important;
  }
  
  .subtitle-accent {
    font-size: 0.9em !important;
    opacity: 0.8 !important;
  }
  
  /* 装饰线缩小 */
  .portfolio-hero-divider {
    width: 40px !important;
    margin-bottom: 28px !important;
  }
  
  /* 情绪体验入口 - 移到按钮前面，弱化处理 */
  .portfolio-playground-preview {
    width: 100% !important;
    margin-bottom: 24px !important;
    order: -1 !important;
  }
  
  .playground-link-premium {
    width: auto !important;
    justify-content: center !important;
    font-size: 12px !important;
    padding: 8px 16px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.7) !important;
  }
  
  .playground-link-text {
    font-size: 12px !important;
  }
  
  .playground-link-arrow {
    width: 14px !important;
    height: 14px !important;
  }
  
  /* 按钮组 - 主按钮突出，次按钮弱化 */
  .portfolio-hero-buttons {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 60px !important;
  }
  
  .portfolio-hero-button {
    width: 100% !important;
    padding: 16px 24px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
    min-height: 52px !important;
  }
  
  /* 主按钮更醒目 */
  .portfolio-hero-button-primary {
    background: #ffffff !important;
    color: #000000 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  }
  
  /* 次按钮弱化 */
  .portfolio-hero-button-secondary {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-weight: 400 !important;
    font-size: 14px !important;
  }
  
  /* 滚动指示器 - 紧凑简洁样式 */
  .portfolio-hero-scroll-indicator {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin-top: 32px !important;
    z-index: 10 !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: rgba(255,255,255,0.1) !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
    border-radius: 0 !important;
    animation: mobileScrollBounce 2s ease-in-out infinite !important;
  }
  
  .portfolio-hero-scroll-indicator:hover,
  .portfolio-hero-scroll-indicator:active {
    background: transparent !important;
    transform: none !important;
  }
  
  /* 竖线 - 简洁样式 */
  .portfolio-hero-scroll-line {
    width: 1px !important;
    height: 36px !important;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.15) 100%
    ) !important;
    border-radius: 0 !important;
    position: relative !important;
    box-shadow: none !important;
  }
  
  .portfolio-hero-scroll-line::after {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    width: 5px !important;
    height: 5px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4) !important;
    animation: scrollDotMove 2s ease-in-out infinite !important;
  }
  
  /* 文字 - 简洁样式 */
  .portfolio-hero-scroll-text {
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.12em !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    display: block !important;
    margin-bottom: 0 !important;
  }
  
  /* 移动端滚动指示器动画 */
  @keyframes mobileScrollBounce {
    0%, 100% { 
      transform: translateY(0); 
      opacity: 1;
    }
    50% { 
      transform: translateY(8px); 
      opacity: 0.8;
    }
  }
  
  @keyframes scrollDotMove {
    0% { 
      top: -2px; 
      opacity: 1; 
    }
    75% { 
      top: calc(100% - 3px); 
      opacity: 0.4; 
    }
    100% { 
      top: -2px; 
      opacity: 1; 
    }
  }
}

@media (max-width: 767.98px) {
  .portfolio-hero-section {
    min-height: 100vh !important;
    min-height: 100dvh !important;
  }
  
  .portfolio-hero-content {
    padding-top: 90px !important;
    padding-bottom: 60px !important;
  }
  
  /* 标题进一步调整 */
  .portfolio-hero-title {
    font-size: clamp(1.75rem, 9vw, 2.5rem) !important;
    margin-bottom: 20px !important;
  }
  
  .title-line-1 {
    font-size: 0.8em !important;
  }
  
  /* 副标题进一步弱化 */
  .portfolio-hero-subtitle {
    font-size: 0.9rem !important;
    margin-bottom: 28px !important;
    color: rgba(255, 255, 255, 0.6) !important;
  }
  
  /* 隐藏装饰元素以提升性能 */
  .hero-ambient-glow,
  .hero-particles,
  .hero-grid-decoration {
    display: none !important;
  }
  
  .portfolio-hero-scroll-indicator {
    margin-top: 24px !important;
  }
  
  .portfolio-hero-line-left,
  .portfolio-hero-line-right {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .portfolio-hero-section {
    min-height: 100vh !important;
    min-height: 100dvh !important;
  }
  
  .portfolio-hero-content {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    padding-top: 80px !important;
    padding-bottom: 50px !important;
  }
  
  .portfolio-hero-title {
    font-size: clamp(1.5rem, 10vw, 2rem) !important;
    margin-bottom: 16px !important;
  }
  
  .title-line-1 {
    font-size: 0.75em !important;
    opacity: 0.85 !important;
  }
  
  .title-line-2 {
    font-size: 1em !important;
    font-weight: 700 !important;
  }
  
  .portfolio-hero-subtitle {
    font-size: 0.85rem !important;
    margin-bottom: 24px !important;
    color: rgba(255, 255, 255, 0.55) !important;
  }
  
  .portfolio-hero-divider {
    width: 32px !important;
    margin-bottom: 20px !important;
  }
  
  .portfolio-hero-button {
    padding: 14px 20px !important;
    font-size: 14px !important;
    min-height: 48px !important;
  }
  
  .portfolio-hero-button-primary {
    font-size: 15px !important;
    font-weight: 600 !important;
  }
  
  .portfolio-hero-button-secondary {
    font-size: 13px !important;
  }
  
  .playground-link-premium {
    font-size: 11px !important;
    padding: 6px 12px !important;
  }
}

/* ==================== 数据统计区域移动端优化 ==================== */
@media (max-width: 991.98px) {
  .portfolio-stats-section {
    padding: 68px 0 !important;
  }
  
  .portfolio-stats-scale,
  .portfolio-stats-results {
    flex-direction: column !important;
    gap: 36px !important;
  }
  
  .portfolio-stats-scale {
    margin-bottom: 36px !important;
  }
  
  .portfolio-stat-divider {
    display: none !important;
  }
  
  .portfolio-stat-item {
    text-align: center !important;
    padding: 20px !important;
  }
  
  .portfolio-stat-value {
    font-size: clamp(40px, 8vw, 56px) !important;
  }
  
  .portfolio-stat-label {
    font-size: 14px !important;
  }
}

@media (max-width: 575.98px) {
  .portfolio-stats-section {
    padding: 48px 0 !important;
  }
  
  .portfolio-stat-value {
    font-size: clamp(36px, 10vw, 44px) !important;
  }
  
  .portfolio-stat-label {
    font-size: 13px !important;
  }
}

/* ==================== 滚动叙事区域移动端优化 ==================== */
@media (max-width: 991.98px) {
  .scrollytelling-section {
    padding: 64px 0 !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .scrollytelling-header {
    margin-bottom: 40px !important;
  }

  .scrollytelling-title {
    font-size: 2rem !important;
    margin-bottom: 0.6rem !important;
  }

  .scrollytelling-subtitle {
    font-size: 1rem !important;
  }

  .scrollytelling-steps {
    touch-action: pan-y !important;
  }

  .scrollytelling-steps::before {
    display: none !important;
  }

  .scrollytelling-step {
    flex-direction: column !important;
    gap: 28px !important;
    padding: 36px 0 !important;
    touch-action: pan-y !important;
  }

  .scrollytelling-step::before {
    display: none !important;
  }

  .step-image {
    flex: none !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    aspect-ratio: 1 / 1 !important;
    touch-action: pan-y !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
    pointer-events: none !important;
    position: relative !important;
  }

  .step-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    touch-action: pan-y !important;
    pointer-events: none !important;
    -webkit-touch-callout: none !important;
    -webkit-user-drag: none !important;
    user-drag: none !important;
  }

  .step-icon,
  .step-decor,
  .step-image::before,
  .step-image::after {
    pointer-events: none !important;
  }

  .step-text {
    width: 100% !important;
    text-align: center !important;
  }

  .scrollytelling-step .step-description {
    max-width: none !important;
    font-size: 0.95rem !important;
  }

  .scrollytelling-step .step-number {
    font-size: 3.2rem !important;
  }

  .scrollytelling-step .step-title {
    font-size: 1.5rem !important;
  }

  .scrollytelling-step:hover .step-title {
    color: #1d1d1f !important;
  }
}

@media (max-width: 575.98px) {
  .scrollytelling-section {
    padding: 40px 0 !important;
    touch-action: pan-y !important;
  }
  
  .scrollytelling-header {
    padding: 0 1rem !important;
  }
  
  .scrollytelling-title {
    font-size: 1.75rem !important;
  }
  
  .scrollytelling-steps {
    padding: 0 1rem !important;
    touch-action: pan-y !important;
  }
  
  .step-decor {
    display: none !important;
  }
  
  .step-icon {
    width: 60px !important;
    height: 60px !important;
  }
  
  .step-icon svg {
    width: 30px !important;
    height: 30px !important;
  }
}

/* ==================== 核心功能区域移动端优化 ==================== */
@media (max-width: 991.98px) {
  .portfolio-features-section {
    padding: 72px 0 !important;
  }
  
  .portfolio-features-header {
    text-align: center !important;
    margin-bottom: 44px !important;
  }
  
  .portfolio-features-title {
    font-size: clamp(28px, 4.5vw, 36px) !important;
    line-height: 1.2 !important;
  }
  
  .portfolio-features-subtitle {
    font-size: 15px !important;
  }
  
  .portfolio-features-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .portfolio-feature-item {
    max-width: 500px !important;
    margin: 0 auto !important;
  }
  
  .features-controls {
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-top: 32px !important;
  }
  
  .features-control-btn {
    width: 48px !important;
    height: 48px !important;
  }
}

@media (max-width: 767.98px) {
  .portfolio-features-section {
    padding: 56px 0 !important;
  }
  
  .portfolio-features-title {
    font-size: 26px !important;
  }
  
  .portfolio-feature-item {
    padding: 24px !important;
  }
  
  .feature-image-wrapper {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 575.98px) {
  .portfolio-features-section {
    padding: 48px 0 !important;
  }
  
  .portfolio-features-header {
    padding: 0 1rem !important;
  }
  
  .portfolio-features-grid {
    padding: 0 1rem !important;
  }
  
  .portfolio-feature-item {
    padding: 20px !important;
  }
  
  .feature-title {
    font-size: 17px !important;
  }
  
  .feature-description {
    font-size: 0.95rem !important;
  }
}

/* ==================== 案例区域移动端优化 ==================== */
@media (max-width: 991.98px) {
  .pentagram-case-section {
    padding: 72px 0 !important;
  }
  
  .pentagram-case-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin-bottom: 40px !important;
  }
  
  .pentagram-case-title {
    font-size: clamp(28px, 4.5vw, 36px) !important;
  }
  
  .pentagram-case-description {
    font-size: 14px !important;
  }
  
  .pentagram-case-count {
    font-size: 13px !important;
  }
  
  .pentagram-case-slide {
    flex: 0 0 calc(50% - 10px) !important;
    min-width: 220px !important;
  }
  
  .pentagram-case-footer {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch !important;
  }
  
  .pentagram-case-scrollbar {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .pentagram-case-more {
    align-self: flex-end !important;
  }
}

@media (max-width: 767.98px) {
  .pentagram-case-section {
    padding: 56px 0 !important;
  }
  
  .pentagram-case-header {
    padding: 0 1rem !important;
  }
  
  .pentagram-case-title {
    font-size: 26px !important;
  }
  
  .pentagram-case-carousel {
    padding: 0 1rem !important;
  }
  
  .pentagram-case-slide {
    flex: 0 0 85% !important;
    min-width: auto !important;
  }
  
  .pentagram-case-footer {
    padding: 0 1rem !important;
  }
}

@media (max-width: 575.98px) {
  .pentagram-case-section {
    padding: 48px 0 !important;
  }
  
  .pentagram-case-more {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ==================== CTA区域移动端优化 - 高级质感 ==================== */
@media (max-width: 991.98px) {
  .cta-section-final {
    padding: 80px 0 !important;
  }
  
  .cta-content {
    text-align: center !important;
  }
  
  .cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
  }
  
  .cta-subtitle {
    font-size: 1rem !important;
    margin-bottom: 32px !important;
  }
  
  .cta-features {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
    margin-bottom: 32px !important;
  }
  
  .cta-feature {
    font-size: 0.95rem !important;
  }
  
  .cta-actions {
    flex-direction: column !important;
    gap: 14px !important;
  }
  
  .btn-primary-cta {
    width: 100% !important;
    padding: 15px 32px !important;
    font-size: 15px !important;
    justify-content: center !important;
  }
  
  .cta-note {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 767.98px) {
  .cta-section-final {
    padding: 64px 0 !important;
  }
  
  .cta-content h2 {
    font-size: 1.65rem !important;
  }
  
  .cta-content {
    padding: 0 1rem !important;
  }
}

@media (max-width: 575.98px) {
  .cta-section-final {
    padding: 52px 0 !important;
  }
  
  .cta-badge {
    font-size: 0.8rem !important;
    padding: 5px 14px !important;
  }
}

/* ==================== 底部移动端优化 ==================== */
@media (max-width: 991.98px) {
  .footer-glass {
    padding: 64px 0 32px !important;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 36px !important;
    margin-bottom: 48px !important;
  }
  
  .footer-brand {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    align-items: center !important;
  }
  
  .footer-description {
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  
  .footer-links,
  .footer-contact {
    text-align: center !important;
  }
  
  .footer-links ul,
  .footer-contact ul {
    align-items: center !important;
  }
}

@media (max-width: 767.98px) {
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  
  .footer-brand {
    padding-bottom: 8px !important;
  }
  
  .footer-logo {
    justify-content: center !important;
  }
}

@media (max-width: 575.98px) {
  .footer-glass {
    padding: 52px 0 28px !important;
  }
  
  .footer-content {
    padding: 0 1rem !important;
  }
  
  .footer-tagline {
    font-size: 13px !important;
  }
  
  .footer-description {
    font-size: 12px !important;
  }
  
  .footer-bottom {
    flex-direction: column !important;
    gap: 14px !important;
    text-align: center !important;
    padding-top: 24px !important;
  }
  
  .footer-legal {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 14px !important;
  }
}

/* ==================== 触摸交互优化 ==================== */
@media (hover: none) and (pointer: coarse) {
  /* 增大触摸目标 */
  .nav-link,
  .btn,
  .nav-dropdown-item-link,
  .dropdown-action-btn {
    min-height: 44px !important;
    min-width: 44px !important;
  }
  
  /* 移除悬停效果，改为点击效果 */
  .navbar-nav .nav-link:hover {
    background: transparent !important;
  }
  
  .navbar-nav .nav-link:active {
    background: rgba(161,161,170, 0.1) !important;
  }
  
  .btn:hover {
    transform: none !important;
  }
  
  .btn:active {
    transform: scale(0.98) !important;
  }
  
  /* 卡片点击反馈 */
  .portfolio-feature-item:hover,
  .case-preview-card:hover,
  .feature-card-item:hover {
    transform: none !important;
  }
  
  .portfolio-feature-item:active,
  .case-preview-card:active,
  .feature-card-item:active {
    transform: scale(0.98) !important;
  }
  
  /* 移除复杂动画以提升性能 */
  .glass-card-shine::before,
  .btn-primary-new::before,
  .btn-outline-new::before {
    display: none !important;
  }
}

/* ==================== 性能优化 - 移动端 ==================== */
@media (max-width: 767.98px) {
  /* 禁用视差效果 */
  .portfolio-hero-section[data-parallax="true"] {
    background-attachment: scroll !important;
  }
  
  /* 简化动画 */
  .hero-illustration {
    transform: none !important;
  }
  
  /* 减少阴影复杂度 */
  .shadow-xl,
  .shadow-2xl {
    box-shadow: var(--shadow-md) !important;
  }
}

/* ==================== 安全区域适配 - 刘海屏等 ==================== */
@supports (padding: env(safe-area-inset-top)) {
  .navbar {
    padding-top: calc(16px + env(safe-area-inset-top)) !important;
  }
  
  .navbar.scrolled {
    padding-top: calc(12px + env(safe-area-inset-top)) !important;
  }
  
  .portfolio-hero-content {
    padding-top: calc(100px + env(safe-area-inset-top)) !important;
  }
  
  .footer-glass {
    padding-bottom: calc(40px + env(safe-area-inset-bottom)) !important;
  }
}

/* ==================== 横屏模式优化 ==================== */
@media (max-width: 991.98px) and (orientation: landscape) {
  .portfolio-hero-section {
    min-height: 100vh !important;
  }
  
  .portfolio-hero-content {
    padding-top: 80px !important;
    padding-bottom: 40px !important;
  }
  
  .portfolio-hero-title {
    font-size: 2rem !important;
  }
  
  /* 两列布局 */
  .portfolio-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ==================== 高对比度模式支持 ==================== */
@media (prefers-contrast: high) {
  .navbar {
    border-bottom: 2px solid var(--gray-300) !important;
  }
  
  .nav-link {
    font-weight: 600 !important;
  }
}

/* ==================== 减少动画模式支持 ==================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .scroll-indicator {
    animation: none !important;
  }
}

/* ==================== 通用图片自适应优化 ==================== */
@media (max-width: 991.98px) {
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* 防止内容溢出屏幕 */
  .container,
  .container-fluid,
  .row {
    overflow-x: hidden !important;
  }
  
  /* 图片容器自适应 */
  .image-wrapper,
  .img-container,
  .feature-image-wrapper,
  .step-image {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* SVG图标自适应 */
  svg {
    max-width: 100% !important;
  }
}

/* ==================== 表单元素移动端优化 ==================== */
@media (max-width: 991.98px) {
  input,
  select,
  textarea,
  button {
    font-size: 16px !important; /* 防止iOS缩放 */
  }
  
  .form-control,
  .form-select {
    padding: 12px 16px !important;
    min-height: 44px !important;
  }
  
  .form-group {
    margin-bottom: 1.5rem !important;
  }
  
  .form-label {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }
}

/* ==================== 卡片和列表移动端优化 ==================== */
@media (max-width: 991.98px) {
  .card,
  .feature-card,
  .case-card,
  .portfolio-feature-item {
    padding: 20px !important;
    margin: 0 !important;
  }
  
  .list-group-item {
    padding: 12px 16px !important;
  }
  
  /* 网格布局调整 */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ==================== 文本和排版移动端优化 ==================== */
@media (max-width: 991.98px) {
  h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
  }
  
  h2 {
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
  }
  
  h3 {
    font-size: clamp(1.25rem, 3.5vw, 1.75rem) !important;
  }
  
  h4 {
    font-size: clamp(1.1rem, 3vw, 1.5rem) !important;
  }
  
  p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  small {
    font-size: 0.875rem !important;
  }
  
  /* 防止长文本溢出 */
  .text-truncate {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
}

/* ==================== 间距和布局移动端优化 ==================== */
@media (max-width: 991.98px) {
  section {
    padding: 40px 0 !important;
  }
  
  .section-header {
    margin-bottom: 32px !important;
    text-align: center !important;
  }
  
  .section-title {
    font-size: 1.75rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .section-subtitle {
    font-size: 1rem !important;
  }
  
  /* 容器内边距 */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  /* 按钮组优化 */
  .btn-group {
    flex-direction: column !important;
  }
  
  .btn-group > .btn {
    border-radius: 0.5rem !important;
    margin-bottom: 8px !important;
  }
}

/* ==================== 小屏幕（< 400px）极端优化 ==================== */
@media (max-width: 399.98px) {
  html {
    font-size: 11px !important;
  }
  
  .navbar-brand {
    font-size: 13px !important;
  }
  
  .navbar-brand svg {
    width: 16px !important;
    height: 16px !important;
  }
  
  .portfolio-hero-title {
    font-size: 1.5rem !important;
  }
  
  .portfolio-hero-subtitle {
    font-size: 0.95rem !important;
  }
  
  .btn {
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
}

/* ==================== 横屏小屏幕优化 ==================== */
@media (max-height: 500px) and (orientation: landscape) {
  .portfolio-hero-section {
    min-height: auto !important;
    padding: 60px 0 !important;
  }
  
  .portfolio-hero-content {
    padding-top: 60px !important;
    padding-bottom: 40px !important;
  }
  
  .navbar {
    padding: 8px 0 !important;
  }
}

/* ==================== 全局移动端防误触策略 ==================== */
@media (max-width: 991.98px) {
  /* 
   * 核心原则：只对特定元素禁用误触行为
   * 不影响页面的正常滚动！
   */
  html, body {
    -webkit-text-size-adjust: 100% !important;
    -webkit-tap-highlight-color: transparent !important;
    /* 不设置 touch-action，让浏览器默认处理滚动 */
  }
  
  /* ========== 防止图片/媒体拖拽和长按菜单（关键：只针对媒体元素） ========== */
  img,
  canvas,
  video,
  audio {
    -webkit-user-drag: none !important;
    user-drag: none !important;
    -webkit-touch-callout: none !important;
    max-width: 100% !important;
  }
  
  /* 装饰性SVG图标不拦截触摸（仅装饰性的） */
  svg[aria-hidden="true"] {
    pointer-events: none !important;
    -webkit-user-drag: none !important;
  }
  
  /* Hero区域和流程区域的图片穿透（之前已有的优化保留） */
  .step-image img,
  .intro-section-image img,
  [class*="hero"] img,
  [class*="feature-image"] img {
    pointer-events: none !important;
    -webkit-user-drag: none !important;
  }
  
  /* ========== 可交互元素：确保可点击 ========== */
  a,
  button,
  input,
  select,
  textarea,
  [role="button"],
  [tabindex]:not([tabindex="-1"]) {
    cursor: pointer !important;
    -webkit-tap-highlight-color: rgba(161,161,170, 0.15) !important;
  }
  
  /* 输入框内文字可选 */
  input,
  textarea {
    -webkit-user-select: text !important;
    user-select: text !important;
  }
  
  /* ========== 特殊模块例外规则 ========== */
  
  /* Chatbot：完整触摸支持 */
  #chatbot-widget,
  #chatbot-widget *,
  .chatbot-widget,
  .chatbot-widget * {
    touch-action: auto !important;
    pointer-events: auto !important;
    -webkit-user-select: auto !important;
    user-select: auto !important;
    -webkit-user-drag: auto !important;
  }
  
  /* 3D画布：允许旋转/缩放手势 */
  .space3d-canvas,
  .space3d-canvas canvas,
  #space3d-canvas,
  #space3d-canvas canvas {
    touch-action: none !important;
    pointer-events: auto !important;
  }
}

/* 非移动端：保持原有行为 */
@media (min-width: 992px) {
  * {
    touch-action: auto !important;
    -webkit-user-select: auto !important;
    user-select: auto !important;
  }
}

/* ==================== 优化滚动体验 ==================== */
@media (max-width: 991.98px) {
  html {
    scroll-behavior: smooth !important;
  }
  
  /* 改善iOS滚动性能 */
  .scroll-container,
  .overflow-auto,
  .overflow-y-auto {
    -webkit-overflow-scrolling: touch !important;
  }
}

/* ==================== 输入框和选择框优化 ==================== */
@media (max-width: 991.98px) {
  /* 移除iOS默认样式 */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border-radius: 8px !important;
  }
  
  /* 日期选择器优化 */
  input[type="date"],
  input[type="time"],
  input[type="datetime-local"] {
    min-height: 44px !important;
  }
}

/* ==================== 加载状态优化 ==================== */
@media (max-width: 991.98px) {
  .loading-screen,
  .spinner-container {
    padding: 1rem !important;
  }
  
  .loading-spinner {
    width: 40px !important;
    height: 40px !important;
  }
}

/* ==================== 模态框和弹窗移动端优化 ==================== */
@media (max-width: 991.98px) {
  .modal-dialog {
    margin: 0.5rem !important;
    max-width: none !important;
  }
  
  .modal-content {
    border-radius: 1rem !important;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1.25rem !important;
  }
  
  .modal-title {
    font-size: 1.25rem !important;
  }
  
  /* Toast和通知优化 */
  .toast-container,
  .notification-container {
    padding: 0.5rem !important;
  }
  
  .toast,
  .notification {
    max-width: 100% !important;
    margin: 0.25rem 0 !important;
  }
}

/* ==================== 表格移动端优化 ==================== */
@media (max-width: 991.98px) {
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  th,
  td {
    padding: 12px 8px !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
  }
}

/* ==================== 标签和徽章移动端优化 ==================== */
@media (max-width: 991.98px) {
  .badge,
  .tag,
  .chip {
    font-size: 0.8rem !important;
    padding: 4px 10px !important;
  }
}

/* ==================== 进度条和滑块移动端优化 ==================== */
@media (max-width: 991.98px) {
  .progress {
    height: 12px !important;
  }
  
  input[type="range"] {
    height: 44px !important;
  }
}

/* ==================== 3D预览页面移动端优化 ==================== */
@media (max-width: 991.98px) {
  /* 3D主容器优化 */
  .space3d-premium {
    min-height: 100vh !important;
    overflow-x: hidden !important;
  }
  
  .space3d-viewport {
    flex-direction: column !important;
    min-height: 100vh !important;
  }
  
  /* 3D画布容器优化 */
  .space3d-canvas {
    height: 50vh !important;
    min-height: 350px !important;
    max-height: 500px !important;
    width: 100% !important;
    position: relative !important;
    flex-shrink: 0 !important;
  }
  
  /* 确保Three.js canvas自适应 */
  .space3d-canvas canvas {
    width: 100% !important;
    height: 100% !important;
    touch-action: none !important;
  }
  
  /* 头部区域优化 */
  .space3d-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 16px !important;
    z-index: 10 !important;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent) !important;
  }
  
  .space3d-back {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 12px !important;
    padding: 10px 16px !important;
    min-height: 44px !important;
    min-width: 44px !important;
    font-size: 14px !important;
  }
  
  .space3d-title-group {
    display: none !important;
  }
  
  /* 浮动控制按钮优化 */
  .space3d-controls-float {
    position: absolute !important;
    bottom: 16px !important;
    right: 16px !important;
    left: 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    z-index: 10 !important;
    gap: 12px !important;
  }
  
  .space3d-control-btn {
    width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    min-width: 48px !important;
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  }
  
  .space3d-control-btn svg {
    width: 20px !important;
    height: 20px !important;
  }
  
  .space3d-divider {
    display: none !important;
  }
  
  .space3d-hint {
    display: none !important;
  }
  
  /* 侧边栏优化 */
  .space3d-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 16px !important;
    background: var(--bg-primary) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex: 1 !important;
  }
  
  /* 场景信息面板 */
  .space3d-scene-info {
    margin-bottom: 20px !important;
    padding: 20px !important;
    border-radius: 16px !important;
    background: var(--bg-secondary) !important;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1) !important;
  }
  
  .space3d-panel-label {
    font-size: 12px !important;
    margin-bottom: 8px !important;
  }
  
  .space3d-panel-value {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
  }
  
  .space3d-panel-detail {
    font-size: 14px !important;
    gap: 8px !important;
  }
  
  /* 工具列表网格 */
  .space3d-tools-list {
    margin-bottom: 20px !important;
  }
  
  .space3d-panel-header {
    margin-bottom: 16px !important;
  }
  
  .space3d-tools-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  .space3d-tool-item {
    padding: 16px !important;
    border-radius: 12px !important;
    min-height: 80px !important;
    position: relative !important;
  }
  
  .space3d-tool-index {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
  }
  
  .space3d-tool-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
  }
  
  .space3d-tool-price {
    font-size: 12px !important;
    opacity: 0.8 !important;
  }
  
  /* 价格卡片 */
  .space3d-pricing-card {
    padding: 20px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1), rgba(var(--success-color-rgb), 0.05)) !important;
    border: 1px solid rgba(var(--primary-color-rgb), 0.2) !important;
  }
  
  .space3d-pricing-top {
    text-align: center !important;
    margin-bottom: 16px !important;
  }
  
  .space3d-pricing-label {
    font-size: 12px !important;
    margin-bottom: 8px !important;
  }
  
  .space3d-pricing-amount {
    font-size: 28px !important;
    font-weight: 700 !important;
  }
  
  .space3d-export-btn {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    min-height: 48px !important;
    border-radius: 12px !important;
    gap: 8px !important;
  }
}

/* 小屏手机3D页面优化 */
@media (max-width: 575.98px) {
  .space3d-canvas {
    height: 45vh !important;
    min-height: 300px !important;
  }
  
  .space3d-tools-grid {
    grid-template-columns: 1fr !important;
  }
  
  .space3d-control-btn {
    width: 44px !important;
    height: 44px !important;
  }
  
  .space3d-pricing-amount {
    font-size: 24px !important;
  }
}

/* 横屏模式3D页面优化 */
@media (max-width: 991.98px) and (orientation: landscape) {
  .space3d-viewport {
    flex-direction: row !important;
  }
  
  .space3d-canvas {
    height: 100vh !important;
    width: 60% !important;
    min-height: auto !important;
    max-height: none !important;
  }
  
  .space3d-sidebar {
    width: 40% !important;
    height: 100vh !important;
    overflow-y: auto !important;
  }
  
  .space3d-tools-grid {
    grid-template-columns: 1fr !important;
  }
}

/* 确保3D模块元素正确显示 */
.space3d-premium,
.space3d-viewport,
.space3d-canvas,
.space3d-header,
.space3d-controls-float,
.space3d-sidebar {
  box-sizing: border-box !important;
}

/* 防止3D canvas溢出 */
.space3d-canvas canvas {
  display: block !important;
}

/* ==================== 方案生成/介绍页面移动端优化 ==================== */
@media (max-width: 991.98px) {
  /* 页面容器 */
  .solution-intro-module {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  /* Hero区域 */
  .intro-hero {
    padding: 60px 0 40px !important;
  }
  
  .intro-back-btn {
    font-size: 14px !important;
    margin-bottom: 24px !important;
    min-height: 44px !important;
    align-items: center !important;
  }
  
  .intro-back-btn svg {
    width: 18px !important;
    height: 18px !important;
  }
  
  .intro-label {
    font-size: 12px !important;
    margin-bottom: 12px !important;
  }
  
  .intro-title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 12px !important;
  }
  
  .intro-subtitle {
    font-size: clamp(1rem, 4vw, 1.25rem) !important;
    line-height: 1.5 !important;
    max-width: 95% !important;
  }
  
  /* 内容区域 - 关键修复：确保内容不溢出 */
  .intro-content {
    padding: 60px 0 !important;
    overflow-x: hidden !important;
  }
  
  /* 核心修复：section改为单列布局，防止内容截断 */
  .intro-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    margin-bottom: 60px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .intro-section-reverse {
    direction: ltr !important;
    flex-direction: column-reverse !important;
  }
  
  /* 图片区域 - 确保图片自适应且不溢出 */
  .intro-section-image {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border-radius: 16px !important;
  }
  
  .intro-section-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    display: block !important;
  }
  
  /* 文本区域 */
  .intro-section-text {
    gap: 18px !important;
    width: 100% !important;
  }
  
  .intro-section-title {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    line-height: 1.25 !important;
  }
  
  .intro-section-description {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }
  
  /* 功能特性列表 */
  .intro-feature-list {
    gap: 16px !important;
  }
  
  .intro-feature-item {
    gap: 12px !important;
    padding: 14px !important;
    background: rgba(248, 250, 252, 0.8) !important;
    border-radius: 12px !important;
  }
  
  .intro-feature-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    padding: 5px !important;
  }
  
  .intro-feature-content h3 {
    font-size: 15px !important;
    margin-bottom: 2px !important;
  }
  
  .intro-feature-content p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  
  /* 步骤列表 */
  .intro-steps {
    gap: 20px !important;
  }
  
  .intro-step {
    gap: 16px !important;
    padding: 16px !important;
    background: rgba(248, 250, 252, 0.5) !important;
    border-radius: 12px !important;
  }
  
  .intro-step-number {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }
  
  .intro-step-content h3 {
    font-size: 16px !important;
    margin-bottom: 4px !important;
  }
  
  .intro-step-content p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  
  /* CTA区域 - 修复负margin导致的截断问题 */
  .intro-cta-section {
    margin: 0 -16px !important;
    padding: 48px 20px !important;
    border-radius: 20px !important;
  }
  
  .intro-cta-section h2 {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    margin-bottom: 8px !important;
  }
  
  .intro-cta-section p {
    font-size: 15px !important;
    margin-bottom: 28px !important;
  }
  
  .intro-cta-buttons {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  
  .intro-cta-btn {
    width: 100% !important;
    padding: 14px 28px !important;
    font-size: 15px !important;
    border-radius: 12px !important;
    min-height: 48px !important;
  }
}

/* 小屏手机方案页面优化 */
@media (max-width: 575.98px) {
  .intro-hero {
    padding: 48px 0 36px !important;
  }
  
  .intro-back-btn {
    font-size: 13px !important;
    margin-bottom: 20px !important;
  }
  
  .intro-title {
    font-size: clamp(1.75rem, 9vw, 2.5rem) !important;
  }
  
  .intro-subtitle {
    font-size: 1rem !important;
  }
  
  .intro-content {
    padding: 48px 0 !important;
  }
  
  .intro-section {
    gap: 24px !important;
    margin-bottom: 48px !important;
  }
  
  .intro-section-image img {
    border-radius: 12px !important;
  }
  
  .intro-section-text {
    gap: 14px !important;
  }
  
  .intro-section-title {
    font-size: 1.5rem !important;
  }
  
  .intro-section-description {
    font-size: 14px !important;
  }
  
  .intro-feature-item {
    gap: 10px !important;
    padding: 12px !important;
  }
  
  .intro-feature-icon {
    width: 28px !important;
    height: 28px !important;
  }
  
  .intro-feature-content h3 {
    font-size: 14px !important;
  }
  
  .intro-feature-content p {
    font-size: 12px !important;
  }
  
  .intro-steps {
    gap: 16px !important;
  }
  
  .intro-step {
    gap: 12px !important;
    padding: 14px !important;
  }
  
  .intro-step-number {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }
  
  .intro-step-content h3 {
    font-size: 15px !important;
  }
  
  .intro-cta-section {
    margin: 0 -12px !important;
    padding: 40px 16px !important;
    border-radius: 16px !important;
  }
  
  .intro-cta-section h2 {
    font-size: 1.5rem !important;
  }
  
  .intro-cta-section p {
    font-size: 14px !important;
  }
  
  .intro-cta-btn {
    padding: 12px 24px !important;
    font-size: 14px !important;
    min-height: 44px !important;
  }
}

/* 极小屏幕适配 (<400px) */
@media (max-width: 399.98px) {
  .intro-title {
    font-size: 1.65rem !important;
  }
  
  .intro-section-title {
    font-size: 1.35rem !important;
  }
  
  .intro-feature-content h3,
  .intro-step-content h3 {
    font-size: 14px !important;
  }
}

/* ==================== 隐藏移动端AI助手 ==================== */
@media (max-width: 991.98px) {
  #chatbot-widget,
  .chatbot-widget {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
  }
}

/* ==================== 团队介绍页面(About)移动端优化 ==================== */
@media (max-width: 991.98px) {
  /* 页面容器 */
  [style*="min-height:100vh;background:#ffffff"] {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  /* 返回按钮 */
  #back-link,
  a[href="/"] {
    min-height: 44px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
  }
  
  /* Hero区域 - 标题和副标题 */
  [style*="font-size:48px;font-weight:600"] {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }
  
  /* 项目简介区域 - 双列转单列 */
  section[style*="padding:96px 0;border-top:1px solid #e8e8e8;"] > div[style*="display:grid;grid-template-columns:1fr 1fr"],
  div[style*="display:grid;grid-template-columns:1fr 1fr;gap:80px"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    width: 100% !important;
  }
  
  /* 项目简介图片容器 */
  div[style*="width:100%;aspect-ratio:1;background:#fafafa"] {
    border-radius: 16px !important;
  }
  
  div[style*="width:100%;aspect-ratio:1;background:#fafafa"] svg {
    width: 60% !important;
    height: auto !important;
  }
  
  /* 项目简介文字区域标题 */
  div[style*="font-size:32px;font-weight:600;color:#1a1a1a;margin:0 0 28px 0"] {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    margin-bottom: 20px !important;
  }
  
  /* 项目简介段落 */
  p[style*="font-size:16px;color:#6b6b6b;line-height:1.8"] {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }
  
  /* 技术标签 */
  span[style*="display:inline-flex;align-items:center;gap:10px;padding:12px 20px"] {
    padding: 10px 16px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
  
  /* 技术架构/核心团队 - 三列转单列 */
  div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:32px"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    max-width: 100% !important;
  }
  
  /* 技术卡片 */
  div[style*="padding:32px;background:#fafafa;border:1px solid #e8e8e8;border-radius:16px"] {
    padding: 24px 20px !important;
  }
  
  /* 技术卡片图标容器 */
  div[style*="width:56px;height:56px;background:#1a1a1a;border-radius:14px"] {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 16px !important;
  }
  
  /* 技术卡片标题 */
  h3[style*="font-size:18px;font-weight:600;color:#1a1a1a;margin:0 0 12px 0"] {
    font-size: 16px !important;
    margin-bottom: 10px !important;
  }
  
  /* 技术标签小项 */
  span[style*="display:inline-block;padding:8px 14px;background:#ffffff"] {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  
  /* 团队成员卡片 */
  div[style*="padding:40px 32px;background:#fafafa;border:1px solid #e8e8e8;border-radius:16px;text-align:center"] {
    padding: 24px 20px !important;
  }
  
  /* 团队头像容器 */
  div[style*="width:104px;height:104px;background:#1a1a1a;border-radius:50%"] {
    width: 80px !important;
    height: 80px !important;
    margin-bottom: 16px !important;
  }
  
  /* 联系我们区域 */
  div[style*="padding:56px 48px;background:#fafafa;border:1px solid #e8e8e8;border-radius:20px;text-align:center"] {
    padding: 36px 20px !important;
    border-radius: 16px !important;
  }
  
  /* 联系方式列表 - 垂直排列 */
  div[style*="display:flex;flex-wrap:wrap;justify-content:center;gap:40px"] {
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
  }
  
  /* 联系方式单项 */
  div[style*="display:flex;align-items:center;gap:12px"]:has(svg) {
    justify-content: center !important;
  }
  
  /* 联系方式图标 */
  div[style*="width:56px;height:56px;background:#ffffff;border:1px solid #e8e8e8;border-radius:14px"] {
    width: 44px !important;
    height: 44px !important;
  }
}

/* 小屏手机团队介绍优化 */
@media (max-width: 575.98px) {
  /* Hero SVG图标缩小 */
  svg[width="80"][height="80"] {
    width: 60px !important;
    height: 60px !important;
  }
  
  svg[width="120"][height="120"] {
    width: 90px !important;
    height: 90px !important;
  }
  
  /* 技术架构三列在小屏保持单列 */
  div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:32px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ==================== 个人信息页面(Profile)移动端优化 ==================== */
@media (max-width: 991.98px) {
  /* 主布局：侧边栏+内容区 → 单列垂直布局 */
  div[style*="display:grid;grid-template-columns:280px 1fr;gap:40px"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  
  /* 左侧侧边栏 */
  div[style*="display:grid;grid-template-columns:280px 1fr;gap:40px"] > div:first-child {
    width: 100% !important;
    order: -1 !important;
  }
  
  /* 用户信息卡片 */
  div[style*="padding:24px;background:#fafafa;border:1px solid #e8e8e8;border-radius:12px;margin-bottom:24px;text-align:center"] {
    padding: 20px !important;
    text-align: center !important;
  }
  
  /* 用户头像 */
  div[style*="width:80px;height:80px;background:#1a1a1a;border-radius:50%;display:inline-flex"] {
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 12px !important;
  }
  
  div[style*="width:80px;height:80px;background:#1a1a1a;border-radius:50%;display:inline-flex"] span {
    font-size: 26px !important;
  }
  
  /* 导航菜单容器 */
  div[style*="padding:8px;background:#fafafa;border:1px solid #e8e8e8;border-radius:12px;margin-bottom:16px"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 8px !important;
  }
  
  /* 导航菜单按钮 - 横向排列 */
  button.nav-item {
    flex: 1 !important;
    min-width: calc(33.333% - 6px) !important;
    text-align: center !important;
    padding: 12px 8px !important;
    font-size: 13px !important;
    min-height: 44px !important;
  }
  
  /* 退出登录按钮 */
  button#logout-btn,
  button[style*="width:100%;height:44px;font-size:14px;border:1px solid #e8e8e8;border-radius:10px;background:#ffffff;color:#6b6b6b"] {
    width: 100% !important;
    height: 48px !important;
    font-size: 14px !important;
  }
  
  /* 右侧内容区 */
  div[style*="display:grid;grid-template-columns:280px 1fr;gap:40px"] > div:last-child {
    width: 100% !important;
  }
  
  /* 内容区标题栏 */
  div[style*="padding:24px;background:#fafafa;border:1px solid #e8e8e8;border-radius:12px;margin-bottom:24px"] {
    padding: 18px 16px !important;
    border-radius: 12px !important;
  }
  
  /* 编辑资料按钮 */
  button#edit-profile-btn,
  button[style*="padding:10px 20px;font-size:14px;border:1px solid #e8e8e8;border-radius:10px"] {
    padding: 10px 16px !important;
    font-size: 13px !important;
    min-height: 38px !important;
  }
  
  /* 信息网格 - 双列转单列 */
  div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  
  /* 信息卡片 */
  div[style*="padding:16px;background:#ffffff;border:1px solid #e8e8e8;border-radius:10px"] {
    padding: 14px 12px !important;
  }
  
  /* 统计卡片 - 三列保持但缩小间距 */
  div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:16px"] {
    gap: 12px !important;
  }
  
  /* 统计数字 */
  div[style*="font-size:32px;font-weight:600;color:#1a1a1a;margin-bottom:4px"] {
    font-size: 26px !important;
  }
  
  /* 表单输入框 */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  textarea {
    height: 46px !important;
    min-height: 46px !important;
    font-size: 15px !important;
    padding: 0 14px !important;
    -webkit-appearance: none !important;
  }
  
  textarea {
    height: auto !important;
    min-height: 80px !important;
  }
  
  /* 表单按钮组 */
  div[style*="display:flex;gap:12px"] button {
    min-height: 46px !important;
    font-size: 14px !important;
  }
  
  /* 方案列表卡片 */
  div[style*="padding:16px;background:#ffffff;border:1px solid #e8e8e8;border-radius:10px;display:flex;align-items:center"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 16px !important;
  }
  
  /* 方案操作按钮组 */
  div[style*="display:flex;gap:8px"]:last-child {
    width: 100% !important;
    justify-content: space-between !important;
  }
  
  div[style*="display:flex;gap:8px"]:last-child button {
    flex: 1 !important;
    min-height: 38px !important;
  }
  
  /* 设置区域 */
  div[style*="padding:24px;background:#fafafa;border:1px solid #e8e8e8;border-radius:12px;margin-bottom:16px"] {
    padding: 18px 16px !important;
  }
  
  /* 设置项行 */
  div[style*="display:flex;align-items:center;justify-content:space-between;padding:12px"] {
    flex-direction: row !important;
    gap: 12px !important;
  }
  
  /* 开关控件 */
  label[style*="position:relative;display:inline-block;width:44px;height:24px"] {
    flex-shrink: 0 !important;
  }
  
  /* 危险区域 */
  div[style*="padding:24px;background:#fafafa;border:1px solid #ff3b30;border-radius:12px"] {
    padding: 18px 16px !important;
  }
  
  button#delete-account-btn,
  button[style*="border:1px solid #ff3b30;border-radius:10px;background:#ffffff;color:#ff3b30"] {
    min-height: 38px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
  }
}

/* 小屏个人信息页面优化 */
@media (max-width: 575.98px) {
  /* 导航菜单按钮更紧凑 */
  button.nav-item {
    font-size: 12px !important;
    padding: 10px 6px !important;
    min-height: 40px !important;
  }
  
  /* 信息网格 - 极小屏单列 */
  div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] {
    grid-template-columns: 1fr !important;
  }
  
  /* 统计卡片 - 单列 */
  div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:16px"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
  
  div[style*="padding:20px;background:#fafafa;border:1px solid #e8e8e8;border-radius:12px"] {
    padding: 14px 10px !important;
  }
  
  div[style*="font-size:32px;font-weight:600;color:#1a1a1a;margin-bottom:4px"] {
    font-size: 22px !important;
  }
}

/* ==================== 案例库页面移动端优化 ==================== */
@media (max-width: 991.98px) {
  /* 案例页面容器 */
  .cases-page {
    width: 100% !important;
    overflow-x: hidden !important;
  }
  
  /* 返回按钮容器 */
  div[style*="background:#ffffff;padding:24px 0;border-bottom:1px solid #e8e8e8"] {
    padding: 16px 0 !important;
  }
  
  /* 返回按钮 */
  a[style*="display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#6b6b6b;text-decoration:none;transition:color 0.2s ease;padding:8px 16px;border-radius:8px;border:1px solid #e8e8e8;background:#fafafa"] {
    min-height: 44px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
  }
  
  /* 页面标题区域 */
  div[style*="background:#ffffff;padding:56px 0 48px;border-bottom:1px solid #e8e8e8"] {
    padding: 40px 0 32px !important;
  }
  
  /* 页面标题 */
  h1[style*="font-size:40px;font-weight:600;color:#1a1a1a;letter-spacing:-0.03em;line-height:1.1;margin-bottom:16px"] {
    font-size: clamp(28px, 7vw, 36px) !important;
    margin-bottom: 12px !important;
  }
  
  /* 页面描述 */
  p[style*="font-size:16px;color:#6b6b6b;line-height:1.6;margin-bottom:28px"] {
    font-size: 14px !important;
    margin-bottom: 24px !important;
  }
  
  /* CTA按钮 */
  a[style*="display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 28px;font-size:15px;border-radius:8px;border:1px solid #1a1a1a;background:#1a1a1a;color:#ffffff;text-decoration:none;cursor:pointer;transition:all 0.2s ease;font-weight:500"] {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    min-height: 48px !important;
  }
  
  /* 统计概览容器 */
  div[style*="margin-bottom:56px"] {
    margin-bottom: 40px !important;
  }
  
  /* 统计网格 - 四列转两列 */
  div[style*="display:grid;grid-template-columns:repeat(4,1fr);gap:24px"] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  /* 统计卡片 */
  div[style*="padding:24px;background:#fafafa;border:1px solid #e8e8e8;border-radius:12px;text-align:center"] {
    padding: 20px 12px !important;
    border-radius: 12px !important;
  }
  
  /* 统计数字 */
  div[style*="font-size:36px;font-weight:600;color:#1a1a1a;line-height:1;margin-bottom:8px"] {
    font-size: 28px !important;
    margin-bottom: 6px !important;
  }
  
  /* 统计标签 */
  div[style*="font-size:13px;color:#8a8a8a"] {
    font-size: 12px !important;
  }
  
  /* 筛选器区域 */
  div[style*="margin-bottom:48px"] {
    margin-bottom: 32px !important;
  }
  
  /* 筛选器网格 */
  div[style*="display:flex;flex-wrap:wrap;gap:32px"] {
    gap: 24px !important;
    flex-direction: column !important;
  }
  
  /* 筛选标签 */
  .filter-tab {
    min-height: 40px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    touch-action: manipulation !important;
  }
  
  /* 案例列表网格 - 两列转单列 */
  div[style*="display:grid;grid-template-columns:repeat(2,1fr);gap:24px"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  /* 案例卡片 */
  .case-card {
    border-radius: 16px !important;
  }
  
  /* 案例卡片图片区域 - 提高高度占比 */
  div[style*="height:200px;position:relative;overflow:hidden"] {
    height: 260px !important;
    position: relative !important;
    overflow: hidden !important;
  }
  
  /* 案例卡片图片 - 占满空间 */
  div[style*="height:200px;position:relative;overflow:hidden"] img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    pointer-events: none !important;
  }
  
  /* 满意度标签 */
  div[style*="position:absolute;top:12px;right:12px;font-size:12px;font-weight:500;color:#1a1a1a;padding:6px 12px;background:rgba(255,255,255,0.95);border:1px solid #e8e8e8;border-radius:100px"] {
    top: 16px !important;
    right: 16px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
  
  /* 案例卡片内容区 */
  div[style*="padding:20px"] {
    padding: 20px !important;
  }
  
  /* 案例标题 */
  h3[style*="font-size:18px;font-weight:600;color:#1a1a1a;margin:0 0 8px 0"] {
    font-size: 17px !important;
    margin-bottom: 10px !important;
  }
  
  /* 案例摘要 */
  p[style*="font-size:14px;color:#6b6b6b;line-height:1.5;margin:0 0 16px 0"] {
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin-bottom: 14px !important;
  }
  
  /* 加载更多按钮 */
  button[style*="display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 32px;font-size:14px;border-radius:8px;border:1px solid #e8e8e8;background:#ffffff;color:#6b6b6b;cursor:pointer;transition:all 0.2s ease;font-weight:500"] {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 14px !important;
    min-height: 48px !important;
    touch-action: manipulation !important;
  }
  
  /* 主容器 */
  div[style*="padding-top:48px;padding-bottom:96px"] {
    padding-top: 32px !important;
    padding-bottom: 64px !important;
  }
}

/* ==================== 案例详情页移动端优化 ==================== */
@media (max-width: 991.98px) {
  /* 模态框容器 */
  .modal-dialog.modal-lg {
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  /* 模态框内容 */
  .modal-content {
    border-radius: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
  }
  
  /* 详情页头部 */
  div[style*="background:#ffffff;padding:24px 28px;border-bottom:1px solid #e8e8e8;display:flex;align-items:center;justify-content:space-between"] {
    padding: 16px 20px !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  
  /* 关闭按钮 */
  button[style*="display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#6b6b6b;text-decoration:none;transition:color 0.2s ease;padding:8px 16px;border-radius:8px;border:1px solid #e8e8e8;background:#fafafa;cursor:pointer"] {
    min-height: 44px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    touch-action: manipulation !important;
  }
  
  /* 详情页主体 */
  div[style*="background:#ffffff;padding:32px 28px"] {
    padding: 24px 20px !important;
    overflow-y: auto !important;
  }
  
  /* 详情布局 - 两列转单列 */
  div[style*="display:grid;grid-template-columns:1.1fr 1fr;gap:32px"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  /* 右侧内容区放在前面 */
  div[style*="display:grid;grid-template-columns:1.1fr 1fr;gap:32px"] > div:last-child {
    order: -1 !important;
  }
  
  /* 基本信息网格 */
  div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  
  /* 改造对比区域 - 两列转单列 */
  div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  /* 改造对比图片容器 - 增加高度 */
  div[style*="height:180px;border-radius:12px;overflow:hidden"] {
    height: 220px !important;
    border-radius: 16px !important;
  }
  
  /* 改造对比图片 */
  div[style*="height:180px;border-radius:12px;overflow:hidden"] img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    pointer-events: none !important;
  }
  
  /* 教师评价卡片 */
  div[style*="padding:20px;background:#fafafa;border:1px solid #e8e8e8;border-radius:12px"] {
    padding: 20px !important;
    border-radius: 16px !important;
  }
  
  /* CTA按钮 */
  a[style*="display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 28px;font-size:15px;border-radius:8px;border:1px solid #1a1a1a;background:#1a1a1a;color:#ffffff;text-decoration:none;cursor:pointer;transition:all 0.2s ease;font-weight:500"] {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    min-height: 48px !important;
    border-radius: 12px !important;
    touch-action: manipulation !important;
  }
}

@media (max-width: 575.98px) {
  /* 案例卡片图片区域 - 小屏进一步加大 */
  div[style*="height:200px;position:relative;overflow:hidden"] {
    height: 240px !important;
  }
  
  /* 基本信息网格 - 小屏单列 */
  div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] {
    grid-template-columns: 1fr !important;
  }
  
  /* 改造对比图片容器 - 小屏高度 */
  div[style*="height:180px;border-radius:12px;overflow:hidden"] {
    height: 200px !important;
  }
}

/* ==================== 情绪成长页面移动端优化 ==================== */
@media (max-width: 991.98px) {
  /* 返回按钮容器 */
  div[style*="background:#ffffff;padding:24px 0;border-bottom:1px solid #e8e8e8;position:sticky;top:0;z-index:100;"] {
    padding: 16px 0 !important;
  }
  
  /* 返回按钮 */
  a[style*="display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#6b6b6b;text-decoration:none;transition:color 0.2s ease;padding:8px 16px;border-radius:8px;border:1px solid #e8e8e8;background:#fafafa;"] {
    min-height: 44px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    touch-action: manipulation !important;
  }
  
  /* 页面内容区域 */
  div[style*="padding:48px 0;"] {
    padding: 32px 0 !important;
  }
  
  /* 英雄区域 */
  section[style*="padding:64px 0;text-align:center;"] {
    padding: 40px 0 !important;
  }
  
  /* 页面标题 */
  h1[style*="font-size:48px;font-weight:600;color:#1a1a1a;letter-spacing:-0.02em;margin:0 0 12px 0;"] {
    font-size: clamp(28px, 8vw, 36px) !important;
    margin-bottom: 10px !important;
  }
  
  /* 页面描述 */
  p[style*="font-size:18px;color:#8a8a8a;margin:0;max-width:520px;margin-left:auto;margin-right:auto;line-height:1.6;"] {
    font-size: 15px !important;
  }
  
  /* 进度统计区域 */
  section[style*="padding:24px 0 56px 0;"] {
    padding: 24px 0 40px 0 !important;
  }
  
  div[style*="padding:32px 36px;background:#fafafa;border:1px solid #e8e8e8;border-radius:16px;"] {
    padding: 24px 20px !important;
    border-radius: 16px !important;
  }
  
  /* 统计网格 - 三列保持但缩小间距 */
  div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:32px;text-align:center;"] {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
  
  /* 统计数字 */
  div[style*="font-size:40px;font-weight:600;color:#1a1a1a;line-height:1;margin-bottom:8px;"] {
    font-size: 32px !important;
    margin-bottom: 6px !important;
  }
  
  /* 统计标签 */
  div[style*="font-size:14px;color:#8a8a8a;"] {
    font-size: 12px !important;
  }
  
  /* 成长步骤卡片 */
  article[class*="fade-in-up"] div[style*="background:"] {
    padding: 20px !important;
  }
  
  /* 步骤卡片布局 - 移动端调整 */
  div[style*="display:flex;gap:24px;align-items:flex-start;"] {
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  /* 图标区域 */
  div[style*="flex-shrink:0;"] div[style*="width:72px;height:72px;border-radius:14px;"] {
    width: 64px !important;
    height: 64px !important;
    border-radius: 14px !important;
  }
  
  /* 图标SVG */
  svg[width="36"][height="36"] {
    width: 32px !important;
    height: 32px !important;
  }
  
  /* 完成标记 */
  div[style*="position:absolute;top:-6px;right:-6px;width:24px;height:24px;border-radius:100%;"] {
    width: 28px !important;
    height: 28px !important;
  }
  
  /* 步骤标题 */
  h3[style*="font-size:20px;font-weight:600;color:#1a1a1a;margin:0 0 10px 0;letter-spacing:-0.01em;"] {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
  
  /* 步骤描述 */
  p[style*="font-size:15px;color:#6b6b6b;margin:0 0 16px 0;line-height:1.6;"] {
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }
  
  /* 挑战和奖励标签容器 */
  div[style*="display:flex;flex-wrap:wrap;gap:12px;align-items:center;"] {
    gap: 8px !important;
  }
  
  /* 挑战和奖励标签 */
  div[style*="display:inline-flex;align-items:center;gap:8px;padding:8px 14px;background:"] {
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
  
  /* 开始挑战按钮 */
  button.start-challenge-btn {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    min-height: 48px !important;
    border-radius: 12px !important;
    touch-action: manipulation !important;
  }
  
  /* 徽章展示区域 */
  section[style*="padding:72px 0;"] {
    padding: 56px 0 !important;
  }
  
  /* 徽章标题 */
  h2[style*="font-size:32px;font-weight:600;color:#1a1a1a;margin:0;letter-spacing:-0.02em;"] {
    font-size: 26px !important;
  }
  
  /* 徽章网格 - 四列转两列 */
  div[style*="display:grid;grid-template-columns:repeat(4,1fr);gap:20px;"] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  /* 徽章卡片 */
  div[style*="padding:24px;background:#fafafa;border:1px solid #e8e8e8;border-radius:12px;text-align:center;"] {
    padding: 20px !important;
    border-radius: 16px !important;
  }
  
  /* 徽章图标容器 */
  div[style*="width:56px;height:56px;border-radius:12px;background:"] {
    width: 52px !important;
    height: 52px !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
  }
  
  /* 徽章标题 */
  h4[style*="font-size:15px;font-weight:600;color:#1a1a1a;margin:0 0 6px 0;"] {
    font-size: 13px !important;
  }
  
  /* 徽章描述 */
  p[style*="font-size:13px;color:#8a8a8a;margin:0;"] {
    font-size: 12px !important;
  }
}

@media (max-width: 575.98px) {
  /* 统计网格 - 三列保持更小间距 */
  div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:32px;text-align:center;"] {
    gap: 12px !important;
  }
  
  /* 统计数字 - 小屏更小 */
  div[style*="font-size:40px;font-weight:600;color:#1a1a1a;line-height:1;margin-bottom:8px;"] {
    font-size: 28px !important;
  }
  
  /* 徽章网格 - 小屏保持两列 */
  div[style*="display:grid;grid-template-columns:repeat(4,1fr);gap:20px;"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* 徽章卡片 - 小屏更紧凑 */
  div[style*="padding:24px;background:#fafafa;border:1px solid #e8e8e8;border-radius:12px;text-align:center;"] {
    padding: 18px !important;
  }
}

/* ==================== 网站地图移动端优化 ==================== */
@media (max-width: 991.98px) {
  /* 标题响应式大小 */
  h1[style*="font-size:48px;font-weight:600;"] {
    font-size: clamp(28px, 8vw, 36px) !important;
  }
  
  h2[style*="font-size:32px;font-weight:600;"] {
    font-size: 24px !important;
  }
  
  /* 快捷导航 - 从3列改为2列 */
  div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:24px;"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  
  /* 统计网格 - 4列改为2列 */
  div[style*="display:grid;grid-template-columns:repeat(4,1fr);gap:32px;"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  
  /* 统计数字调整 */
  div[style*="text-align:center;padding:32px;background:#fafafa;"] {
    padding: 24px 16px !important;
  }
  
  div[style*="font-size:40px;font-weight:600;color:#1a1a1a;"] {
    font-size: 32px !important;
  }
  
  /* CTA区域调整 */
  div[style*="padding:64px;background:#fafafa;border:1px solid #e8e8e8;border-radius:20px;text-align:center;"] {
    padding: 48px 24px !important;
    border-radius: 16px !important;
  }
  
  /* 返回按钮区域 */
  div[style*="background:#ffffff;padding:24px 0;border-bottom:1px solid #e8e8e8;position:sticky;top:0;z-index:100;"] {
    padding: 16px 0 !important;
  }
}

@media (max-width: 575.98px) {
  /* 快捷导航 - 小屏单列 */
  div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:24px;"] {
    grid-template-columns: 1fr !important;
  }
  
  /* 统计网格 - 小屏单列 */
  div[style*="display:grid;grid-template-columns:repeat(2,1fr);gap:16px;"] {
    grid-template-columns: 1fr !important;
  }
  
  /* 英雄区域padding调整 */
  section[style*="padding:80px 0;text-align:center;"] {
    padding: 56px 0 !important;
  }
  
  /* 内容区域padding调整 */
  section[style*="padding:48px 0;border-top:1px solid #e8e8e8;"] {
    padding: 40px 0 !important;
  }
  
  section[style*="padding:80px 0;border-top:1px solid #e8e8e8;"] {
    padding: 56px 0 !important;
  }
}

/* ==================== 一键演出模式移动端优化 ==================== */
@media (max-width: 991.98px) {
  /* 英雄区域调整 */
  section[style*="padding:64px 0;text-align:center;"] {
    padding: 48px 0 !important;
  }
  
  /* 步骤指示器调整 */
  div[style*="display:flex;justify-content:center;gap:12px;margin-bottom:32px;flex-wrap:wrap;"] {
    gap: 8px !important;
  }
  
  /* 步骤指示器圆圈 */
  div[style*="width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid #e8e8e8;background:#ffffff;color:#8a8a8a;font-weight:600;transition:all 0.3s ease;"] {
    width: 40px !important;
    height: 40px !important;
    font-size: 14px !important;
  }
  
  /* 步骤指示器标签 */
  div[style*="font-size:12px;color:#8a8a8a;max-width:80px;text-align:center;"] {
    font-size: 11px !important;
    max-width: 70px !important;
  }
  
  /* 控制按钮区域调整 */
  div[style*="display:flex;justify-content:center;gap:16px;flex-wrap:wrap;"] {
    gap: 12px !important;
  }
  
  /* 按钮调整 */
  button[id="play-btn"], button[id="pause-btn"], button[id="reset-btn"] {
    padding: 12px 20px !important;
    font-size: 14px !important;
    min-height: 44px !important;
  }
  
  /* 速度控制调整 */
  div[style*="display:flex;justify-content:center;gap:12px;margin-top:24px;align-items:center;"] {
    gap: 10px !important;
    margin-top: 20px !important;
  }
  
  /* 网格布局调整 - 3列变2列 */
  div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:24px;"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  
  div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:600px;margin:0 auto;"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  
  /* 内容卡片padding调整 */
  div[style*="padding:32px;background:#fafafa;border:1px solid #e8e8e8;border-radius:16px;text-align:center;"] {
    padding: 24px 16px !important;
  }
  
  /* 痛点内容网格调整 */
  div[style*="display:grid;grid-template-columns:1fr 1fr;gap:48px;max-width:800px;margin:0 auto;align-items:center;"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  /* 热力图网格调整 */
  div[style*="display:grid;grid-template-columns:1fr 1fr;gap:32px;max-width:700px;margin:0 auto;align-items:center;"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  /* 英雄标题响应式大小 */
  h1[style*="font-size:48px;font-weight:600;color:#1a1a1a;letter-spacing:-0.02em;margin:0 0 16px 0;"] {
    font-size: clamp(28px, 8vw, 36px) !important;
  }
  
  /* 步骤标题响应式大小 */
  h2[style*="font-size:32px;font-weight:600;color:#1a1a1a;margin:0;letter-spacing:-0.02em;"] {
    font-size: 24px !important;
  }
  
  /* 按钮图标容器调整 */
  div[style*="width:56px;height:56px;background:#1a1a1a;border-radius:14px;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;color:#ffffff;"] {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
  }
  
  /* 大图标容器调整 */
  div[style*="width:80px;height:80px;background:#1a1a1a;border-radius:20px;display:flex;align-items:center;justify-content:center;margin:0 auto 24px;color:#ffffff;"] {
    width: 64px !important;
    height: 64px !important;
    border-radius: 16px !important;
  }
  
  /* 完成页大图标 */
  div[style*="width:96px;height:96px;background:#1a1a1a;border-radius:24px;display:flex;align-items:center;justify-content:center;margin:0 auto 24px;color:#ffffff;"] {
    width: 72px !important;
    height: 72px !important;
    border-radius: 18px !important;
  }
  
  /* 完成页绿色图标 */
  div[style*="width:80px;height:80px;background:#00b894;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 24px;color:#ffffff;"] {
    width: 64px !important;
    height: 64px !important;
  }
  
  /* section padding调整 */
  section[style*="padding:32px 0;border-top:1px solid #e8e8e8;"] {
    padding: 24px 0 !important;
  }
  
  section[style*="padding:64px 0;border-top:1px solid #e8e8e8;"] {
    padding: 48px 0 !important;
  }
  
  /* 内容区域padding */
  div[style*="padding:48px 0;"] {
    padding: 32px 0 !important;
  }
}

@media (max-width: 575.98px) {
  /* 步骤指示器单列 */
  div[style*="display:flex;justify-content:center;gap:12px;margin-bottom:32px;flex-wrap:wrap;"] {
    justify-content: flex-start !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    padding: 0 8px !important;
  }
  
  /* 网格布局全单列 */
  div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:24px;"] {
    grid-template-columns: 1fr !important;
  }
  
  div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:600px;margin:0 auto;"] {
    grid-template-columns: 1fr !important;
  }
  
  div[style*="display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:600px;margin:0 auto;"] {
    grid-template-columns: 1fr !important;
  }
  
  /* 统计数字调整 */
  div[style*="font-size:28px;font-weight:600;color:#1a1a1a;margin:0 0 4px 0;"] {
    font-size: 24px !important;
  }
  
  /* 按钮区域更紧凑 */
  div[style*="display:flex;justify-content:center;gap:16px;flex-wrap:wrap;"] {
    gap: 10px !important;
  }
  
  /* 速度标签调整 */
  span[style*="font-size:13px;color:#8a8a8a;"] {
    font-size: 12px !important;
  }
  
  /* 内容区域更小的padding */
  section[style*="padding:48px 0;border-top:1px solid #e8e8e8;"] {
    padding: 32px 0 !important;
  }
  
  section[style*="padding:64px 0;border-top:1px solid #e8e8e8;"] {
    padding: 40px 0 !important;
  }
}

/* ==================== iOS/iPhone 专属优化 ==================== */

/* Safari/iOS 特定优化 */
@supports (-webkit-touch-callout: none) {
  /* 安全区域适配 */
  body {
    padding-top: env(safe-area-inset-top, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }
  
  .navbar {
    padding-top: calc(14px + env(safe-area-inset-top, 0)) !important;
  }
  
  footer {
    padding-bottom: calc(env(safe-area-inset-bottom, 0) + 24px) !important;
  }
  
  /* 滚动性能优化 */
  * {
    -webkit-overflow-scrolling: touch;
  }
  
  /* 防止弹性滚动 */
  html, body {
    height: -webkit-fill-available;
    overscroll-behavior-y: none;
  }
  
  /* 触摸优化 */
  a, button, [role="button"] {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* 输入框防缩放 */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px !important;
  }
  
  /* 图片渲染优化 */
  img {
    image-rendering: -webkit-optimize-contrast;
    -webkit-font-smoothing: antialiased;
  }
  
  /* 动画性能优化 */
  .fade-in-up,
  .fade-in,
  .slide-up {
    transform: translateZ(0);
    will-change: opacity, transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  /* 卡片性能优化 */
  .card,
  .case-card,
  .feature-card {
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }
  
  /* 导航菜单优化 */
  .navbar-collapse {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

/* iPhone 小屏幕优化 */
@media (max-width: 375px) and (max-height: 667px) {
  /* 更紧凑的间距 */
  section {
    padding: 32px 16px !important;
  }
  
  .portfolio-hero-section {
    min-height: 70vh !important;
  }
  
  .hero-content h1 {
    font-size: 28px !important;
  }
  
  .feature-grid {
    gap: 12px !important;
  }
  
  .feature-card {
    padding: 20px !important;
  }
}

/* iPhone SE 等小屏设备 */
@media (max-width: 374.98px) {
  html {
    font-size: 11px;
  }
  
  .navbar-brand {
    font-size: 13px !important;
  }
  
  .hero-content h1 {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  
  .btn {
    padding: 10px 18px !important;
    font-size: 13px !important;
  }
}

/* 横屏模式优化 */
@media (orientation: landscape) and (max-height: 500px) {
  .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
  }
  
  body {
    padding-top: 56px !important;
  }
  
  .portfolio-hero-section {
    min-height: auto !important;
    padding: 80px 16px !important;
  }
  
  footer {
    display: none !important;
  }
}

/* 视网膜屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* 边框使用更细的线条 */
  .border-light {
    border-width: 0.5px;
  }
}

/* 减少动画（尊重用户偏好） */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .loading-spinner {
    animation: none;
    border: 4px solid #1a1a1a;
    border-radius: 50%;
  }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  /* 增大点击区域 */
  .nav-link,
  .btn,
  button,
  a[role="button"] {
    min-height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* 移除hover效果，使用active效果 */
  .nav-link:hover,
  .btn:hover {
    background-color: inherit;
  }
  
  .nav-link:active,
  .btn:active {
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(0.98);
  }
  
  /* 轮播图触摸优化 */
  .carousel-item {
    touch-action: pan-x;
  }
}

/* ================================================================
   移动端暗黑模式背景完全覆盖保障
   ================================================================ */
@media (max-width: 991.98px) {
  /* 确保html、body、#app三层都有完整的黑色背景 */
  [data-theme="dark"] html {
    background: #000000 !important;
    background-color: #000000 !important;
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }

  [data-theme="dark"] body {
    background: #000000 !important;
    background-color: #000000 !important;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    /* 防止弹性滚动露出白边 */
    overscroll-behavior: none;
    -webkit-overscroll-behavior: none;
  }

  [data-theme="dark"] #app,
  [data-theme="dark"] main,
  [data-theme="dark"] .app-container {
    background: #000000 !important;
    background-color: #000000 !important;
    min-height: 100vh;
    min-height: 100dvh;
  }

  /* 确保所有页面容器都有背景 */
  [data-theme="dark"] section,
  [data-theme="dark"] [class*="container"],
  [data-theme="dark"] [class*="page"],
  [data-theme="dark"] [class*="module"],
  [data-theme="dark"] [class*="section"] {
    background: #000000 !important;
  }

  /* 特殊处理：导航栏和底部 */
  [data-theme="dark"] nav,
  [data-theme="dark"] footer {
    background: #000000 !important;
  }

  /* 处理可能的白色间隙 */
  [data-theme="dark"] *::before,
  [data-theme="dark"] *::after {
    background-color: transparent !important;
  }

  /* iOS Safari 特殊优化：防止橡皮筋效果露出白底 */
  @supports (-webkit-touch-callout: none) {
    [data-theme="dark"] html,
    [data-theme="dark"] body {
      background: #000000 !important;
      -webkit-overscroll-behavior: none;
      overscroll-behavior: none;
    }

    /* 确保固定定位元素也有黑色背景 */
    [data-theme="dark"] [style*="position: fixed"],
    [data-theme="dark"] [style*="position:fixed"],
    [data-theme="dark"] .navbar.fixed-top,
    [data-theme="dark"] .navbar.fixed-bottom {
      background: rgba(0, 0, 0, 0.95) !important;
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
    }
  }

  /* ==================== Hero区域移动端暗黑模式专项优化 ==================== */
  
  /* Hero主体 - 确保完全覆盖视口 */
  [data-theme="dark"] .portfolio-hero-section {
    background: #000000 !important;
    background-color: #000000 !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    height: auto !important;
    /* 确保背景图不会透出 */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  /* 所有遮罩层 - 移动端增强 */
  [data-theme="dark"] .portfolio-hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* 底部白色渐变 → 黑色（关键修复！） */
  [data-theme="dark"] .portfolio-hero-overlay-bottom {
    background: linear-gradient(
      to top,
      #000000 0%,
      rgba(0, 0, 0, 0.95) 8%,
      rgba(0, 0, 0, 0.7) 15%,
      rgba(0, 0, 0, 0.4) 25%,
      rgba(0, 0, 0, 0) 40%
    ) !important;
  }

  /* 暗色遮罩层 - 增强不透明度 */
  [data-theme="dark"] .portfolio-hero-overlay-dark {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.75) 30%,
      rgba(0, 0, 0, 0.55) 60%,
      rgba(0, 0, 0, 0.8) 100%
    ) !important;
  }

  /* 渐变遮罩 - 降低亮度 */
  [data-theme="dark"] .portfolio-hero-overlay-gradient {
    opacity: 0.6 !important;
    mix-blend-mode: normal !important;
  }

  /* 内容区域 - 完全黑色 */
  [data-theme="dark"] .portfolio-hero-content {
    background: #000000 !important;
    background-color: #000000 !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    position: relative !important;
    z-index: 10 !important;
  }

  [data-theme="dark"] .portfolio-hero-container {
    background: transparent !important;
  }

  /* 装饰元素 - 降低可见度 */
  [data-theme="dark"] .hero-ambient-glow,
  [data-theme="dark"] .hero-glow-1,
  [data-theme="dark"] .hero-glow-2,
  [data-theme="dark"] .hero-glow-3,
  [data-theme="dark"] .hero-grid-decoration,
  [data-theme="dark"] .hero-particles,
  [data-theme="dark"] .portfolio-hero-decoration {
    opacity: 0.1 !important;
  }

  /* 装饰线 - 深灰色 */
  [data-theme="dark"] .portfolio-hero-line-left,
  [data-theme="dark"] .portfolio-hero-line-right {
    opacity: 0.2 !important;
  }

  /* 防止Hero区域内的任何元素露出白底 */
  [data-theme="dark"] .portfolio-hero-section * {
    border-color: rgba(255, 255, 255, 0.05) !important;
  }

  /* Hero区域的伪元素也要处理 */
  [data-theme="dark"] .portfolio-hero-section::before,
  [data-theme="dark"] .portfolio-hero-section::after {
    background: #000000 !important;
    content: none !important; /* 移除可能的伪元素装饰 */
  }
}

}
/**
 * 一键演出模式样式 - V2 优化版
 * 优化布局：顶部控制栏 + 左右分栏主内容 + 可折叠日志
 */

/* 主容器 */
.showcase-module-v2 {
  min-height: calc(100vh - 72px);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  flex-direction: column;
}

/* ==================== 顶部控制栏 ==================== */
.showcase-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: white;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  z-index: 100;
  gap: 20px;
}

/* 左侧：标题区域 */
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-back-compact {
  width: 36px;
  height: 36px;
  border: none;
  background: #f8f9fa;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-back-compact:hover {
  background: #e9ecef;
  transform: translateX(-2px);
}

.btn-back-compact i {
  font-size: 16px;
  color: #666;
}

.title-group h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.title-group h2 i {
  color: #4d96ff;
}

.title-group .subtitle {
  font-size: 0.75rem;
  color: #999;
  display: block;
  margin-top: 2px;
}

/* 中间：进度和步骤 */
.top-bar-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 600px;
}

.steps-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.step-dot::before {
  content: '';
  position: absolute;
  right: -100%;
  width: 100%;
  height: 2px;
  background: #e9ecef;
  top: 50%;
  transform: translateY(-50%);
}

.step-dot:last-child::before {
  display: none;
}

.step-dot span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #999;
}

.step-dot:hover {
  transform: scale(1.1);
  background: #dee2e6;
}

.step-dot.active {
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  box-shadow: 0 0 0 3px rgba(77, 150, 255, 0.3);
}

.step-dot.active span {
  color: white;
}

.step-dot.completed {
  background: #28a745;
}

.step-dot.completed span {
  color: white;
}

.step-dot.completed::before {
  background: #28a745;
}

.progress-section {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
  background: #f8f9fa;
  border-radius: 10px;
}

.progress-bar {
  flex: 1;
  height: 10px;
  background: #e9ecef;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  border-radius: 5px;
  pointer-events: none;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4d96ff 0%, #22c55e 100%);
  border-radius: 5px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 0 8px rgba(77, 150, 255, 0.4);
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  animation: progress-shine 2s ease-in-out infinite;
}

@keyframes progress-shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(200%);
  }
}

.progress-text {
  font-size: 0.875rem;
  font-weight: 800;
  color: #1a1a2e;
  min-width: 42px;
  text-align: right;
  background: linear-gradient(135deg, #4d96ff 0%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 右侧：控制按钮 */
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.speed-control-compact {
  display: flex;
  gap: 4px;
  background: #f8f9fa;
  padding: 4px;
  border-radius: 8px;
}

.speed-btn {
  padding: 4px 10px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.speed-btn:hover {
  background: white;
}

.speed-btn.active {
  background: #4d96ff;
  color: white;
}

.control-buttons {
  display: flex;
  gap: 6px;
}

.btn-icon-control {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-icon-control i {
  font-size: 14px;
}

.btn-play {
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  color: white;
}

.btn-play:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(77, 150, 255, 0.4);
}

.btn-pause {
  background: #ffd93d;
  color: #333;
}

.btn-stop {
  background: #ff6b6b;
  color: white;
}

.btn-reset {
  background: #6c757d;
  color: white;
}

.btn-icon-control:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-toggle-logs {
  width: 36px;
  height: 36px;
  border: 2px solid #e9ecef;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-toggle-logs:hover {
  border-color: #4d96ff;
  color: #4d96ff;
}

.btn-toggle-logs i {
  font-size: 14px;
}

/* ==================== 主内容区 ==================== */
.showcase-main-v2 {
  flex: 1;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 16px;
  padding: 16px;
  overflow: hidden;
  min-height: 0;
}

/* 面板通用样式 */
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: white;
  border-bottom: 1px solid #e9ecef;
  border-radius: 12px 12px 0 0;
}

.panel-header h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.panel-header h3 i {
  color: #4d96ff;
}

/* 左侧：技术面板 */
.tech-panel {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tech-status-badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: #e9ecef;
  border-radius: 12px;
  color: #666;
}

.tech-content-v2 {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.tech-placeholder-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
  gap: 12px;
  text-align: center;
}

.tech-placeholder-v2 i {
  font-size: 48px;
  opacity: 0.5;
}

.tech-placeholder-v2 p {
  font-size: 0.875rem;
}

/* 技术详情卡片 */
.tech-detail-card-v2 {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 3px solid #4d96ff;
  margin-bottom: 10px;
  animation: slideIn 0.3s ease;
}

.tech-detail-card-v2.ideal {
  border-left-color: #ffd93d;
  background: linear-gradient(135deg, #fffdf5 0%, #f8f9fa 100%);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.tech-icon-v2 {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-icon-v2 i {
  font-size: 16px;
  color: white;
}

.tech-info-v2 {
  flex: 1;
  min-width: 0;
}

.tech-info-v2 h5 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.tech-info-v2 p {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.4;
}

.tech-meta-v2 {
  margin-bottom: 6px;
}

.implementation-badge-v2 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.625rem;
  font-weight: 700;
}

.implementation-badge-v2.done {
  background: #d4edda;
  color: #155724;
}

.implementation-badge-v2.simulated {
  background: #fff3cd;
  color: #856404;
}

.ideal-implementation-v2 {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 8px;
  background: rgba(255, 217, 61, 0.15);
  border-radius: 6px;
  margin-bottom: 8px;
}

.ideal-implementation-v2 i {
  color: #f5c800;
  font-size: 12px;
  margin-top: 2px;
}

.ideal-implementation-v2 span {
  font-size: 0.6875rem;
  color: #856404;
  line-height: 1.4;
}

.tech-components-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.component-tag-v2 {
  padding: 2px 8px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  font-size: 0.6875rem;
  color: #495057;
}

/* 右侧：可视化面板 */
.visualization-panel {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.visualization-panel .panel-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.visualization-panel .panel-header h3 {
  font-size: 1.125rem;
}

.step-desc {
  font-size: 0.8125rem;
  color: #666;
}

.visualization-content {
  flex: 1;
  padding: 20px;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

/* 占位符样式 */
.viz-placeholder-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  flex: 1;
}

.viz-animation-v2 {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.viz-animation-v2 .pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #4d96ff;
  animation: pulse-ring 2s ease-out infinite;
}

.viz-animation-v2 .pulse-ring:nth-child(2) {
  animation-delay: 0.5s;
}

.viz-animation-v2 .pulse-ring:nth-child(3) {
  animation-delay: 1s;
}

.viz-animation-v2 i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: #4d96ff;
}

.viz-placeholder-v2 h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.viz-placeholder-v2 p {
  font-size: 0.9375rem;
  color: #666;
  margin-bottom: 24px;
}

.feature-preview-v2 {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-preview-v2 .preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-preview-v2 .preview-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-preview-v2 .preview-item i {
  font-size: 24px;
  color: #4d96ff;
}

.feature-preview-v2 .preview-item span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #333;
}

/* ==================== 日志面板（可折叠） ==================== */
.logs-panel-v2 {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(calc(100% - 40px));
  transition: transform 0.3s ease;
  z-index: 90;
  max-height: 200px;
}

.logs-panel-v2.expanded {
  transform: translateY(0);
}

.logs-header-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  cursor: pointer;
}

.logs-header-v2 span {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logs-header-v2 span i {
  color: #6c757d;
}

.logs-actions {
  display: flex;
  gap: 8px;
}

.btn-clear-logs,
.btn-close-logs {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-clear-logs:hover,
.btn-close-logs:hover {
  background: #e9ecef;
}

.btn-clear-logs i,
.btn-close-logs i {
  font-size: 12px;
  color: #666;
}

.logs-content-v2 {
  height: 160px;
  overflow-y: auto;
  padding: 12px 20px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.75rem;
}

.log-entry {
  display: flex;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}

.log-entry:last-child {
  border-bottom: none;
}

.log-time {
  color: #999;
  flex-shrink: 0;
}

.log-message {
  color: #333;
}

.log-entry.info .log-message {
  color: #4d96ff;
}

.log-entry.success .log-message {
  color: #28a745;
}

.log-entry.warning .log-message {
  color: #f5c800;
}

.log-entry.error .log-message {
  color: #dc3545;
}

/* ==================== 各种可视化样式 V2 ==================== */

/* 系统架构 */
.viz-system-architecture-v2 {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-diagram-v2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 500px;
}

.arch-layer {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  padding: 20px;
  border: 2px solid #dee2e6;
}

.arch-layer h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.arch-layer h4 i {
  color: #4d96ff;
}

.arch-components {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.arch-components .component {
  padding: 6px 12px;
  background: white;
  border-radius: 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #495057;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.arch-arrow {
  text-align: center;
  color: #adb5bd;
  font-size: 1.25rem;
}

/* 场景分析 */
.viz-scene-analysis-v2 {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.scene-card-large-v2 {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
}

.scene-icon-large-v2 {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scene-icon-large-v2 i {
  font-size: 36px;
  color: white;
}

.scene-info-large-v2 h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.scene-info-large-v2 p {
  font-size: 0.9375rem;
  color: #666;
  margin-bottom: 12px;
}

.scene-features-v2 {
  display: flex;
  gap: 8px;
}

.scene-features-v2 .feature-tag {
  padding: 4px 12px;
  background: white;
  border-radius: 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4d96ff;
}

.analysis-process-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.process-step-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  min-width: 80px;
}

.process-step-v2.active {
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  color: white;
}

.process-step-v2 i {
  font-size: 24px;
}

.process-step-v2 span {
  font-size: 0.75rem;
  font-weight: 600;
}

/* 痛点检测 */
.viz-pain-detection-v2 {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.quadrant-display-v2 {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.quadrant-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 200px;
  height: 200px;
}

.quadrant-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.quadrant-v2.q1 { background: #ff6b6b; }
.quadrant-v2.q2 { background: #ffd93d; color: #333; }
.quadrant-v2.q3 { background: #6bcb77; }
.quadrant-v2.q4 { background: #4d96ff; }

.quadrant-v2.active {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.quadrant-info-v2 {
  flex: 1;
  max-width: 250px;
}

.quadrant-info-v2 h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.quadrant-info-v2 p {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 12px;
}

.characteristics-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.char-tag {
  padding: 4px 10px;
  background: #f8f9fa;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #495057;
}

.pain-result-v2 {
  display: flex;
  justify-content: center;
}

.pain-card-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 40px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
  border-radius: 16px;
  border: 2px solid #ff6b6b;
}

.pain-card-v2 i {
  font-size: 40px;
  color: #ff6b6b;
}

.pain-card-v2 h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a2e;
}

/* AI分析 */
.viz-ai-analysis-v2 {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.analysis-container-v2 {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.video-preview-v2 {
  flex: 1;
  min-width: 400px;
  position: relative;
  background: #1a1a2e;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-width: 600px;
}

.video-placeholder-v2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: white;
}

.video-placeholder-v2 i {
  font-size: 40px;
  opacity: 0.5;
}

.analysis-overlay-v2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.detection-box-v2 {
  position: absolute;
  border: 2px solid #4d96ff;
  border-radius: 4px;
}

.detection-label-v2 {
  position: absolute;
  top: -20px;
  left: 0;
  padding: 2px 6px;
  background: #4d96ff;
  color: white;
  font-size: 0.625rem;
  font-weight: 600;
  border-radius: 4px;
}

.analysis-metrics-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 160px;
}

.metric-v2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 10px;
  text-align: center;
}

.metric-label-v2 {
  font-size: 0.6875rem;
  color: #999;
}

.metric-value-v2 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
}

.processing-pipeline-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  flex-wrap: wrap;
}

.pipeline-step-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
}

.pipeline-step-v2.completed {
  opacity: 1;
  color: #28a745;
}

.pipeline-step-v2.active {
  opacity: 1;
  color: #4d96ff;
}

.pipeline-step-v2 i {
  font-size: 20px;
}

.pipeline-step-v2 span {
  font-size: 0.75rem;
  font-weight: 600;
}

/* 热力图 */
.viz-heatmap-v2 {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.heatmap-container-v2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.heatmap-container-v2 canvas {
  max-width: 100%;
  max-height: 300px;
  background: #f8f9fa;
  border-radius: 10px;
}

.heatmap-legend-v2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: #666;
}

.gradient-bar-v2 {
  width: 150px;
  height: 10px;
  background: linear-gradient(90deg, rgba(255,200,150,0.3) 0%, rgba(255,50,50,0.9) 100%);
  border-radius: 5px;
}

.heatmap-stats-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 10px;
  text-align: center;
}

.stat-card-v2 i {
  font-size: 20px;
  color: #4d96ff;
}

.stat-value-v2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
}

.stat-label-v2 {
  font-size: 0.75rem;
  color: #666;
}

/* 方案匹配 */
.viz-solution-matching-v2 {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.matching-process-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 16px;
}

.matching-inputs-v2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-item-v2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.input-item-v2 i {
  font-size: 16px;
  color: #4d96ff;
}

.input-item-v2 span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
}

.matching-arrow-v2 {
  font-size: 1.5rem;
  color: #4d96ff;
}

.matching-output-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  border-radius: 12px;
  color: white;
}

.matching-output-v2 i {
  font-size: 28px;
}

.tools-recommendation-v2 h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.tools-list-v2 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.tool-card-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  animation: slideUp 0.5s ease forwards;
  opacity: 0;
  transform: translateY(10px);
}

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

.tool-icon-v2 {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6bcb77 0%, #4a9f5a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-icon-v2 i {
  font-size: 18px;
  color: white;
}

.tool-info-v2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tool-name-v2 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a1a2e;
}

.tool-price-v2 {
  font-size: 0.75rem;
  color: #6bcb77;
  font-weight: 600;
}

/* 效果预测 */
.viz-effect-prediction-v2 {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.prediction-dashboard-v2 {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 16px;
}

.prediction-main-v2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  max-width: 350px;
}

.prediction-item-v2 {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prediction-value-v2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #4d96ff;
}

.prediction-label-v2 {
  font-size: 0.875rem;
  color: #666;
}

.prediction-bar-v2 {
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
}

.prediction-fill-v2 {
  height: 100%;
  background: linear-gradient(90deg, #4d96ff 0%, #6bcb77 100%);
  border-radius: 3px;
}

.prediction-confidence-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.confidence-ring-v2 {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(#4d96ff calc(var(--progress) * 1%), #e9ecef 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.confidence-ring-v2::before {
  content: '';
  position: absolute;
  width: 75px;
  height: 75px;
  background: white;
  border-radius: 50%;
}

.confidence-ring-v2 span {
  position: relative;
  font-size: 1.25rem;
  font-weight: 700;
  color: #4d96ff;
}

.confidence-label-v2 {
  font-size: 0.75rem;
  color: #666;
  font-weight: 600;
}

.prediction-factors-v2 {
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.prediction-factors-v2 h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.prediction-factors-v2 ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prediction-factors-v2 li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #495057;
}

.prediction-factors-v2 li i {
  color: #28a745;
}

/* 结果展示 */
.viz-result-display-v2 {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.result-summary-v2 {
  text-align: center;
}

.result-header-v2 {
  margin-bottom: 20px;
}

.result-header-v2 i {
  font-size: 56px;
  color: #28a745;
  margin-bottom: 12px;
}

.result-header-v2 h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
}

.result-stats-v2 {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.result-stats-v2 .stat-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 28px;
  background: #f8f9fa;
  border-radius: 12px;
}

.result-stats-v2 .stat-value-v2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #4d96ff;
}

.result-stats-v2 .stat-label-v2 {
  font-size: 0.875rem;
  color: #666;
}

.result-actions-v2 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-action-v2 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #4d96ff 0%, #357abd 100%);
  color: white;
}

.btn-action-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(77, 150, 255, 0.4);
}

/* 完成覆盖层 */
.showcase-complete-overlay-v2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease;
}

.complete-message-v2 {
  text-align: center;
}

.complete-message-v2 i {
  font-size: 56px;
  color: #28a745;
  margin-bottom: 12px;
}

.complete-message-v2 h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.complete-message-v2 p {
  font-size: 0.9375rem;
  color: #666;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
  .showcase-main-v2 {
    grid-template-columns: 320px 1fr;
  }
}

@media (max-width: 992px) {
  .showcase-main-v2 {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .tech-panel {
    max-height: 250px;
  }

  .showcase-top-bar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .top-bar-center {
    order: 3;
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 576px) {
  .showcase-top-bar {
    padding: 10px 16px;
  }

  .title-group h2 {
    font-size: 1rem;
  }

  .title-group .subtitle {
    display: none;
  }

  .step-dot {
    width: 24px;
    height: 24px;
  }

  .step-dot span {
    font-size: 0.625rem;
  }

  .showcase-main-v2 {
    padding: 12px;
  }

  .feature-preview-v2 {
    gap: 8px;
  }

  .feature-preview-v2 .preview-item {
    padding: 12px 16px;
  }

  .heatmap-stats-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== 一键演出页面基础样式 ==================== */
.showcase-page {
  min-height: 100vh;
  background: #ffffff;
}

.showcase-header {
  background: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* 暗黑模式适配 */
[data-theme="dark"] .showcase-page {
  background: #000000 !important;
  background-color: #000000 !important;
}

[data-theme="dark"] .showcase-header {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a;
}


/* ==================== 游戏化体验 - 建筑作品集风格 ==================== */

.portfolio-gamification-module {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: #fafafa !important;
  min-height: 100vh;
  color: #1a1a1a;
}

/* 页面标题 */

.portfolio-gamification-header {
  background: transparent !important;
  padding: 100px 0 50px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.portfolio-gamification-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.portfolio-gamification-title-left {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex: 1;
}

.portfolio-gamification-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(255,255,255,1) 0%, rgba(245,245,245,1) 100%);
  border-radius: 20px;
  box-shadow: 
    0 4px 16px rgba(0,0,0,0.08),
    0 0 0 1px rgba(0,0,0,0.04) inset;
  position: relative;
  overflow: hidden;
}

.portfolio-gamification-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, transparent 100%);
  border-radius: 20px 20px 0 0;
}

.portfolio-gamification-icon svg {
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 2;
}

.portfolio-gamification-title-text {
  flex: 1;
}

.portfolio-gamification-title {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.portfolio-gamification-subtitle {
  font-size: 18px;
  color: #666;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.005em;
}

.portfolio-gamification-title-right {
  flex-shrink: 0;
}

.portfolio-gamification-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.12);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.portfolio-gamification-back-btn:hover {
  background: linear-gradient(145deg, #1a1a1a 0%, #333 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transform: translateY(-2px);
  text-decoration: none;
}

.portfolio-gamification-back-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-gamification-back-btn:hover svg {
  transform: translateX(-6px);
}

/* 进度条 */

.portfolio-gamification-progress {
  background: #ffffff;
  padding: 50px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.portfolio-gamification-progress-bar {
  height: 8px;
  background: linear-gradient(90deg, #f0f0f0 0%, #e8e8e8 100%);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05) inset;
}

.portfolio-gamification-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4ecdc4 0%, #3B82F6 50%, #ec4899 100%);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.portfolio-gamification-progress-fill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.5),
    transparent
  );
  animation: progress-shine 2s ease-in-out infinite;
}

@keyframes progress-shine {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}

.portfolio-gamification-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-gamification-progress-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.portfolio-gamification-progress-value {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

/* 情绪成长地图 */

.portfolio-gamification-map {
  padding: 60px 0;
}

.portfolio-gamification-path {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 80px;
}

/* 步骤 */

.portfolio-gamification-step {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

.portfolio-gamification-step-node {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.portfolio-gamification-step-icon {
  width: 88px;
  height: 88px;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(248,248,248,0.9) 100%);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
}

.portfolio-gamification-step-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, transparent 100%);
  border-radius: 24px 24px 0 0;
  z-index: 1;
}

.portfolio-gamification-step.completed .portfolio-gamification-step-icon {
  border-color: transparent;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0,0,0,0.04) inset;
}

.portfolio-gamification-step.current .portfolio-gamification-step-icon {
  transform: scale(1.12);
  box-shadow: 
    0 12px 36px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0,0,0,0.05) inset;
  animation: step-pulse 2.5s ease-in-out infinite;
}

@keyframes step-pulse {
  0%, 100% {
    box-shadow: 
      0 12px 36px rgba(0, 0, 0, 0.15),
      0 0 0 1px rgba(0,0,0,0.05) inset;
  }
  50% {
    box-shadow: 
      0 16px 48px rgba(0, 0, 0, 0.22),
      0 0 0 1px rgba(0,0,0,0.06) inset;
  }
}

.portfolio-gamification-step-icon svg {
  width: 38px;
  height: 38px;
  position: relative;
  z-index: 2;
}

.portfolio-gamification-step-check {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 32px;
  height: 32px;
  background: linear-gradient(145deg, #10B981 0%, #059669 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 
    0 4px 12px rgba(16, 185, 129, 0.4),
    0 0 0 2px white;
  z-index: 10;
}

.portfolio-gamification-step-check svg {
  width: 18px;
  height: 18px;
}

.portfolio-gamification-step-content {
  background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 40px;
  flex: 1;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.portfolio-gamification-step.current .portfolio-gamification-step-content {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0,0,0,0.04) inset;
  transform: scale(1.02);
}

.portfolio-gamification-step.completed .portfolio-gamification-step-content {
  opacity: 0.85;
  border-color: rgba(0,0,0,0.04);
}

.portfolio-gamification-step-header {
  margin-bottom: 16px;
}

.portfolio-gamification-step-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

.portfolio-gamification-step-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.portfolio-gamification-step-description {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 24px;
}

.portfolio-gamification-step-challenge,
.portfolio-gamification-step-reward {
  margin-bottom: 16px;
}

.portfolio-gamification-challenge-label,
.portfolio-gamification-reward-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1a1a1a;
  opacity: 0.8;
}

.portfolio-gamification-challenge-label svg,
.portfolio-gamification-reward-label svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.portfolio-gamification-step-actions {
  margin-top: 24px;
}

.portfolio-gamification-start-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: #1a1a1a;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio-gamification-start-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.portfolio-gamification-completed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #10B981;
}

.portfolio-gamification-completed-badge svg {
  width: 18px;
  height: 18px;
}

/* 连接线 */

.portfolio-gamification-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.portfolio-gamification-connector-line {
  width: 2px;
  height: 80px;
  background: #e5e5e5;
  transition: background 0.6s ease;
}

.portfolio-gamification-connector.active .portfolio-gamification-connector-line {
  background: linear-gradient(180deg, #4ecdc4 0%, #10B981 100%);
}

.portfolio-gamification-connector-arrow {
  position: absolute;
  bottom: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

.portfolio-gamification-connector-arrow svg {
  width: 100%;
  height: 100%;
}

/* 成就展示 */

.portfolio-gamification-achievements {
  margin-bottom: 80px;
}

.portfolio-gamification-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 48px;
  text-align: center;
  letter-spacing: -0.02em;
}

.portfolio-gamification-achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.portfolio-gamification-achievement {
  background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.portfolio-gamification-achievement::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.portfolio-gamification-achievement:hover::before {
  opacity: 1;
}

.portfolio-gamification-achievement:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
  border-color: rgba(0,0,0,0.08);
}

.portfolio-gamification-achievement.pulse {
  animation: achievementPulse 0.6s ease;
}

@keyframes achievementPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.portfolio-gamification-achievement-icon {
  width: 80px;
  height: 80px;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(248,248,248,0.9) 100%);
  position: relative;
  overflow: hidden;
}

.portfolio-gamification-achievement-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, transparent 100%);
  border-radius: 22px 22px 0 0;
  z-index: 1;
}

.portfolio-gamification-achievement.earned .portfolio-gamification-achievement-icon {
  border-color: transparent;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0,0,0,0.04) inset;
  animation: badge-shine 4s ease-in-out infinite;
}

@keyframes badge-shine {
  0%, 100% {
    box-shadow: 
      0 8px 24px rgba(0, 0, 0, 0.12),
      0 0 0 1px rgba(0,0,0,0.04) inset;
  }
  50% {
    box-shadow: 
      0 12px 32px rgba(0, 0, 0, 0.18),
      0 0 0 1px rgba(0,0,0,0.05) inset,
      0 0 20px rgba(255,255,255,0.3);
  }
}

.portfolio-gamification-achievement:not(.earned) .portfolio-gamification-achievement-icon {
  background: linear-gradient(145deg, rgba(240,240,240,0.6) 0%, rgba(230,230,230,0.6) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0.7;
}

.portfolio-gamification-achievement-icon svg {
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 2;
}

.portfolio-gamification-achievement-info {
  flex: 1;
}

.portfolio-gamification-achievement-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.portfolio-gamification-achievement-step {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666;
  margin: 0 0 16px;
}

.portfolio-gamification-achievement-earned,
.portfolio-gamification-achievement-locked {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

.portfolio-gamification-achievement-earned {
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
}

.portfolio-gamification-achievement-locked {
  color: #888;
  background: rgba(136, 136, 136, 0.1);
}

.portfolio-gamification-achievement-earned svg,
.portfolio-gamification-achievement-locked svg {
  width: 18px;
  height: 18px;
}

/* 统计数据 */

.portfolio-gamification-stats {
  background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.portfolio-gamification-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.portfolio-gamification-stat {
  text-align: center;
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
}

.portfolio-gamification-stat:hover {
  transform: translateY(-4px);
  background: rgba(0,0,0,0.02);
}

.portfolio-gamification-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 700;
  color: #1a1a1a;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
  background: linear-gradient(135deg, #4ecdc4 0%, #3B82F6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-gamification-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  display: block;
}

/* 通知 */

.portfolio-gamification-notification {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  opacity: 0;
  transform: translateX(100%) scale(0.9);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-gamification-notification.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.portfolio-gamification-notification-content {
  background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  min-width: 360px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.portfolio-gamification-notification-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4ecdc4 0%, #3B82F6 50%, #ec4899 100%);
}

.portfolio-gamification-notification-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.portfolio-gamification-notification-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
}

.portfolio-gamification-notification-icon svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 2;
}

.portfolio-gamification-notification-text h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.portfolio-gamification-notification-text p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #666;
  margin: 0;
}

/* ==================== 响应式适配 ==================== */

@media (max-width: 1200px) {
  .portfolio-gamification-achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .portfolio-gamification-title-row {
    flex-direction: column;
    gap: 24px;
  }
  
  .portfolio-gamification-title-right {
    width: 100%;
  }
  
  .portfolio-gamification-back-btn {
    width: 100%;
    justify-content: center;
  }
  
  .portfolio-gamification-title {
    font-size: 36px;
  }
  
  .portfolio-gamification-stats-grid {
    gap: 24px;
  }
}

@media (max-width, 768px) {
  .portfolio-gamification-header {
    padding: 60px 0 30px;
  }
  
  .portfolio-gamification-title {
    font-size: 28px;
  }
  
  .portfolio-gamification-step {
    gap: 16px;
  }
  
  .portfolio-gamification-step-node {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .portfolio-gamification-step-icon {
    width: 56px;
    height: 56px;
  }
  
  .portfolio-gamification-step-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .portfolio-gamification-step-title {
    font-size: 22px;
  }
  
  .portfolio-gamification-achievements-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-gamification-stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .portfolio-gamification-stat-value {
    font-size: 36px;
  }
  
  .portfolio-gamification-notification {
    top: 16px;
    right: 16px;
    left: 16px;
  }
  
  .portfolio-gamification-notification-content {
    min-width: auto;
  }
}

/* 强制可见性 */

.portfolio-gamification-module,
.portfolio-gamification-module * {
  visibility: visible !important;
  opacity: 1 !important;
}

/* ==================== 情绪成长地图页面样式 ==================== */

.gamification-page {
  min-height: 100vh;
  background: #ffffff;
}

.gamification-header {
  background: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* 暗黑模式适配 */

[data-theme="dark"] .gamification-page {
  background: #000000 !important;
  background-color: #000000 !important;
}

[data-theme="dark"] .gamification-header {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a;
}
/**
 * 网站地图模块样式
 */

.sitemap-page {
  min-height: 100vh;
  background: #ffffff;
}

.sitemap-header {
  background: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* 暗黑模式适配 */
[data-theme="dark"] .sitemap-page {
  background: #000000 !important;
  background-color: #000000 !important;
}

[data-theme="dark"] .sitemap-header {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a;
}
/**
 * 登录模块样式
 */

.login-page {
  min-height: 100vh;
  background: #ffffff;
}

.login-header {
  background: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
}

/* 暗黑模式适配 */
[data-theme="dark"] .login-page {
  background: #000000 !important;
  background-color: #000000 !important;
}

[data-theme="dark"] .login-header {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a;
}
/**
 * 注册模块样式
 */

.register-page {
  min-height: 100vh;
  background: #ffffff;
}

.register-header {
  background: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
}

/* 暗黑模式适配 */
[data-theme="dark"] .register-page {
  background: #000000 !important;
  background-color: #000000 !important;
}

[data-theme="dark"] .register-header {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a;
}
/**
 * 个人中心模块样式
 */

.profile-page {
  min-height: 100vh;
  background: #ffffff;
}

.profile-header {
  background: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
}

/* 暗黑模式适配 */
[data-theme="dark"] .profile-page {
  background: #000000 !important;
  background-color: #000000 !important;
}

[data-theme="dark"] .profile-header {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a;
}
/**
 * 历史记录模块样式
 */

.history-page {
  min-height: 100vh;
  background: #ffffff;
}

.history-header {
  background: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
}

/* 暗黑模式适配 */
[data-theme="dark"] .history-page {
  background: #000000 !important;
  background-color: #000000 !important;
}

[data-theme="dark"] .history-header {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a;
}
/**
 * 我的收藏模块样式
 */

.favorites-page {
  min-height: 100vh;
  background: #ffffff;
}

.favorites-header {
  background: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
}

/* 暗黑模式适配 */
[data-theme="dark"] .favorites-page {
  background: #000000 !important;
  background-color: #000000 !important;
}

[data-theme="dark"] .favorites-header {
  background: #000000 !important;
  background-color: #000000 !important;
  border-bottom-color: #27272a;
}
