/* ============================================================
   版本 D · 星河深空 — 全站深色玻璃 + 霓虹渐变 + 生成式视觉
   ============================================================ */
:root {
  --bg: #05070f;
  --bg-alt: #0a0e1c;
  --bg-dark: #030409;
  --ink: #eef1fa;
  --ink-2: rgba(238, 241, 250, 0.72);
  --ink-3: rgba(238, 241, 250, 0.45);
  --line: rgba(255, 255, 255, 0.09);
  --accent: #67e8f9;
  --accent-2: #a78bfa;
  --grad: linear-gradient(100deg, #67e8f9 0%, #818cf8 48%, #c084fc 100%);
  --card-bg: rgba(255, 255, 255, 0.035);
  --card-line: rgba(255, 255, 255, 0.1);
  --art-a: #67e8f9;
  --art-b: #a78bfa;
  --radius: 20px;
  --font: -apple-system, "SF Pro Display", "SF Pro SC", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; }
button { font: inherit; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- 顶部滚动进度条 ---------- */
.v-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}

/* ---------- 区块骨架 ---------- */
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--bg-dark); }
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.sec-head-row .sec-head { margin-bottom: 0; }
.kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.h2 {
  font-size: clamp(30px, 4.6vw, 46px); line-height: 1.22; font-weight: 700;
  color: var(--ink); letter-spacing: 0.01em;
}
.lede { font-size: 17.5px; color: var(--ink-2); margin-top: 16px; max-width: 62ch; }
.prose { max-width: 760px; }
.prose p { margin: 0 0 22px; font-size: 16.5px; }
.prose strong { color: var(--ink); font-weight: 650; }
.strong-line {
  font-size: clamp(21px, 2.8vw, 28px) !important; line-height: 1.5; font-weight: 650; color: var(--ink) !important;
  padding-left: 18px; border-left: 3px solid var(--accent); margin: 34px 0 !important;
}

/* ---------- 渐变文字（字符级：JS 按行宽/偏移下发 --grad-w / --grad-x） ---------- */
.grad-text { color: var(--ink); }
.grad-text.grad-ready .line div {
  background-image: var(--grad);
  background-size: var(--grad-w, 800px) 100%;
  background-position: var(--grad-x, 0) 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-text.grad-ready { animation: hueShift 9s ease-in-out infinite alternate; }
@keyframes hueShift { from { filter: hue-rotate(0deg); } to { filter: hue-rotate(16deg); } }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  width: min(1280px, calc(100% - 48px)); margin: 0 auto;
  display: flex; align-items: center; gap: 28px; height: 68px;
}
.nav.scrolled, .nav--solid {
  background: rgba(5, 7, 15, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 16.5px; margin-right: auto; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a, .nav-item > a:first-child {
  display: block; padding: 8px 13px; border-radius: 999px;
  font-size: 14.5px; color: var(--ink-2); transition: color 0.25s, background 0.25s;
}
.nav-links > a:hover, .nav-item > a:first-child:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.nav-links > a.active, .nav-item > a.active { color: var(--ink); background: rgba(255, 255, 255, 0.09); }
.nav-item { position: relative; }
.nav-sub {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 230px; padding: 8px; border-radius: 14px;
  background: rgba(12, 16, 32, 0.92);
  border: 1px solid var(--card-line);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-sub a {
  display: block; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; color: var(--ink-2);
  transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.nav-sub a:hover { background: rgba(255, 255, 255, 0.07); color: var(--ink); }
.nav-burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--card-line); border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); cursor: pointer; position: relative;
}
.nav-burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform 0.3s ease, top 0.3s ease;
}
.nav-burger span:nth-child(1) { top: 16px; }
.nav-burger span:nth-child(2) { top: 24px; }
body.menu-open .nav-burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 68px 0 auto 0; z-index: 99; display: none;
  background: rgba(5, 7, 15, 0.96);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 28px; max-height: calc(100vh - 68px); overflow: auto;
}
body.menu-open .mobile-menu { display: block; }
.mm-link, .mm-group summary {
  display: block; padding: 13px 6px; font-size: 16px; color: var(--ink); font-weight: 550;
  border-bottom: 1px solid var(--line); cursor: pointer; list-style: none;
}
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group summary::after { content: "+"; float: right; color: var(--ink-3); }
.mm-group[open] summary::after { content: "–"; }
.mm-group a { display: block; padding: 10px 6px 10px 16px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 15.5px; font-weight: 600; color: #04121a; background: linear-gradient(100deg, #67e8f9, #8ab4f9);
  box-shadow: 0 8px 28px rgba(103, 232, 249, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(103, 232, 249, 0.35); filter: brightness(1.05); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--ink);
  border: 1px solid var(--card-line); box-shadow: none;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); box-shadow: none; }
