/* ==========================================================================
 * MS International | Mesoskin Beauty Skincare — 品牌官网样式表
 * 描述：Mesoskin 国际版护肤品牌官方网站完整样式
 * 版本：1.0
 * 最后更新：2026
 * ========================================================================== */

/* ==========================================================================
 * 1. CSS Reset — 浏览器默认样式重置
 * ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==========================================================================
 * 2. CSS 变量 — 品牌色板
 * ========================================================================== */
:root {
  --primary: #2c2c2c; /* 主色 — 深灰 */
  --secondary: #8b7355; /* 次要色 — 棕色 */
  --accent: #d4af37; /* 强调色 — 金色 */
  --white: #ffffff;
  --light-gray: #f8f8f8;
  --text-dark: #333333;
  --text-light: #666666;
  --border: #e5e5e5; /* 边框色 */
}

/* ==========================================================================
 * 3. Body — 全局基础样式
 * ========================================================================== */
html {
  overflow-x: hidden;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden; /* 防止水平滚动条 */
}

/* ==========================================================================
 * 4. Sections — 通用区域样式
 * ========================================================================== */
.section {
  padding: 6rem 2rem;
}

.section-white {
  background: var(--white);
}

.section-gray {
  background: var(--light-gray);
}

/* 区域大标题 */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
}

/* 内容容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
 * 6. Hero Section — 首屏大图
 * 全屏高度背景 + 居中标题
 * ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 背景图片层 */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://dingtalk-ai-app.oss-cn-zhangjiakou.aliyuncs.com/generated_images/20260528_165702_4ddbad38.png");
  background-size: cover;
  background-position: center;
}

/* 暗色遮罩提升文字对比度 */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* 前景文字内容 */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
}

.hero-content .brand {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content .brand-desc {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.05em;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 20px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

.hero-content .tagline {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.2em;
  opacity: 0.9;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* 金色分割线 */
.hero-content .hero-divider {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  margin: 24px auto;
}

/* ==========================================================================
 * 7. Products Carousel — 产品系列轮播
 * show/hide 模式，支持自动播放
 * ========================================================================== */
.product-carousel {
  width: 100%;
  overflow: hidden;
  margin-top: 3rem;
  user-select: none;
}

.carousel-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel-viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  width: 100%;
}

.carousel-track {
  position: relative;
  min-height: 520px;
}

/* 单张幻灯片：绝对定位，通过 active 类切换 */
.carousel-slide {
  position: absolute;
  inset: 0;
  display: none;
  align-items: stretch;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  display: flex;
  opacity: 1;
}

/* 左侧文字区域 */
.slide-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
  background: linear-gradient(
    135deg,
    rgba(139, 115, 85, 0.06) 0%,
    rgba(212, 175, 55, 0.04) 100%
  );
  animation: slideFadeIn 0.6s ease forwards;
}

/* 文字从左滑入 */
@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-text .slide-subtitle {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
}

.slide-text h3 {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.slide-text .slide-divider {
  width: 50px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 24px;
}

.slide-text p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 2;
  max-width: 440px;
}

/* 右侧图片区域 */
.slide-image {
  flex: 1;
  overflow: hidden;
  position: relative;
  background: var(--light-gray);
  animation: slideImageIn 0.6s ease forwards;
}

/* 图片缩放淡入 */
@keyframes slideImageIn {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* 轮播箭头 */
.carousel-arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  color: var(--primary);
  font-size: 20px;
}

.carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.carousel-arrow svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 轮播圆点指示器 */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 24px 0;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.4s;
}

.carousel-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* ==========================================================================
 * 8. Difference Section — 差异化亮点
 * 滑动对比图
 * ========================================================================== */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.comparison-wrapper {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.comparison-wrapper:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.comparison-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.comparison-slider {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  /* cursor: col-resize; */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.comparison-slider:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.comparison-before,
.comparison-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.comparison-after {
  clip-path: inset(0 0 0 50%);
}

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

.comparison-label {
  position: absolute;
  bottom: 16px;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #ebe8e8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.comparison-label.before {
  left: 16px;
  /* background: rgba(0, 0, 0, 0.5); */
}

.comparison-label.after {
  right: 16px;
  /* background: rgba(196, 168, 130, 0.9); */
}

.comparison-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 60px;
  height: 100%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: pointer;
}

.comparison-handle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  /* background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 20%,
    rgba(255, 255, 255, 0.8) 80%,
    rgba(255, 255, 255, 0) 100%
  ); */
  transform: translateX(-50%);
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
}

