/* ============================================================
   塞蓬学术SAIPEN 设计系统
   主色:科研蓝 #2B6BF3 | 辅色:冰川青 #35C6C9
   深色:墨蓝 #0A1A33  | 浅底:云雾白 #F5F8FD
   ============================================================ */

:root {
  --blue: #2B6BF3;
  --blue-deep: #1E4FC4;
  --teal: #35C6C9;
  --ink: #0A1A33;
  --ink-60: #46587A;
  --ink-40: #7C8BA6;
  --mist: #F5F8FD;
  --line: #E3EAF6;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow-card: 0 8px 30px rgba(10, 26, 51, 0.07);
  --shadow-card-hover: 0 16px 40px rgba(43, 107, 243, 0.14);
  --font-cn: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-en: "Space Grotesk", "Noto Sans SC", sans-serif;
}

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

html { scroll-behavior: smooth; overscroll-behavior-y: none; }

body {
  font-family: var(--font-cn);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ============ 导航 ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

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

.nav-links a {
  font-size: 15px;
  padding: 6px 2px;
  position: relative;
  transition: opacity 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta {
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover { transform: translateY(-1px); }

/* 首页导航:白字浮于视频上 */
.nav--hero { color: var(--white); }
.nav--hero .nav-cta {
  background: var(--white);
  color: var(--blue);
}

/* 子页导航:白底深字 */
.nav--solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.nav--solid .nav-cta {
  background: var(--blue);
  color: var(--white);
}
.nav--solid .nav-cta:hover { box-shadow: 0 8px 20px rgba(43, 107, 243, 0.35); }

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ============ 首页 Hero ============ */
.hero {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* 视频缺失时的降级背景:云海渐变 */
  background:
    radial-gradient(ellipse 120% 60% at 70% 110%, #E8EFF8 0%, transparent 55%),
    radial-gradient(ellipse 90% 50% at 20% 105%, #D5E2F2 0%, transparent 50%),
    linear-gradient(180deg, #3D7DD8 0%, #6FA3DE 35%, #A9C6E8 65%, #DCE8F5 100%);
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 云层漂移(纯 CSS 降级氛围,视频加载后被覆盖) */
.hero-clouds {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  background: rgba(255, 255, 255, 0.5);
  animation: drift 40s linear infinite alternate;
}

.cloud:nth-child(1) { width: 55vw; height: 24vh; left: -10vw; bottom: -6vh; }
.cloud:nth-child(2) { width: 45vw; height: 20vh; right: -8vw; bottom: 2vh; animation-duration: 55s; opacity: 0.8; }
.cloud:nth-child(3) { width: 38vw; height: 16vh; left: 30vw; bottom: 12vh; animation-duration: 48s; opacity: 0.55; }

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(6vw); }
}

/* 文字区暗色渐变遮罩,保证动态视频下可读性 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg, rgba(8, 24, 48, 0.55) 0%, rgba(8, 24, 48, 0.25) 42%, transparent 68%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-top: -30px; /* 整体上移 30px */
}

/* 逐行淡入:标题组 → 描述 → 学科标签 → 按钮 */
.hero-heading,
.hero-desc,
.hero-tags,
.hero-actions {
  opacity: 0;
  animation: rise 0.9s ease forwards;
}

.hero-heading { animation-delay: 0.12s; }
.hero-desc    { animation-delay: 0.4s; }
.hero-tags    { animation-delay: 0.65s; }
.hero-actions { animation-delay: 0.85s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 全学科玻璃标签:呼应徽章质感,直观打出学科覆盖 */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 620px;
  margin-bottom: 32px;
}
.hero-tags span {
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(6px);
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.hero-tags span:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}
.hero-tags .hero-tag-more {
  border-style: dashed;
  opacity: 0.85;
}

/* 徽章贴着大标题，整块作为一个标题组 */
.hero-heading {
  position: relative;
  margin-bottom: 22px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  font-size: 14px;
  margin: 0 0 12px;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  gap: 0.18em;
  margin: 0;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 24px rgba(8, 24, 48, 0.25);
}

.hero-line {
  display: block;
}

/* 两行标题统一字号；第一行强制单行 */
.hero-line--lead {
  font-size: clamp(28px, 3.4vw, 44px);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.hero-line--sub {
  font-size: clamp(28px, 3.4vw, 44px);
}

.hero-highlight {
  color: #fadf95;
  text-shadow:
    0 0 6px rgba(250, 223, 149, 0.45),
    0 0 14px rgba(250, 223, 149, 0.28),
    0 0 28px rgba(250, 223, 149, 0.16);
}

.hero-desc {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.9;
  opacity: 0.94;
  margin-bottom: 28px;
  max-width: 560px;
  text-shadow: 0 1px 12px rgba(8, 24, 48, 0.3);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--blue);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 10px 28px rgba(43, 107, 243, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--blue-deep);
  box-shadow: 0 14px 34px rgba(43, 107, 243, 0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  transition: gap 0.2s;
}

.btn-ghost:hover { gap: 16px; }

.arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translateX(3px); }

/* ============ 子页页头(云上浅色氛围) ============ */
.page-hero {
  position: relative;
  padding: 170px 0 90px;
  background:
    radial-gradient(ellipse 80% 70% at 85% 20%, rgba(53, 198, 201, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 10% 30%, rgba(43, 107, 243, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #EDF3FC 0%, var(--white) 100%);
  overflow: hidden;
}

/* 页头远山剪影,呼应首页云海 */
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 120px;
  background:
    linear-gradient(to top, rgba(255,255,255,0.9), transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120 L120 70 L240 100 L400 40 L560 95 L720 55 L880 90 L1040 30 L1200 85 L1330 60 L1440 90 L1440 120 Z' fill='%23DFE9F7' opacity='0.6'/%3E%3Cpath d='M0 120 L180 90 L340 110 L520 70 L700 105 L900 65 L1100 100 L1280 80 L1440 105 L1440 120 Z' fill='%23EAF1FA'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat;
  pointer-events: none;
}

/* 学术风章节标注 —— 全站签名元素 */
.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "§";
  font-size: 15px;
}

.eyebrow::after {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
  align-self: center;
  opacity: 0.5;
}

.page-hero h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-bottom: 20px;
}

.page-hero p.lede {
  font-size: 17px;
  color: var(--ink-60);
  max-width: 640px;
  line-height: 2;
}

/* ============ 通用 Section ============ */
.section { padding: 90px 0; }
.section--mist { background: var(--mist); }

.section-head { margin-bottom: 56px; max-width: 720px; }

.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.section-head p { color: var(--ink-60); font-size: 16px; }

/* ============ 卡片网格 ============ */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(43, 107, 243, 0.3);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(53, 198, 201, 0.14), rgba(43, 107, 243, 0.14));
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--blue);
}

.card-icon svg { width: 26px; height: 26px; }

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  color: var(--ink-60);
  line-height: 1.9;
}

.card .card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--blue);
  font-weight: 500;
}

