/* =============================================================
 * Cine Seek 官网 - 全站公共样式
 * 设计方向：明亮质感 + 客户端主题色科技蓝（品牌色 #0164FE）点缀
 * 说明：所有动画遵循 prefers-reduced-motion 降级
 * ============================================================= */

/* ---------- 设计变量 ---------- */
:root {
  /* 色彩 */
  --bg: #E4EFFD;
  --bg-soft: #D6E4F7;
  --surface: #ffffff;
  --surface-hover: #f3f2ee;
  --primary: #0164FE;
  --primary-bright: #3E82FF;
  --primary-dim: rgba(1, 100, 254, 0.1);
  --text: #2b2b28;
  --text-dim: #6b6a63;
  --text-faint: #9a9890;
  --border: rgba(1, 100, 254, 0.22);
  --danger: #e5484d;

  /* 字体 */
  --font-head: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-body: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  --font-mono: "SF Mono", "Fira Code", "Cascadia Code", Consolas, monospace;

  /* 尺寸 */
  --radius: 14px;
  --container: 1160px;
  --nav-h: 72px;

  /* 动效时长 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.25s;
  --t-med: 0.45s;
}

/* ---------- 基础 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 背景氛围：E4EFFD 主渐变 + 柔和光晕 + 电影交卷 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 82% -10%, rgba(62, 130, 255, 0.12), transparent 60%),
    radial-gradient(760px 480px at -8% 22%, rgba(1, 100, 254, 0.12), transparent 55%),
    radial-gradient(720px 600px at 60% 118%, rgba(62, 130, 255, 0.08), transparent 60%),
    linear-gradient(180deg, #E4EFFD 0%, #EDF3FC 30%, #F4F8FE 60%, #E4EFFD 100%);
}

a {
  color: var(--primary-bright);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

a:hover {
  color: #3E82FF;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--primary-bright);
  color: #ffffff;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #a3b8dc;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- 滚动渐入（IntersectionObserver 添加 .in-view） ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 品牌区（顶部） ---------- */
.brand-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  height: var(--nav-h);
  background: transparent;
  transition: height 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* header 内部内容容器：与页面内容同宽并水平分布 */
.brand-bar .brand-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.brand-bar.scrolled {
  height: 68px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(1, 100, 254, 0.08);
}

.brand-bar .brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  overflow: hidden;
  border-radius: 11px;
}

.brand-bar .brand img {
  height: 75px;
  width: auto;
  flex-shrink: 0;
}

.brand-bar .brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.5px;
  color: var(--text);
}

/* Seek 使用品牌蓝色（Cine 保持黑色） */
.brand-bar .brand-name .brand-seek {
  color: #0164FE;
}

.brand-bar .brand-name .dot {
  color: var(--primary-bright);
}

.brand-bar .brand-tag {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 999px;
}

/* 顶部导航菜单（使用手册） */
.brand-bar .brand-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 4px;
}

.brand-bar .brand-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(180deg, #0164FD, #10A7FE);
  padding: 9px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(1, 100, 254, 0.32);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.brand-bar .brand-nav a:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(1, 100, 254, 0.42);
  background: linear-gradient(180deg, #0164FD, #10A7FE);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 72px;
  overflow: hidden;
}

/* 背景缓动渐变流动层 */
.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg,
    rgba(62, 130, 255, 0.06) 80deg,
    transparent 160deg,
    rgba(0, 82, 208, 0.05) 240deg,
    transparent 320deg);
  animation: drift 26s linear infinite;
}

@keyframes drift {
  to { transform: rotate(360deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--primary-bright);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--primary-bright);
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero h1 .grad {
  background: linear-gradient(100deg, #0164FE 10%, #3E82FF 55%, #0164FE 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: center;
}

/* 主按钮（下载）：默认描边（ghost）样式，悬浮时变为实心蓝色渐变 */
.btn-download {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 24px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--text);
  background: #ffffff;
  border: 1px solid rgba(1, 100, 254, 0.3);
  box-shadow: 0 6px 18px rgba(1, 100, 254, 0.08);
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), filter var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

/* 下载按钮内文字（主标题 + 副标题）不换行 */
.btn-download span { display: flex; flex-direction: column; line-height: 1.4; text-align: left; white-space: nowrap; }
.btn-download span small { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; opacity: 0.85; letter-spacing: 0.3px; white-space: nowrap; }

/* 放大下载按钮内的图标 */
.btn-download svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.btn-download::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(62, 130, 255, 0.5), rgba(62, 130, 255, 0));
  filter: blur(10px);
  z-index: -1;
  opacity: 0.75;
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.96); opacity: 0.55; }
  50% { transform: scale(1.08); opacity: 0.95; }
}

