/* ==========================================================================
   萱一云 API · token.njxycloud.com
   品牌配色取自南京萱一科技 logo 实测色值：
     青（Teal）   #54A8B4   玫红（Crimson） #CC0048
   页面以「青为主、玫红为点睛」的比例使用，保证协调大气。
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 品牌原色（与 logo 位图采样一致） */
  --brand-teal: #54A8B4;
  --brand-crimson: #CC0048;

  /* 青色梯级：主色（深青用于文字/按钮，保证对比度） */
  --teal-50:  #EFF7F8;
  --teal-100: #DDEEF1;
  --teal-200: #BCDFE5;
  --teal-500: #54A8B4;
  --teal-600: #17879A;
  --teal-700: #0E7285;
  --teal-800: #0A5A6A;

  /* 玫红梯级：强调色 */
  --crimson-50:  #FDEFF5;
  --crimson-100: #FBDCE8;
  --crimson-500: #E22C69;
  --crimson-600: #CC0048;
  --crimson-700: #A80039;

  /* 中性色 */
  --bg: #FDFDFD;
  --bg-soft: #F6F9FA;
  --card: #FFFFFF;
  --ink: #0B0F14;
  --ink-2: #4F5661;
  --ink-3: #69707A;
  --line: #E4E9EC;
  --line-strong: #D3DADE;

  /* 语义色 */
  --primary: var(--teal-700);
  --primary-soft: var(--teal-50);
  --accent: var(--crimson-600);
  --accent-soft: var(--crimson-50);

  /* 品牌渐变：青 → 蓝紫 → 玫红（两端为 logo 原色，中段做桥接） */
  --grad: linear-gradient(100deg, #0E7285 0%, #2A5FBF 34%, #7B3BA6 66%, #CC0048 100%);
  --grad-soft: linear-gradient(100deg, rgba(14,114,133,.10) 0%, rgba(42,95,191,.08) 50%, rgba(204,0,72,.10) 100%);
  --grad-conic: conic-gradient(from 180deg at 50% 50%, rgba(84,168,180,.55), rgba(204,0,72,.45), rgba(84,168,180,.55));

  /* 尺寸 */
  --container: 1280px;
  --gutter: 24px;
  --header-h: 68px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* 阴影 */
  --sh-xs: 0 1px 2px rgba(11,15,20,.05);
  --sh-sm: 0 2px 10px rgba(11,15,20,.05);
  --sh-md: 0 10px 28px rgba(11,15,20,.08);
  --sh-lg: 0 24px 56px rgba(11,15,20,.10);
  --sh-teal: 0 12px 30px rgba(14,114,133,.22);
  --sh-crimson: 0 12px 30px rgba(204,0,72,.20);

  /* 字体：系统中文优先，零外链。若自托管了 Web 字体，把它插到最前面即可。 */
  --font: "Alibaba PuHuiTi 3.0", "Alibaba PuHuiTi", "HarmonyOS Sans SC", "Noto Sans SC",
          -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans SC", "WenQuanYi Micro Hei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* 暗色主题 */
[data-theme="dark"] {
  --bg: #07090D;
  --bg-soft: #0C1015;
  --card: #10151C;
  --ink: #F2F5F8;
  --ink-2: #9BA4B0;
  --ink-3: #828C9B;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.18);

  --teal-50:  rgba(84,168,180,.12);
  --teal-100: rgba(84,168,180,.20);
  --teal-600: #5FBCC9;
  --teal-700: #7ACDD8;
  --teal-800: #A5DFE6;

  --crimson-50:  rgba(204,0,72,.14);
  --crimson-100: rgba(204,0,72,.24);
  --crimson-500: #FF5C91;
  --crimson-600: #FF4E86;
  --crimson-700: #FF7BA6;

  --primary: #5FBCC9;
  --accent: #FF4E86;

  --grad: linear-gradient(100deg, #3FA9BC 0%, #6C8DF5 34%, #B87BDF 66%, #FF4E86 100%);
  --grad-soft: linear-gradient(100deg, rgba(63,169,188,.16) 0%, rgba(108,141,245,.12) 50%, rgba(255,78,134,.16) 100%);

  --sh-xs: 0 1px 2px rgba(0,0,0,.4);
  --sh-sm: 0 2px 10px rgba(0,0,0,.45);
  --sh-md: 0 10px 28px rgba(0,0,0,.5);
  --sh-lg: 0 24px 56px rgba(0,0,0,.55);
  --sh-teal: 0 12px 30px rgba(63,169,188,.25);
  --sh-crimson: 0 12px 30px rgba(255,78,134,.22);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(84,168,180,.28); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); font-size: .92em; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--bg); font-size: 14px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.grad-text {
  background-image: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  padding: 12px 24px; font-size: 15px; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease),
              background-color .2s, border-color .2s, color .2s;
}
.btn--sm { padding: 8px 18px; font-size: 14px; }
.btn--lg { padding: 14px 30px; font-size: 16px; }
.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
  background-image: var(--grad); background-size: 160% 100%; background-position: 0% 50%;
  color: #fff; font-weight: 600;
  box-shadow: var(--sh-crimson);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background-position .5s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(204,0,72,.28); background-position: 100% 50%; }
