/* =====================================================
   中养滋 官网样式表（重构版）
   - 统一配色变量：金色系 + 深/浅双底色 + 语义色
   - 去重：report/sleep/sleep-report 三类报告页合并为一组选择器
   ===================================================== */

:root {
  /* ---- 主色 · 金色系（中式滋补 / 轻奢） ---- */
  --gold-300: #f2e3b3;   /* 浅金：背景 / 描边淡层 */
  --gold-500: #d4af37;   /* 主金：标题 / 按钮 / 图标 */
  --gold-600: #b7953c;   /* 深金：hover / 按压 */
  --gold-700: #8f7229;   /* 最深金：文字深金 */

  /* 兼容旧变量名 */
  --gold: var(--gold-500);
  --gold-light: var(--gold-600);

  /* ---- 深色底（全屏首页） ---- */
  --dark-900: #141414;
  --dark-800: #1a1a1a;
  --dark-700: #242424;
  --dark-600: #2f2f2f;
  --dark-bg: var(--dark-800);
  --dark-bg-transparent: rgba(26, 26, 26, 0.7);

  /* ---- 浅色底（产品 / 荣誉 / 报告等二级页） ---- */
  --surface: #ffffff;
  --surface-cream: #f7f4ef;
  --cream: #f5f0eb;      /* 奶油棕：视频 / 占位背景 */
  --mocha: #e9e0d5;

  /* ---- 文字 ---- */
  --text-white: #ffffff;
  --text-soft: #bbbbbb;
  --text-gray: #bbbbbb;  /* 兼容旧变量名 */
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #666666;

  /* ---- 语义色 ---- */
  --accent-red: #c0392b;       /* 价格 / 警示，统一暖红 */
  --shadow-gold: rgba(212, 175, 55, 0.4);
}

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

html, body {
  position: relative;
  height: 100%;
  overflow: hidden;
  font-family: 'Noto Sans SC', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-white);
}

/* ============ 报告列表页（report.html） ============ */
.report-title {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: bold;
}

.report-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.report-item {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.report-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.report-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-white);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.report-link:hover {
  color: var(--gold);
}

.report-link i {
  font-size: 2rem;
  color: var(--accent-red);
}

.report-link span {
  flex: 1;
  text-align: left;
}

/* ============ 证书页（honor.html） ============ */
body.honor-page-body {
  overflow: auto;
  background: white;
  padding: 60px 20px;
  color: #333333;
}

body.honor-page-body .navbar-top {
  opacity: 1 !important;
  visibility: visible !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.honor-page-body .nav-links a {
  color: #333333 !important;
}

body.honor-page-body .nav-links a:hover,
body.honor-page-body .nav-links a.active {
  color: var(--gold) !important;
}

body.honor-page-body .honor-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

body.honor-page-body .honor-header {
  text-align: center;
  margin-bottom: 60px;
}

body.honor-page-body .honor-header h1 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: bold;
}

body.honor-page-body .honor-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 800px;
  margin: 0 auto;
}

body.honor-page-body .certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

body.honor-page-body .certificate-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.honor-page-body .certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: rgba(212, 175, 55, 0.3);
}

body.honor-page-body .certificate-image {
  width: 100%;
  overflow: hidden;
  background: #f8f9fa;
}

body.honor-page-body .certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

body.honor-page-body .certificate-card:hover .certificate-image img {
  transform: scale(1.05);
}

body.honor-page-body .certificate-content {
  padding: 24px;
}

body.honor-page-body .certificate-title {
  font-size: 1.2rem;
  color: #333333;
  margin-bottom: 12px;
  font-weight: bold;
}

body.honor-page-body .certificate-date {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 20px;
}

