/* ============================================================
   SiboRui 思博睿科技 · 官网设计系统 v2
   参考 Joomla 商业模板（JoomlArt / JoomlaShine 系）与 WordPress 企业主题：
   大留白 · 克制配色 · 卡片化 · 图片永不放大 · 精致排版
   ============================================================ */

:root {
  --navy: #0b1a33;
  --navy-2: #16294a;
  --blue: #2563eb;
  --blue-ink: #1d4ed8;
  --blue-soft: #eef4ff;
  --cyan: #06b6d4;
  --gold: #f59e0b;
  --ink: #0f172a;
  --body: #475569;
  --muted: #7c8ca1;
  --line: #e6ecf5;
  --line-2: #d8e2f0;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 28px rgba(15, 23, 42, .09);
  --shadow-lg: 0 22px 60px rgba(11, 26, 51, .16);
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --max: 1200px;
  --max-wide: 1320px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(37, 99, 235, .16); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: var(--max-wide); margin: 0 auto; padding: 0 28px; }
.sec { padding: 92px 0; position: relative; }
.sec.tight { padding: 64px 0; }
.sec.compact { padding: 68px 0 24px; }
.sec.compact + .sec { padding-top: 8px; }
.sec.soft { background: var(--bg-soft); }
.sec.line-top { border-top: 1px solid var(--line); }
.center { text-align: center; }

/* ---------- 排版 ---------- */
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 700; line-height: 1.32; letter-spacing: -.015em; }
h1 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 2.9vw, 36px); }
h3 { font-size: clamp(19px, 2vw, 25px); }
h4 { font-size: 17px; }
p { color: var(--body); }
.lead { font-size: 17.5px; color: var(--body); line-height: 1.9; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--blue); border-radius: 2px; }

.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head.center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.sec-head p { margin-top: 16px; font-size: 16.5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 10px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: all .22s ease; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(37, 99, 235, .26); }
.btn-primary:hover { background: var(--blue-ink); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(37, 99, 235, .32); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255, 255, 255, .18); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 8px; }
.btn-link { color: var(--blue); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.btn-link i { font-style: normal; transition: transform .22s; }
.btn-link:hover i { transform: translateX(4px); }

/* ============================================================
   顶部导航
   ============================================================ */
.head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.head.solid {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(15, 23, 42, .06);
}
.head-in {
  max-width: var(--max-wide); margin: 0 auto; padding: 0 28px;
  height: 72px; display: flex; align-items: center; gap: 34px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .3);
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.brand-txt span { font-size: 10.5px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.head:not(.solid) .brand-txt b { color: #fff; }
.head:not(.solid) .brand-txt span { color: rgba(255, 255, 255, .6); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > li { position: relative; }
.nav > li > a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--body); transition: color .2s, background .2s;
}
.head:not(.solid) .nav > li > a { color: rgba(255, 255, 255, .82); }
.nav > li > a:hover { color: var(--blue); background: var(--blue-soft); }
.head:not(.solid) .nav > li > a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav > li.active > a { color: var(--blue); font-weight: 600; }
.head:not(.solid) .nav > li.active > a { color: #fff; }

.sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 208px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: all .22s ease;
}
.nav > li:hover .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--body); }
.sub a:hover { background: var(--blue-soft); color: var(--blue); }
/* 宽版下拉：有三级分组时按大类分列（铸造 / 冲压 / 焊接） */
.sub.wide { min-width: 0; display: flex; gap: 30px; padding: 16px 22px 18px; }
.sub.wide .sg { display: flex; flex-direction: column; min-width: 172px; }
.sub.wide .sg-head {
  display: block; padding: 4px 10px 10px; margin-bottom: 6px;
  font-weight: 700; font-size: 14.5px; color: var(--ink);
  border-bottom: 1px solid var(--line); border-radius: 0;
}
.sub.wide .sg-head:hover { background: none; color: var(--blue); }
/* 子项较多的大类（铸造 11 项）：内部排两列，避免菜单过高 */
.sub.wide .sg.dense { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); align-content: start; }
.sub.wide .sg.dense .sg-head { grid-column: 1 / -1; }