[data-theme="dark"] .btn--primary { color: #08090C; }

.btn--ghost {
  background: var(--card); border-color: var(--line-strong); color: var(--ink);
  box-shadow: var(--sh-xs);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--teal-500); color: var(--teal-700); box-shadow: var(--sh-sm); }

.btn--text { color: var(--ink-2); padding-inline: 10px; }
.btn--text:hover { color: var(--teal-700); }

/* ---------- 头部 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 24px rgba(11,15,20,.06); }
[data-theme="dark"] .site-header.is-scrolled { box-shadow: 0 1px 24px rgba(0,0,0,.5); }

.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.brand__mark { display: block; width: 40px; height: 40px; flex: none; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
[data-theme="dark"] .brand__mark {
  background: #fff; border-radius: 11px; padding: 3px;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.brand__text i { font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .16em; color: var(--ink-3); }

.nav__menu { display: flex; align-items: center; gap: 4px; justify-self: center; }
.nav__menu a {
  position: relative; padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 15px; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav__menu a:hover { color: var(--ink); background: var(--bg-soft); }
.nav__menu a.is-active { color: var(--ink); font-weight: 600; }
.nav__menu a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 1px; height: 2px;
  border-radius: 2px; background-image: var(--grad);
}

.nav__right { display: flex; align-items: center; gap: 6px; justify-self: end; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 5px;
  height: 40px; min-width: 40px; padding: 0 10px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  background: transparent; color: var(--ink-2); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.icon-btn svg { width: 18px; height: 18px; flex: none; }
.icon-btn:hover { background: var(--bg-soft); color: var(--ink); border-color: var(--line); }
.icon-btn__label { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
.nav__login { margin-left: 6px; }

/* 主题图标切换 */
.ico-moon { display: none; }
[data-theme="dark"] .ico-sun { display: none; }
[data-theme="dark"] .ico-moon { display: block; }

.nav__hamb { display: none; }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 8px 0 20px;
  animation: slide-down .28s var(--ease);
}
.mobile-nav a { display: block; padding: 14px var(--gutter); font-size: 16px; color: var(--ink-2); }
.mobile-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.mobile-nav__cta { margin: 14px var(--gutter) 0; color: #fff !important; }

@keyframes slide-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 72px) 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero__aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
  animation: orb-drift 22s ease-in-out infinite alternate;
}
.orb--teal    { width: 620px; height: 620px; top: -220px; left: -140px; background: radial-gradient(circle, rgba(84,168,180,.65), transparent 68%); }
.orb--crimson { width: 560px; height: 560px; bottom: -200px; right: -120px; background: radial-gradient(circle, rgba(204,0,72,.5), transparent 68%); animation-delay: -7s; }
.orb--mid     { width: 460px; height: 460px; top: 30%; left: 46%; background: radial-gradient(circle, rgba(123,59,166,.34), transparent 70%); animation-delay: -13s; }
[data-theme="dark"] .orb { opacity: .42; }