/* ============ 流程时间线(产品能力页) ============ */
.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.pipeline::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  opacity: 0.35;
}

.pipe-step { position: relative; text-align: center; padding-top: 0; }

.pipe-num {
  position: relative;
  z-index: 1;
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 17px;
  display: grid;
  place-items: center;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.pipe-step:hover .pipe-num {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.08);
}

.pipe-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.pipe-step p { font-size: 13.5px; color: var(--ink-60); line-height: 1.8; }

/* ============ 数据/统计条 ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-en);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  background: linear-gradient(120deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.stat-label { font-size: 14px; color: var(--ink-60); margin-top: 6px; }

/* ============ 双栏图文 ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-visual {
  border-radius: var(--radius);
  background: linear-gradient(135deg, #EAF2FC, #F2FBFB);
  border: 1px solid var(--line);
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--blue);
  overflow: hidden;
  position: relative;
}

.split h2 { font-size: 30px; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.02em; }
.split p { color: var(--ink-60); margin-bottom: 14px; }

.check-list { list-style: none; margin-top: 20px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--ink-60);
  font-size: 15px;
}
.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(53, 198, 201, 0.15);
  color: #1FA6A9;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 3px;
}

/* ============ FAQ ============ */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 26px;
  font-weight: 500;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--blue);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 26px 22px;
  color: var(--ink-60);
  font-size: 14.5px;
  line-height: 1.9;
}

