/* ==========================================================================
   泉江科技 · 智慧课程与精品课程建设 专题站
   ========================================================================== */
:root {
  --navy: #0e2a4e; --brand: #1a4d8f; --blue: #3e7bd6; --sky: #9ec4ee;
  --light: #eef4fb; --light2: #f7fafd; --line: #d5e3f5;
  --gold: #e8a33d; --gold2: #c88624; --text: #24303e; --gray: #5f6e82; --lgray: #8a97a8;
  --white: #fff; --green: #2e7d6b; --purple: #7a4e9e;
  --shadow: 0 6px 24px rgba(14,42,78,.10); --shadow-lg: 0 16px 44px rgba(14,42,78,.16);
  --radius: 14px;
  --font: "Microsoft YaHei","PingFang SC","Helvetica Neue",Arial,sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* ---------------- 顶部导航 ---------------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 16px; letter-spacing: .3px; white-space: nowrap; }
.brand i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--blue)); display: inline-block; }
.brand small { display: block; font-size: 9px; color: var(--lgray); font-weight: 600; letter-spacing: 1.6px; }
.nav-links { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.nav-links a { font-size: 13.5px; color: var(--gray); font-weight: 600; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.on { color: var(--brand); border-bottom-color: var(--gold); }
.nav .cta { font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), var(--blue)); padding: 8px 16px; border-radius: 999px; white-space: nowrap; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #081b33 0%, #123a68 55%, #1a4d8f 100%); padding: 78px 0 84px; }
.hero::after { content: ""; position: absolute; right: -140px; top: -170px; width: 560px; height: 560px; border-radius: 50%; background: rgba(158,196,238,.10); }
.hero::before { content: ""; position: absolute; right: 120px; bottom: -220px; width: 420px; height: 420px; border-radius: 50%; background: rgba(158,196,238,.07); }
.hero .container { position: relative; z-index: 2; }
.kicker { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 2px; color: #cfe1f7; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); padding: 6px 16px; border-radius: 999px; }
.hero h1 { font-size: 46px; line-height: 1.22; margin: 20px 0 14px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 15.5px; color: #c7dbf2; max-width: 780px; }
.hero .rule { width: 76px; height: 4px; border-radius: 2px; background: var(--gold); margin: 24px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip { font-size: 12.5px; color: #dbe8f7; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); padding: 6px 13px; border-radius: 999px; }
.chip b { color: #fff; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent; transition: .25s; cursor: pointer; }
.btn-primary { background: var(--gold); color: #241503; }
.btn-primary:hover { background: #f2b558; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--line); box-shadow: var(--shadow); }
.btn-outline:hover { border-color: var(--brand); transform: translateY(-2px); }
.src-note { margin-top: 22px; font-size: 11.5px; color: #a8c3e2; }

/* ---------------- 通用区块 ---------------- */
section.block { padding: 68px 0; }
section.block.alt { background: var(--light2); }
.head { max-width: 860px; margin-bottom: 34px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 2px; color: var(--brand); background: var(--light); padding: 5px 14px; border-radius: 999px; margin-bottom: 12px; }
.head h2 { font-size: 30px; line-height: 1.35; color: var(--navy); letter-spacing: -.3px; }
.head h2 em { font-style: normal; color: var(--gold2); }
.head p { color: var(--gray); font-size: 14px; margin-top: 10px; }
.sub { font-size: 14px; font-weight: 800; color: var(--navy); margin: 30px 0 14px; padding-left: 12px; border-left: 4px solid var(--gold); }

/* ---------------- 卡片/网格 ---------------- */
.grid { display: grid; gap: 16px; }
.g5 { grid-template-columns: repeat(5, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: .28s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7dbf5; }
.card .k { font-size: 12px; font-weight: 800; letter-spacing: .5px; color: #fff; background: var(--brand); display: inline-block; padding: 4px 11px; border-radius: 999px; margin-bottom: 10px; }
.card h3 { font-size: 15.5px; color: var(--navy); margin-bottom: 8px; }
.card p { font-size: 12.8px; color: var(--gray); }
.card ul { list-style: none; margin-top: 10px; display: grid; gap: 7px; }
.card ul li { position: relative; padding-left: 15px; font-size: 12.6px; color: var(--gray); }
.card ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.card.gold { background: linear-gradient(160deg, #fff, #fffaf2); border-color: #f3e2c6; }
.card.dark { background: linear-gradient(150deg, #0e2a4e, #1a4d8f); border-color: transparent; color: #e9f2fc; }
.card.dark h3 { color: #fff; }
.card.dark p, .card.dark li { color: #c7dbf2; }

/* 五要素横条 */
.five { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.five .item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.five .item .top { padding: 12px 10px; text-align: center; color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .5px; }
.five .item .bd { padding: 12px 14px 16px; }
.five .item .bd b { display: block; font-size: 12px; color: var(--gold2); margin-bottom: 6px; }
.five .item .bd p { font-size: 12.2px; color: var(--gray); }

/* 四链映射 */
.chains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.chain { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.chain .t { padding: 12px; text-align: center; color: #fff; font-weight: 800; font-size: 14.5px; }
.chain .b { padding: 14px; }
.chain .b p { font-size: 12.5px; color: var(--gray); }
.chain .b .q { margin-top: 10px; font-size: 12px; color: var(--lgray); }
.chain .b .o { margin-top: 8px; font-size: 12.5px; font-weight: 800; }
.chain:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); color: var(--sky); font-size: 18px; font-weight: 800; z-index: 3; }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); position: relative; }
.step .no { font-size: 11.5px; font-weight: 800; color: var(--brand); background: var(--light); display: inline-block; padding: 3px 9px; border-radius: 999px; margin-bottom: 8px; }
.step h4 { font-size: 13.5px; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 12px; color: var(--gray); }
.step .out { margin-top: 8px; font-size: 11.8px; font-weight: 800; color: var(--gold2); }

/* 分层架构 */
.layers { display: grid; gap: 10px; }
.layer { display: grid; grid-template-columns: 118px 1fr; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.layer .l { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 13.5px; padding: 14px 8px; text-align: center; }
.layer .r { padding: 12px 16px; font-size: 12.8px; color: var(--gray); align-self: center; }
.base-band { margin-top: 12px; background: linear-gradient(135deg, var(--navy), var(--brand)); color: #fff; border-radius: 12px; padding: 14px 20px; font-size: 13px; }
.base-band b { color: var(--gold); }

/* 表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 12.8px; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid #edf3fa; vertical-align: top; }
th { background: var(--navy); color: #fff; font-size: 12.3px; font-weight: 700; white-space: nowrap; }
tbody tr:nth-child(even) { background: var(--light2); }
tbody tr:last-child td { border-bottom: none; }
td b { color: var(--navy); }

/* 时间轴 */
.timeline { display: grid; gap: 10px; }
.tl { display: grid; grid-template-columns: 210px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.tl .nm { font-size: 13.5px; font-weight: 800; color: var(--navy); }
.tl .nm small { display: block; font-size: 11.5px; color: var(--lgray); font-weight: 600; margin-top: 2px; }
.track { position: relative; height: 34px; border-radius: 9px; background: #eef4fb; display: flex; align-items: center; padding: 0 14px; overflow: hidden; }
.track .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; opacity: .18; }
.track .lb { position: relative; font-size: 12.4px; font-weight: 800; color: var(--navy); }

/* 图文块 */
.figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.figure img { width: 100%; }
.figure figcaption { font-size: 11.8px; color: var(--lgray); padding: 10px 14px; border-top: 1px solid #eef2f7; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; }

/* 指标条 */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); border-left: 4px solid var(--gold); }
.metric b { display: block; font-size: 24px; color: var(--navy); letter-spacing: -.5px; }
.metric b span { font-size: 12px; color: var(--gray); font-weight: 700; margin-left: 4px; }
.metric p { font-size: 12px; color: var(--gray); margin-top: 4px; }

/* CTA 区 */
.cta-band { background: linear-gradient(135deg, #081b33, #173f6e); color: #fff; padding: 58px 0; text-align: center; }
.cta-band h2 { font-size: 27px; margin-bottom: 10px; }
.cta-band p { color: #bcd4ee; font-size: 14px; margin-bottom: 24px; }
.cta-band .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 联系 */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.mgr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mgr { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mgr span { font-size: 11.5px; color: var(--lgray); display: block; }
.mgr b { font-size: 14px; color: var(--navy); letter-spacing: .4px; }

/* 页脚 */
footer { background: #08192e; color: #9fb6cf; padding: 44px 0 26px; font-size: 12.8px; }
footer .fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; margin-bottom: 24px; }
footer h4 { color: #fff; font-size: 13.5px; margin-bottom: 10px; }
footer a { color: #bcd4ee; }
footer a:hover { color: #fff; }
footer ul { list-style: none; display: grid; gap: 7px; }
footer .cp { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; text-align: center; font-size: 12px; color: #7d95b0; }
footer .cp a { color: inherit; }
footer .cp a:hover { color: #fff; text-decoration: underline; }
.top { position: fixed; right: 22px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); font-size: 16px; z-index: 40; }

/* 进场动画 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }


/* ---------------- 子页页头 ---------------- */
.page-hero { background: linear-gradient(135deg, #081b33 0%, #123a68 60%, #1a4d8f 100%); color: #fff; padding: 52px 0 46px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: rgba(158,196,238,.09); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 33px; line-height: 1.32; letter-spacing: -.4px; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { color: #bcd4ee; font-size: 14px; margin-top: 12px; max-width: 840px; }
.crumb { font-size: 12px; color: #8fb0d4; margin-bottom: 14px; }
.crumb a { color: #bcd4ee; }
.crumb a:hover { color: #fff; }

/* ---------------- 入口卡 ---------------- */
.link-card { display: block; color: inherit; }
.link-card h3 { font-size: 15.5px; }
.link-card .more { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 800; color: var(--gold2); }
.link-card:hover .more { color: var(--brand); }

/* ---------------- 动态数字 / 进度 ---------------- */
.count { font-variant-numeric: tabular-nums; }
.track .fill { transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }

@media (max-width: 640px) { .page-hero { padding: 38px 0 34px; } .page-hero h1 { font-size: 23px; } }

@media (max-width: 1024px) {
  .g5, .five, .steps { grid-template-columns: repeat(2, 1fr); }
  .g4, .metrics { grid-template-columns: repeat(2, 1fr); }
  .chains { grid-template-columns: repeat(2, 1fr); }
  .chain:not(:last-child)::after { display: none; }
  .split, .contact { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .g3, .g2, .g5, .five, .steps, .g4, .metrics, .chains, .mgr-grid { grid-template-columns: 1fr; }
  section.block { padding: 46px 0; }
  .head h2 { font-size: 23px; }
  .hero { padding: 54px 0 58px; }
  .hero h1 { font-size: 27px; }
  .tl { grid-template-columns: 1fr; }
  footer .fgrid { grid-template-columns: 1fr; }
}