@keyframes orb-drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(40px,-30px,0) scale(1.08); }
  100% { transform: translate3d(-30px,26px,0) scale(.96); }
}

.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 10%, transparent 78%);
}

.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 18px 7px 14px; margin-bottom: 30px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--card) 72%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 13.5px; color: var(--ink-2); box-shadow: var(--sh-xs);
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background-image: var(--grad);
  box-shadow: 0 0 0 4px rgba(84,168,180,.16);
  animation: pulse-dot 2.6s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.hero__title {
  font-size: clamp(2.4rem, 6.4vw, 4.9rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -.02em;
  max-width: 20em;
}
.hero__sub {
  max-width: 46em; margin-top: 26px;
  font-size: clamp(1rem, 1.5vw, 1.28rem); line-height: 1.75; color: var(--ink-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }

.hero__ticker { width: 100%; margin-top: 62px; }
.fade-x {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22% 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22% 78%, transparent 100%);
}
.ticker { display: flex; gap: 18px; width: max-content; animation: ticker-scroll 44s linear infinite; }
.ticker:hover { animation-play-state: paused; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

.mcard {
  flex: none; width: 254px; padding: 15px 17px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: color-mix(in srgb, var(--card) 82%, transparent);
  text-align: left; transition: border-color .25s, transform .25s var(--ease);
}
.mcard:hover { border-color: var(--teal-500); transform: translateY(-2px); }
.mcard__top { display: flex; align-items: center; gap: 10px; }
.mcard__mk {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}
.mcard__mk--t { background: var(--teal-50); color: var(--teal-700); }
.mcard__mk--c { background: var(--crimson-50); color: var(--crimson-600); }
.mcard__mk--n { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink-2); }
.mcard__nm { font-size: 14.5px; font-weight: 600; }
.mcard__ds { margin-top: 7px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }

/* ---------- 通用区块 ---------- */
.section { position: relative; padding: 112px 0; }
.section--bordered { border-top: 1px solid var(--line); }
.section__head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section__title { font-size: clamp(1.65rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -.015em; }
.section__sub { margin-top: 18px; font-size: 16px; color: var(--ink-2); }

.kicker {
  display: inline-block; margin-bottom: 18px; padding: 5px 16px;
  border: 1px solid color-mix(in srgb, var(--teal-500) 42%, transparent);
  border-radius: var(--r-pill);
  background: var(--teal-50); color: var(--teal-700);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
.kicker--crimson {
  border-color: color-mix(in srgb, var(--crimson-600) 34%, transparent);
  background: var(--crimson-50); color: var(--crimson-600);
}

/* ---------- 核心优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card {
  position: relative; padding: 30px 26px 32px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--card); box-shadow: var(--sh-xs);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.adv-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background-image: var(--grad); opacity: 0; transition: opacity .3s;
}
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: color-mix(in srgb, var(--teal-500) 40%, var(--line)); }
.adv-card:hover::before { opacity: 1; }
.adv-card__icon {
  width: 50px; height: 50px; margin-bottom: 20px; border-radius: 14px;
  display: grid; place-items: center;
}
.adv-card__icon svg { width: 24px; height: 24px; }
.adv-card__icon--teal { background: var(--teal-50); color: var(--teal-700); }
.adv-card__icon--crimson { background: var(--crimson-50); color: var(--crimson-600); }
.adv-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.adv-card p { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }

/* ---------- 数据带 ---------- */
.stats-band { position: relative; padding: 76px 0; border-block: 1px solid var(--line); background: var(--bg-soft); overflow: hidden; }
.stats-band__glow { position: absolute; inset: 0; background: var(--grad-soft); opacity: .7; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat__num { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat__label { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- 核心能力 ---------- */
.cap-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; padding: 1px;
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--line); overflow: hidden;
}
.cap-cell { padding: 32px 28px; background: var(--card); transition: background-color .3s; }
.cap-cell:hover { background: var(--bg-soft); }
.cap-cell__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
/* 对比度：序号为小字，用深一档的青色保证 AA（≥4.5:1） */
.cap-cell__idx { font-size: 15px; font-weight: 700; font-family: var(--font-mono); color: var(--teal-700); }
.cap-cell h3 { font-size: 17.5px; font-weight: 700; }
.cap-cell > p { font-size: 14px; line-height: 1.7; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--bg-soft); font-size: 12px; color: var(--ink-2); white-space: nowrap;
}
.chips--numbered li { padding-left: 5px; }
.chips--numbered i {
  display: grid; place-items: center; width: 18px; height: 18px; flex: none;
  border-radius: 50%; background: var(--teal-100); color: var(--teal-800);
  font-size: 10.5px; font-weight: 700; font-style: normal;
}
.cap-cell__note { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 66px; text-align: center; }
.mini__icon {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--card);
  color: var(--teal-700); box-shadow: var(--sh-xs);
  transition: transform .3s var(--ease), border-color .3s;
}
.mini__icon svg { width: 22px; height: 22px; }
.mini__icon--crimson { color: var(--crimson-600); }
.mini:hover .mini__icon { transform: translateY(-4px); border-color: currentColor; }
.mini h4 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.mini p { font-size: 13.5px; line-height: 1.65; color: var(--ink-3); }

/* ---------- 行业场景轮播 ---------- */
.carousel { position: relative; }
.carousel__viewport {
  /* 左右留白与容器对齐：窄屏用 gutter，宽屏按 (视口 - 容器)/2 计算，
     配合 scroll-padding 让首卡在静止时正好对齐正文左边缘（scrollLeft 保持 0） */
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scroll-padding-inline-start: var(--edge);
  padding: 6px var(--edge) 22px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__track { display: flex; gap: 20px; }
.ptn-card {
  flex: 0 0 330px; scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: 26px 24px 28px;
  border: 1px solid var(--line); border-top-width: 3px; border-radius: var(--r-lg);
  background: var(--card); box-shadow: var(--sh-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ptn-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.ptn-card--teal { border-top-color: var(--teal-500); }
.ptn-card--crimson { border-top-color: var(--crimson-600); }
.ptn-card__head { margin-bottom: 14px; }
.ptn-card__tag {
  display: inline-block; padding: 4px 12px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
}
.ptn-card--teal .ptn-card__tag { background: var(--teal-50); color: var(--teal-700); }
.ptn-card--crimson .ptn-card__tag { background: var(--crimson-50); color: var(--crimson-600); }
.ptn-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.ptn-card p { font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }

.carousel__btn {
  position: absolute; top: 50%; z-index: 3;
  width: 42px; height: 42px; transform: translateY(-50%);
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: var(--card); color: var(--ink-2); cursor: pointer;
  box-shadow: var(--sh-sm);
  transition: color .2s, border-color .2s, transform .2s var(--ease), opacity .2s;
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover { color: var(--teal-700); border-color: var(--teal-500); }
.carousel__btn--prev { left: max(8px, calc(50vw - var(--container) / 2 + 8px)); }
.carousel__btn--next { right: max(8px, calc(50vw - var(--container) / 2 + 8px)); }
.carousel__btn[disabled] { opacity: .32; cursor: not-allowed; }
.carousel__btn[disabled]:hover { color: var(--ink-2); border-color: var(--line-strong); }

/* ---------- 工作流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step__badge {
  position: relative; width: 66px; height: 66px; margin-bottom: 24px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--sh-sm);
}
.step__badge::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  background-image: var(--grad); opacity: .9;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}
.step__badge span { font-size: 24px; font-weight: 800; }
.step__badge span { background-image: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.step p { max-width: 22em; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }

/* 步骤连接线（桌面端） */
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 33px; left: calc(50% + 48px); right: calc(-50% + 48px);
  height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent);
}

/* ---------- CTA ---------- */
.cta-band { position: relative; padding: 130px 0; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(760px 380px at 18% 12%, rgba(84,168,180,.20), transparent 66%),
    radial-gradient(760px 380px at 82% 88%, rgba(204,0,72,.17), transparent 66%),
    var(--bg-soft);
}
[data-theme="dark"] .cta-band__bg {
  background:
    radial-gradient(760px 380px at 18% 12%, rgba(63,169,188,.20), transparent 66%),
    radial-gradient(760px 380px at 82% 88%, rgba(255,78,134,.16), transparent 66%),
    var(--bg-soft);
}
.cta-band__inner { position: relative; max-width: 860px; text-align: center; }
.cta-band__title { font-size: clamp(2rem, 4.6vw, 3.9rem); font-weight: 800; line-height: 1.18; letter-spacing: -.02em; }
.cta-band__sub { max-width: 34em; margin: 28px auto 0; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 44px; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 68px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.35fr; gap: 34px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 32em; font-size: 13.5px; line-height: 1.8; color: var(--ink-3); }
.footer-col h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; margin-bottom: 11px; font-size: 13.5px; color: var(--ink-3); }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--teal-700); }
.footer-col p a { display: inline; margin: 0; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center;
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3);
}
.footer-bottom a:hover { color: var(--teal-700); }