.tlink {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--accent); font-size: 14.5px; font-weight: 600; cursor: pointer;
}
.tlink::after { content: "→"; transition: transform 0.3s ease; }
.tlink:hover::after { transform: translateX(5px); }

/* ---------- Hero（首页） ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden; padding: 140px 0 90px;
}
#vfx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-glow--1 { width: 560px; height: 560px; right: -140px; top: -120px; background: rgba(129, 140, 248, 0.16); animation: breathe 9s ease-in-out infinite alternate; }
.hero-glow--2 { width: 480px; height: 480px; left: -160px; bottom: -140px; background: rgba(103, 232, 249, 0.1); animation: breathe 11s ease-in-out 1s infinite alternate; }
@keyframes breathe { from { opacity: 0.65; transform: scale(1); } to { opacity: 1; transform: scale(1.12); } }
.hero-inner { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 26px;
  border: 1px solid var(--card-line); background: rgba(255, 255, 255, 0.04);
  font-size: 13px; color: var(--ink-2); letter-spacing: 0.08em;
}
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 {
  font-size: clamp(44px, 8vw, 88px); line-height: 1.12; font-weight: 750;
  letter-spacing: 0.015em; margin-bottom: 26px;
}
.hero-sub { font-size: clamp(16px, 2vw, 19.5px); color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 58px; }
.chip {
  padding: 13px 20px; border-radius: 14px; border: 1px solid var(--card-line);
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; align-items: baseline; gap: 7px;
}
.chip b { font-size: 21px; font-weight: 700; color: var(--ink); }
.chip span { font-size: 12.5px; color: var(--ink-3); }
.hero-scroll { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 9px; color: var(--ink-3); font-size: 10.5px; letter-spacing: 0.3em; z-index: 2; }
.hero-scroll i { width: 1.5px; height: 42px; background: linear-gradient(var(--accent), transparent); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--ink); animation: scrollHint 2s ease-in-out infinite; }
@keyframes scrollHint { 0% { top: -50%; } 100% { top: 110%; } }

/* ---------- 无缝滚动条 ---------- */
.marquee {
  border-block: 1px solid var(--line); padding: 20px 0; overflow: hidden;
  background: rgba(255, 255, 255, 0.014);
}
.marquee-track { display: flex; width: max-content; animation: marq 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-seg { display: flex; align-items: center; white-space: nowrap; }
.marquee-seg span { font-size: 15px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-3); padding: 0 26px; }
.marquee-seg i { color: var(--accent); font-style: normal; font-size: 12px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- 关于区 ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gcard {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--card-bg); border: 1px solid var(--card-line);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.gcard:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.gcard::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(130deg, rgba(103, 232, 249, 0.65), transparent 32%, transparent 68%, rgba(167, 139, 250, 0.65));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.gcard:hover::before { opacity: 1; }
.stat {
  padding: 26px 22px; text-align: left;
}
.stat-num { font-size: clamp(30px, 3.4vw, 40px); font-weight: 750; color: var(--ink); line-height: 1.1; }
.stat-num small { font-size: 0.45em; font-weight: 650; color: var(--accent); margin-left: 3px; }
.stat p { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- 业务卡片 ---------- */
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { display: flex; flex-direction: column; }
.biz-grid .gcard { padding: 0; }
.card-idx {
  position: absolute; top: 20px; right: 24px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; color: var(--ink-3); z-index: 2;
}
.card-art {
  height: 190px; margin: 18px 18px 0; border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: var(--ink-2);
  background:
    radial-gradient(140% 120% at 85% 10%, rgba(167, 139, 250, 0.14), transparent 55%),
    radial-gradient(120% 130% at 12% 90%, rgba(103, 232, 249, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.card-art svg { width: 74%; height: auto; opacity: 0.95; }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 20.5px; font-weight: 700; color: var(--ink); }
.card-body p { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.card:hover .tlink { color: var(--accent-2); }

/* ---------- 生成式视觉 ---------- */
.art { border-radius: 18px; overflow: hidden; color: var(--ink-2); }
.art svg { width: 100%; height: auto; }
.split-img .art {
  background:
    radial-gradient(140% 120% at 85% 10%, rgba(167, 139, 250, 0.15), transparent 55%),
    radial-gradient(120% 130% at 12% 90%, rgba(103, 232, 249, 0.13), transparent 55%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 8%;
}
.anim [data-artdraw] svg .f { opacity: 0; transition: opacity 0.8s ease calc(var(--i, 0) * 0.14s + 0.3s); }
.anim [data-artdraw].in svg .f { opacity: 0.92; }

/* ---------- 服务流程 ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps-track {
  position: absolute; top: 27px; left: 4%; right: 4%; height: 1.5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: 0 50%; transform: scaleX(0); opacity: 0.55;
}
.step { position: relative; padding-top: 56px; }
.step-dot {
  position: absolute; top: 0; left: 0; width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border: 1px solid var(--card-line);
  color: var(--accent); box-shadow: 0 0 0 6px var(--bg);
}
.step-dot svg { width: 24px; height: 24px; }
.step h3 { font-size: 17.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step h3 em { font-style: normal; color: var(--ink-3); font-size: 12.5px; letter-spacing: 0.14em; margin-right: 8px; }
.step p { font-size: 14px; color: var(--ink-2); }

/* ---------- 内页页头 ---------- */
.page-hero { padding: 168px 0 84px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%;
  right: -200px; top: -320px; background: radial-gradient(circle, rgba(129, 140, 248, 0.14), transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(34px, 5.4vw, 56px); font-weight: 750; color: var(--ink);
  line-height: 1.2; letter-spacing: 0.01em;
}
.page-hero .lede { margin-top: 18px; }
.subnav { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.subnav a {
  padding: 8.5px 17px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2);
  border: 1px solid var(--card-line); background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s ease;
}
.subnav a:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.24); }
.subnav a.active { color: #04121a; background: linear-gradient(100deg, #67e8f9, #8ab4f9); border-color: transparent; font-weight: 600; }

/* ---------- 通用组件 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 84px; }
.split:last-child { margin-bottom: 0; }
.split--flip .split-img { order: 2; }
.split-txt h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.split-txt p { font-size: 15.5px; color: var(--ink-2); }
.split-txt .tlink { margin-top: 22px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature-ico {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); background: rgba(103, 232, 249, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.22);
}
.feature-ico svg { width: 23px; height: 23px; }
.feature h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.feature p { font-size: 14px; color: var(--ink-2); }
.feature--card {
  display: flex; padding: 26px 24px; border-radius: var(--radius);
  background: var(--card-bg); border: 1px solid var(--card-line);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.feature--card:hover { transform: translateY(-5px); border-color: rgba(103, 232, 249, 0.4); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4); }

.empty {
  max-width: 560px; margin: 0 auto; text-align: center; padding: 58px 36px;
  border-radius: var(--radius); background: var(--card-bg); border: 1px dashed var(--card-line);
}
.empty-icon { display: flex; justify-content: center; margin-bottom: 18px; color: var(--accent); }
.empty-icon svg { width: 30px; height: 30px; }
.empty h3 { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.empty p { font-size: 14.5px; color: var(--ink-3); margin-bottom: 16px; }

.honor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.honor-ph {
  aspect-ratio: 3 / 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border-radius: var(--radius); color: var(--ink-3); font-size: 13.5px;
  background: var(--card-bg); border: 1px dashed var(--card-line);
}
.honor-ph svg { width: 34px; height: 34px; opacity: 0.65; }

.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1.5px; background: linear-gradient(var(--accent), var(--accent-2), transparent); opacity: 0.5; }
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 7px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2.5px solid var(--accent); box-shadow: 0 0 14px rgba(103, 232, 249, 0.5);
}
.tl-item time { font-size: 13px; font-weight: 650; letter-spacing: 0.12em; color: var(--accent); }
.tl-item h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 8px 0; }
.tl-item p { font-size: 14.5px; color: var(--ink-2); max-width: 56ch; }

.news-tabs { display: flex; gap: 10px; margin-bottom: 40px; }
.news-tabs a {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; color: var(--ink-2);
  border: 1px solid var(--card-line); transition: all 0.25s ease;
}
.news-tabs a:hover { color: var(--ink); }
.news-tabs a.active { color: #04121a; background: linear-gradient(100deg, #67e8f9, #8ab4f9); border-color: transparent; font-weight: 600; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 24px; }
.contact-card { padding: 30px 28px; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--card-line); }
.contact-card h3 { font-size: 16px; color: var(--ink-2); font-weight: 600; margin: 18px 0 10px; }
.contact-card .big { display: block; font-size: 17.5px; font-weight: 650; color: var(--ink); line-height: 1.55; }
.contact-card a.big:hover { color: var(--accent); }
.contact-card .tip { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }
.form-panel {
  padding: clamp(28px, 4vw, 52px); border-radius: calc(var(--radius) + 6px);
  background: var(--card-bg); border: 1px solid var(--card-line);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea {
  font: inherit; color: var(--ink); padding: 14px 16px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--card-line); outline: none;
  transition: border-color 0.25s, box-shadow 0.25s; resize: vertical; min-height: 52px;
}
.field textarea { min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.12); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.form-foot p { font-size: 13px; color: var(--ink-3); max-width: 46ch; }

/* ---------- CTA ---------- */
.cta-band { overflow: hidden; text-align: left; }
.cta-band h2 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 750; color: var(--ink); line-height: 1.28; }
.cta-band .btn { margin-top: 30px; }
.cta-phone { margin-top: 22px; font-size: 14.5px; color: var(--ink-3); }
.cta-phone a { color: var(--accent); font-weight: 650; }
.cta-fx {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 60% at 78% 30%, rgba(129, 140, 248, 0.16), transparent 70%),
    radial-gradient(40% 55% at 12% 82%, rgba(103, 232, 249, 0.1), transparent 70%);
}

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-dark); padding: 72px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 44px; }
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand .brand-name { font-size: 16.5px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.footer-brand p { font-size: 13.5px; color: var(--ink-3); max-width: 30ch; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.16em; color: var(--ink-3); font-weight: 650; margin-bottom: 16px; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-2); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-col a.tel { font-size: 17px; font-weight: 650; color: var(--ink); }
.footer-col p { font-size: 13px; color: var(--ink-3); margin-top: 14px; line-height: 1.8; }
.footer-qr img { width: 108px; height: 108px; border-radius: 12px; border: 1px solid var(--card-line); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-3);
}

/* ---------- 动效挂钩 ---------- */
.anim [data-reveal] { opacity: 0; transform: translateY(28px); }
.anim [data-hero] { opacity: 0; transform: translateY(30px); }
.has-split [data-split]:not(.split-ready) { opacity: 0; }
.has-split [data-split] .line { overflow: hidden; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .section { padding: 84px 0; }
  .biz-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps-track { display: none; }
  .split, .split--flip { grid-template-columns: 1fr; gap: 34px; }
  .split--flip .split-img { order: 0; }
  .page-hero { padding: 140px 0 64px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-chips { gap: 9px; }
  .chip { padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .hero-glow, .hero-scroll i::after, .grad-text.grad-ready { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   版本 P 专属追加样式（构建时拼接在 theme-d.css 之后）
   内容：钉住拉近叙事（scrolly zoom）/ 三章视觉 / 星尘闪烁动画
   ============================================================ */

/* ---------- 招牌：钉住 + 镜头拉近 ---------- */
.scrolly {
  position: relative;
  background:
    radial-gradient(60% 50% at 72% 38%, rgba(99, 102, 241, 0.12), transparent 70%),
    radial-gradient(50% 44% at 26% 64%, rgba(34, 211, 238, 0.08), transparent 70%),
    #05070f;
}
.sc-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.sc-wrap { position: relative; width: 100%; display: grid; grid-template-columns: minmax(300px, 42%) 1fr; align-items: center; gap: 24px; }

.sc-captions { position: relative; z-index: 2; height: 380px; }
/* 拉近后视觉可能伸入文案区：左侧渐变衬底保证可读 */
.sc-captions::before {
  content: ""; position: absolute; inset: -12% -18% -12% -40%; z-index: -1;
  background: linear-gradient(90deg, rgba(5, 7, 15, 0.72), rgba(5, 7, 15, 0.38) 55%, transparent);
  pointer-events: none;
}
.sc-cap {
  position: absolute; top: 50%; transform: translateY(-40%); opacity: 0;
  transition: opacity 0.55s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.sc-cap.on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.sc-cap .kicker { margin-bottom: 14px; }
.sc-cap h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.18; font-weight: 700; color: #fff; letter-spacing: 0.01em; }
.sc-cap p { margin-top: 16px; font-size: 16.5px; color: rgba(232, 234, 242, 0.68); max-width: 40ch; line-height: 1.85; }

.sc-track { position: relative; z-index: 3; }
.sc-chapter { height: 100vh; }
.sc-progress { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; z-index: 3; }
.sc-progress i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); transition: background 0.3s, transform 0.3s; }
.sc-progress i.on { background: #67e8f9; transform: scale(1.35); }

/* 视觉舞台：整体持续放大 = 拉近感 */
.zs-frame { position: relative; height: min(74vh, 660px); display: flex; align-items: center; justify-content: center; }
.zs-frame::before {
  content: ""; position: absolute; inset: -6%;
  background: radial-gradient(46% 46% at 50% 50%, rgba(103, 232, 249, 0.07), transparent 70%);
  pointer-events: none;
}
.zs-layers {
  position: relative; width: min(62vh, 520px); height: min(62vh, 520px);
  display: flex; align-items: center; justify-content: center; will-change: transform;
}
.zs-layer {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.zs-layer.on { opacity: 1; transform: scale(1); }
.zs-layer svg { width: 100%; height: 100%; overflow: visible; }

/* 星尘闪烁 / 心跳 / 扫描环 */
.zs-layer .tw { animation: zj-tw 3.4s ease-in-out infinite; }
@keyframes zj-tw { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.zs-layer .pulse { transform-box: fill-box; transform-origin: center; animation: zj-pulse 2.4s ease-in-out infinite; }
@keyframes zj-pulse { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.45); opacity: 0.65; } }
.zs-layer .spin { animation: zj-spin 26s linear infinite; }
@keyframes zj-spin { to { transform: rotate(360deg); } }

/* 无动效环境：只展示第一章，章节高度压缩避免大片空白 */
.motion-off .sc-chapter { height: auto; min-height: 30vh; }
.motion-off .sc-captions { height: auto; }
.motion-off .sc-cap { position: relative; top: 0; transform: none; display: none; }
.motion-off .sc-cap.on { display: block; }

@media (max-width: 900px) {
  .sc-wrap { grid-template-columns: 1fr; gap: 0; }
  .sc-captions { height: auto; padding: 110px 24px 0; }
  .sc-cap { position: relative; top: 0; transform: none; display: none; }
  .sc-cap.on { display: block; }
  .zs-frame { height: 52vh; }
  .zs-layers { width: min(48vh, 400px); height: min(48vh, 400px); }
  .sc-progress { left: 14px; }
}

/* -- 首页章节文案右移居中（2026-10-24 导师指示）：仅桌面；文字换行宽度与推进动画均不变 -- */
@media (min-width: 901px) {
  .sc-captions { transform: translateX(clamp(24px, 12vw, 220px)); }
}