body.honor-page-body .view-details {
  display: inline-block;
  background: var(--gold);
  color: var(--dark-bg);
  padding: 10px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

body.honor-page-body .view-details:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

body.honor-page-body .back-to-home {
  text-align: center;
  margin-top: 40px;
}

body.honor-page-body .back-to-home a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

body.honor-page-body .back-to-home a:hover {
  color: var(--gold-light);
  transform: translateX(-5px);
}

/* ============ 报告 / 睡眠 / 睡眠报告详情页（共用） ============
   body 类：report-page-body、sleep-page-body、sleep-report-page-body
   三类页面结构一致，合并为同一组选择器以去重。 */
body.report-page-body,
body.sleep-page-body,
body.sleep-report-page-body {
  overflow: auto;
  background: white;
  padding: 60px 20px;
  color: #333333;
}

body.report-page-body .navbar-top,
body.sleep-page-body .navbar-top,
body.sleep-report-page-body .navbar-top {
  opacity: 1 !important;
  visibility: visible !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

body.report-page-body .nav-links a,
body.sleep-page-body .nav-links a,
body.sleep-report-page-body .nav-links a {
  color: #333333 !important;
}

body.report-page-body .nav-links a:hover,
body.report-page-body .nav-links a.active,
body.sleep-page-body .nav-links a:hover,
body.sleep-page-body .nav-links a.active,
body.sleep-report-page-body .nav-links a:hover,
body.sleep-report-page-body .nav-links a.active {
  color: var(--gold) !important;
}

body.report-page-body .detail-page,
body.sleep-page-body .detail-page,
body.sleep-report-page-body .detail-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

body.report-page-body .detail-header,
body.sleep-page-body .detail-header,
body.sleep-report-page-body .detail-header {
  text-align: center;
  margin-bottom: 60px;
}

body.report-page-body .detail-header h1,
body.sleep-page-body .detail-header h1,
body.sleep-report-page-body .detail-header h1 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: bold;
}

body.report-page-body .detail-header p,
body.sleep-page-body .detail-header p,
body.sleep-report-page-body .detail-header p {
  font-size: 1.1rem;
  color: #666666;
}

/* PDF查看器容器 */
body.report-page-body .pdf-viewer-container,
body.sleep-page-body .pdf-viewer-container,
body.sleep-report-page-body .pdf-viewer-container {
  margin-bottom: 60px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #f8f9fa;
  position: relative;
  width: 100%;
  text-align: center;
}

body.report-page-body .report-gallery,
body.sleep-page-body .report-gallery,
body.sleep-report-page-body .report-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.report-page-body .report-image,
body.sleep-page-body .report-image,
body.sleep-report-page-body .report-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

body.report-page-body .report-image:hover,
body.sleep-page-body .report-image:hover,
body.sleep-report-page-body .report-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.report-page-body .pdf-viewer,
body.sleep-page-body .pdf-viewer,
body.sleep-report-page-body .pdf-viewer {
  width: 100%;
  height: 100vh;
  min-height: 800px;
  max-height: 1200px;
  border: none;
  overflow: auto;
}

@media (max-width: 768px) {
  body.report-page-body .pdf-viewer,
  body.sleep-page-body .pdf-viewer,
  body.sleep-report-page-body .pdf-viewer {
    height: 80vh;
    min-height: 600px;
    max-height: none;
  }
}

@media (max-width: 480px) {
  body.report-page-body .pdf-viewer,
  body.sleep-page-body .pdf-viewer,
  body.sleep-report-page-body .pdf-viewer {
    height: 70vh;
    min-height: 500px;
  }
}

/* 报告信息区域 */
body.report-page-body .report-info,
body.sleep-page-body .report-info,
body.sleep-report-page-body .report-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

body.report-page-body .info-item,
body.sleep-page-body .info-item,
body.sleep-report-page-body .info-item {
  background: rgba(255, 217, 0, 0.05);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--gold);
}

body.report-page-body .info-item h3,
body.sleep-page-body .info-item h3,
body.sleep-report-page-body .info-item h3 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: bold;
}

body.report-page-body .info-item p,
body.sleep-page-body .info-item p,
body.sleep-report-page-body .info-item p {
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
}

body.report-page-body .detail-content,
body.sleep-page-body .detail-content,
body.sleep-report-page-body .detail-content {
  margin-bottom: 60px;
}

body.report-page-body .detail-content h2,
body.sleep-page-body .detail-content h2,
body.sleep-report-page-body .detail-content h2 {
  font-size: 1.8rem;
  color: #333333;
  margin-bottom: 24px;
  font-weight: bold;
}

