/* ==========================================================================
   益佐原科技 · 官网 — 极光蓝紫 · 玻璃拟态科技风
   主色：靛蓝 #4338CA → 蓝 #2563EB → 青 #06B6D4（紫 #8B5CF6 辅助）
   Tokens → Base → Layout → Components → Product → Footer → Responsive
   ========================================================================== */

/* ---------- 00. Design Tokens ---------- */
:root {
  /* 品牌色 */
  --indigo: #4338ca;
  --indigo-2: #3730a3;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --violet: #8b5cf6;
  --mint: #10b981;

  /* 品牌浅底 */
  --indigo-soft: #eef0fe;
  --blue-soft: #e8f0fe;
  --cyan-soft: #e2f8fc;
  --violet-soft: #f2ecfe;
  --mint-soft: #e6f8f1;

  /* 中性色 */
  --ink: #101a33;
  --ink-2: #4b5a79;
  --ink-3: #8592ae;
  --line: #e7eaf6;
  --line-2: #d6dcee;
  --bg: #ffffff;
  --bg-soft: #f6f7fe;
  --bg-tint: #eff1fe;

  /* 渐变 */
  --grad-main: linear-gradient(120deg, #4338ca 0%, #2563eb 48%, #06b6d4 100%);
  --grad-soft: linear-gradient(120deg, #8b5cf6, #06b6d4);
  --grad-line: linear-gradient(90deg, #4338ca, #8b5cf6 52%, #06b6d4);
  --grad-glass: linear-gradient(150deg, rgba(255, 255, 255, .92), rgba(246, 247, 254, .72));

  /* 阴影 */
  --shadow-s: 0 2px 8px rgba(23, 32, 84, .05), 0 1px 2px rgba(23, 32, 84, .04);
  --shadow-m: 0 14px 32px -14px rgba(23, 32, 84, .20), 0 3px 10px -4px rgba(23, 32, 84, .07);
  --shadow-l: 0 34px 74px -30px rgba(23, 32, 84, .34);
  --glow: 0 16px 38px -16px rgba(67, 56, 202, .42);

  /* 圆角 */
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 26px;

  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;

  --nav-h: 68px;
  --maxw: 1100px;
}

/* ---------- 01. Reset / Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 背景氛围：多层极光光晕 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(820px 560px at 4% -8%, rgba(67, 56, 202, .16), transparent 62%),
    radial-gradient(740px 520px at 98% 0%, rgba(6, 182, 212, .15), transparent 62%),
    radial-gradient(700px 620px at 84% 62%, rgba(139, 92, 246, .10), transparent 66%),
    radial-gradient(760px 520px at 6% 100%, rgba(16, 185, 129, .08), transparent 64%);
}

/* 圆点网格底纹 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(67, 56, 202, .13) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 120% 62% at 50% 12%, #000 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 120% 62% at 50% 12%, #000 12%, transparent 72%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

::selection { background: rgba(67, 56, 202, .18); color: var(--indigo-2); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f3fb; }
::-webkit-scrollbar-thumb { background: #c6cde9; border-radius: 10px; border: 2px solid #f1f3fb; }
::-webkit-scrollbar-thumb:hover { background: #a3aedb; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- 02. Typography helpers ---------- */
.mono { font-family: var(--mono); letter-spacing: .02em; }
.grad-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sec { padding: 88px 0; position: relative; z-index: 1; }
.sec--soft {
  background:
    radial-gradient(760px 420px at 88% 0%, rgba(139, 92, 246, .07), transparent 66%),
    linear-gradient(180deg, transparent, var(--bg-soft) 10%, var(--bg-soft) 90%, transparent);
}

.sec-head { margin-bottom: 46px; max-width: 840px; }
.sec-idx {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 27px;
  padding: 0 13px 0 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-s);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 16px;
}
.sec-idx::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-main);
}
.sec-head h2 {
  font-size: clamp(25px, 3.3vw, 37px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -.022em;
  color: var(--ink);
}
.sec-head p { margin-top: 15px; color: var(--ink-2); font-size: 15px; max-width: 730px; }

.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center p { margin-left: auto; margin-right: auto; }

/* 居中标题下的渐变短线 */
.sec-line {
  width: 54px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad-line);
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px -3px rgba(67, 56, 202, .5);
}
.sub-head { text-align: center; margin: 60px 0 26px; }
.sub-head h3 { font-size: 21.5px; font-weight: 800; color: var(--ink); letter-spacing: -.015em; }

