/* ==========================================================================
   瞬美视频通话美颜官网 - 全局样式
   纯手写 CSS,无任何框架依赖
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --pink: #ec4899;
  --pink-deep: #db2777;
  --pink-light: #f857a6;
  --purple: #a855f7;
  --purple-light: #a78bfa;
  --indigo: #6366f1;
  --magenta: #c026d3;
  --grad-main: linear-gradient(135deg, #f857a6 0%, #a855f7 60%, #6366f1 100%);
  --grad-pink: linear-gradient(135deg, #ec4899 0%, #c026d3 100%);
  --grad-pink-cta: linear-gradient(135deg, #f472b6 0%, #c026d3 100%);
  --text-900: #111827;
  --text-800: #1f2937;
  --text-700: #374151;
  --text-600: #4b5563;
  --text-500: #6b7280;
  --text-400: #9ca3af;
  --text-300: #d1d5db;
  --max-w: 1360px;
  --max-w-narrow: 1200px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-900);
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 通用容器 ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-white { color: #fff; }
.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;
}

/* ==========================================================================
   Header 导航
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.3s;
}
/* 透明模式(首页):初始透明,滚动后实色 */
.site-header.header-transparent { background: transparent; }
.site-header.header-transparent.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(249, 168, 212, 0.25);
  box-shadow: 0 2px 20px rgba(236, 72, 153, 0.08);
}
/* 实色模式(其他页) */
.site-header.header-solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(249, 168, 212, 0.25);
  box-shadow: 0 2px 20px rgba(236, 72, 153, 0.08);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 86px;
}
.logo-link { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.logo-link img { width: 60px; height: 60px; border-radius: 10px; }
.logo-text { font-size: 1.8rem; font-weight: 400; letter-spacing: -0.01em; color: #000; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 100px; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  padding: 0.375rem 1rem;
  font-size: 1.05rem;
  color: #000;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--pink); }
.nav-link.active { color: var(--pink); border-bottom-color: var(--pink); }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  color: #fff;
  background: var(--grad-main);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
  transition: all 0.2s;
}
.btn-download:hover { opacity: 0.9; transform: scale(1.02); }

/* 移动端汉堡 */
.nav-toggle { display: none; padding: 0.5rem; color: #4b5563; }
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }
.mobile-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-top: 1px solid #f3f4f6;
  padding: 1rem 1.5rem;
}
.mobile-menu .nav-link {
  display: block;
  padding: 0.625rem 0;
  font-size: 0.9rem;
  color: #4b5563;
  border-bottom: 1px solid #f3f3f3;
}
.mobile-menu .nav-link:hover { color: var(--pink); }

@media (max-width: 767px) {
  .header-right { display: none; }
  .nav-toggle { display: block; }
}

/* ==========================================================================
   Hero 首屏
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: #e8ddd0;
  transition: background 0.6s ease;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.hero-mask { position: absolute; inset: 0; }
.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-content > div { max-width: 520px; }
.hero h1 {
  color: var(--text-900);
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.hero p {
  color: var(--text-600);
  margin-bottom: 2rem;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.75;
  max-width: 400px;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  color: #fff;
  backdrop-filter: blur(4px);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--grad-main);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.9;
  margin-right: 0.5rem;
  flex-shrink: 0;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: 9999px;
  color: #fff;
  background: #000;
  font-size: 1.1rem;
  font-weight: 400;
  width: 420px;
  max-width: 100%;
  height: 54px;
  transition: all 0.2s;
}
.hero-cta:hover { opacity: 0.8; transform: scale(1.02); }

/* 轮播指示点 */
.hero-dots {
  position: absolute;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 10;
  bottom: calc(4rem + 60px);
}
.hero-dot {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.3s;
}
.hero-dot.active {
  width: 24px;
  background: var(--pink-light);
  box-shadow: 0 2px 8px rgba(248, 87, 166, 0.5);
}
.hero-dot:not(.active) { width: 8px; }