.btn-download:hover {
  transform: translateY(-3px);
  color: #ffffff;
  background: linear-gradient(135deg, #0164FD, #10A7FE);
  border-color: transparent;
  box-shadow: 0 16px 38px rgba(1, 100, 254, 0.35);
  filter: brightness(1.06);
}

.btn-download:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-download:disabled::after {
  animation: none;
}

/* 次级按钮 */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}

.btn-ghost:hover {
  border-color: var(--primary-bright);
  color: var(--primary-bright);
  transform: translateY(-2px);
  background: var(--primary-dim);
}

/* Hero 右侧：字幕演示卡（纯 CSS 绘制） */
.subtitle-card {
  position: relative;
  perspective: 1200px;
}

.subtitle-card .frame {
  position: relative;
  background: linear-gradient(165deg, #ffffff, #f8f6f1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: 0 24px 60px rgba(1, 100, 254, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform 0.6s var(--ease);
  animation: floaty 6s ease-in-out infinite;
}

.subtitle-card:hover .frame {
  transform: rotateY(0deg) rotateX(0deg);
}

@keyframes floaty {
  0%, 100% { transform: rotateY(-8deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(3deg) translateY(-14px); }
}

/* 播放器顶部栏 */
.player-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.player-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd6e6;
}

.player-bar .dot.r { background: var(--danger); }
.player-bar .dot.y { background: #f0b52d; }
.player-bar .dot.g { background: #2ea06b; }

.player-bar .timecode {
  margin-left: auto;
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 1px;
}

/* 模拟视频画面（保留深色，模拟屏幕效果） */
.scene {
  position: relative;
  height: 176px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(140deg, #14213c, #1a2b50 55%, #0d1931);
  border: 1px solid rgba(1, 100, 254, 0.25);
  margin-bottom: 20px;
}

.scene::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: radial-gradient(circle at 30% 30%, rgba(62, 130, 255, 0.28), transparent 45%);
  animation: scenedrift 8s ease-in-out infinite alternate;
}

@keyframes scenedrift {
  from { transform: translateX(-6%); }
  to { transform: translateX(6%); }
}

/* 画面中的人物剪影（装饰） */
.scene .silhouette {
  position: absolute;
  bottom: 0;
  width: 86px;
  height: 128px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 46px 46px 0 0;
}

.scene .silhouette.a { left: 18%; }
.scene .silhouette.b { left: 40%; transform: scale(0.86); }
.scene .silhouette.c { left: 60%; transform: scale(1.06); }

.scene .flash {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 11px;
  color: rgba(246, 239, 229, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 2px;
  background: rgba(0, 0, 0, 0.3);
}

/* 字幕条（打字光标闪烁） */
.subtitle-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 10px;
  border-left: 3px solid var(--primary-bright);
  font-size: 17px;
  letter-spacing: 2px;
  color: #f2f7ff;
  margin-bottom: 16px;
  font-weight: 600;
}

.subtitle-line .cursor {
  width: 2px;
  height: 20px;
  background: var(--primary-bright);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* 字幕时间轴 */
.timeline {
  display: flex;
  align-items: center;
  gap: 6px;
}

.timeline .seg {
  height: 5px;
  border-radius: 3px;
  flex: 1;
  background: #cbd6e6;
}

.timeline .seg.on {
  background: var(--primary-bright);
  box-shadow: 0 0 10px rgba(62, 130, 255, 0.6);
}

.timeline .mark {
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-serif);
  letter-spacing: 1px;
}


/* ---------- Hero：新文案区 ---------- */
.hero-copy { max-width: 560px; }

/* Hero 副标题区：将原 hero-sub 变宽 */
.hero-sub { max-width: 560px; }

/* Hero 底部三条特征 */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed rgba(1, 100, 254, 0.18);
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.3px;
}
.hero-features > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-features svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Hero 右侧：应用截图容器 */
.hero-visual {
  position: relative;
  min-width: 0;
}
.hero-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(1, 100, 254, 0.15);
  box-shadow: 0 30px 60px rgba(1, 100, 254, 0.14);
}
.hero-frame > img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- hero 应用截图轮播（Swiper） ---------- */
.hero-swiper {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.hero-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-swiper .swiper-pagination {
  bottom: 12px;
}

.hero-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
  transition: width var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.hero-swiper .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 5px;
  background: #fff;
}

/* ---------- 图片放大预览（lightbox） ---------- */
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(12, 14, 24, 0.88);
  overflow: auto;
}

