/* 
 * 平行岛ai (pingxingdaoapp.cn) 官方网站样式表
 * 风格：方案1 · 星海微光·深色沉浸风 (DIV + CSS 布局，全站复用)
 * 移动端优化：横向磁吸画廊 (Scroll-Snap) + 胶囊Tab切换 + 折叠问答，杜绝几十屏长页面
 */

:root {
  --bg-deep: #070b17;
  --bg-card: #10172a;
  --bg-card-hover: #16203a;
  --bg-glass: rgba(16, 23, 42, 0.82);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-glow: rgba(45, 212, 191, 0.42);
  --accent-cyan: #2dd4bf;
  --accent-purple: #a855f7;
  --accent-indigo: #6366f1;
  --text-main: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --container-w: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 15% 12%, rgba(168, 85, 247, 0.15) 0%, transparent 42%),
    radial-gradient(circle at 85% 22%, rgba(45, 212, 191, 0.12) 0%, transparent 38%),
    radial-gradient(circle at 50% 78%, rgba(99, 102, 241, 0.1) 0%, transparent 45%);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

b, strong {
  color: #e2e8f0;
  font-weight: 600;
}

.wrap {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== 顶部导航栏 ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 11, 23, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--border-glow);
}

.brand-text-box {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-ver {
  font-size: 0.7rem;
  padding: 1px 7px;
  background: rgba(45, 212, 191, 0.14);
  color: var(--accent-cyan);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: var(--radius-pill);
  font-weight: 500;
}

.brand-slogan {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}

.nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent-cyan), #38bdf8);
  font-weight: 600;
}

.nav-cta {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-indigo));
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(168, 85, 247, 0.5);
}

/* ==================== 通用按钮与徽章 ==================== */
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #3b82f6 55%, var(--accent-purple) 100%);
  color: #060913;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(45, 212, 191, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(45, 212, 191, 0.42);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent-cyan);
}

/* ==================== 首屏 Hero 区域 ==================== */
.hero-sec {
  padding: 48px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
}