/* ---------- 03. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 47px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .24s cubic-bezier(.2, .8, .3, 1), box-shadow .24s, background .24s, border-color .24s, color .24s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary {
  background: var(--grad-main);
  background-size: 160% 100%;
  color: #fff;
  box-shadow: var(--glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 22px 46px -18px rgba(67, 56, 202, .58);
}

.btn--ghost {
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line-2);
  color: var(--ink);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-s);
}
.btn--ghost:hover { border-color: #b9c1e8; color: var(--indigo); transform: translateY(-2px); box-shadow: var(--shadow-m); }

.btn--sm { height: 38px; padding: 0 18px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ---------- 04. Nav ---------- */
#scrollbar {
  position: fixed; top: 0; left: 0; height: 2.5px; width: 0; z-index: 200;
  background: var(--grad-line);
  box-shadow: 0 0 10px rgba(67, 56, 202, .5);
}

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.is-stuck {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 26px -18px rgba(23, 32, 84, .38);
}
.nav__inner { display: flex; align-items: center; gap: 22px; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand__mark { width: 35px; height: 35px; flex: none; filter: drop-shadow(0 6px 14px rgba(67, 56, 202, .3)); }
.brand__name { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.15; letter-spacing: .005em; }
.brand__name small { display: block; font-size: 9px; font-weight: 600; color: var(--ink-3); letter-spacing: .18em; font-family: var(--mono); }

.nav__links { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; font-size: 13.8px; font-weight: 600;
  color: var(--ink-2); border-radius: 999px; transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--indigo); background: var(--bg-tint); }
.nav__links a.active { color: var(--indigo); background: var(--indigo-soft); }
.nav__cta { display: flex; align-items: center; gap: 10px; flex: none; }

.nav__burger {
  display: none; width: 42px; height: 42px; border-radius: 13px;
  border: 1px solid var(--line-2); background: #fff;
  align-items: center; justify-content: center;
}
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--indigo); position: relative; }
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--indigo);
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }

.nav__drawer {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 149;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  padding: 14px 20px 22px;
  display: grid; gap: 2px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: all .28s;
}
.nav__drawer.is-open { transform: none; opacity: 1; pointer-events: auto; }
.nav__drawer a { padding: 13px 13px; border-radius: 12px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.nav__drawer a:hover { background: var(--bg-tint); color: var(--indigo); }
.nav__drawer .btn { margin-top: 10px; }

/* ---------- 05. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 84px) 0 92px;
  overflow: hidden;
  background:
    radial-gradient(940px 500px at 50% -14%, rgba(139, 92, 246, .16), transparent 64%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 80%);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .95; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 44%, #fff 97%);
}
.hero .wrap { z-index: 2; text-align: center; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  height: 33px; padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-s);
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  font-family: var(--mono); letter-spacing: .03em;
}
.pill i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  animation: pulse 2.1s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, .6); }
  70% { box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.hero h1 {
  margin: 26px auto 0;
  font-size: clamp(32px, 5.7vw, 60px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--ink);
  max-width: 16em;
}
.hero h1 .line { display: block; }
.hero__sub {
  margin: 24px auto 0;
  max-width: 650px;
  font-size: clamp(14.5px, 1.4vw, 16.5px);
  color: var(--ink-2);
  line-height: 1.85;
}
.hero__sub b { color: var(--indigo); font-weight: 700; }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero__facts {
  margin-top: 38px; display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center;
  font-size: 13px; color: var(--ink-2);
}
.hero__facts span {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-s);
}
.hero__facts span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-main); opacity: .9;
}
.hero__facts b { color: var(--ink); font-family: var(--mono); font-weight: 700; }

/* ---------- 06. Card base ---------- */
.card {
  position: relative;
  background: var(--bg-glass, #fff);
  background: linear-gradient(158deg, #ffffff 0%, #fbfbff 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-s);
  transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s, border-color .3s;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-main);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: transparent; }
.card--accent:hover::after { opacity: .85; }

/* ---------- 07. About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 46px; align-items: start; }
.about-copy p { color: var(--ink-2); margin-bottom: 16px; font-size: 15px; line-height: 1.9; }
.about-copy .quote {
  position: relative;
  margin: 22px 0 22px;
  padding: 16px 20px;
  border-radius: var(--r-s);
  background: linear-gradient(115deg, var(--indigo-soft), var(--violet-soft));
  border: 1px solid #e2e5fb;
  color: var(--indigo-2);
  font-size: 15px;
  font-weight: 700;
}
.about-copy .quote::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px;
  border-radius: 3px; background: var(--grad-line);
}
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cap { padding: 21px 19px; }
.cap__ico {
  width: 40px; height: 40px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--grad-main);
  box-shadow: 0 8px 18px -8px rgba(67, 56, 202, .55);
  margin-bottom: 14px;
}
.cap__ico svg { width: 19px; height: 19px; stroke: #fff; fill: none; stroke-width: 1.7; }
.cap h4 { font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.cap p { font-size: 13px; color: var(--ink-2); line-height: 1.75; }

/* 交替色变体，让 4 张能力卡不单调 */
.cap:nth-child(2) .cap__ico { background: linear-gradient(135deg, var(--violet), var(--indigo)); box-shadow: 0 8px 18px -8px rgba(139, 92, 246, .55); }
.cap:nth-child(3) .cap__ico { background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 8px 18px -8px rgba(6, 182, 212, .55); }
.cap:nth-child(4) .cap__ico { background: linear-gradient(135deg, var(--mint), #0891b2); box-shadow: 0 8px 18px -8px rgba(16, 185, 129, .55); }

/* ---------- 08. Product services ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prod { display: flex; flex-direction: column; overflow: hidden; }
.prod__top {
  padding: 25px 22px 21px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(160deg, #f5f6ff, #ffffff 72%);
  position: relative;
}
.prod__idx {
  position: absolute; top: 23px; right: 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--ink-3);
}
.prod__ico {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-main);
  box-shadow: 0 10px 22px -10px rgba(67, 56, 202, .6);
  margin-bottom: 16px;
}
.prod__ico svg { width: 23px; height: 23px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.prod h3 { font-size: 17.5px; font-weight: 800; color: var(--ink); letter-spacing: -.015em; }
.prod__desc { padding: 18px 22px 0; color: var(--ink-2); font-size: 13.6px; line-height: 1.8; }
.prod__feats { padding: 16px 22px 20px; display: grid; gap: 10px; flex: 1; }
.prod__feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.4px; color: var(--ink-2); }
.prod__feats svg { width: 15px; height: 15px; flex: none; margin-top: 4px; stroke: var(--cyan); fill: none; stroke-width: 2.6; }
.prod__act { padding: 0 22px 22px; }

/* 第二、三张产品卡换不同渐变，视觉更有层次 */
.prod:nth-child(2) .prod__ico { background: linear-gradient(135deg, #8b5cf6, #4338ca); box-shadow: 0 10px 22px -10px rgba(139, 92, 246, .6); }
.prod:nth-child(3) .prod__ico { background: linear-gradient(135deg, #06b6d4, #2563eb); box-shadow: 0 10px 22px -10px rgba(6, 182, 212, .6); }
.prod:nth-child(2) .prod__feats svg { stroke: var(--violet); }
.prod:nth-child(3) .prod__feats svg { stroke: var(--blue); }

/* ---------- 09. 在线医保费用合规检测平台（产品板块） ---------- */
.yp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.yp-card { display: flex; flex-direction: column; overflow: hidden; }
.yp-card__img {
  height: 138px;
  background:
    radial-gradient(320px 160px at 78% 8%, rgba(139, 92, 246, .20), transparent 68%),
    linear-gradient(135deg, #eef0fe, #e2f8fc);
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.yp-card__img::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(67, 56, 202, .16) 1px, transparent 1.2px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000, transparent 82%);
}
.yp-card__img svg {
  width: 42px; height: 42px; position: relative; z-index: 1;
  stroke: var(--indigo); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 8px 16px rgba(67, 56, 202, .28));
}
.yp-card__body { padding: 21px 22px 23px; flex: 1; }
.yp-card__body h3 { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 7px; }
.yp-card__body p { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }

/* 数据条 */
.yp-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}
.yp-stat {
  background: linear-gradient(160deg, #ffffff, #fafbff);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform .28s cubic-bezier(.2, .8, .3, 1), box-shadow .28s;
}
.yp-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.yp-stat::after {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: var(--grad-main);
  opacity: .9;
}
.yp-stat b {
  font-family: var(--mono); font-size: 31px; font-weight: 700; line-height: 1.15;
  display: block;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.yp-stat span { font-size: 13px; color: var(--ink-3); }

/* 核心功能 */
.yp-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.yp-feature {
  background: linear-gradient(160deg, #ffffff, #fafbff);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-s);
  transition: all .26s cubic-bezier(.2, .8, .3, 1);
}
.yp-feature:hover {
  border-color: #c9cff0;
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
}
.yp-feature__ico {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--indigo-soft);
  display: grid; place-items: center; margin: 0 auto 13px;
  transition: background .26s, box-shadow .26s;
}
.yp-feature__ico svg { width: 21px; height: 21px; stroke: var(--indigo); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .26s; }
.yp-feature:hover .yp-feature__ico { background: var(--grad-main); box-shadow: 0 10px 22px -10px rgba(67, 56, 202, .6); }
.yp-feature:hover .yp-feature__ico svg { stroke: #fff; }
.yp-feature h4 { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.yp-feature p { font-size: 12.5px; color: var(--ink-2); line-height: 1.65; }

/* 简单三步 */
.yp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.yp-step { padding: 28px 22px; text-align: center; }
.yp-step__num {
  width: 46px; height: 46px; border-radius: 15px;
  background: var(--grad-main);
  color: #fff; display: grid; place-items: center;
  font-size: 18px; font-weight: 800; font-family: var(--mono);
  margin: 0 auto 15px;
  box-shadow: 0 10px 22px -10px rgba(67, 56, 202, .65);
}
.yp-step h4 { font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.yp-step p { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.yp-step:nth-child(2) .yp-step__num { background: linear-gradient(135deg, #8b5cf6, #4338ca); box-shadow: 0 10px 22px -10px rgba(139, 92, 246, .65); }
.yp-step:nth-child(3) .yp-step__num { background: linear-gradient(135deg, #06b6d4, #2563eb); box-shadow: 0 10px 22px -10px rgba(6, 182, 212, .65); }

/* 访问方式 */
.yp-access {
  position: relative;
  background: linear-gradient(158deg, #ffffff, #f7f8ff 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--shadow-m);
  margin-top: 34px;
}
.yp-access__head {
  padding: 22px 28px 17px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, var(--indigo-soft), var(--cyan-soft));
}
.yp-access__head h3 { font-size: 17.5px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.yp-access__head p { font-size: 13px; color: var(--ink-2); }
.yp-access__row { display: flex; align-items: center; gap: 20px; padding: 24px 28px; }
.yp-access__row + .yp-access__row { border-top: 1px solid var(--line); }
.yp-access__info { flex: 1; min-width: 0; }
.yp-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .04em;
  padding: 4px 11px; border-radius: 999px; margin-bottom: 9px;
}
.yp-label--web { color: var(--indigo); background: var(--indigo-soft); }
.yp-label--mini { color: #0e9384; background: var(--mint-soft); }
.yp-access__info h4 { font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.yp-access__info p { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.yp-qr {
  width: 100px; height: 100px; flex: none; padding: 0;
  border: 1px solid var(--line); border-radius: 14px;
  background: #fff; overflow: hidden; cursor: zoom-in;
  box-shadow: var(--shadow-s, 0 2px 8px rgba(15, 23, 42, .06));
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.yp-qr:hover {
  transform: scale(1.04);
  border-color: #0e9384;
  box-shadow: 0 6px 18px rgba(14, 147, 132, .18);
}
.yp-qr img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}

/* 小程序码放大预览 */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  cursor: zoom-out;
  padding: 24px;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(420px, 88vw);
  max-height: 88vh;
  width: auto; height: auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
  transform: scale(.92);
  transition: transform .25s ease;
}
.lightbox.is-open img { transform: scale(1); }

.yp-footnote { text-align: center; font-size: 12.5px; color: var(--ink-3); margin-top: 18px; }
.yp-footnote strong {
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 10. Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(680px 340px at 10% 0%, rgba(67, 56, 202, .07), transparent 66%),
    linear-gradient(180deg, var(--bg-soft), #fff 78%);
  padding: 56px 0 28px;
  position: relative; z-index: 1;
}
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; }
.footer__about p { font-size: 13.2px; color: var(--ink-2); line-height: 1.9; margin-top: 14px; max-width: 320px; }
.footer h5 {
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); font-family: var(--mono); font-weight: 700; margin-bottom: 14px;
}
.footer__col a { display: block; font-size: 13.4px; color: var(--ink-2); padding: 5px 0; transition: color .2s, transform .2s; }
.footer__col a:hover { color: var(--indigo); transform: translateX(3px); }
.footer__contact div { font-size: 13.2px; color: var(--ink-2); padding: 5px 0; }
.footer__contact a { color: var(--indigo); }
.footer__contact a:hover { text-decoration: underline; }
.footer__bottom {
  margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--ink-3);
}
.footer__bottom a:hover { color: var(--indigo); }

/* ---------- 11. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .8, .3, 1), transform .8s cubic-bezier(.2, .8, .3, 1); }
.reveal.is-inview { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }

/* ---------- 12. Back to top ---------- */
.totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 140;
  width: 46px; height: 46px; border-radius: 15px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line-2); color: var(--indigo);
  box-shadow: var(--shadow-m);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all .3s;
}
.totop.is-on { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { color: #fff; background: var(--grad-main); border-color: transparent; box-shadow: var(--glow); }
.totop svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- 13. Responsive ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .prod-grid, .yp-cards, .yp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yp-features { grid-template-columns: repeat(2, 1fr); }
  .yp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 720px) {
  .sec { padding: 64px 0; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cta .btn--ghost { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 54px); padding-bottom: 64px; }
  .prod-grid, .yp-cards, .yp-steps, .cap-grid, .yp-features { grid-template-columns: 1fr; }
  .yp-stats { grid-template-columns: 1fr 1fr; }
  .yp-access__row { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; }
  .yp-access__row .btn { width: 100%; }
  .yp-qr { align-self: center; }
  .footer__top { grid-template-columns: 1fr; }
  .sec-head h2 { font-size: 24px; }
  .hero__facts span { height: auto; padding: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