/* ---------- 滚动入场动效 ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav__menu { display: none; }
  .nav__hamb { display: inline-flex; }
  .nav__login { display: none; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .carousel__btn { display: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .section__head { margin-bottom: 42px; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 52px) 0 56px; }
  .hero__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero__sub { margin-top: 20px; font-size: 15.5px; }
  .hero__actions { margin-top: 30px; gap: 10px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__ticker { margin-top: 44px; }
  /* 移动端触控目标不小于 44px */
  .icon-btn, .nav__hamb { height: 44px; min-width: 44px; }
  .orb { filter: blur(56px); opacity: .42; }
  .adv-grid, .cap-grid, .mini-grid, .stats, .steps, .footer-grid { grid-template-columns: 1fr; }
  .steps { gap: 44px; }
  .step:not(:last-child)::after { display: none; }
  .ptn-card { flex-basis: 268px; }
  .stats-band { padding: 56px 0; }
  .cta-band { padding: 84px 0; }
  .cta-band__actions .btn { flex: 1 1 auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker { animation: none; }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header, .hero__aurora, .hero__grid-bg, .carousel__btn, .hero__ticker { display: none; }
  .reveal { opacity: 1; transform: none; }
  body { background: #fff; }
}

/* ============================================================
   接口一览（#api）
   ============================================================ */
.api-base {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md, 14px); padding: 16px 20px;
  margin: 0 0 28px; box-shadow: var(--sh-xs, 0 1px 2px rgba(0,0,0,.05));
}
.api-base__label {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600; flex: none;
}
.api-base__url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px; padding: 7px 14px; border-radius: 8px;
  background: var(--grad-soft); color: var(--primary);
  border: 1px solid var(--teal-100); word-break: break-all;
}
.api-base__copy {
  margin-left: auto; flex: none; cursor: pointer;
  font-size: 13px; padding: 7px 16px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: var(--bg-soft);
  color: var(--ink-2); transition: all .2s;
}
.api-base__copy:hover { color: var(--primary); border-color: var(--teal-500); }
.api-base__copy.is-done { color: #fff; background: var(--teal-600); border-color: var(--teal-600); }

.api-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  margin-bottom: 32px;
}
.api-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md, 14px); padding: 20px 20px 18px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.api-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-200);
  box-shadow: var(--sh-md, 0 10px 28px rgba(0,0,0,.08));
}
.api-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.api-card__m {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  padding: 3px 9px; border-radius: 5px; flex: none;
}
.api-card__m--post { background: var(--teal-50); color: var(--teal-700); border: 1px solid var(--teal-100); }
.api-card__m--get  { background: var(--crimson-50); color: var(--crimson-600); border: 1px solid var(--crimson-100); }
.api-card__path {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; color: var(--ink-3); word-break: break-all;
}
.api-card h3 { font-size: 15.5px; margin-bottom: 6px; color: var(--ink); }
.api-card p  { font-size: 13.5px; line-height: 1.7; color: var(--ink-3); }