.hero-title {
  font-size: 2.55rem;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.text-glow {
  background: linear-gradient(90deg, var(--accent-cyan), #a855f7, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.hero-visual-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  background: var(--bg-card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}

.hero-chat-float {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(7, 11, 23, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-bubble-line {
  font-size: 0.88rem;
  color: #f8fafc;
}

.chat-bubble-speaker {
  color: var(--accent-cyan);
  font-weight: 600;
  margin-right: 6px;
}

.voice-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(168, 85, 247, 0.2);
  color: #e9d5ff;
  font-size: 0.76rem;
  white-space: nowrap;
}

/* ==================== 数据看板条 ==================== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 26px 0 42px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: center;
  transition: border-color 0.2s ease;
}

.stat-box:hover {
  border-color: var(--border-glow);
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 4px;
}

.stat-note {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ==================== 区块通用标题 ==================== */
.sec-block {
  padding: 42px 0;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.sec-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.sec-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

.sec-more-link {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.sec-more-link:hover {
  text-decoration: underline;
}

/* ==================== 核心功能网格 ==================== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.feat-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feat-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==================== 角色图鉴横向滑动卡片 (PC网格 / 手机横滑防拉长) ==================== */
.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: rgba(45, 212, 191, 0.16);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.role-scroll-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.role-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.role-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}

.role-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #090d1a;
}

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

.role-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.role-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.role-name {
  font-size: 1.15rem;
  font-weight: 700;
}

.role-tag {
  font-size: 0.75rem;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: rgba(168, 85, 247, 0.16);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.32);
}

.role-quote {
  font-size: 0.86rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--accent-cyan);
  padding: 8px 10px;
  border-radius: 0 8px 8px 0;
  margin: 8px 0 12px;
}

.role-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  flex: 1;
}

.role-chat-btn {
  width: 100%;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  background: rgba(45, 212, 191, 0.14);
  border: 1px solid rgba(45, 212, 191, 0.38);
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.role-chat-btn:hover {
  background: var(--accent-cyan);
  color: #060913;
}

/* ==================== 用户口碑与实时动态横滑 ==================== */
.review-scroll-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.review-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: #070b17;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.user-name {
  font-size: 0.92rem;
  font-weight: 700;
}

.review-date {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==================== 教程步骤切换面板 ==================== */
.step-switcher {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.step-nav-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.step-tab-btn {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.step-tab-btn.active {
  background: rgba(45, 212, 191, 0.14);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.step-num-badge {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
}

.step-tab-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.step-panel {
  display: none;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  padding-top: 8px;
}

.step-panel.active {
  display: grid;
}

.step-detail-list {
  list-style: none;
  margin-top: 14px;
}

.step-detail-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.step-detail-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

.prompt-demo-box {
  background: #090e1d;
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-md);
  padding: 18px;
  font-size: 0.86rem;
  color: #e2e8f0;
}

.prompt-demo-label {
  font-size: 0.76rem;
  color: #c084fc;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

/* ==================== FAQ 手风琴折叠 ==================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--border-glow);
}

.faq-q-btn {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-arrow {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-a-box {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 12px;
}

.faq-item.open .faq-a-box {
  display: block;
}

/* ==================== 对比表格与版本日志 ==================== */
.data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.seo-table th,
.seo-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.seo-table th {
  background: rgba(45, 212, 191, 0.08);
  color: var(--accent-cyan);
  font-weight: 700;
  white-space: nowrap;
}

.seo-table tr:last-child td {
  border-bottom: none;
}

/* ==================== 页脚版权信息 ==================== */
.site-footer {
  margin-top: 56px;
  background: #040710;
  border-top: 1px solid var(--border-subtle);
  padding: 42px 0 36px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.copyright-bar {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ==================== PC端扫码下载弹窗 (Requirement 9) ==================== */
.dl-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 6, 14, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.dl-modal-mask.show {
  display: flex;
}

.dl-modal-card {
  width: 100%;
  max-width: 420px;
  background: #0f172a;
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.dl-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
}

.dl-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.dl-qr-box {
  width: 210px;
  height: 210px;
  margin: 16px auto;
  padding: 10px;
  background: #ffffff;
  border-radius: 16px;
}

.dl-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dl-modal-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

/* ==================== 右侧返回顶部漂浮按钮 (Requirement 10) ==================== */
.back-top-float {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 95;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(16, 23, 42, 0.92);
  border: 1px solid var(--border-glow);
  color: var(--accent-cyan);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.back-top-float.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top-float:hover {
  background: var(--accent-cyan);
  color: #060913;
}

/* ==================== 手机端底部固定悬浮下载栏 (Requirement 11) ==================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 98;
  height: 66px;
  background: rgba(10, 15, 29, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-glow);
  padding: 0 14px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.m-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.m-bar-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.m-bar-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-bar-sub {
  font-size: 0.74rem;
  color: var(--accent-cyan);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-bar-btn {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #060913;
  font-size: 0.84rem;
  font-weight: 800;
  border: none;
  white-space: nowrap;
  cursor: pointer;
}

/* ==================== 手机端自适应与防拉长横排/滑动设计 (Requirement 6) ==================== */
@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
  }

  .nav-bar {
    height: auto;
    padding: 10px 0;
    flex-wrap: wrap;
  }

  .brand-slogan {
    display: none;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    order: 3;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .hero-sec {
    padding: 24px 0 20px;
  }

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

  .hero-title {
    font-size: 1.78rem;
  }

  /* 数据看板在手机端保持2x2紧凑宫格，不拉长 */
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 18px 0 26px;
  }

  .stat-box {
    padding: 12px 10px;
  }

  .stat-num {
    font-size: 1.35rem;
  }

  /* 功能卡片在手机端采用左右横向磁吸滑动，单屏即可浏览全部6项功能 */
  .feat-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .feat-grid::-webkit-scrollbar {
    display: none;
  }

  .feat-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
    padding: 18px;
  }

  /* 角色图鉴在手机端横向滑动卡片 */
  .role-scroll-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 10px;
    scrollbar-width: none;
  }

  .role-scroll-row::-webkit-scrollbar {
    display: none;
  }

  .role-card {
    flex: 0 0 76%;
    scroll-snap-align: start;
  }

  /* 用户口碑在手机端横向滑动 */
  .review-scroll-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .review-scroll-row::-webkit-scrollbar {
    display: none;
  }

  .review-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  /* 教程步骤按钮横向紧凑排列 */
  .step-nav-row {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
  }

  .step-tab-btn {
    flex: 0 0 155px;
    padding: 10px 12px;
  }

  .step-panel.active {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mobile-bottom-bar {
    display: flex;
  }

  .back-top-float {
    right: 14px;
    bottom: 80px;
    width: 42px;
    height: 42px;
  }
}


/* 弹窗与底部卡片补充样式（彻底无内联style） */
.dl-modal-heading {
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.dl-modal-subtext {
  font-size: 0.88rem;
  color: #94a3b8;
}
.dl-modal-verline {
  font-size: 0.82rem;
  color: #cbd5e1;
}
.cta-center-card {
  text-align: center;
}
.cta-center-sub {
  max-width: 640px;
  margin: 8px auto 20px;
}
.btn-group-center {
  justify-content: center;
}
/* Canvas 全站预览器顶部页面切换条 */
.canvas-page-bar {
  background: #040711;
  border-bottom: 1px solid rgba(45, 212, 191, 0.28);
  padding: 6px 14px;
  font-size: 0.78rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.page-view-section {
  display: none;
}
.page-view-section.active-page {
  display: block;
}