/* ============ 时间线(关于我们) ============ */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
  opacity: 0.4;
}

.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -34px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
}

.tl-year {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--blue);
  font-size: 15px;
  letter-spacing: 0.06em;
}

.tl-item h3 { font-size: 17px; font-weight: 700; margin: 4px 0 6px; }
.tl-item p { color: var(--ink-60); font-size: 14.5px; }

/* ============ CTA 区块 ============ */
.cta-band {
  position: relative;
  border-radius: 20px;
  padding: 70px 48px;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(ellipse 70% 120% at 80% -10%, rgba(53, 198, 201, 0.45), transparent 60%),
    linear-gradient(120deg, #1E4FC4, #2B6BF3);
  overflow: hidden;
}

.cta-band h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.cta-band p { opacity: 0.88; margin-bottom: 34px; font-size: 16px; }

.cta-band .btn-primary {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 10px 30px rgba(8, 24, 48, 0.25);
}

.cta-band .btn-primary:hover { background: #F0F5FF; }

/* ============ 单页版(index.html) ============ */
section[id] { scroll-margin-top: 84px; } /* 锚点跳转时避开固定导航 */

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.12em;
  opacity: 0;
  animation: rise 0.9s ease 1.1s forwards;
}

.scroll-hint svg {
  width: 22px;
  height: 22px;
  animation: bounce 1.8s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* 单页版 Hero：最低一屏，内容多时允许长高，避免矮屏硬塞挤压 */
.hero--onepage {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  overflow: visible;
  padding-top: 124px;
  padding-bottom: 72px;
  box-sizing: border-box;
}
.hero--onepage .hero-content {
  margin-top: 0;
  padding-bottom: 0;
}
.hero--onepage .hero-media,
.hero--onepage .hero-clouds,
.hero--onepage::before {
  position: absolute;
  inset: 0;
}

/* ============ 广告视频弹框（fixed，挂 body，避开 .hero isolation） ============ */
.ad-video-dialog {
  position: fixed;
  z-index: 1100;
  /* 靠右贴边一点，不再对齐内容容器 */
  right: max(16px, env(safe-area-inset-right));
  bottom: max(72px, calc(56px + env(safe-area-inset-bottom)));
  /* 初始迷你弹框（略放大） */
  width: min(320px, calc(100% - 32px));
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  animation: adVideoIn 0.55s ease 0.6s forwards;
}
.ad-video-dialog[hidden] { display: none !important; }

@keyframes adVideoIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ad-video-dialog__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(8, 24, 48, 0.55);
  backdrop-filter: blur(4px);
  pointer-events: auto;
}

.ad-video-dialog__panel {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(10, 26, 51, 0.72);
  box-shadow:
    0 18px 48px rgba(8, 24, 48, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(14px);
  transition: width 0.28s ease, max-width 0.28s ease, box-shadow 0.28s ease;
}

.ad-video-dialog__toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 12px;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
}

.ad-video-dialog__title {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ad-video-dialog__countdown {
  flex-shrink: 0;
  min-width: 34px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(43, 107, 243, 0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.4;
}
.ad-video-dialog__countdown[hidden] { display: none !important; }

.ad-video-dialog__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.ad-video-dialog__btn {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.ad-video-dialog__btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}
.ad-video-dialog__btn:active { transform: scale(0.94); }
.ad-video-dialog__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}
.ad-video-dialog__btn .ad-video-icon {
  display: none;
}
/* 默认显示放大；放大态显示缩小 */
.ad-video-dialog__btn[data-mode="enlarge"] .ad-video-icon--enlarge,
.ad-video-dialog[data-size="md"] #adVideoToggleSize .ad-video-icon--enlarge {
  display: block;
}
.ad-video-dialog__btn[data-mode="shrink"] .ad-video-icon--shrink,
.ad-video-dialog[data-size="lg"] #adVideoToggleSize .ad-video-icon--shrink {
  display: block;
}
.ad-video-dialog[data-size="lg"] #adVideoToggleSize .ad-video-icon--enlarge {
  display: none;
}
.ad-video-dialog__btn--close:hover {
  background: rgba(239, 68, 68, 0.28);
  border-color: rgba(252, 165, 165, 0.55);
}