.head-act { display: flex; align-items: center; gap: 10px; flex: none; margin-left: 8px; }
.head-academy {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px;
  border-radius: 8px; font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--line-2); color: var(--ink); background: #fff;
}
.head-academy:hover { border-color: var(--blue); color: var(--blue); }
.head:not(.solid) .head-academy { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
/* 会员入口：比计算器/学院按钮更轻，避免头部四个按钮打架 */
.head-member {
  display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.head-member:hover { color: var(--blue); }
.head:not(.solid) .head-member { color: #fff; }
.head:not(.solid) .head-member:hover { color: #cfe0ff; }

.burger { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .3s; }
.head:not(.solid) .burger span { background: #fff; }

/* 抽屉菜单（移动端） */
.drawer {
  position: fixed; inset: 0; z-index: 95; background: #fff; transform: translateX(100%);
  transition: transform .32s ease; display: flex; flex-direction: column; padding: 20px;
  overflow-y: auto;
}
.drawer.on { transform: none; }
.drawer .dhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer .dhead button { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); padding: 6px 10px; }
.drawer a { display: block; padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
.drawer a.sub-l { padding-left: 22px; font-size: 14.5px; color: var(--body); }
.drawer a.sub-ll { padding-left: 36px; font-size: 13.5px; color: var(--muted); }

/* ============================================================
   Hero（首页）· 纯 CSS 光学质感，不放大低清图
   ============================================================ */
.hero {
  position: relative; background: #081326; color: #fff;
  padding: 148px 0 96px; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(37, 99, 235, .42), transparent 62%),
    radial-gradient(760px 480px at 92% 12%, rgba(6, 182, 212, .3), transparent 60%),
    radial-gradient(600px 400px at 60% 110%, rgba(245, 158, 11, .12), transparent 62%),
    linear-gradient(180deg, #071121 0%, #0b1a33 58%, #0a172c 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(148, 180, 235, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 180, 235, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 78%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 14px;
  border-radius: 99px; font-size: 12.5px; letter-spacing: .08em; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  color: #cfe1ff; margin-bottom: 24px;
}
.hero-kicker b { color: #7dd3fc; font-weight: 700; }
.hero h1 { color: #fff; font-size: clamp(32px, 4vw, 54px); line-height: 1.2; letter-spacing: -.03em; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #60a5fa, #22d3ee 60%, #fbbf24);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: rgba(226, 236, 250, .82); margin-top: 22px; max-width: 560px; font-size: 17px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: rgba(226, 236, 250, .78); }
.hero-points li::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%;
  background: rgba(37, 99, 235, .28); border: 1px solid rgba(96, 165, 250, .55);
  box-shadow: inset 0 0 0 3px rgba(6, 182, 212, .18);
}
.hero-acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-visual { position: relative; }
.hero-shot {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #0e1e36; border: 1px solid rgba(148, 180, 235, .22);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform .6s ease;
}
.hero-shot:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg) translateY(-4px); }
.hero-shot .bar {
  height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(148, 180, 235, .14);
}
.hero-shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.hero-shot .bar span { margin-left: 8px; font-size: 11px; color: rgba(226, 236, 250, .5); font-family: var(--mono); }
.hero-shot img { width: 100%; }
.hero-float {
  position: absolute; left: -26px; bottom: -26px;
  background: rgba(12, 26, 48, .92); border: 1px solid rgba(148, 180, 235, .22);
  border-radius: 14px; padding: 14px 18px; backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38); min-width: 186px;
}
.hero-float b { display: block; font-size: 22px; color: #7dd3fc; font-weight: 800; letter-spacing: -.02em; }
.hero-float span { font-size: 12px; color: rgba(226, 236, 250, .6); }

.hero-marquee { margin-top: 66px; border-top: 1px solid rgba(148, 180, 235, .14); padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 14px 42px; align-items: center; }
.hero-marquee span { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(226, 236, 250, .38); }
.hero-marquee b { font-size: 14px; color: rgba(226, 236, 250, .7); font-weight: 600; }

/* 内页头 */
.phead { position: relative; padding: 132px 0 62px; background: #081326; color: #fff; overflow: hidden; }
.phead::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 10% -20%, rgba(37, 99, 235, .38), transparent 62%),
    radial-gradient(620px 380px at 92% 0%, rgba(6, 182, 212, .24), transparent 60%),
    linear-gradient(180deg, #071121, #0b1a33);
}
.phead::after {
  content: ""; position: absolute; inset: 0; opacity: .38;
  background-image:
    linear-gradient(rgba(148, 180, 235, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 180, 235, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 86%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 86%);
}
.phead .wrap { position: relative; }
.phead h1 { color: #fff; font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -.025em; }
.phead .sub-t { margin-top: 16px; color: rgba(226, 236, 250, .74); font-size: 16.5px; max-width: 780px; }
.crumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(226, 236, 250, .5); margin-bottom: 20px; }
.crumb a:hover { color: #fff; }
.crumb i { font-style: normal; opacity: .5; }

/* 页内锚点导航 */
.anchor-nav {
  position: sticky; top: 72px; z-index: 40;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.anchor-nav .wrap-wide { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.anchor-nav .wrap-wide::-webkit-scrollbar { display: none; }
.anchor-nav a {
  flex: none; padding: 15px 14px; font-size: 14px; font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.anchor-nav a:hover { color: var(--blue); }
.anchor-nav a.on { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }

/* ============================================================
   图文交替 duo
   ============================================================ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.duo + .duo { margin-top: 84px; }
/* 无主图的正文区块：不再留半栏空白，限宽成叙事段 */
.duo.nofig { grid-template-columns: 1fr; }
.duo.nofig .duo-txt { max-width: 860px; }
.sec .wrap > .gallery + .duo,
.sec .wrap > .duo + .gallery,
.sec .wrap > .gallery + .gallery { margin-top: 34px; }
/* 正文区块紧随其说明图组：图文一体，间距收紧 */
.sec .wrap > .duo + .gallery,
.sec .wrap > .shots + .gallery .sec-head { margin-top: 30px; }
.sec .wrap .gallery .sec-head { margin-bottom: 20px; }
.duo.flip .duo-txt { order: 2; }
.duo-txt h2, .duo-txt h3 { margin-bottom: 18px; }
.duo-txt p { font-size: 16px; }
.duo-txt p + p { margin-top: 14px; }
.feats { margin-top: 24px; display: grid; gap: 12px; }
.feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink); line-height: 1.7; }
.feats li::before {
  content: "✓"; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px;
  background: #e8f0ff; color: var(--blue);
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}

/* 图卡：内边距 + 细边 + 柔和阴影；图片 contain 不裁不放大 */
.figure-card {
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.figure-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-2); }
.figure-card img {
  width: 100%; height: auto; max-height: 460px;
  object-fit: contain; border-radius: 12px; background: var(--bg-soft);
  cursor: zoom-in;
}
.figure-card .cap { padding: 10px 4px 2px; font-size: 13px; color: var(--muted); text-align: center; }

/* ============================================================
   图片组 gallery —— 大图叙事：去卡片框、图为主角、图注轻盈
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery.one { grid-template-columns: 1fr; }
.gallery.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gitem {
  position: relative; cursor: zoom-in;
  display: flex; flex-direction: column;
  border-radius: 14px;
  transition: transform .3s ease, filter .3s ease;
}
.gitem:hover { transform: translateY(-3px); }
.gitem .ph { display: grid; place-items: center; flex: 1; border-radius: 14px; overflow: hidden;
  background: #f6f8fb; box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 26px -14px rgba(15, 23, 42, .18);
}
.gitem:hover .ph { box-shadow: 0 2px 4px rgba(15, 23, 42, .08), 0 18px 40px -16px rgba(15, 23, 42, .28); }
.gitem img { width: 100%; height: auto; max-height: 400px; object-fit: contain; display: block; }
.gallery.one .gitem img { max-height: 640px; }
.gallery.two .gitem img { max-height: 520px; }
.gitem.small .ph { background: none; box-shadow: none; }
.gitem.small img { max-width: 300px; max-height: 260px; width: auto; margin: 0 auto; }
.gitem figcaption {
  padding: 9px 4px 0; font-size: 12.5px; color: var(--muted);
  text-align: center; line-height: 1.5;
}
.gitem .zoom-hint {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px;
  border-radius: 8px; background: rgba(11, 26, 51, .62); color: #fff;
  display: grid; place-items: center; font-size: 13px; opacity: 0; transition: opacity .25s;
  backdrop-filter: blur(4px); z-index: 2;
}
.gitem:hover .zoom-hint { opacity: 1; }

/* 折叠：默认露 4 张（2 行），其余隐藏，点按钮展开 */
.gallery.has-more:not(.expanded) .gitem:nth-of-type(n+4) { display: none; }
.gallery-footer { display: flex; justify-content: center; margin-top: 26px; }
.gallery-toggle {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 24px;
  border-radius: 99px; border: 1px solid var(--line-2); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--body); cursor: pointer; transition: .22s;
}
.gallery-toggle:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

/* ============================================================
   卡片网格 / 数据带 / CTA / 步骤
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 28px; transition: .28s; position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card:hover::after { transform: scaleX(1); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 20px; font-weight: 800;
}
.card h3, .card h4 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; line-height: 1.75; }
.card .lnk { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-size: 13.5px; font-weight: 600; color: var(--blue); }

.band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(680px 340px at 10% 0%, rgba(37, 99, 235, .38), transparent 62%),
              radial-gradient(560px 300px at 92% 100%, rgba(6, 182, 212, .22), transparent 62%);
}
.band .wrap { position: relative; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px;
  padding-top: 58px; padding-bottom: 58px; }
.bstat { text-align: center; }
.bstat b { display: block; font-size: 42px; font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(110deg, #93c5fd, #67e8f9 55%, #fcd34d);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.bstat b small { font-size: 20px; }
.bstat span { display: block; margin-top: 4px; font-size: 13.5px; color: rgba(226, 236, 250, .62); }

.cta-band {
  background: linear-gradient(120deg, #0b1a33 0%, #14305c 52%, #0b2a4a 100%);
  color: #fff; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 85% 20%, rgba(6, 182, 212, .25), transparent 60%);
}
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding-top: 62px; padding-bottom: 62px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); }
.cta-band p { color: rgba(226, 236, 250, .72); margin-top: 12px; max-width: 560px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: st; }
.step { padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.step::before {
  counter-increment: st; content: "0" counter(st);
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--blue);
  display: block; margin-bottom: 14px; letter-spacing: .1em;
}
.step h4 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14px; }

/* 正文排版 */
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin: 40px 0 14px; }
.prose h3 { font-size: 20px; margin: 30px 0 12px; }
.prose p { margin-bottom: 16px; font-size: 16.5px; line-height: 1.95; }
.prose ul, .prose ol { margin: 0 0 18px 0; padding-left: 0; }
.prose ul li { position: relative; padding-left: 20px; margin-bottom: 9px; font-size: 16px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--blue); }
.prose ol { counter-reset: o; }
.prose ol li { position: relative; padding-left: 26px; margin-bottom: 9px; counter-increment: o; }
.prose ol li::before { content: counter(o) "."; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.prose strong, .prose b { color: var(--ink); font-weight: 700; }
.prose blockquote { border-left: 3px solid var(--blue); background: var(--blue-soft);
  padding: 16px 22px; border-radius: 0 10px 10px 0; margin: 22px 0; color: var(--ink); }
.prose img { border-radius: var(--r); margin: 24px 0; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }

/* ============================================================
   资讯
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.ncard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; transition: .28s;
}
.ncard:hover { box-shadow: var(--shadow-md); border-color: var(--line-2); transform: translateY(-3px); }
.ncard .cover { aspect-ratio: 16/9; background: linear-gradient(135deg, #eaf1ff, #e6f7ff);
  overflow: hidden; display: grid; place-items: center; }
.ncard .cover img { width: 100%; height: 100%; object-fit: cover; }
.ncard .cover .ph-ico { font-size: 34px; color: rgba(37, 99, 235, .35); font-weight: 800; }
.ncard .nb { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.ncard .tagline { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.ncard .tagline b { color: var(--blue); font-weight: 700; }
.ncard h3 { font-size: 17.5px; line-height: 1.5; margin-bottom: 10px; }
.ncard p { font-size: 14px; color: var(--body); flex: 1; line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard .mf { margin-top: 16px; font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; }
.ncard.feature { grid-column: span 2; flex-direction: row; }
.ncard.feature .cover { aspect-ratio: auto; width: 46%; flex: none; }
.ncard.feature .nb { padding: 32px; }
.ncard.feature h3 { font-size: 22px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; align-items: center; }
.filter-bar a {
  padding: 9px 18px; border-radius: 99px; font-size: 14px; font-weight: 500;
  color: var(--body); border: 1px solid var(--line); background: #fff; transition: .2s;
}
.filter-bar a:hover { border-color: var(--blue); color: var(--blue); }
.filter-bar a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter-bar a small { opacity: .6; margin-left: 4px; }
.search-in { margin-left: auto; display: flex; gap: 8px; }
.search-in input {
  height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line);
  background: #fff; font-size: 14px; width: 200px; outline: none;
}
.search-in input:focus { border-color: var(--blue); }

/* 留言表单 */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid .full { grid-column: span 2; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: 10px; background: #fff;
  padding: 13px 15px; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}
.field textarea { min-height: 130px; resize: vertical; }

/* ============================================================
   页脚
   ============================================================ */
.foot { background: #071121; color: rgba(226, 236, 250, .68); padding: 72px 0 0; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.foot h5 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; margin-bottom: 18px; }
.foot a { color: rgba(226, 236, 250, .68); font-size: 14px; }
.foot a:hover { color: #fff; }
.foot li { margin-bottom: 11px; }
.foot .fbrand { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.foot .fbrand b { color: #fff; font-size: 18px; font-weight: 800; }
.foot p { color: rgba(226, 236, 250, .58); font-size: 13.5px; line-height: 1.85; }
.foot-bottom {
  border-top: 1px solid rgba(148, 180, 235, .14); padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(226, 236, 250, .46);
}
.foot-bottom .links { display: flex; gap: 20px; }
.ai-note { font-size: 12.5px; color: rgba(226, 236, 250, .4); }

/* ============================================================
   Lightbox
   ============================================================ */
.lb {
  position: fixed; inset: 0; z-index: 999; background: rgba(6, 12, 24, .94);
  display: none; align-items: center; justify-content: center; padding: 48px;
  backdrop-filter: blur(6px);
}
.lb.on { display: flex; }
.lb img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6); background: #fff; }
.lb .cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center;
  color: rgba(255, 255, 255, .8); font-size: 14px; }
.lb .nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08);
  color: #fff; font-size: 20px; cursor: pointer; display: grid; place-items: center;
}
.lb .nav-btn:hover { background: rgba(255, 255, 255, .18); }
.lb .prev { left: 26px; }
.lb .next { right: 26px; }
.lb .close { position: absolute; top: 22px; right: 26px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff;
  font-size: 20px; cursor: pointer; }
.lb .count { position: absolute; top: 28px; left: 30px; font-size: 13px;
  color: rgba(255, 255, 255, .55); font-family: var(--mono); }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }


/* ============================================================
   会员中心（前台 /member/）
   —— 与后台不同，这里面向客户：大留白、弱边框、一屏能看完
   ============================================================ */
.mem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 26px; align-items: start; }
.mem-col { display: flex; flex-direction: column; gap: 22px; }
.mcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.mcard h3 {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 14px;
}
.mkv { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.mkv:last-of-type { border-bottom: 0; }
.mkv span { color: var(--muted); flex: none; }
.mkv b { color: var(--ink); font-weight: 600; text-align: right; word-break: break-all; }
.mrow-acts { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.mcourse { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.mcourse:last-of-type { border-bottom: 0; }
.mc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.mc-top a { color: var(--ink); font-weight: 600; }
.mc-top a:hover { color: var(--blue); }
.mprog { height: 6px; background: #eef2f8; border-radius: 99px; overflow: hidden; margin-top: 9px; }
.mprog i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.mpill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--blue-soft); color: var(--blue); white-space: nowrap; }
.mpill.vip { background: #fff7e6; color: #a16207; }
.mtable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mtable th { font-size: 12px; color: var(--muted); font-weight: 600; text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.mtable td { padding: 10px 6px; border-bottom: 1px solid var(--line); color: var(--body); }
.mtable tr:last-child td { border-bottom: 0; }
.mnum { text-align: right; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }
.mtime { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.mquick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mquick a {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: #fbfdff; transition: .18s;
}
.mquick a:hover { border-color: var(--blue); background: #fff; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.mquick b { font-size: 14px; color: var(--ink); }
.mquick span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.mtip { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin-top: 16px; }
.muted-t { font-size: 14px; color: var(--muted); line-height: 1.85; }
.mlogin {
  max-width: 430px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 34px 26px; box-shadow: var(--shadow-md);
}
.mnote { padding: 11px 14px; border-radius: var(--r-sm); font-size: 13.5px; line-height: 1.7; margin-bottom: 16px; }
.mnote.err { background: #fef2f2; color: #b91c1c; border: 1px solid #f5c2c2; }
.mfoot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.mfoot a { color: var(--blue); font-weight: 600; }

/* SSO：学院账号一键登录 */
.sso-btn { display: block; width: 100%; text-align: center; padding: 13px 18px; font-size: 15px; }
.sso-tip { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin: 10px 0 0; text-align: center; }
.sso-or { position: relative; text-align: center; margin: 22px 0 18px; }
.sso-or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.sso-or span { position: relative; padding: 0 12px; background: #fff; font-size: 12.5px; color: var(--muted); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-shot { transform: none; }
  .hero-float { left: auto; right: 12px; bottom: -18px; }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .ncard.feature { grid-column: span 2; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .head-member { display: none; }
  .mem-grid { grid-template-columns: 1fr; }
  .mquick { grid-template-columns: 1fr; }
  .burger { display: block; margin-left: auto; }
  .head-act .head-academy { display: none; }
  .sec { padding: 64px 0; }
  .duo { grid-template-columns: 1fr; gap: 32px; }
  .duo.flip .duo-txt { order: 0; }
  .duo + .duo { margin-top: 56px; }
  .gallery, .gallery.three { grid-template-columns: 1fr; }
  .cards, .cards.two, .cards.four { grid-template-columns: 1fr; }
  .band .wrap { grid-template-columns: repeat(2, 1fr); gap: 30px; padding-top: 44px; padding-bottom: 44px; }
  .news-grid { grid-template-columns: 1fr; }
  .ncard.feature { grid-column: span 1; flex-direction: column; }
  .ncard.feature .cover { width: 100%; aspect-ratio: 16/9; }
  .hero { padding: 116px 0 72px; }
  .phead { padding: 108px 0 48px; }
  .anchor-nav { top: 64px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .search-in { margin-left: 0; width: 100%; }
  .search-in input { flex: 1; width: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: span 1; }
}
@media (max-width: 560px) {
  .wrap, .wrap-wide { padding: 0 18px; }
  .steps { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .band .wrap { grid-template-columns: 1fr; }
  .gitem img { max-height: 320px; }
  .lb { padding: 16px; }
  .lb .prev { left: 8px; } .lb .next { right: 8px; }
}