.img-lightbox.open {
  display: flex;
}

.img-lightbox-img {
  max-width: 94%;
  max-height: 92%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.img-lightbox-close {
  position: fixed;
  top: 18px;
  right: 28px;
  z-index: 3;
  font-size: 44px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

.img-lightbox-close:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

/* 背景光晕升级（让右侧更有氛围） */
.hero::before {
  background: conic-gradient(from 0deg at 60% 40%,
    transparent 0deg,
    rgba(62, 130, 255, 0.08) 80deg,
    transparent 160deg,
    rgba(1, 100, 254, 0.06) 240deg,
    transparent 320deg);
}
/* Hero 中的分级渐入 */
.hero .stagger {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.7s var(--ease) forwards;
}

.hero .stagger.s1 { animation-delay: 0.05s; }
.hero .stagger.s2 { animation-delay: 0.18s; }
.hero .stagger.s3 { animation-delay: 0.32s; }
.hero .stagger.s4 { animation-delay: 0.46s; }
.hero .stagger.s5 { animation-delay: 0.58s; }
.hero .stagger.s6 { animation-delay: 0.72s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 区块标题 ---------- */
/* ---------- Hero 下方：核心亮点条 ---------- */
.hero-highlights {
  padding: 0 0 48px;
}
.highlight-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #ffffff;
  border: 1px solid rgba(1, 100, 254, 0.12);
  border-radius: 20px;
  padding: 32px 20px;
  box-shadow: 0 18px 44px rgba(1, 100, 254, 0.1);
}
.highlight-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  padding: 0 16px;
  border-right: 1px solid rgba(1, 100, 254, 0.08);
}
.highlight-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.highlight-card:last-child { border-right: none; }

/* 图标容器：支持方形（AI/文件夹）与圆形（搜索/定位）两种风格 */
.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  font-family: var(--font-head);
}
.highlight-icon svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

/* AI 图标：方形蓝色渐变 */
.highlight-icon--ai {
  background: linear-gradient(135deg, #3E82FF, #0164FE);
  border-radius: 12px;
  letter-spacing: 0.5px;
}
/* 搜索图标：圆形蓝色 */
.highlight-icon--search {
  background: linear-gradient(135deg, #3E82FF, #0164FE);
  border-radius: 50%;
}
/* 定位图标：圆形蓝色 */
.highlight-icon--target {
  background: linear-gradient(135deg, #3E82FF, #0164FE);
  border-radius: 50%;
}
/* 文件夹图标：方形蓝色渐变 */
.highlight-icon--folder {
  background: linear-gradient(135deg, #3E82FF, #0164FE);
  border-radius: 12px;
}

.highlight-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.highlight-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- 核心功能 Section ---------- */
.section {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 36px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary-bright);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--primary-bright);
}

.section h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-head .desc {
  color: var(--text-dim);
  font-size: 17px;
}

/* 标题下方功能标签行 */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 24px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #415B8E !important;
  background: #ffffff;
  border: 1px solid rgba(1, 100, 254, 0.25);
  border-radius: 20px;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

/* .feature-tag:hover {
  background: var(--primary);
  color: #ffffff !important;
} */

/* ---------- 功能卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  padding: 34px 30px 30px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

/* 卡片底部色条（滑动进入） */
.feature-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-bright), transparent 85%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(1, 100, 254, 0.45);
  box-shadow: 0 24px 48px rgba(1, 100, 254, 0.14);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-dim);
  border: 1px solid var(--border);
  color: var(--primary-bright);
  margin-bottom: 20px;
  transition: transform var(--t-med) var(--ease);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-6deg);
}

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 15px;
}