body.report-page-body .detail-content p,
body.sleep-page-body .detail-content p,
body.sleep-report-page-body .detail-content p {
  font-size: 1.1rem;
  color: #666666;
  line-height: 1.8;
  margin-bottom: 16px;
}

body.report-page-body .back-button,
body.sleep-page-body .back-button,
body.sleep-report-page-body .back-button {
  text-align: center;
  margin-bottom: 40px;
}

body.report-page-body .back-button a,
body.sleep-page-body .back-button a,
body.sleep-report-page-body .back-button a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--dark-bg);
  padding: 12px 32px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1rem;
}

body.report-page-body .back-button a:hover,
body.sleep-page-body .back-button a:hover,
body.sleep-report-page-body .back-button a:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

/* 免责声明（report / sleep-report 页面） */
body.report-page-body .disclaimer,
body.sleep-report-page-body .disclaimer {
  margin-bottom: 40px;
  padding: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  background: rgba(255, 217, 0, 0.02);
  text-align: left;
}

body.report-page-body .disclaimer p,
body.sleep-report-page-body .disclaimer p {
  color: var(--gold);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

body.report-page-body .disclaimer p:last-child,
body.sleep-report-page-body .disclaimer p:last-child {
  margin-bottom: 0;
}

/* 联系我们区域样式 */
body.report-page-body .contact-section,
body.sleep-page-body .contact-section,
body.sleep-report-page-body .contact-section {
  background: white;
  padding: 60px 20px;
  margin-top: 60px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* 移动端适配 */
@media (max-width: 768px) {
  body.report-page-body,
  body.sleep-page-body,
  body.sleep-report-page-body {
    padding: 40px 10px;
  }

  body.report-page-body .detail-page,
  body.sleep-page-body .detail-page,
  body.sleep-report-page-body .detail-page {
    padding: 20px 15px;
  }

  body.report-page-body .detail-header h1,
  body.sleep-page-body .detail-header h1,
  body.sleep-report-page-body .detail-header h1 {
    font-size: 1.8rem;
  }

  body.report-page-body .pdf-viewer,
  body.sleep-page-body .pdf-viewer,
  body.sleep-report-page-body .pdf-viewer {
    height: 600px;
  }

  body.report-page-body .report-info,
  body.sleep-page-body .report-info,
  body.sleep-report-page-body .report-info {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.report-page-body .detail-content h2,
  body.sleep-page-body .detail-content h2,
  body.sleep-report-page-body .detail-content h2 {
    font-size: 1.5rem;
  }

  body.report-page-body .contact-section,
  body.sleep-page-body .contact-section,
  body.sleep-report-page-body .contact-section {
    padding: 40px 15px;
    margin-top: 40px;
  }
}

/* 证书页面移动端适配 */
@media (max-width: 768px) {
  body.honor-page-body {
    padding: 40px 10px;
  }

  body.honor-page-body .honor-page {
    padding: 20px 15px;
  }

  body.honor-page-body .honor-header h1 {
    font-size: 1.8rem;
  }

  body.honor-page-body .certificate-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.honor-page-body .certificate-image {
    height: 200px;
  }

  body.honor-page-body .certificate-content {
    padding: 20px;
  }

  body.honor-page-body .certificate-title {
    font-size: 1.1rem;
  }

  body.honor-page-body .contact-section {
    padding: 40px 15px;
    margin-top: 40px;
  }
}

/* ============ 主 Swiper 全屏首页 ============ */
.main-swiper {
  width: 100%;
  height: 100%;
}

.slide {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
  padding: 2rem;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

/* 导航栏样式 */
.navbar-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  background: var(--dark-bg-transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
}

.logo {
  height: 40px;
}

.logo img {
  height: 100%;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background-color: var(--dark-bg);
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 2rem;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  margin-top: 5rem;
}

.mobile-nav-links li {
  margin-bottom: 2rem;
}

.mobile-nav-links a {
  color: var(--text-white);
  text-decoration: none;
  font-size: 1.2rem;
}

.mobile-nav-links a.active {
  color: var(--gold);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* 右侧分页指示器 */
.pagination-indicator {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-dot.active {
  background-color: var(--gold);
  transform: scale(1.5);
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--gold);
  color: var(--dark-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  text-decoration: none;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

/* 第一屏轮播左右翻页按钮 */
.first-screen-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
  display: none;
}

.slide-1 .first-screen-nav {
  display: block;
}

.first-screen-nav-button {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--dark-bg-transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.first-screen-nav-button:hover {
  background-color: var(--gold);
  color: var(--dark-bg);
  transform: scale(1.1);
}

.first-screen-prev {
  left: 30px;
}

.first-screen-next {
  right: 30px;
}

/* 第一屏轮播样式 */
.first-screen-swiper {
  width: 100%;
  height: 100%;
}

.first-screen-slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--gold);
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--gold);
  fill: none;
  stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

/* 联系我们 */
.contact-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: white;
  color: var(--gold);
  position: relative;
  z-index: 2;
}

.contact-logo {
  margin-bottom: 4rem;
}

.contact-logo img {
  width: 100%;
  height: auto;
}

.qrcode-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.qrcode-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qrcode {
  width: 100px;
  height: 100px;
  margin-bottom: 0.5rem;
}

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

.contact-info {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.copyright {
  color: var(--gold);
  font-size: 0.9rem;
}

/* 产品展示模块 */
.product-display-module {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: stretch;
  gap: 16px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.product-display-module:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* 左侧16:9主视频容器 */
.main-visual {
  flex: 7;
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--mocha) 100%);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-visual:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* 右侧容器 */
.sub-visual-container {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 右侧1:1副视频容器 */
.sub-visual {
  flex: 1;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1/1;
  min-height: 150px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--mocha) 100%);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sub-visual:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8a7d6f;
  font-size: 15px;
  opacity: 0.99;
}

/* 占位蒙版 */
.placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* 占位文字 */
.placeholder span {
  position: relative;
  z-index: 2;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.main-visual .placeholder span::after {
  content: "品牌理念 | 横版视频";
  display: block;
}

/* 视频播放按钮 */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 5;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.play-btn i {
  margin-left: 4px;
}

.main-visual:hover .play-btn,
.sub-visual:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--gold-light);
}

/* 视频播放弹窗 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  background: #000;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--dark-bg);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: var(--gold-light);
}

.modal-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  display: block;
  background: #000;
}

/* 图片响应式切换 */
.mobile-only {
  display: none;
}

/* 媒体查询 - 响应式适配 */
@media (max-width: 768px) {
  /* 报告列表 */
  .report-title {
    font-size: 1.5rem;
  }

  .report-link {
    font-size: 0.95rem;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .report-link span {
    text-align: center;
  }

  /* 导航栏 */
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  /* 第一屏按钮 */
  .first-screen-nav-button {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  /* 联系信息 */
  .contact-info {
    text-align: left;
  }

  /* 二维码 */
  .qrcode {
    width: 80px;
    height: 80px;
  }

  /* 分页指示器 */
  .pagination-indicator {
    right: 10px;
  }

  /* 返回顶部按钮 */
  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
  }

  /* 设备尺寸优化 */
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}

@media (max-width: 480px) {
  .pdf-viewer {
    height: 70vh;
    min-height: 500px;
  }
}

/* 视频展示模块响应式：窄屏改为纵向堆叠，且上下居中 */
@media (max-width: 768px) {
  .product-display-module {
    flex-direction: column;
    max-width: 100%;
    padding: 12px;
    margin: 0 auto;
  }

  .main-visual {
    aspect-ratio: 16 / 9;
    max-height: 38vh;
  }

  .sub-visual-container {
    flex-direction: row;
    flex: none;
  }

  .sub-visual {
    flex: 1;
    aspect-ratio: 1 / 1;
    max-height: 24vh;
    min-height: 0;
  }

  /* 保证第三屏视频模块在移动端上下居中 */
  .slide-3 .slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px;
  }
}

@media (min-width: 768px) {
  .mobile-menu, .mobile-menu-btn, .mobile-menu-close {
    display: none !important;
  }
}