/* 代码块：两种主题下都保持深色终端风格 */
.api-code {
  border-radius: var(--r-md, 14px); overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #080B10; box-shadow: var(--sh-md, 0 10px 28px rgba(0,0,0,.18));
  margin-bottom: 28px;
}
.api-code__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px; background: #11161E; border-bottom: 1px solid rgba(255,255,255,.07);
}
.api-code__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.api-code__dot--r { background: #FF5F57; } .api-code__dot--y { background: #FEBC2E; } .api-code__dot--g { background: #28C840; }
.api-code__name { margin-left: 8px; font-size: 12px; color: rgba(255,255,255,.45); letter-spacing: .04em; }
.api-code__body {
  margin: 0; padding: 20px; overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.85; color: #C8D3E0;
  -webkit-font-smoothing: antialiased;
}
.api-code__body code { font-family: inherit; white-space: pre; }

.api-meta {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--r-md, 14px); padding: 22px 24px;
}
.api-meta h3 { font-size: 15px; margin-bottom: 14px; color: var(--ink); }
.api-meta__dl { display: grid; gap: 10px; margin: 0; }
.api-meta__dl > div {
  display: grid; grid-template-columns: 96px 1fr; gap: 12px;
  align-items: baseline; font-size: 13.5px;
}
.api-meta__dl dt { color: var(--ink-3); font-weight: 600; }
.api-meta__dl dd { margin: 0; color: var(--ink-2); word-break: break-all; }
.api-meta__dl code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; padding: 2px 7px; border-radius: 5px;
  background: var(--card); border: 1px solid var(--line);
}

