/* ============================================
   舒赋官网 - 全局样式
   设计风格：VI标准色系 · 品牌紫蓝主调
   响应式：手机/平板/桌面全适配
   色值来源：Safital舒赋品牌VI系统管理手册
   ============================================ */

/* --- CSS 变量（VI标准色） --- */
:root {
  /* ===== VI品牌标准色（用户确认值） ===== */

  /* 主色 - 蓝 PANTONE 7441C */
  --primary: #2053a4;
  --primary-dark: #1a4280;
  --primary-light: #d0ddf0;
  --primary-lighter: #eef3fa;

  /* 辅助色 - 红 */
  --accent: #a11143;
  --accent-dark: #8a0d36;
  --accent-light: #f0dde4;

  /* 辅助色 - 天蓝 */
  --sky-blue: #95acd4;
  --sky-blue-light: #e8eef7;

  /* 辅助色 - 蓝灰 */
  --blue-gray: #cbd6dc;

  /* 主色 - 灰 */
  --brand-gray: #dcddde;

  /* 主色 - 白 */
  --white: #ffffff;

  /* ===== 功能色（用于UI可读性，非VI定义） ===== */

  /* 成功/医疗绿 */
  --success: #27ae60;
  --success-light: #eafaf1;

  /* 中性色（文字层级） */
  --text: #2d2d2d;
  --text-secondary: #4a4a4a;
  --text-muted: #6b6b6b;
  --text-light: #9a9a9a;

  /* 背景色 */
  --bg: #ffffff;
  --bg-gray: #f5f7fa;
  --bg-gray-2: #ebeef3;
  --bg-dark: #1a2a3a;

  /* 边框 */
  --border: #e0e4e8;
  --border-light: #ebeef3;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(32,83,164,0.06);
  --shadow-md: 0 4px 12px rgba(32,83,164,0.08);
  --shadow-lg: 0 10px 30px rgba(32,83,164,0.12);
  --shadow-hover: 0 8px 24px rgba(32,83,164,0.15);
  
  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* 间距 */
  --section-padding: 80px;
  --container-width: 1200px;
  
  /* 字体 */
  --font-sans: "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
}

/* --- 重置基础样式 --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
}

/* --- 视觉隐藏（SEO/无障碍用） --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  line-height: var(--line-height-base);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* a 标签默认色不干扰按钮文字 — 仅作用于未指定颜色的按钮变体 */
a.btn:not(.btn-primary):not(.btn-secondary):not(.btn-accent):not(.btn-outline-white) {
  color: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* --- 容器 --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- 通用组件 --- */

/* 按钮设计体系
   层级：primary（实色主按钮）> secondary（浅色次按钮）> outline-white（深底白框）
   原则：每个层级在默认和悬停状态都有足够对比度
*/

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  gap: 8px;
  white-space: nowrap;
}

/* 主按钮：蓝底白字，最强视觉权重 */
.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* 次按钮：浅蓝底深字，与主按钮形成层次差 */
.btn-secondary {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-light);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* 强调按钮：红色，用于高优先级动作 */
.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(161,17,67,0.2);
}

/* 深底白框按钮：用于深色背景上的次要动作 */
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* 产品页按钮组：2×2排列 */
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.detail-actions .btn {
  flex: 1 1 calc(50% - 6px);
  max-width: calc(50% - 6px);
}

/* 底部购买CTA区域 */
.buy-cta {
  text-align: center;
  padding: 32px 0 16px;
}
.buy-cta-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.buy-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.buy-cta-buttons .btn {
  flex: 1 1 calc(50% - 6px);
  max-width: calc(50% - 6px);
}

/* 区块标题 */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* 卡片 */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* --- Header / 导航 --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo img {
  height: 40px;
  width: auto;
}

/* 桌面导航 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav > ul {
  display: flex;
  gap: 4px;
}

.main-nav > ul > li > a {
  display: block;
  padding: 10px 18px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--primary);
  background: var(--primary-lighter);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端导航面板 */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  padding: 24px;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav ul li a {
  display: block;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
  background: var(--primary-lighter);
  color: var(--primary);
}