/* ---------- 工作流 / 四步上手 ---------- */
.workflow {
  position: relative;
  padding: 48px 30px 36px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(720px 300px at 50% -10%, rgba(62, 130, 255, 0.1), transparent 65%),
    rgba(234, 242, 255, 0.95);
  overflow: hidden;
}

/* 横向步骤容器：flex + 箭头 */
.workflow-steps {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
}

/* 步骤卡片 */
.step-card {
  position: relative;
  flex: 1;
  padding: 26px 20px 28px;
  text-align: center;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.step-card + .step-arrow {
  flex-shrink: 0;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(1, 100, 254, 0.45);
  box-shadow: 0 18px 40px rgba(1, 100, 254, 0.15);
}

/* 蓝色圆形步骤号 */
.step-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* 步骤间箭头 */
.step-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  flex-shrink: 0;
  font-size: 22px;
  color: var(--primary);
  opacity: 0.55;
}

.step-card h4 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
}

/* ---------- 下载区 ---------- */
.download {
  text-align: center;
  position: relative;
  padding: 84px 40px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(520px 300px at 50% 0%, rgba(62, 130, 255, 0.14), transparent 70%),
    rgba(255, 255, 255, 0.95);
}

.download h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  margin-bottom: 14px;
}

.download .sub {
  color: var(--text-dim);
  margin-bottom: 34px;
}

.download .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 30px;
}

/* ---------- 页脚友情链接（横向排列） ---------- */
.footer-friends {
  text-align: left;
  margin-bottom: 40px;
}

.footer-friends .section-head {
  margin-bottom: 22px;
}

.footer-friends .section-head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
}

/* 页脚友情链接容器：横向排列，左对齐换行 */
.footer-friend-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

/* 页脚内友情链接：横向胶囊按钮样式 */
.footer-friend-links .friend-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid rgba(1, 100, 254, 0.25);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-dim);
  font-size: 14px;
  overflow: hidden;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.footer-friend-links .friend-link::after {
  display: none;
}

.footer-friend-links .friend-link:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

/* ---------- 页脚 ---------- */
.footer {
  padding: 48px 0 36px;
  background: transparent;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 13px;
  color: var(--text-faint);
}

.footer-bottom a {
  color: var(--text-dim);
  transition: color var(--t-fast) var(--ease);
}

.footer-bottom a:hover {
  color: var(--primary);
}

.footer-bottom a:hover {
  color: var(--primary-bright);
}

/* ---------- 右侧底部悬浮联系功能 ---------- */
.contact-float {
  position: fixed;
  right: 26px;
  bottom: 96px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-float .cf-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(1, 100, 254, 0.25);
  color: var(--primary);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(1, 100, 254, 0.14);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.contact-float .cf-ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.contact-float .cf-item:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateX(-4px);
}

/* 悬浮展开的内容面板：显示在图标左侧 */
.contact-float .cf-pop {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(1, 100, 254, 0.2);
  border-radius: 10px;
  padding: 9px 16px;
  box-shadow: 0 10px 28px rgba(1, 100, 254, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  z-index: 2;
}

.contact-float .cf-pop em {
  font-style: normal;
  color: var(--primary);
  font-weight: 600;
}

.contact-float .cf-item:hover .cf-pop {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

/* 二维码面板：展示图片 */
.contact-float .cf-pop .cf-qr-img {
  display: block;
  width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 6px;
  margin-top: 6px;
}

.contact-float .cf-pop .cf-title {
  display: block;
  font-style: normal;
  color: var(--text-dim);
  font-size: 13px;
  text-align: center;
}

/* ---------- 说明书页 ---------- */
.guide-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 44px;
  padding: 48px 0 90px;
  align-items: start;
}

/* 侧栏目录 */
.guide-toc {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  max-height: calc(100vh - var(--nav-h) - 40px);
  overflow-y: auto;
  padding: 20px 0;
}

.guide-toc .toc-title {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
  padding-left: 14px;
}

.guide-toc ul {
  list-style: none;
}

.guide-toc a {
  display: block;
  padding: 8px 14px;
  margin-bottom: 2px;
  border-left: 2px solid transparent;
  color: var(--text-dim);
  font-size: 14px;
  border-radius: 0 8px 8px 0;
  transition: all var(--t-fast) var(--ease);
}

.guide-toc a:hover {
  color: var(--text);
  background: rgba(1, 100, 254, 0.08);
}

.guide-toc a.active {
  color: var(--primary-bright);
  border-left-color: var(--primary-bright);
  background: var(--primary-dim);
  font-weight: 600;
}

.guide-toc a.toc-h3 {
  padding-left: 28px;
  font-size: 13px;
}

/* 手册正文 */
.guide-content {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 44px 46px;
  min-height: 60vh;
}

.guide-content h2,
.guide-content h3 {
  font-family: var(--font-head);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.guide-content h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.guide-content h2:first-child {
  margin-top: 0;
}

.guide-content h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--primary-bright);
}