.handle-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.handle-arrow {
  font-size: 18px;
  color: var(--primary);
  font-weight: bold;
  z-index: 1;
}

.comparison-note {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 12px;
  line-height: 1.5;
}

.difference-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.difference-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ==========================================================================
 * 9. Stories Carousel — 用户故事轮播
 * 水平滑动 + 左右箭头
 * ========================================================================== */
.stories-wrapper {
  position: relative;
  overflow: hidden;
}

/* 故事卡片轨道（Flex 布局，translateX 驱动） */
.stories-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 2rem;
}

/* 单张故事卡片：默认三列 */
.story-card {
  min-width: calc(33.333% - 1.33rem);
  cursor: pointer;
  transition: transform 0.3s;
}

.story-card:hover {
  transform: scale(1.02);
}

.story-image {
  width: 100%;
  aspect-ratio: 588/371;
  object-fit: cover;
  border-radius: 8px;
}

.story-title {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

/* 故事轮播左右箭头 */
.stories-btn {
  position: absolute;
  top: 125px; /* 图片高度 250px / 2 */
  transform: translateY(-50%);
  background: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
  z-index: 10;
}

.stories-btn:hover {
  background: var(--accent);
  color: var(--white);
}

.stories-btn.prev {
  left: 0.5rem;
}

.stories-btn.next {
  right: 0.5rem;
}

/* ==========================================================================
 * 10. Video Section — 工作原理视频区
 * 双列布局，每个卡片含 16:9 视频容器
 * ========================================================================== */
.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.video-card {
  text-align: center;
}

/* 16:9 视频容器（padding-bottom hack） */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 9 / 16 = 56.25% */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  background: #000;
}

.video-wrapper video,
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 视频占位图（点击后加载真实视频） */
.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f8f8 0%, #e5e5e5 100%);
  cursor: pointer;
}

/* 播放按钮（白色圆形 + 三角字符） */
.play-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  transition: all 0.3s;
}

.video-placeholder:hover .play-icon {
  background: var(--accent);
  color: var(--white);
}

.video-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.video-card p {
  color: var(--text-light);
}

/* ==========================================================================
 * 11. FAQ Section — 常见问题手风琴
 * ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

/* 问题按钮：flex 布局，右侧伪元素显示 + */
.faq-question {
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
}

/* 默认显示 + 号 */
.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s;
}

/* 展开时 + 号旋转为 × */
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

/* 答案默认折叠 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================================================
 * 12. Downloads & Cooperation — 下载与合作
 * ========================================================================== */
.download-section {
  text-align: center;
  margin-bottom: 4rem;
}

/* 下载按钮 */
.btn-download {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-download:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* 联系表单 */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}