.mobile-nav .mobile-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav .mobile-cta .btn {
  width: 100%;
}

/* --- 语言切换器（亚马逊式，全站通用） --- */
.lang-switcher {
  position: relative;
  margin-left: 12px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lang-toggle:hover,
.lang-switcher.open .lang-toggle {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-lighter);
}

.lang-caret {
  transition: transform 0.2s ease;
}

.lang-switcher:hover .lang-caret,
.lang-switcher.open .lang-caret {
  transform: rotate(180deg);
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 1100;
}

/* 桥接按钮与下拉菜单之间的 8px 空隙：鼠标从按钮移向菜单时保持 hover，否则菜单提前关闭 */
.lang-switcher::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 10px;
  display: none;
}

.lang-switcher:hover::after,
.lang-switcher.open::after {
  display: block;
}

/* 桌面：悬停展开；触屏/点击：JS 加 .open 展开 */
@media (hover: hover) {
  .lang-switcher:hover .lang-menu {
    display: block;
  }
}

.lang-switcher.open .lang-menu {
  display: block;
}

.lang-option {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.lang-option a {
  display: block;
  margin: -9px -14px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: inherit;
}

.lang-option:not(.disabled):hover {
  background: var(--primary-lighter);
  color: var(--primary);
}

.lang-option.current {
  color: var(--primary);
  font-weight: 600;
}

.lang-option.current::after {
  content: "✓";
  float: right;
  margin-left: 16px;
}

.lang-option.disabled {
  color: var(--text-light);
  cursor: default;
}

@media (max-width: 1100px) {
  .lang-toggle {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}

/* 移动端导航里的语言列表 */
.mobile-lang {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.mobile-lang-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.mobile-lang-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mobile-lang-item {
  display: block;
  padding: 10px 8px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

a.mobile-lang-item:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-lighter);
}

.mobile-lang-item.current {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-lighter);
  font-weight: 600;
}

.mobile-lang-item.disabled {
  color: var(--text-light);
  background: var(--bg-gray);
}

/* 页脚语言切换（深底，单行紧凑入口：当前语言 + 切换链接 + 占位） */
.footer-lang {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 40px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

.footer-lang svg {
  color: #718096;
  flex: none;
}

.footer-lang-label {
  color: #fff;
  font-weight: 600;
}

.footer-lang-item {
  color: #a0aec0;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-lang-item.current {
  color: #fff;
  font-weight: 600;
}

a.footer-lang-item:hover {
  color: #fff;
}

.footer-lang-item.disabled {
  color: rgba(160,174,192,0.4);
}

@media (max-width: 768px) {
  .footer-lang {
    margin-top: 32px;
    font-size: 0.85rem;
  }
}

/* --- Hero --- */
.hero {
  padding: 0;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
  background-color: var(--primary-lighter);
}

.hero-img {
  display: block;
  width: 100%;
  max-width: 1600px;
  height: auto;
  margin: 0 auto;
}

/* 底部局部渐变 — 上层透明保持亮，下层微暗衬底按钮 */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1600px;
  height: 30%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px 28px;
  z-index: 2;
}

.hero-content .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content h1 .highlight {
  color: var(--primary);
}

.hero-content .hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero按钮 — 半透明毛玻璃 */
.hero .btn-primary {
  background: rgba(32, 83, 164, 0.80);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero .btn-primary:hover {
  background: rgba(32, 83, 164, 0.92);
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* --- 品牌简介卡片（首页） --- */
.brand-intro {
  padding: 48px 0;
  background: var(--bg);
}

.brand-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 48px;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--white) 100%);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.brand-card-badge {
  display: inline-block;
  padding: 6px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.brand-card-title {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.brand-card-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* 平板 */
@media (max-width: 768px) {
  .brand-card {
    padding: 32px 24px;
  }

  .brand-card-title {
    font-size: 1.4rem;
  }
}

/* 手机 */
@media (max-width: 480px) {
  .brand-intro {
    padding: 32px 0;
  }

  .brand-card {
    padding: 28px 20px;
  }

  .brand-card-title {
    font-size: 1.25rem;
  }

  .brand-card-desc {
    font-size: 0.95rem;
  }
}

/* --- 产品系列 --- */
.products-section {
  padding: var(--section-padding) 0;
}

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

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  color: inherit;
  text-decoration: none;
}

.product-card .product-img {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--bg-gray);
  overflow: hidden;
}

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

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

/* 产品图占位符 */
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-lighter), var(--bg-gray));
}

