@charset "utf-8";
/* ==========================================================================
   闪链云官网 - 设计系统基础层
   Tokens / Reset / Layout / Header / Footer / Buttons / Cards / Animation
   ========================================================================== */

:root {
  /* 品牌色：取自 LOGO 蓝 #0a60f0 */
  --brand: #0a60f0;
  --brand-600: #0b53d0;
  --brand-400: #3b86ff;
  --brand-300: #6ba6ff;
  --cyan: #00d8ff;
  --cyan-soft: #6ff0ff;

  /* 深色科技底 */
  --ink-900: #030a18;
  --ink-800: #061229;
  --ink-700: #0a1b3a;
  --ink-600: #10254c;
  --ink-500: #1a3467;

  /* 浅色面 */
  --paper: #ffffff;
  --paper-2: #f4f7fc;
  --paper-3: #e9eff8;

  /* 文字 */
  --tx-1: #0c1730;
  --tx-2: #46536e;
  --tx-3: #7b87a0;
  --tx-on-dark-1: #ffffff;
  --tx-on-dark-2: rgba(226, 236, 255, .78);
  --tx-on-dark-3: rgba(190, 208, 238, .58);

  --line: #e3e9f3;
  --line-dark: rgba(120, 168, 255, .18);

  --grad-brand: linear-gradient(120deg, #0a60f0 0%, #2f8bff 55%, #00d8ff 100%);
  --grad-dark: linear-gradient(160deg, #061229 0%, #0a1b3a 48%, #061229 100%);
  --grad-text: linear-gradient(92deg, #ffffff 0%, #a9cbff 48%, #4fe3ff 100%);

  --shadow-sm: 0 2px 10px rgba(12, 33, 74, .06);
  --shadow-md: 0 12px 32px rgba(12, 33, 74, .10);
  --shadow-lg: 0 26px 60px rgba(9, 28, 66, .16);
  --shadow-glow: 0 18px 48px rgba(10, 96, 240, .28);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --wrap: 1240px;
  --head-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
}

body {
  margin: 0;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--tx-1);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .22s var(--ease); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }

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

::selection { background: rgba(10, 96, 240, .18); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 布局 ---------- */
.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 68px 0; }
.section--paper { background: var(--paper-2); }
.section--dark { background: var(--ink-800); color: var(--tx-on-dark-1); }
.section--dark .sec-desc { color: var(--tx-on-dark-2); }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ---------- 标题组 ---------- */
.sec-head { margin-bottom: 48px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-desc { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--cyan-soft); }

.sec-title {
  font-size: clamp(26px, 3.1vw, 40px);
  letter-spacing: -.02em;
}
.hl,
.sec-title .hl {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section--dark .hl,
.section--dark .sec-title .hl {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
}
.sec-desc {
  margin-top: 16px;
  max-width: 780px;
  font-size: 16px;
  color: var(--tx-2);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background-color .24s var(--ease), color .24s var(--ease), border-color .24s var(--ease);
}
.btn i { font-style: normal; transition: transform .24s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 54px rgba(10, 96, 240, .38); }
.btn--ghost {
  border: 1px solid rgba(255, 255, 255, .34);
  color: #fff;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, .06);
}
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.btn--line {
  border: 1px solid var(--line);
  color: var(--tx-1);
  background: #fff;
}
.btn--line:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--brand);
}
.text-link i { font-style: normal; transition: transform .22s var(--ease); }
.text-link:hover i { transform: translateX(4px); }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(10, 96, 240, .08);
  color: var(--brand-600);
}
.tag--dark { background: rgba(107, 166, 255, .14); color: var(--cyan-soft); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-head.is-stuck { box-shadow: 0 8px 30px rgba(9, 28, 66, .10); }
.site-head__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--head-h);
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 48px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--tx-1);
  border-radius: 10px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__link:hover { color: var(--brand); }
.nav__link:hover::after,
.nav__item.is-active .nav__link::after { transform: scaleX(1); }
.nav__item.is-active .nav__link { color: var(--brand); font-weight: 600; }

.head-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.head-tel { display: flex; flex-direction: column; line-height: 1.2; }
.head-tel span { font-size: 11px; color: var(--tx-3); }
.head-tel b { font-size: 17px; color: var(--brand); letter-spacing: .01em; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  place-items: center;
}
.burger span {
  position: relative;
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--tx-1);
  transition: transform .25s var(--ease), opacity .2s;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--tx-1);
  transition: transform .25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translateY(6px) rotate(45deg); }