.guide-content p {
  color: var(--text-dim);
  margin-bottom: 14px;
}

.guide-content ul,
.guide-content ol {
  margin: 0 0 16px 24px;
  color: var(--text-dim);
}

.guide-content li {
  margin-bottom: 6px;
}

.guide-content strong {
  color: var(--text);
}

.guide-content code {
  background: rgba(1, 100, 254, 0.12);
  color: var(--primary);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.9em;
  font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
}

.guide-content pre {
  background: #0f1d3d;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  overflow-x: auto;
  margin-bottom: 18px;
}

.guide-content pre code {
  background: none;
  padding: 0;
  color: #d9e4f5;
  line-height: 1.7;
}

.guide-content blockquote {
  border-left: 3px solid var(--primary-bright);
  padding: 8px 16px;
  margin: 0 0 16px;
  color: var(--text-dim);
  background: rgba(1, 100, 254, 0.06);
  border-radius: 0 8px 8px 0;
}

.guide-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin: 10px 0;
  opacity: 0;
  animation: imgIn 0.6s var(--ease) forwards;
}

@keyframes imgIn {
  to { opacity: 1; }
}

.guide-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 14px;
}

.guide-content th,
.guide-content td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.guide-content th {
  background: rgba(1, 100, 254, 0.08);
  color: var(--text);
}

.guide-content tr:nth-child(even) {
  background: rgba(1, 100, 254, 0.04);
}

.guide-empty {
  text-align: center;
  color: var(--text-faint);
  padding: 80px 0;
}

.guide-empty .icon {
  font-size: 46px;
  margin-bottom: 16px;
}

/* ---------- 加载状态 ---------- */
.loading-tip {
  text-align: center;
  color: var(--text-faint);
  padding: 60px 0;
  font-size: 15px;
}

.loading-tip::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  vertical-align: -2px;
  border: 2px solid var(--text-faint);
  border-top-color: var(--primary-bright);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(1, 100, 254, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: all var(--t-fast) var(--ease);
  z-index: 60;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--surface-hover);
  transform: translateY(-3px);
}

.back-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual { max-width: 540px; margin: 0 auto; }
  .subtitle-card .frame { max-width: 480px; margin: 0 auto; }

  .highlight-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 28px 24px;
  }
  .highlight-card { border-right: none; }
  .highlight-card:nth-child(2n) { border-right: none; }
  .highlight-card:nth-child(-n+2) { padding-bottom: 8px; }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-steps {
    flex-wrap: wrap;
    gap: 10px;
  }
  .step-card {
    flex: 1 1 calc(50% - 6px);
  }
  .step-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero-highlights {
    padding: 0 0 32px;
  }

  .highlight-row {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 24px;
  }
  .highlight-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 0;
    border-right: none;
    border-bottom: 1px solid rgba(1, 100, 254, 0.08);
    padding-bottom: 20px;
  }
  .highlight-card:last-child { border-bottom: none; padding-bottom: 0; }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .workflow-steps {
    flex-direction: column;
    gap: 10px;
  }
  .step-card {
    flex: none;
  }
  .step-arrow {
    display: none;
  }

  .workflow {
    padding: 40px 20px;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-toc {
    position: static;
    max-height: none;
  }

  .guide-content {
    padding: 24px 18px;
  }

  .brand-bar .brand-tag {
    display: none;
  }

  .btn-download,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .reveal,
  .hero .stagger {
    opacity: 1 !important;
    transform: none !important;
  }
}