.ad-video-dialog__body {
  padding: 0 10px 10px;
}
.ad-video-dialog__body video,
.ad-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #000;
  object-fit: contain;
  /* 阻止拖拽下载、长按菜单、文本选择等默认行为 */
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}
.ad-video-player::-webkit-media-controls-download-button {
  display: none !important;
}
.ad-video-player::-internal-media-controls-download-button {
  display: none !important;
}

/* 尺寸档位：默认迷你 / 放大（同一按钮切换） */
.ad-video-dialog[data-size="md"] { width: min(320px, calc(100% - 32px)); }
.ad-video-dialog[data-size="lg"] {
  /* 盖过固定导航(z-index:100)与全页内容，视口正中展示 */
  position: fixed;
  inset: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1300;
  width: auto;
  max-width: none;
  display: grid;
  place-items: center;
  place-content: center;
  padding: 24px;
  margin: 0;
  pointer-events: auto;
  animation: none;
  opacity: 1;
  transform: none;
}
.ad-video-dialog[data-size="lg"] .ad-video-dialog__backdrop {
  display: block;
  z-index: 0;
}
.ad-video-dialog[data-size="lg"] .ad-video-dialog__panel {
  width: min(920px, calc(100vw - 48px));
  max-height: min(86vh, 720px);
  margin: 0 auto;
  box-shadow: 0 28px 80px rgba(8, 24, 48, 0.5);
}
.ad-video-dialog[data-size="lg"] .ad-video-dialog__body {
  max-height: calc(86vh - 72px);
}
.ad-video-dialog[data-size="lg"] .ad-video-dialog__body video {
  max-height: calc(86vh - 96px);
}

.ad-video-dialog.is-closed { display: none !important; }

/* 收起态：右下角贴边视频入口 */
.ad-video-reopen {
  position: fixed;
  z-index: 1100;
  right: 0;
  bottom: max(28px, calc(20px + env(safe-area-inset-bottom)));
  left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 0;
  border-radius: 16px 0 0 16px;
  background:
    linear-gradient(135deg, rgba(30, 79, 196, 0.92) 0%, rgba(10, 26, 51, 0.94) 58%, rgba(16, 37, 74, 0.96) 100%);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    -8px 12px 28px rgba(8, 24, 48, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(12px);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transform: translateX(110%);
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.ad-video-reopen:not([hidden]) {
  opacity: 1;
  transform: translateX(0);
  animation: adVideoDockIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ad-video-reopen[hidden] { display: none !important; }

@keyframes adVideoDockIn {
  from { opacity: 0; transform: translateX(110%); }
  to { opacity: 1; transform: translateX(0); }
}

.ad-video-reopen__glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 198, 201, 0.45), transparent 68%);
  pointer-events: none;
}

.ad-video-reopen__thumb {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(53, 198, 201, 0.35), rgba(43, 107, 243, 0.15)),
    #0A1A33;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}
.ad-video-reopen__play {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #35C6C9, #2B6BF3);
  color: #fff;
  box-shadow: 0 4px 12px rgba(43, 107, 243, 0.45);
  animation: adVideoPlayPulse 2.2s ease-in-out infinite;
}
.ad-video-reopen__play svg {
  margin-left: 2px;
}

@keyframes adVideoPlayPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(43, 107, 243, 0.45); }
  50% { transform: scale(1.06); box-shadow: 0 6px 18px rgba(53, 198, 201, 0.5); }
}

.ad-video-reopen__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding-right: 2px;
  text-align: left;
}
.ad-video-reopen__kicker {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.72;
  line-height: 1;
}
.ad-video-reopen__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}