.burger.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 页面 Banner（内页） ---------- */
.page-hero {
  position: relative;
  padding: 96px 0 82px;
  background: var(--grad-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(46rem 26rem at 82% -10%, rgba(10, 96, 240, .55), transparent 68%),
    radial-gradient(34rem 22rem at 6% 108%, rgba(0, 216, 255, .22), transparent 66%);
}
.page-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(122, 174, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 174, 255, .09) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 88%);
}
.page-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.02em;
}
.page-hero p {
  margin-top: 18px;
  max-width: 760px;
  font-size: 17px;
  color: var(--tx-on-dark-2);
}
.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--tx-on-dark-3);
  margin-bottom: 20px;
}
.crumb a:hover { color: #fff; }
.crumb span { opacity: .5; }
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.page-hero__meta div { display: flex; flex-direction: column; }
.page-hero__meta b {
  font-size: 26px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero__meta small { font-size: 13px; color: var(--tx-on-dark-3); }

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .34s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(10, 96, 240, .22); }
.card:hover::before { transform: scaleX(1); }
.card__ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(10, 96, 240, .08);
  color: var(--brand);
}
.card__ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--tx-2); }
.card__num {
  position: absolute;
  right: 22px;
  top: 14px;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: rgba(10, 96, 240, .07);
  letter-spacing: -.04em;
}

.card--dark {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-dark);
  color: #fff;
}
.card--dark p { color: var(--tx-on-dark-2); }
.card--dark:hover { background: rgba(255, 255, 255, .07); border-color: rgba(107, 166, 255, .34); }
.card--dark .card__ico { background: rgba(107, 166, 255, .14); color: var(--cyan-soft); }
.card--dark .card__num { color: rgba(255, 255, 255, .07); }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat {
  padding: 28px 26px;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-dark);
}
.stat b {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(46px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat b > span {
  display: inline;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.stat b em { font-style: normal; font-size: clamp(16px, 1.8vw, 20px); margin-left: 0; letter-spacing: -.01em; }
.stat > span { display: block; margin-top: 10px; font-size: 14px; color: var(--tx-on-dark-2); }

/* ---------- 页脚 ---------- */
.site-foot {
  position: relative;
  background: var(--ink-900);
  color: var(--tx-on-dark-2);
  padding-top: 72px;
  overflow: hidden;
}
.site-foot::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10, 96, 240, .8), rgba(0, 216, 255, .6), transparent);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 40px;
  padding-bottom: 56px;
}
.foot-col h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: .04em;
}
.foot-col li + li { margin-top: 11px; }
.foot-col a { font-size: 14.5px; }
.foot-col a:hover { color: var(--cyan-soft); }
.foot-brand img { height: 48px; margin-bottom: 20px; }
.foot-brand p { font-size: 14px; color: var(--tx-on-dark-3); max-width: 330px; }
.foot-contact li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.65;
}
.foot-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--brand-300); }
.foot-contact b { color: #fff; font-weight: 600; }
.foot-tel { font-size: 24px !important; color: var(--cyan-soft) !important; font-weight: 700; letter-spacing: .01em; }
.foot-qr { display: flex; gap: 18px; margin-top: 22px; }
.foot-qr figure { margin: 0; text-align: center; }
.foot-qr img {
  width: 96px;
  border-radius: 10px;
  padding: 5px;
  background: #fff;
}
.foot-qr figcaption { margin-top: 8px; font-size: 12px; color: var(--tx-on-dark-3); }
.foot-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 13px;
  color: var(--tx-on-dark-3);
}
.foot-bar a:hover { color: #fff; }

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 滚动进场 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --head-h: 66px; }
  .wrap { width: calc(100% - 36px); }
  .section { padding: 68px 0; }
  .burger { display: grid; margin-left: auto; }
  .head-cta { display: none; }
  .nav {
    position: fixed;
    inset: var(--head-h) 0 auto;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height .38s var(--ease);
  }
  .nav.is-open { max-height: 76vh; overflow-y: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 22px; }
  .nav__link { padding: 15px 6px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .g-3, .g-4, .g-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero { padding: 60px 0 54px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 54px 0; }
  .sec-head { margin-bottom: 32px; }
  .g-2, .g-3, .g-4, .g-6, .stats { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px; }
  .to-top { right: 14px; bottom: 14px; }
}