/* ============================================================
   关于我们 / 企业信息（#about）
   ============================================================ */
.about-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1.15fr .85fr; align-items: start;
}
.about-copy p { font-size: 15px; line-height: 1.9; color: var(--ink-2); margin-bottom: 16px; }
.about-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.about-list li {
  position: relative; padding-left: 26px; font-size: 14px; color: var(--ink-2);
}
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 3px var(--teal-50);
}
.about-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg, 18px); padding: 26px 26px 22px;
  box-shadow: var(--sh-sm, 0 2px 10px rgba(0,0,0,.06));
}
.about-card h3 {
  font-size: 15px; margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line); color: var(--ink);
}
.about-dl { display: grid; gap: 13px; margin: 0; }
.about-dl > div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: baseline; }
.about-dl dt { font-size: 13px; color: var(--ink-3); flex: none; }
.about-dl dd { margin: 0; font-size: 13.5px; color: var(--ink); line-height: 1.65; word-break: break-word; }
.about-dl a { color: var(--primary); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.about-dl a:hover { border-bottom-color: currentColor; }

.footer-addr { font-size: 13px; color: var(--ink-3); line-height: 1.7; margin-top: 10px; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .api-base { gap: 10px; }
  .api-base__copy { margin-left: 0; }
}
@media (max-width: 520px) {
  .api-meta__dl > div { grid-template-columns: 1fr; gap: 2px; }
  .api-code__body { font-size: 12px; padding: 16px; }
}