/* Zoho 表单 iframe 嵌入 */
.contact-form iframe {
  width: 100%;
  min-height: 900px;
  border: none;
  display: block;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.contact-form iframe::-webkit-scrollbar {
  display: none;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* 输入框、下拉框、文本域 */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* 三列表单行（省/市/区） */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
 * 13. About Section / Brand Story — 品牌故事
 * ========================================================================== */
.subtitle {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 8px;
}

.divider {
  width: 50px;
  height: 2px;
  background: var(--accent);
  margin: 24px auto;
}

/* 滚动淡入 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in.visible {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 品牌故事正文 */
.brand-story-content {
  max-width: 720px;
  margin: 0 auto;
}

.brand-story-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 24px;
  text-align: justify;
}

/* 高亮引用句 */
.brand-story-content .highlight {
  font-size: 20px;
  color: var(--primary);
  text-align: center;
  font-style: italic;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 32px 0;
}

/* ==========================================================================
 * 14. Button — 通用按钮
 * ========================================================================== */
.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ==========================================================================
 * 15. Modal — 通用弹窗（下载资料用）
 * ========================================================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 96vh;
  overflow-y: auto;
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-content::-webkit-scrollbar {
  display: none;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: color 0.3s;
  z-index: 10;
}

.modal-close:hover {
  color: var(--dark);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

/* iframe 弹窗特化样式 */
.modal-iframe-content {
  max-width: 720px;
  padding: 0;
  background: var(--light-gray);
  overflow: hidden;
  scrollbar-width: none;
}

.modal-iframe-content .modal-close {
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.modal-iframe-content iframe {
  width: 100%;
  min-height: 900px;
  border: none;
  display: block;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-iframe-content iframe::-webkit-scrollbar {
  display: none;
}

/* ==========================================================================
 * 17. Story Detail Page — 用户故事详情页（全屏覆盖）
 * ========================================================================== */
.story-detail {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 1500;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.story-detail::-webkit-scrollbar {
  display: none;
}

.story-detail.active {
  display: block;
}

.story-detail-header {
  padding: 2rem 2rem 0 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.story-detail-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.story-detail-date {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.story-detail-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.story-detail-content img {
  width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
}

.story-detail-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.3rem;
  color: var(--text-light);
}

/* 返回按钮 */
.btn-back {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  border: none;
}

.btn-back:hover {
  background: var(--accent);
}

/* ==========================================================================
 * 18. Responsive — 响应式适配
 * @breakpoint 768px: 平板
 * @breakpoint 480px: 手机
 * ========================================================================== */

/* ----- 平板（≤768px）----- */
@media (max-width: 768px) {
  /* 移动端对比图调整 */
  .comparison-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .comparison-wrapper {
    border-radius: 6px;
  }

  .comparison-wrapper img {
    min-height: 200px;
    max-height: 350px;
  }

  .comparison-slider {
    height: 280px;
  }

  .comparison-handle {
    width: 48px;
  }

  /* 缩小 Hero 标题 */
  .hero-content .brand {
    font-size: 40px;
  }
  .hero-content .brand-desc {
    font-size: 14px;
    padding: 0 20px;
  }
  .hero-content .tagline {
    font-size: 14px;
    letter-spacing: 0.15em;
  }
  .hero-content .hero-divider {
    margin: 16px auto;
  }

  /* 产品轮播改为纵向 */
  .carousel-track {
    min-height: auto;
  }
  .carousel-slide {
    position: relative;
    inset: auto;
  }
  .carousel-slide.active {
    flex-direction: column-reverse;
  }
  .slide-text {
    flex: 0 0 auto;
    text-align: center;
    padding: 40px 24px;
  }
  .slide-text h3 {
    font-size: 28px;
  }
  .slide-text .slide-divider {
    margin: 0 auto 20px;
  }
  .slide-text p {
    font-size: 14px;
    max-width: 100%;
    margin: 0 auto;
  }
  .slide-image {
    flex: 0 0 320px;
    padding: 0;
  }
  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
  .carousel-inner {
    gap: 8px;
    padding: 0 8px;
  }
  .carousel-dots {
    bottom: 20px;
  }

  /* 滑动对比图改为单列 */
  .comparison-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .comparison-slider {
    height: 200px;
  }

  /* 故事卡片全宽 */
  .story-card {
    min-width: calc(100% - 0.66rem);
  }

  /* 故事轮播箭头居中 */
  .stories-btn {
    top: 50%;
  }

  /* 表单单列 */
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  /* 区域标题缩小 */
  .section-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  /* 故事详情页标题缩小 */
  .story-detail-header h1 {
    font-size: 1.8rem;
  }

  .story-detail-header {
    padding: 5rem 1.5rem 2rem;
  }

  .story-detail-content {
    padding: 0 1.5rem 4rem;
  }
}

/* ----- 手机（≤480px）----- */
@media (max-width: 480px) {
  .section {
    padding: 4rem 1rem;
  }

  .hero-content .brand {
    font-size: 32px;
    letter-spacing: 0.06em;
  }
  .hero-content .brand-desc {
    font-size: 12px;
  }
  .hero-content .tagline {
    font-size: 13px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .comparison-wrapper {
    border-radius: 4px;
  }

  .comparison-wrapper img {
    min-height: 150px;
    max-height: 280px;
  }

  .comparison-slider {
    height: 160px;
  }

  .difference-content p {
    font-size: 0.95rem;
  }
}
#storyTitle {
  font-style: italic;
}

/* 全局 iframe 隐藏滚动条 */
iframe {
  border: none;
  display: block;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

iframe::-webkit-scrollbar {
  display: none;
}