.product-img-placeholder .placeholder-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  font-weight: 500;
}

.product-card .product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.product-card .product-tag.accent {
  background: var(--accent);
}

.product-card .product-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .product-category {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.product-card .product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.product-card .product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.product-card .product-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card .product-link:hover {
  gap: 8px;
}

/* --- 核心优势 --- */
.features-section {
  padding: var(--section-padding) 0;
  background: var(--bg-gray);
}

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

.feature-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.feature-card:hover .icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- FAQ 预览 --- */
.faq-preview-section {
  padding: var(--section-padding) 0;
}

.faq-preview {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  user-select: none;
}

.faq-question .toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question .toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-more {
  text-align: center;
  margin-top: 32px;
}

/* --- CTA 区域 --- */
.cta-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: #fff;
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-dark);
  color: #a0aec0;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

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

.footer-col ul li a {
  color: #a0aec0;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-brand .footer-logo {
  margin-bottom: 16px;
}

.footer-brand .footer-logo img {
  height: 36px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #a0aec0;
  margin-bottom: 16px;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #718096;
}

.footer-bottom a {
  color: #718096;
}

.footer-bottom a:hover {
  color: #a0aec0;
}

.footer-icp {
  margin-top: 8px;
}

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

/* 中等桌面 - 导航压缩 */
@media (max-width: 1100px) {
  .main-nav > ul > li > a {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  
  .header-cta .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* 中等桌面 — 按钮保持小尺寸，避免跳回 btn-lg 遮挡矮图片 */
@media (max-width: 1280px) {
  .hero-buttons .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}

/* 平板横屏 / 小桌面 */
@media (max-width: 1024px) {
  :root {
    --section-padding: 60px;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  /* 中等宽度下按钮降为标准尺寸，避免遮挡矮图片 */
  .hero-buttons .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* 平板竖屏 / 导航切换汉堡菜单 */
@media (max-width: 960px) {
  :root {
    --section-padding: 48px;
    --font-size-base: 15px;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .container {
    padding: 0 20px;
  }
  
  /* 导航 - 移动端 */
  .main-nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .mobile-nav {
    display: block;
  }
  
  /* Hero */
  .hero-content {
    padding: 0 20px 20px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content .hero-desc {
    font-size: 1rem;
  }

  .hero-buttons .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
  
  /* 信任背书 */
  .trust-bar-inner {
    gap: 20px;
  }
  
  .trust-item {
    flex-basis: calc(50% - 10px);
    justify-content: center;
  }

  /* 产品 */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* 优势 */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .feature-card {
    padding: 24px 16px;
  }
  
  .feature-card .icon {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 16px 20px;
    font-size: 0.95rem;
  }
  
  .faq-answer-inner {
    padding: 0 20px 16px;
  }
  
  /* CTA */
  .cta-section h2 {
    font-size: 1.75rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* 进入手机图：按钮变纵向堆叠 */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* 手机 */
@media (max-width: 480px) {
  :root {
    --section-padding: 40px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .header-inner {
    height: 64px;
  }

  .hero {
    margin-top: 64px;
  }

  .page-header-banner {
    margin-top: 64px;
  }
  
  .site-logo img {
    height: 32px;
  }
  
  .hero-content {
    padding: 0 0 12px 0;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 220px;
  }

  .trust-item {
    flex-basis: 100%;
  }
  
  .section-header {
    margin-bottom: 32px;
  }
  
  .section-header h2 {
    font-size: 1.35rem;
  }
  
  .section-header p {
    font-size: 0.95rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* 超小屏 */
@media (max-width: 360px) {
  :root {
    --font-size-base: 14px;
  }

  .hero-content h1 {
    font-size: 1.4rem;
  }
}

/* ============================================
   子页面通用样式
   ============================================ */

/* --- 页面标题区（含固定导航栏高度补偿） --- */
.page-header {
  padding: calc(72px + 40px) 0 40px;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, #fff 100%);
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.page-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* 带图片的页面标题 */
.page-header-banner {
  padding: 0;
  margin-top: 72px;
  background: none;
  overflow: hidden;
}

.page-header-img {
  display: block;
  width: 100%;
  max-width: 1600px;
  height: auto;
  margin: 0 auto;
}

/* --- 产品中心页 --- */
.products-section {
  padding: var(--section-padding) 0;
}

.products-section-alt {
  background: var(--bg-gray);
}

.category-header {
  text-align: center;
  margin-bottom: 40px;
}

.category-header h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.category-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.product-card .product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-card .product-specs span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-gray);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.product-card .product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

/* 划线原价 */
.price-original {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

/* 单产品横向展示卡（如护腕系列仅一款产品时） */
.product-feature-card {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  max-width: 900px;
  margin: 0 auto;
}

.product-feature-card:hover {
  box-shadow: var(--shadow-lg);
}

.product-feature-img {
  aspect-ratio: 1/1;
  background: var(--bg-gray);
  overflow: hidden;
}

.product-feature-img .product-img-placeholder {
  width: 100%;
  height: 100%;
}

.product-feature-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-feature-body .product-category {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.product-feature-body h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.product-feature-body .product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.product-feature-body .product-specs {
  margin-bottom: 24px;
}

.product-feature-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

/* --- FAQ 完整页 --- */
.faq-nav-section {
  padding: 20px 0;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 72px;
  z-index: 50;
}

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.faq-nav-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-gray);
  transition: all 0.2s ease;
}

.faq-nav-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.faq-full-section {
  padding: var(--section-padding) 0;
}

.faq-category {
  margin-bottom: 48px;
}

.faq-category-title {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}

.faq-item .faq-num {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-right: 8px;
  flex-shrink: 0;
}

.faq-question {
  gap: 4px;
}

.faq-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.9rem;
}

.faq-table th {
  background: var(--primary-lighter);
  color: var(--text);
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--border);
}

.faq-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.faq-table tr:nth-child(even) td {
  background: var(--bg-gray);
}

.faq-item.active .faq-answer {
  max-height: 2000px;
}

/* --- 选购指南文章页 --- */
.guide-article {
  padding: 48px 0 64px;
}
.guide-article .container {
  max-width: 820px;
}
.guide-summary {
  background: var(--primary-lighter);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 40px;
}
.guide-summary p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
}
.guide-article h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 48px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}
.guide-article h2:first-of-type {
  margin-top: 0;
}
.guide-article h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin: 32px 0 16px;
}
.guide-article p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.guide-article table.faq-table {
  width: 100%;
  margin: 20px 0 24px;
}
.guide-article a {
  color: var(--primary);
  text-decoration: underline;
}
.guide-article a:hover {
  text-decoration: none;
}
.guide-article strong {
  font-weight: 700;
}
.buy-cta-section {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-gray);
  border-radius: var(--radius-md);
  text-align: center;
}
.buy-cta-section h3 {
  margin-bottom: 16px;
}
.buy-cta-section p {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

/* --- 技术支持页 --- */
.support-section {
  padding: var(--section-padding) 0;
}

.support-section-alt {
  background: var(--bg-gray);
}

.support-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 24px;
}

.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px auto 16px;
}

.step-img-placeholder {
  width: calc(100% - 48px);
  margin: 0 auto;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--primary-lighter), var(--bg-gray));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.step-card h4 {
  padding: 0 24px;
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-card p {
  padding: 0 24px 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.support-note {
  background: var(--primary-lighter);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.support-note p {
  margin-bottom: 0;
}

/* 视频区域 — 3:4 竖屏视频布局 */
.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.video-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  width: 280px;
  max-width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.video-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
  z-index: 10;
}

.video-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.video-card:hover::before {
  transform: scaleX(1);
}

.video-card h4 {
  padding: 14px 16px 4px;
  font-size: 1rem;
  background: #f8f9fb;
}

.video-card p {
  padding: 0 16px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  background: #f8f9fb;
  flex: 1;
}

.video-placeholder {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.video-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #fff;
  transition: transform 0.5s ease;
  z-index: 0;
}

.video-placeholder:hover .video-cover {
  transform: scale(1.05);
}

.play-icon {
  font-size: 2rem;
  color: #fff;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
}

.video-placeholder:hover .play-icon {
  opacity: 1;
  transform: scale(1.1);
}

.video-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.5;
  padding: 0 8px;
  position: relative;
  z-index: 1;
}

.video-embed {
  aspect-ratio: 3/4;
  background: #000;
  overflow: hidden;
  position: relative;
}

.video-embed.loading::after {
  content: '加载中…';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  z-index: 2;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

.video-not-ready {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* 说明书下载 */
.manual-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.manual-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: all 0.3s ease;
}

.manual-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.manual-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.manual-info {
  flex: 1;
}

.manual-info h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.manual-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- 关于我们页 --- */
.about-section {
  padding: var(--section-padding) 0;
}

.about-section-alt {
  background: var(--bg-gray);
}

/* 品牌信 — 有温度的信件式排版 */
.brand-letter-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--primary-lighter) 0%, #fff 60%);
}

.brand-letter {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.brand-letter-hi {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.brand-letter-line {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.brand-letter-divider {
  width: 48px;
  height: 2px;
  background: var(--primary-light);
  margin: 32px auto;
  border-radius: 2px;
}

.brand-letter-closing {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 16px;
  margin-bottom: 12px;
}

.brand-letter-slogan {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-text p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-img-placeholder {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--primary-lighter), var(--bg-gray));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

/* 品牌信息表 */
.info-table {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.info-row {
  display: flex;
  border-bottom: 1px solid var(--border-light);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  width: 200px;
  flex-shrink: 0;
  padding: 16px 24px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  background: var(--bg-gray);
}

.info-value {
  flex: 1;
  padding: 16px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* 专利与检测 */
.patent-section {
  margin-bottom: 48px;
}

.patent-section h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

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

.patent-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.3s ease;
}

.patent-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.patent-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.patent-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.patent-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: "SF Mono", "Courier New", monospace;
}

.patent-card span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* 检测报告列表 */
.report-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all 0.3s ease;
}

.report-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.report-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  font-family: "SF Mono", "Courier New", monospace;
  flex-shrink: 0;
  width: 180px;
}

.report-info h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.report-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* 商标资产 */
.trademark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.trademark-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.trademark-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.trademark-item h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.trademark-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.trademark-item span {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--success);
  background: var(--success-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* --- 联系我们页 --- */
.contact-section {
  padding: var(--section-padding) 0;
}

.contact-section-alt {
  background: var(--bg-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.contact-qr {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin: 0 0 16px;
  border-radius: var(--radius-md);
}

.contact-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* 电商平台 */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.platform-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  padding-bottom: 20px;
}

.platform-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.platform-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary-lighter), var(--bg-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

.platform-qr {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}

.platform-card h4 {
  padding: 16px 0 4px;
  font-size: 1.05rem;
}

.platform-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* 快速链接卡片 */
.quick-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quick-link-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.quick-link-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.quick-link-card h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.quick-link-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  flex: 1;
}

.quick-link-arrow {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 16px;
  align-self: flex-end;
  transition: transform 0.3s ease;
}

.quick-link-card:hover .quick-link-arrow {
  transform: translateX(8px);
}

/* --- FAQ max-height 覆盖（完整页表格内容更高） --- */
.faq-full-section .faq-item.active .faq-answer {
  max-height: 3000px;
}

/* ============================================
   子页面响应式适配
   ============================================ */

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-link-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .patent-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-feature-card {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .product-feature-body {
    padding: 28px 24px;
  }
}

@media (max-width: 960px) {
  .page-header {
    padding: calc(72px + 28px) 0 28px;
  }

  .page-header-banner {
    padding: 0;
    margin-top: 72px;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .brand-letter-line {
    font-size: 1rem;
    line-height: 1.9;
  }

  .brand-letter-hi {
    font-size: 1.15rem;
  }

  .brand-letter-slogan {
    font-size: 1.3rem;
  }

  .support-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .video-grid {
    gap: 16px;
  }

  .video-card {
    width: 100%;
    max-width: 320px;
  }

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

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-nav-section {
    top: 64px;
  }

  .faq-nav {
    gap: 8px;
  }

  .faq-nav-item {
    padding: 6px 14px;
    font-size: 0.85rem;
  }

  .info-label {
    width: 130px;
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .info-value {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .report-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .report-num {
    width: auto;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: calc(64px + 24px) 0 24px;
  }

  .page-header-banner {
    padding: 0;
    margin-top: 64px;
  }

  .video-grid {
    gap: 16px;
  }

  .video-card {
    width: 100%;
    max-width: 100%;
  }

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .patent-grid {
    grid-template-columns: 1fr;
  }

  .info-row {
    flex-direction: column;
  }

  .info-label {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .info-value {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .faq-category-title {
    font-size: 1.15rem;
  }

  .manual-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
  }

  .manual-item .btn {
    align-self: stretch;
  }
}

/* ============================================
   产品详情页样式
   布局：文字限宽750px保证可读性，图片可突破到1200px
   ============================================ */

/* 详情页主体 */
.detail-page {
  padding: 24px 0 var(--section-padding);
}

/* 详情页顶部产品概览区 — 左右两块等高 */
.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.detail-hero-img {
  position: relative;
}

.detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.detail-hero-info {
  padding: 32px 36px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.detail-hero-info .product-category {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.detail-hero-info h1 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--text);
}

.detail-hero-info .detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 20px;
}

.detail-hero-info .detail-price .detail-price-unit {
  font-size: 1rem;
  font-weight: 500;
}

.detail-hero-info .detail-tagline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* 详情页参数速览表 */
.detail-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}

.detail-spec-table th,
.detail-spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.detail-spec-table th {
  width: 130px;
  white-space: nowrap;
  color: var(--text-muted);
  font-weight: 500;
}

.detail-spec-table td {
  color: var(--text);
  font-weight: 600;
}

/* 详情页按钮组（旧定义，已移到上方） */

/* 详情页富文本内容区
   核心：文字内容限宽750px居中，图片可占满1200px容器 */
.detail-content {
  max-width: 1200px;
  margin: 0 auto;
}

.detail-section {
  margin-bottom: 56px;
}

.detail-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 32px;
  position: relative;
}

.detail-section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* 富文本段落 — 限宽750px保证阅读体验 */
.detail-text {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.detail-text p {
  margin-bottom: 1.2rem;
}

.detail-text h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 32px 0 16px;
}

.detail-text ul,
.detail-text ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.detail-text li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  list-style: disc;
}

.detail-text strong {
  color: var(--text);
  font-weight: 600;
}

/* 详情页大图 — 可占满1200px容器宽度 */
.detail-image {
  max-width: 1200px;
  margin: 32px auto;
}

.detail-image img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.detail-image .detail-image-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* 详情页图文混排区块 */
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 48px;
}

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

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

.detail-block-text {
  max-width: 420px;
}

.detail-block-text h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.detail-block-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.detail-block-img {
  aspect-ratio: 1/1;
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.detail-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 详情页痛点对比区 */
.detail-pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.detail-pain-card {
  background: var(--bg-gray);
  border-radius: var(--radius-md);
  padding: 24px;
}

.detail-pain-card.bad {
  border-left: 4px solid var(--accent);
  background: var(--bg-gray);
}

.detail-pain-card.good {
  border-left: 4px solid var(--primary);
  background: var(--bg-gray);
}

.detail-pain-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.detail-pain-card.bad h4 {
  color: var(--accent);
}

.detail-pain-card.good h4 {
  color: var(--primary);
}

.detail-pain-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

/* 详情页底部导航 */
.detail-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 750px;
  margin: 60px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.detail-nav a {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.detail-nav a span {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 4px;
}

/* ============================================
   详情页响应式
   ============================================ */

@media (max-width: 1024px) {
  .detail-hero {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .detail-hero-info {
    padding: 24px 20px;
  }

  .detail-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .detail-block.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .detail-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .detail-pain-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .detail-pain-card {
    padding: 16px;
  }

  .detail-nav {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ============================================
   产品详情页轮播图
   ============================================ */
.gallery {
  position: relative;
}

.gallery-main {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slide.img-contain {
  background: #fff;
}

.gallery-slide.img-contain img {
  object-fit: contain;
}

.gallery-slide .product-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* 左右翻页按钮 */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.gallery-btn:hover {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.gallery-prev {
  left: 12px;
}

.gallery-next {
  right: 12px;
}

/* 计数器 */
.gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 10;
}

/* 缩略图栏 */
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.gallery-thumb {
  flex: 0 0 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--bg-gray);
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: all 0.2s;
  overflow: hidden;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  border-color: var(--border);
}

.gallery-thumb.active {
  border-color: var(--primary);
}

/* 详情页轮播图响应式 */
@media (max-width: 1024px) {
  .gallery-thumb {
    flex: 0 0 48px;
    height: 48px;
  }
}

@media (max-width: 768px) {
  .gallery-main {
    aspect-ratio: 3/4;
  }

  .gallery-thumb {
    flex: 0 0 44px;
    height: 44px;
  }
}

/* ============================================
   产品卡片链接 + 面包屑导航
   ============================================ */

a.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.product-card-link:hover .product-body h3 {
  color: var(--primary);
}

a.product-card-link .product-footer {
  transition: gap 0.3s ease;
}

a.product-card-link:hover {
  transform: translateY(-4px);
}

/* 面包屑导航 */
.breadcrumb {
  padding: 0;
  background: var(--bg-light);
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 16px;
  padding-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  color: var(--border);
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

/* 详情页占位符适配 */
.detail-hero-img .product-img-placeholder,
.detail-block-img .product-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  width: 100%;
}

/* ===== 相关推荐 ===== */
.related-products {
  padding: 60px 0;
  background: var(--bg-gray);
}

.related-products .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.related-products .section-header h2 {
  font-size: 1.75rem;
  color: var(--text);
  margin-bottom: 8px;
}

.related-products .section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .related-products-grid {
    grid-template-columns: 1fr;
  }
}

/* --- SKU选择按钮 --- */
.sku-btn {
  padding: 10px 28px;
  border: 2px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.sku-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.sku-btn.active {
  border-color: var(--primary);
  background: var(--primary-lighter);
  color: var(--primary);
  font-weight: 600;
}

/* 图片展示补充样式 */
.gallery-slide img {
  object-position: center;
  background: var(--bg-gray);
}

.detail-block-img img {
  border-radius: var(--radius-sm);
}

/* ---------- RTL（阿拉伯语）镜像修正 ---------- */
html[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: 12px; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; text-align: right; }
html[dir="rtl"] .product-card .product-tag { left: auto; right: 16px; }
html[dir="rtl"] .gallery-prev { left: auto; right: 12px; }
html[dir="rtl"] .gallery-next { right: auto; left: 12px; }
html[dir="rtl"] .gallery-counter { right: auto; left: 12px; }
html[dir="rtl"] .cta-section::before { right: auto; left: -100px; }
html[dir="rtl"] .video-card::before { transform-origin: right center; }