.ad-video-reopen:hover {
  box-shadow:
    -10px 16px 34px rgba(8, 24, 48, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  background:
    linear-gradient(135deg, rgba(43, 107, 243, 0.96) 0%, rgba(10, 26, 51, 0.96) 55%, rgba(16, 37, 74, 0.98) 100%);
}
.ad-video-reopen:hover .ad-video-reopen__play {
  animation: none;
  transform: scale(1.08);
}
.ad-video-reopen:not([hidden]):active {
  transform: translateX(3px);
}

@media (max-width: 960px) {
  .ad-video-dialog {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(28px, calc(20px + env(safe-area-inset-bottom)));
  }
  .ad-video-dialog[data-size="md"] { width: min(300px, calc(100% - 24px)); }
}

/* —— H5 / 手机适配 —— */
@media (max-width: 720px) {
  .ad-video-reopen {
    right: 0;
    bottom: max(18px, calc(12px + env(safe-area-inset-bottom)));
    min-height: 52px;
    padding: 7px 12px 7px 7px;
    border-radius: 14px 0 0 14px;
  }
  .ad-video-reopen__thumb {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .ad-video-reopen__play {
    width: 26px;
    height: 26px;
  }
  .ad-video-reopen__label {
    font-size: 12px;
  }

  /* 默认态：右下角迷你浮层，略放大并靠右 */
  .ad-video-dialog[data-size="md"] {
    position: fixed;
    left: auto;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(16px, calc(12px + env(safe-area-inset-bottom)));
    width: min(260px, calc(100vw - 20px));
    z-index: 1100;
  }

  .ad-video-dialog__toolbar {
    padding: 8px 10px 8px 12px;
  }
  .ad-video-dialog__title {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ad-video-dialog__btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .ad-video-dialog__body {
    padding: 0 8px 8px;
  }
  .ad-video-dialog__body video {
    border-radius: 8px;
    /* iOS 避免原生控件被裁切 */
    max-height: none;
  }

  /* 放大：全屏居中，避开刘海/底部手势条 */
  .ad-video-dialog[data-size="lg"] {
    position: fixed;
    inset: 0;
    z-index: 1300;
    width: auto;
    padding:
      max(16px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(16px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ad-video-dialog[data-size="lg"] .ad-video-dialog__panel {
    width: min(100%, calc(100vw - 24px));
    max-height: min(88dvh, calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
    border-radius: 14px;
  }
  .ad-video-dialog[data-size="lg"] .ad-video-dialog__body {
    max-height: none;
  }
  .ad-video-dialog[data-size="lg"] .ad-video-dialog__body video {
    width: 100%;
    height: auto;
    max-height: min(70dvh, calc(100dvh - 120px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }
}

/* 横屏手机：弹层更扁，优先保证视频完整可见 */
@media (max-width: 920px) and (max-height: 480px) and (orientation: landscape) {
  .ad-video-dialog[data-size="lg"] {
    padding: 8px max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
  }
  .ad-video-dialog[data-size="lg"] .ad-video-dialog__panel {
    width: min(720px, calc(100vw - 24px));
    max-height: calc(100dvh - 16px);
  }
  .ad-video-dialog[data-size="lg"] .ad-video-dialog__toolbar {
    padding: 6px 10px;
  }
  .ad-video-dialog[data-size="lg"] .ad-video-dialog__body video {
    max-height: calc(100dvh - 64px);
  }
  .ad-video-reopen {
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

/* ============ 页脚 ============ */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer .brand { margin-bottom: 18px; }
.footer .brand-name { color: var(--white); }

.footer h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 12px; }
.footer a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px 72px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
  line-height: 1.7;
}

.footer-meta span {
  display: block;
}

.footer-filings {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  text-align: right;
  line-height: 1.7;
}

.footer-filing {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.footer-filing-label {
  color: rgba(255, 255, 255, 0.5);
}

.footer-filing-link {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.footer-filing-link:hover { color: var(--white); }

/* ============ 滚动入场动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 科技感增强(首屏以下) ============ */
/* 细点阵网格底纹:像坐标纸/全息投影底,颜色取自主色,极浅不抢内容 */
.section--grid {
  background-image:
    radial-gradient(rgba(43, 107, 243, 0.07) 1px, transparent 1.5px);
  background-size: 28px 28px;
}
.section--mist.section--grid {
  background-image:
    radial-gradient(rgba(43, 107, 243, 0.09) 1px, transparent 1.5px),
    linear-gradient(180deg, var(--mist), var(--mist));
}

/* 流程连接线发光,数字节点带能量环 */
.pipeline::before {
  opacity: 0.6;
  box-shadow: 0 0 14px rgba(43, 107, 243, 0.35);
}
.pipe-num {
  box-shadow: 0 0 0 6px rgba(43, 107, 243, 0.06);
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.pipe-step:hover .pipe-num {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 0 0 6px rgba(43, 107, 243, 0.12), 0 0 26px rgba(43, 107, 243, 0.5);
}
.pipe-step h3 { letter-spacing: 0.02em; }

/* 卡片:顶部渐变光带 + 悬浮辉光 */
.card { position: relative; overflow: hidden; }
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 26px; right: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover::before { opacity: 1; }
.card:hover {
  box-shadow: 0 18px 46px rgba(43, 107, 243, 0.16), 0 0 0 1px rgba(43, 107, 243, 0.16);
}
.card-icon {
  box-shadow: inset 0 0 0 1px rgba(43, 107, 243, 0.12), 0 0 18px rgba(53, 198, 201, 0.12);
}

/* 数据条:深空蓝科技舱,与首页山峰的墨蓝阴影同色系 */
.stats--band {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 58px 32px;
  background:
    radial-gradient(ellipse 60% 120% at 12% -10%, rgba(53, 198, 201, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 120% at 88% 110%, rgba(43, 107, 243, 0.28), transparent 55%),
    linear-gradient(135deg, #0A1A33 0%, #10254A 100%);
  box-shadow: 0 26px 60px rgba(10, 26, 51, 0.28);
}
.stats--band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}
.stats--band > div { position: relative; }
.stats--band .stat-num {
  background: linear-gradient(120deg, #7FE3E5, #8FB7FF);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}
.stats--band .stat-label { color: rgba(255, 255, 255, 0.62); }

/* FAQ 悬浮辉光 */
.faq-item { transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.faq-item:hover {
  border-color: rgba(43, 107, 243, 0.32);
  box-shadow: 0 10px 28px rgba(43, 107, 243, 0.10);
}
.faq-item[open] {
  border-color: rgba(43, 107, 243, 0.4);
  box-shadow: 0 12px 32px rgba(43, 107, 243, 0.12);
}

/* 时间线节点发光 */
.tl-item::before {
  box-shadow: 0 0 0 5px rgba(43, 107, 243, 0.08), 0 0 14px rgba(43, 107, 243, 0.35);
}

/* 内测徽章:渐变小胶囊,挂在节点标题旁 */
.tl-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--teal), var(--blue));
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  vertical-align: 2px;
  box-shadow: 0 4px 14px rgba(43, 107, 243, 0.35);
}

/* 「未来」节点:青色发光,年份渐变字,与已发生节点拉开层级 */
.tl-item--next::before {
  border-color: var(--teal);
  background: rgba(53, 198, 201, 0.18);
  box-shadow: 0 0 0 6px rgba(53, 198, 201, 0.10), 0 0 18px rgba(53, 198, 201, 0.55);
}
.tl-item--next .tl-year {
  background: linear-gradient(120deg, #1FA6A9, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 放大视频 / 抽屉菜单时锁滚动（桌面也生效） */
body.no-scroll {
  overflow: hidden;
  overscroll-behavior: none;
}

/* ============ 响应式 ============ */
.only-mobile { display: none; }

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(320px, 80vw);
    background: var(--white);
    color: var(--ink);
    flex-direction: column;
    gap: 8px;
    padding: 96px 32px calc(32px + env(safe-area-inset-bottom));
    box-shadow: -16px 0 40px rgba(10, 26, 51, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 5;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 17px; padding: 12px 0; display: block; }
  .nav-toggle { display: block; z-index: 10; position: relative; }
  .nav-cta { display: none; }

  /* 抽屉打开时:汉堡变 ✕,且始终为深色(避免白底上看不见) */
  .nav.menu-open .nav-toggle { color: var(--ink); }
  .nav-toggle .icon-close { display: none; }
  .nav.menu-open .icon-burger { display: none; }
  .nav.menu-open .icon-close { display: block; }

  /* 抽屉底部的"开始使用"按钮(仅移动端显示) */
  .only-mobile { display: block; margin-top: auto; }
  .drawer-cta {
    display: block;
    text-align: center;
    background: var(--blue);
    color: var(--white) !important;
    border-radius: 999px;
    padding: 13px 0 !important;
    font-weight: 500;
  }

  /* 点击遮罩关闭抽屉 */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 26, 51, 0.45);
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav.menu-open .nav-backdrop { opacity: 1; pointer-events: auto; }

  body.no-scroll {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .pipeline { grid-template-columns: 1fr; gap: 32px; }
  .pipeline::before { display: none; }
  .pipe-step { text-align: left; display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
  .pipe-num { margin: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 120px 0 64px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .cta-band { padding: 48px 22px; border-radius: 16px; }
  .card { padding: 28px 22px; }
  .split-visual { min-height: 240px; }
  .footer { padding: 48px 0 28px; }
  .footer-bottom { gap: 22px; }
  .footer-meta,
  .footer-filings {
    gap: 12px;
    align-items: flex-start;
    text-align: left;
  }
  .footer-filing { white-space: normal; }

  /* —— 首页 Hero 手机适配 —— */
  .hero--onepage {
    align-items: flex-start;
    padding-top: 96px;
    padding-bottom: max(48px, calc(28px + env(safe-area-inset-bottom)));
  }
  .nav { padding: 14px 0; }
  .brand-mark,
  .brand-mark img {
    width: 48px;
    height: 48px;
    border-radius: 11px;
  }
  .brand-name { font-size: 23px; }

  .hero::before {
    /* 手机上文字占满宽度,遮罩改为自下而上 */
    background: linear-gradient(to top, rgba(8, 24, 48, 0.6) 0%, rgba(8, 24, 48, 0.3) 55%, rgba(8, 24, 48, 0.12) 100%);
  }
  .hero-badge {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.45;
    padding: 6px 12px;
    margin-bottom: 10px;
    white-space: normal;
  }
  .hero-heading { margin-bottom: 16px; }
  .hero-line--lead,
  .hero-line--sub {
    font-size: clamp(18px, 4.4vw, 26px);
  }
  .hero-line--lead { white-space: nowrap; }
  .hero-desc { margin-bottom: 20px; line-height: 1.85; }
  .hero-desc br { display: none; } /* 手机上取消强制换行,自然折行 */
  .hero-tags { gap: 8px; margin-bottom: 22px; }
  .hero-tags span { font-size: 12px; padding: 5px 12px; }
  .hero-actions { gap: 18px; }
  .btn-primary { padding: 14px 30px; font-size: 16px; }
  .btn-ghost { font-size: 16px; }
  .scroll-hint { display: none; }

  .stats--band { padding: 40px 20px; border-radius: 18px; }
}

/* 矮屏：标题组保持一体，只减负次要内容 */
@media (max-height: 860px) {
  .hero--onepage {
    align-items: flex-start;
    padding-top: 108px;
    padding-bottom: 56px;
  }
  .scroll-hint { display: none; }
}
@media (max-height: 760px) {
  .hero--onepage .hero-tags { display: none; }
  .hero-heading { margin-bottom: 14px; }
  .hero-badge { margin-bottom: 8px; }
  .hero-desc {
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
}
@media (max-height: 620px) {
  .hero--onepage {
    padding-top: 88px;
    padding-bottom: 40px;
  }
  .hero-heading { margin-bottom: 12px; }
  .hero-badge { margin-bottom: 6px; }
  .hero-line--lead,
  .hero-line--sub {
    font-size: clamp(18px, 4vw, 26px);
  }
  .hero-desc {
    margin-bottom: 18px;
    -webkit-line-clamp: 2;
  }
}

/* ============ 无障碍:减少动画 ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