.hero-hint {
  position: absolute;
  bottom: 2rem;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  z-index: 10;
}
.hero-hint span {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
@keyframes bounce {
  0%, 100% { transform: translateY(-25%); }
  50% { transform: translateY(0); }
}
.animate-bounce { animation: bounce 1s infinite; }

/* ==========================================================================
   Features 功能展示
   ========================================================================== */
.features { padding: 4rem 0; background: #fff; }
.section-title { font-size: 1.75rem; font-weight: 700; }
.features-title { color: var(--text-700); margin-bottom: 0.75rem; }
.features-head { text-align: center; margin-bottom: 2.5rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  border: 1px solid #f0f0f0;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.feature-card:hover { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); }
.feature-img { height: 270px; overflow: hidden; }
.feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s;
}
.feature-card:hover .feature-img img { transform: scale(1.05); }
.feature-label {
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--text-700);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Scenarios 场景手风琴
   ========================================================================== */
.scenarios { padding: 4rem 0; background: #f8fafc; }
.scenarios-title { color: var(--text-900); }
.scenarios-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.scenarios-track::-webkit-scrollbar { display: none; }
.scenarios-left {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.scenarios-left.shift { transform: translateX(-220px); }
.scenario-card {
  position: relative;
  flex-shrink: 0;
  width: 180px;
  height: 400px;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s,
              margin-left 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.scenario-card.hovered {
  width: 400px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  z-index: 5;
}
.scenario-card.expand-left.hovered { margin-left: -220px; }
.scenario-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.scenario-card.hovered img { transform: scale(1.06); }
.scenario-mask {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
  transition: background 0.4s;
}
.scenario-card.hovered .scenario-mask {
  background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.72) 100%);
}
.scenario-tag {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  font-weight: 600;
  font-size: 0.75rem;
  white-space: nowrap;
  transition: font-size 0.35s;
}
.scenario-card.hovered .scenario-tag { font-size: 0.95rem; }
.scenario-desc {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 1rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s 0.1s, transform 0.35s 0.1s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.scenario-card.hovered .scenario-desc { opacity: 1; transform: translateY(0); }
.scenario-arrow {
  position: absolute;
  bottom: 0.75rem; right: 0.75rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s;
}
.scenario-card.hovered .scenario-arrow { opacity: 0; }

/* ==========================================================================
   Stats 数据统计
   ========================================================================== */
.stats { padding: 3.5rem 0; background: #fff; }
.stats-title { color: var(--text-900); margin-bottom: 2.5rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  background: #fff0f5;
  border: 1px solid #ffd6e7;
}
.stat-num {
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f857a6 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--text-500); font-size: 0.9rem; }

/* ==========================================================================
   Tech 技术专区
   ========================================================================== */
.tech { padding: 4rem 0; background: #fff; }
.tech-title { color: var(--text-900); margin-bottom: 0.75rem; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.tech-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
}
.tech-card-img {
  flex-shrink: 0;
  width: 260px;
  height: 380px;
  border-radius: 0.5rem;
  overflow: hidden;
  border-width: 2px;
  border-style: solid;
}
.tech-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tech-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 0.5rem 0; }
.tech-card h3 { color: var(--text-800); font-size: 1.25rem; font-weight: 700; letter-spacing: 0.01em; margin-bottom: 1rem; }
.tech-divider { width: 2rem; height: 2px; margin-bottom: 1rem; }
.tech-points { display: flex; flex-direction: column; gap: 0.75rem; }
.tech-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--text-600);
  line-height: 1.75;
}
.tech-points li::before {
  content: '';
  margin-top: 0.5rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink-light);
  flex-shrink: 0;
}
/* 四张技术卡片的主题色变体(替代内联样式) */
.tech-card--blue   { background:#e8f4ff; border-color:#bee3f8; }
.tech-card--blue   .tech-card-img { border-color:#bee3f8; }
.tech-card--blue   .tech-divider { background:#bee3f8; }
.tech-card--green  { background:#f0fff4; border-color:#c6f6d5; }
.tech-card--green  .tech-card-img { border-color:#c6f6d5; }
.tech-card--green  .tech-divider { background:#c6f6d5; }
.tech-card--red    { background:#fff5f5; border-color:#fed7d7; }
.tech-card--red    .tech-card-img { border-color:#fed7d7; }
.tech-card--red    .tech-divider { background:#fed7d7; }
.tech-card--yellow { background:#fffff0; border-color:#fefcbf; }
.tech-card--yellow .tech-card-img { border-color:#fefcbf; }
.tech-card--yellow .tech-divider { background:#fefcbf; }

/* ==========================================================================
   CTA 行动召唤
   ========================================================================== */
.cta {
  padding: 2.5rem 0;
  background-color: #fffdff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cta-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.cta b {
  margin-bottom: 0.75rem;
  font-size: 2rem;
  font-weight: 500;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-sub { margin-bottom: 0.5rem; font-size: 1.02rem; font-weight: 500; color: var(--pink-deep); }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 15px 35px;
  border-radius: 9999px;
  color: #fff;
  background: var(--grad-pink-cta);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.35);
  transition: all 0.2s;
}

.cta-btn:hover { box-shadow: 0 8px 28px rgba(236, 72, 153, 0.45); transform: translateY(-2px); }
.cta-users { margin-top: 1.25rem; font-size: 0.8rem; color: #e0a0c8; }
.cta-users strong { color: var(--pink); font-weight: 600; }

/* ==========================================================================
   Footer 页脚
   ========================================================================== */
.site-footer { background: #1a1a2e; color: #fff; }
.site-footer .container { padding: 1rem 1.5rem; }
.footer-inner { padding-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.footer-text { color: #9ca3af; font-size: 0.75rem; text-align: center; line-height: 2; }

/* ==========================================================================
   FloatingService 悬浮服务
   ========================================================================== */
.floating-service { position: relative; z-index: 40; }
.float-download {
  position: fixed;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: 9999px;
  color: #fff;
  background: #000;
  font-size: 1.1rem;
  font-weight: 400;
  height: 54px;
  width: calc(100% - 2rem);
  max-width: 420px;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
}
.float-download:hover { opacity: 0.8; transform: translateX(-50%) scale(1.02); }

.float-service-wrap {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
}
.service-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  cursor: pointer;
  user-select: none;
  width: 44px;
  height: 135px;
  background: #FDE346;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 4px 20px rgba(253, 227, 70, 0.45);
  transition: box-shadow 0.2s;
}
.service-tab span {
  color: #000;
  font-size: 0.85rem;
  font-weight: 600;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}

/* 服务时间气泡(hover 客服标签显示) */
.float-service-wrap .kefu-time {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 0.5rem;
  width: 168px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  padding: 12px 0 12px 15px;
  font-size: 12px;
  color: #000;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.float-service-wrap .kefu-time.show { opacity: 1; }
.float-service-wrap .kefu-time em { color: var(--pink); font-style: normal; }
.float-service-wrap .kefu-time i {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 10px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

/* 客服弹窗(可拖动浮窗) */
.floatbox {
  position: fixed;
  background: #fff;
  top: calc(50% - 290px);
  left: calc(50% - 340px);
  border-radius: 5px;
  z-index: 99999;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.floatbox iframe { border: none; background: none; border-radius: 5px; display: block; }
.floatbox .kefu-headtools {
  position: absolute;
  width: 100%;
  height: 26px;
  z-index: 100001;
  box-sizing: border-box;
  top: -13px;
  right: 0;
}
.floatbox .kefu-movetopwrap {
  position: absolute;
  cursor: move;
  z-index: 100000;
  width: 100%;
  height: 50px;
  opacity: 0;
}
.floatbox .kefu-closewindow {
  width: 26px;
  height: 26px;
  position: absolute;
  top: 40px;
  right: 10px;
  cursor: pointer;
  background: url(../Images/close.png) no-repeat;
}

/* ==========================================================================
   FAQ 常见问题
   ========================================================================== */
.faq-hero {
  padding-top: 7rem;
  padding-bottom: 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, #fff0f8 0%, #fff 100%);
}
.faq-hero h1 { margin-bottom: 0.75rem; font-size: 2rem; font-weight: 700; color: var(--pink); }
.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fce7f3, #f5f3ff);
  border: 1px solid #f9a8d4;
}
.faq-badge span { font-size: 0.78rem; color: var(--pink); font-weight: 600; letter-spacing: 0.05em; }
.faq-list { padding-bottom: 5rem; }
.faq-list-inner { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
  background: #fff;
}
.faq-item.open {
  border-color: #f9a8d4;
  background: linear-gradient(135deg, #fff8fc 0%, #fdf6ff 100%);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.08);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  text-align: left;
}
.faq-question span.q-text { font-size: 1rem; font-weight: 600; color: var(--text-800); transition: color 0.2s; }
.faq-item.open .faq-question .q-text { color: var(--pink-deep); }
.faq-icon {
  flex-shrink: 0;
  margin-left: 1rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #fff;
  transition: all 0.2s;
}
.faq-item.open .faq-icon { background: var(--grad-main); }
.faq-icon .icon-up { display: none; }
.faq-item.open .faq-icon .icon-up { display: block; }
.faq-item.open .faq-icon .icon-down { display: none; }
.faq-icon svg { transition: all 0.2s; }
.faq-answer {
  display: none;
  padding: 0 1.75rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-500);
  line-height: 1.8;
  border-top: 1px solid #fce7f3;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer-inner { padding-top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.faq-answer img { margin-top: 1.5rem; border-radius: 0.75rem; overflow: hidden; border: 1px solid #e5e7eb; width: 100%; }
.faq-foot { text-align: center; margin-top: 2.5rem; font-size: 0.85rem; color: var(--text-300); }
.faq-foot span { color: var(--pink); margin-left: 4px; font-weight: 600; }

/* ==========================================================================
   News 资讯列表
   ========================================================================== */
.news-page { display: flex; flex-direction: column; min-height: 100vh; background: #fff; }
.news-hero { padding-top: 56px; background: linear-gradient(135deg, #fff0f8 0%, #f5f0ff 50%, #ede9fe 100%); }
.news-main { flex: 1; max-width: var(--max-w); margin: 0 auto; padding: 3rem 1.5rem; width: 100%; }
.news-empty { text-align: center; padding: 6rem 0; color: var(--text-300); }

.news-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #fbcfe8;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: all 0.2s;
}
.news-featured:hover { box-shadow: 0 15px 35px rgba(236, 72, 153, 0.15); }
.news-featured-img { overflow: hidden; aspect-ratio: 16 / 9; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.news-featured:hover .news-featured-img img { transform: scale(1.05); }
.news-featured-body { display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; }
.news-featured-body h2 { font-size: 1.5rem; font-weight: 700; color: var(--text-900); margin-bottom: 0.75rem; line-height: 1.3; transition: color 0.2s; }
.news-featured:hover h2 { color: var(--pink); }
.news-featured-body p { color: var(--text-500); margin-bottom: 1rem; line-height: 1.625; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-date { display: flex; align-items: center; color: var(--text-400); font-size: 0.875rem; }
.news-date svg { margin-right: 0.375rem; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card {
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(249, 168, 212, 0.15);
  box-shadow: 0 2px 12px rgba(236, 72, 153, 0.05);
  background: #fff;
}
.news-card:hover { box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12); }
.news-card-img { overflow: hidden; aspect-ratio: 16 / 9; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.news-card-body h3 { margin-bottom: 0.5rem; flex: 1; font-size: 0.975rem; font-weight: 700; color: #111827; line-height: 1.5; transition: color 0.2s; }
.news-card:hover h3 { color: var(--pink); }
.news-card-body p { color: var(--text-500); margin-bottom: 1rem; font-size: 0.82rem; line-height: 1.6; }

/* 分页 */
.pagination { display: flex; justify-content: center; align-items: center; margin-top: 3.5rem; gap: 0.25rem; }
.page-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--text-700);
  transition: all 0.2s;
}
.page-btn:hover:not(:disabled) { border-color: var(--pink-light); color: var(--pink); }
.page-btn:disabled { border-color: #f3f4f6; background: #f9fafb; color: var(--text-300); cursor: not-allowed; }
.page-btn.active { background: var(--grad-main); color: #fff; border: none; }
.page-numbers { display: flex; gap: 0.25rem; margin: 0 0.5rem; }

/* ==========================================================================
   NewsDetail 文章详情
   ========================================================================== */
.article-hero { padding-top: 7rem; padding-bottom: 1.5rem; text-align: center; background: linear-gradient(180deg, #fff0f8 0%, #fff 100%); }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; text-align: left; }
.breadcrumb a { color: var(--text-500); display: flex; align-items: center; gap: 0.25rem; }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb .sep { color: var(--text-400); }
.breadcrumb .current { color: var(--text-900); font-weight: 500; max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-main { flex: 1; margin: 0 auto; padding: 0 1.5rem 3rem; width: 100%; background: #fff; }
.article-card { max-width: var(--max-w-narrow); margin: 0 auto; background: #fff; border-radius: 1rem; border: 1px solid #fbcfe8; padding: 2rem; box-shadow: 0 8px 30px rgba(236, 72, 153, 0.12); }
.article-card h1 { font-size: 1.875rem; font-weight: 700; color: var(--text-900); margin-bottom: 1.5rem; text-align: center; line-height: 1.3; }
.article-meta { text-align: center; color: var(--text-400); font-size: 0.875rem; margin: -0.75rem 0 1.5rem; }
.article-card hr { border: none; border-top: 1px solid #e5e7eb; margin-bottom: 2rem; }
.article-lead { color: var(--text-500); font-size: 1.125rem; line-height: 1.75; margin-bottom: 1.5rem; }
.article-summary { background: #f9fafb; border-radius: 0.75rem; padding: 1.5rem; border: 1px solid #f3f4f6; margin-bottom: 2rem; }
.article-summary h3 { font-size: 1.125rem; font-weight: 600; color: var(--text-900); margin-bottom: 0.75rem; }
.article-summary p { color: var(--text-500); line-height: 1.75; }
.article-body { display: flex; flex-direction: column; gap: 1.5rem; color: var(--text-500); line-height: 1.75; }
.article-body h2 { font-size: 1.5rem; font-weight: 700; color: var(--text-900); margin-bottom: 1rem; margin-top: 1rem; }
.article-body p { line-height: 1.75; }
.article-body ul { list-style: disc; padding-left: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.article-body ul li { line-height: 1.75; }
.article-feature-img { border-radius: 0.75rem; overflow: hidden; margin: 2rem 0; }
.article-feature-img div { aspect-ratio: 16 / 9; }
.article-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.article-foot { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid #f3f4f6; }
.article-foot p { font-style: italic; color: var(--text-500); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 767px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-card-img { width: 100%; height: 320px; }
  .news-featured { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .article-card { padding: 1.5rem; }
  .article-card h1 { font-size: 1.5rem; }
  .hero-cta { width: 100%; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .float-download { font-size: 1rem; }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
