/* 郑州学业规划网 —— 参考 forum.zzysjy.cn 的配色与组件风格 */
:root {
  --navy-950: #052242;
  --navy-900: #14496e;
  --navy-800: #1a5c8a;
  --blue-500: #3498db;
  --blue-600: #2980b9;
  --blue-700: #1f6ea5;
  --blue-50: #ebf5fb;
  --blue-100: #d6eaf8;
  --blue-200: #add5f1;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-600: #b45309;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --zinc-900: #18181b;
  --zinc-700: #3f3f46;
  --zinc-500: #71717a;
  --zinc-400: #a1a1aa;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(5, 34, 66, .08), 0 4px 14px rgba(5, 34, 66, .05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--slate-50);
  color: var(--zinc-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.wrap { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 16px; }

/* 顶栏：深海军蓝，和参考站一致 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-950);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 56px;
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}
.brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(52, 152, 219, .35);
}
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-text { color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .04em; white-space: nowrap; }
.brand-text small { display: block; font-size: 10px; font-weight: 400; color: var(--blue-200); letter-spacing: .16em; line-height: 1; margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 20px; }
.nav-link { color: var(--blue-100); font-size: 14px; transition: color .2s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active { font-weight: 600; }
.header-search { display: flex; align-items: center; position: relative; margin-left: auto; }
.header-search input {
  width: 190px; border: 0; border-radius: 9px; background: #fff;
  padding: 7px 12px 7px 32px; font-size: 13px; color: var(--zinc-900); outline: none;
}
.header-search input::placeholder { color: var(--zinc-400); }
.header-search .search-icon { position: absolute; left: 10px; font-size: 13px; color: var(--zinc-400); pointer-events: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-register {
  border-radius: 9px; padding: 7px 14px; font-size: 13px; font-weight: 600;
  background: var(--blue-500); color: #fff; transition: background .2s; white-space: nowrap;
}
.btn-register:hover { background: #4aa9e0; }
.menu-toggle { display: none; background: transparent; border: 0; color: var(--blue-100); font-size: 22px; padding: 4px 8px; }

/* 滚动公告条 */
.notice-bar { overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.1); background: var(--navy-900); }
.notice-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.notice-track span { flex-shrink: 0; padding: 5px 28px; font-size: 12px; color: var(--amber-200); white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 首屏大图 */
.hero {
  margin-top: 24px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(120deg, #0a2540 0%, #155e75 58%, #a16207 130%);
  padding: 48px 24px 44px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border: 1px solid rgba(253, 230, 138, .16); border-radius: 50%;
  width: 320px; height: 320px; top: -190px; right: -70px;
}
.hero::after { width: 220px; height: 220px; top: auto; bottom: -140px; right: auto; left: -60px; }
.hero-eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .5em; color: var(--amber-200); }
.hero-title { margin: 16px 0 0; font-size: clamp(28px, 5vw, 46px); letter-spacing: .08em; font-weight: 800; }
.hero-line { width: 88px; height: 1px; margin: 18px auto 14px; background: rgba(252, 211, 77, .8); }
.hero-sub { margin: 0; font-size: 15px; color: #e6f2fa; letter-spacing: .05em; }
.hero-badges { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-badges span {
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  padding: 3px 13px; font-size: 12px; color: #fff; background: rgba(255,255,255,.08);
}

/* 欢迎条 */
.welcome {
  margin-top: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border: 1px solid var(--blue-100); border-radius: var(--radius);
  background: var(--blue-50); padding: 16px 20px;
}
.welcome-icon { font-size: 28px; }
.welcome-body { min-width: 0; }
.welcome-title { margin: 0; font-weight: 700; color: var(--navy-900); }
.welcome-sub { margin: 1px 0 0; font-size: 13px; color: var(--blue-700); }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 9px; padding: 8px 15px; font-size: 13px; font-weight: 600; transition: .2s;
}
.btn-primary { background: var(--blue-600); color: #fff; border: 1px solid var(--blue-600); }
.btn-primary:hover { background: var(--blue-700); }
.btn-ghost { background: transparent; color: var(--navy-900); border: 1px solid var(--blue-200); }
.btn-ghost:hover { background: var(--blue-100); }

/* 通用区块标题 */
.main-content { flex: 1; padding-bottom: 56px; }
.section { margin-top: 36px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-title { margin: 0; font-size: 19px; font-weight: 800; color: var(--zinc-900); display: flex; align-items: center; gap: 9px; }
.section-title::before { content: ""; width: 4px; height: 19px; border-radius: 4px; background: var(--blue-500); }
.section-sub { margin: 3px 0 0 13px; font-size: 13px; color: var(--zinc-500); }
.section-more { font-size: 13px; color: var(--blue-600); white-space: nowrap; }
.section-more:hover { text-decoration: underline; }

/* 四大版块卡片（仿论坛版块列表） */
.stage-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stage-card {
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--slate-200); border-radius: var(--radius);
  background: #fff; padding: 18px; box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.stage-card:hover { transform: translateY(-3px); border-color: var(--blue-200); box-shadow: 0 8px 22px rgba(5,34,66,.11); }
.stage-card:nth-child(4) { background: linear-gradient(150deg, #fff, var(--blue-50)); }
.stage-emoji {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--blue-50); font-size: 21px;
}
.stage-title { margin: 0; font-size: 16px; font-weight: 700; color: var(--zinc-900); }
.stage-desc { margin: 0; font-size: 13px; color: var(--zinc-500); min-height: 44px; }
.stage-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.pill { border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 600; background: var(--blue-50); color: var(--blue-700); white-space: nowrap; }
.pill-amber { background: var(--amber-100); color: var(--amber-600); }
.stage-go { font-size: 12px; color: var(--blue-600); font-weight: 600; white-space: nowrap; }

/* 时间轴总览 */
.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.roadmap-item { position: relative; border: 1px solid var(--slate-200); border-radius: var(--radius); background: #fff; padding: 16px; box-shadow: var(--shadow); }
.roadmap-item::after { content: "→"; position: absolute; right: -13px; top: 42%; z-index: 2; color: var(--blue-500); font-weight: 700; }
.roadmap-item:last-child::after { display: none; }
.roadmap-step { font-size: 11px; font-weight: 700; color: var(--blue-600); letter-spacing: .1em; }
.roadmap-title { margin: 4px 0 5px; font-size: 15px; font-weight: 700; }
.roadmap-text { margin: 0; font-size: 12.5px; color: var(--zinc-500); }
.roadmap-key { display: block; margin-bottom: 3px; font-size: 13px; color: var(--blue-700); }

/* 要闻列表（仿论坛帖子列表） */
.news-list { border: 1px solid var(--slate-200); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.news-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--slate-100); transition: background .2s; }
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: var(--blue-50); }
.news-tag { flex-shrink: 0; border-radius: 6px; background: var(--blue-50); color: var(--blue-700); font-size: 11px; padding: 2px 8px; }
.news-title { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-meta { flex-shrink: 0; font-size: 12px; color: var(--zinc-400); }

/* 各升学阶段 */
.stage-section { margin-top: 40px; scroll-margin-top: 76px; }
.stage-banner {
  border-radius: 16px; overflow: hidden; color: #fff;
  background: linear-gradient(115deg, var(--navy-950), var(--navy-900) 55%, var(--blue-700));
  padding: 20px 22px; display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow);
}
.stage-banner.gaokao { background: linear-gradient(115deg, #0a2540, #155e75 60%, #a16207); }
.stage-icon { font-size: 32px; flex-shrink: 0; }
.stage-banner h2 { margin: 0; font-size: 21px; font-weight: 800; }
.stage-banner p { margin: 3px 0 0; font-size: 13px; color: var(--blue-100); }
.stage-scope { margin-left: auto; flex-shrink: 0; border: 1px solid rgba(253,230,138,.6); color: var(--amber-200); border-radius: 999px; padding: 4px 12px; font-size: 12px; }

.tabs { display: flex; gap: 4px; overflow-x: auto; margin-top: 14px; border: 1px solid var(--slate-200); border-radius: 12px; background: #fff; padding: 5px; box-shadow: var(--shadow); }
.tab-btn { flex: 1; min-width: 88px; border: 0; border-radius: 8px; background: transparent; color: var(--zinc-500); font-size: 14px; font-weight: 600; padding: 9px 12px; white-space: nowrap; transition: .2s; }
.tab-btn:hover { background: var(--blue-50); color: var(--blue-700); }
.tab-btn.active { background: var(--blue-600); color: #fff; box-shadow: 0 2px 8px rgba(41,128,185,.25); }
.tab-panel { margin-top: 14px; }
.tab-panel[hidden] { display: none; }
.tab-panel.flash { animation: flashPanel 1.4s ease-out; }
@keyframes flashPanel {
  0% { box-shadow: 0 0 0 3px rgba(52, 152, 219, .55); border-radius: 14px; }
  100% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); border-radius: 14px; }
}
.panel-intro { margin: 0 0 14px; font-size: 13.5px; color: var(--zinc-500); }

/* 信息卡片 */
.panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.panel-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card { border: 1px solid var(--slate-200); border-radius: var(--radius); background: #fff; padding: 17px 18px; box-shadow: var(--shadow); }
.info-card h4 { margin: 0 0 8px; font-size: 15px; color: var(--navy-900); display: flex; align-items: center; gap: 7px; }
.info-card p { margin: 0; font-size: 13.5px; color: var(--zinc-700); }
.info-card p + p { margin-top: 8px; }
.info-card ul { margin: 6px 0 0; padding-left: 19px; font-size: 13.5px; color: var(--zinc-700); }
.info-card li + li { margin-top: 4px; }
.info-card.wide { grid-column: 1 / -1; }
.info-card .mini-tag { font-size: 11px; font-weight: 600; border-radius: 5px; padding: 1px 7px; background: var(--blue-50); color: var(--blue-700); }
.info-card .mini-tag.amber { background: var(--amber-100); color: var(--amber-600); }

.callout { border-radius: var(--radius); padding: 14px 17px; margin-bottom: 14px; font-size: 13.5px; border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--navy-900); }
.callout.warn { border-color: #fcd34d; background: #fffbeb; color: #78350f; }
.callout strong { display: block; margin-bottom: 3px; }

/* 规划时间线 */
.timeline { border-left: 2px solid var(--blue-100); margin-left: 8px; padding-left: 22px; }
.timeline-item { position: relative; padding-bottom: 18px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--blue-500); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue-200);
}
.time-label { display: inline-block; font-size: 11px; font-weight: 700; color: var(--blue-700); background: var(--blue-50); border-radius: 5px; padding: 1px 8px; }
.time-title { margin: 5px 0 3px; font-size: 15px; font-weight: 700; }
.time-desc { margin: 0; font-size: 13.5px; color: var(--zinc-700); }

/* 榜单表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--slate-200); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 13.5px; }
.data-table th { background: var(--navy-950); color: #fff; text-align: left; font-weight: 600; padding: 10px 14px; white-space: nowrap; }
.data-table td { padding: 10px 14px; border-bottom: 1px solid var(--slate-100); color: var(--zinc-700); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:nth-child(even) { background: #fbfdff; }
.data-table tbody tr:hover { background: var(--blue-50); }
.rank-badge { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--slate-100); color: var(--zinc-700); font-size: 12px; font-weight: 700; }
.rank-badge.top { background: var(--amber-100); color: var(--amber-600); }
.data-table .score { color: #c2410c; font-weight: 700; white-space: nowrap; }

/* 按区查校：筛选条 + 名录表格 */
.area-filter { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.area-chip { border: 1px solid var(--slate-200); background: #fff; color: var(--zinc-700); border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all .18s; font-family: inherit; }
.area-chip:hover { border-color: var(--blue-300); color: var(--blue-700); background: var(--blue-50); }
.area-chip.active { background: var(--navy-950); color: #fff; border-color: var(--navy-950); box-shadow: 0 2px 6px rgba(5,34,66,.18); }
.area-search-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.area-search { flex: 1; min-width: 220px; max-width: 420px; border: 1px solid var(--slate-200); border-radius: 8px; padding: 9px 13px; font-size: 13px; color: var(--zinc-700); font-family: inherit; background: #fff; }
.area-search:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(52,152,219,.12); }
.area-count { font-size: 12px; color: var(--zinc-500); }
.area-count b { color: var(--blue-700); font-weight: 700; }
.area-table { min-width: 560px; }
.area-table td:first-child { font-weight: 600; color: var(--navy-900); }
.area-table .type-pill { display: inline-block; border-radius: 5px; padding: 1px 8px; font-size: 11px; font-weight: 600; background: var(--blue-50); color: var(--blue-700); white-space: nowrap; }
.area-table .type-pill.minban { background: #fef3c7; color: #92400e; }
.area-table .tier-pill { display: inline-block; border-radius: 5px; padding: 1px 8px; font-size: 11px; font-weight: 600; margin-right: 6px; background: var(--slate-100); color: var(--zinc-600); }
.area-table .tier-pill.t1 { background: #fee2e2; color: #b91c1c; }
.area-table .tier-pill.t2 { background: var(--blue-50); color: var(--blue-700); }
.area-table .note-text { font-size: 12px; color: var(--zinc-500); }
.area-empty { padding: 22px; text-align: center; color: var(--zinc-500); font-size: 13px; }
.area-more { display: block; width: 100%; border: 0; border-top: 1px dashed var(--slate-200); background: #fbfdff; color: var(--blue-700); font-size: 12.5px; font-weight: 600; padding: 11px; cursor: pointer; font-family: inherit; }
.area-more:hover { background: var(--blue-50); }

/* 学校名片 */
.school-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.school-card { border: 1px solid var(--slate-200); border-radius: var(--radius); background: #fff; padding: 16px; box-shadow: var(--shadow); transition: border-color .2s, transform .2s; }
.school-card:hover { border-color: var(--blue-200); transform: translateY(-2px); }
.school-head { display: flex; align-items: center; gap: 9px; }
.school-badge { width: 34px; height: 34px; border-radius: 9px; background: var(--blue-50); display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
.school-name { margin: 0; font-size: 14.5px; font-weight: 700; }
.school-region { font-size: 11px; color: var(--zinc-400); }
.school-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 7px; }
.school-desc { margin: 0; font-size: 13px; color: var(--zinc-700); }
.school-foot { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--slate-200); font-size: 12px; color: var(--blue-700); }

/* 分配生专用模块 */
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.step-card { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 13px; box-shadow: var(--shadow); }
.step-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-600); color: #fff; font-size: 12px; font-weight: 700; }
.step-title { margin: 7px 0 3px; font-size: 13.5px; font-weight: 700; }
.step-desc { margin: 0; font-size: 12.5px; color: var(--zinc-500); }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--blue-700); border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.chip.plain { border-color: var(--slate-200); background: #fff; color: var(--zinc-700); }

/* 资料来源 */
.source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.source-item { display: flex; align-items: center; gap: 8px; border: 1px solid var(--slate-200); border-radius: 10px; background: #fff; padding: 10px 13px; font-size: 13px; transition: border-color .2s; }
.source-item:hover { border-color: var(--blue-200); }
.source-item .src-icon { font-size: 15px; }
.source-item span:last-child { color: var(--blue-600); margin-left: auto; font-size: 12px; white-space: nowrap; }

/* 页脚 */
.site-footer { border-top: 1px solid var(--slate-200); background: #fff; padding: 22px 0 28px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: flex-start; }
.footer-inner p { margin: 0; font-size: 12px; color: var(--zinc-500); max-width: 720px; }
.footer-brand { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy-900); font-size: 14px; }
.footer-logo { width: 22px; height: 22px; object-fit: contain; }

/* 会员专享 · 智能工具 */
.member-section { margin-top: 4px; }
.btn-gold {
  background: linear-gradient(135deg, #b8860b, #a16207);
  color: #fff; border: 1px solid #a16207; box-shadow: 0 2px 8px rgba(161,98,7,.25);
}
.btn-gold:hover { background: linear-gradient(135deg, #c9970f, #b4700a); }
.member-banner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border: 1px solid #f0dca8; background: linear-gradient(115deg, #fffdf6, #fff8e6);
  border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px;
}
.member-banner-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(135deg, #fde68a, #f5c451); box-shadow: 0 2px 8px rgba(161,98,7,.18);
}
.member-banner-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.member-banner-body strong { font-size: 15px; color: #7c5306; }
.member-banner-body span { font-size: 12.5px; color: #8a6d25; }
.member-badge {
  margin-left: auto; flex-shrink: 0; font-size: 12px; font-weight: 700;
  border-radius: 999px; padding: 5px 13px;
  background: #fde68a; color: #7c5306; border: 1px solid #f2cd6a;
}
.member-badge.active { background: #e0f2fe; color: var(--blue-700); border-color: var(--blue-200); }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tool-card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  border: 1px solid var(--slate-200); border-radius: var(--radius); background: #fff;
  padding: 18px 16px 15px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tool-card:hover { transform: translateY(-3px); border-color: #e3c56a; box-shadow: 0 8px 22px rgba(161,98,7,.14); }
.tool-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.tool-icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 22px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
}
.tool-lock { font-size: 15px; opacity: .9; }
.tool-card.unlocked .tool-lock { display: none; }
.tool-card.unlocked .tool-icon { background: #fff7e0; border-color: #f2d98a; }
.tool-name { margin: 0 0 6px; font-size: 15px; color: var(--navy-950); }
.tool-desc { margin: 0 0 14px; font-size: 12.5px; color: var(--zinc-500); line-height: 1.6; flex: 1; }
.tool-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.tool-scope { font-size: 11px; color: var(--zinc-500); background: var(--slate-100); border-radius: 5px; padding: 2px 8px; }
.tool-cta { font-size: 12px; font-weight: 700; color: #a16207; }
.member-footnote { margin: 14px 0 0; font-size: 12px; color: var(--zinc-500); }

/* 弹窗 */
.modal-overlay[hidden] { display: none; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(5,34,66,.55); padding: 20px; overflow-y: auto;
}
.modal {
  position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: 18px; padding: 30px 28px 26px;
  box-shadow: 0 24px 60px rgba(5,34,66,.35);
}
.modal-wide { max-width: 720px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border: 0;
  border-radius: 8px; background: var(--slate-100); color: var(--zinc-500); font-size: 14px;
}
.modal-close:hover { background: var(--slate-200); color: var(--zinc-900); }
.modal-head { text-align: center; margin-bottom: 20px; }
.modal-head-icon { font-size: 38px; display: block; margin-bottom: 6px; }
.modal-head h3 { margin: 0 0 6px; font-size: 20px; color: var(--navy-950); }
.modal-head p { margin: 0; font-size: 13px; color: var(--zinc-500); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.plan-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 2px solid var(--slate-200); border-radius: 12px; background: #fff; padding: 16px 8px 14px;
  transition: border-color .15s, background .15s;
}
.plan-card:hover { border-color: #e3c56a; }
.plan-card.selected { border-color: #c9970f; background: #fffdf5; box-shadow: 0 2px 10px rgba(161,98,7,.12); }
.plan-card.recommended { border-color: #e8cd7a; }
.plan-tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg,#c9970f,#a16207); color: #fff; font-size: 10px; font-weight: 700;
  border-radius: 999px; padding: 2px 10px; white-space: nowrap;
}
.plan-name { font-size: 13px; color: var(--zinc-700); font-weight: 600; }
.plan-price { font-size: 27px; font-weight: 800; color: #a16207; line-height: 1.1; }
.plan-price small { font-size: 14px; font-weight: 600; }
.plan-note { font-size: 11px; color: var(--zinc-500); }
.modal-perks { list-style: none; margin: 0 0 18px; padding: 14px 16px; background: var(--slate-50); border-radius: 10px; }
.modal-perks li { font-size: 13px; color: var(--zinc-700); padding: 4px 0; }
.modal-primary { width: 100%; padding: 12px; font-size: 15px; }
.modal-note { margin: 12px 0 0; text-align: center; font-size: 11.5px; color: var(--zinc-400); }

/* 工具弹窗内容 */
.tool-head { margin-bottom: 18px; padding-right: 30px; }
.tool-head .tool-kicker { font-size: 12px; color: #a16207; font-weight: 700; letter-spacing: .05em; }
.tool-head h3 { margin: 4px 0 6px; font-size: 21px; color: var(--navy-950); }
.tool-head p { margin: 0; font-size: 13px; color: var(--zinc-500); }
.tool-section { margin-top: 16px; }
.tool-section-title { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--navy-900); }
.quiz-q { border: 1px solid var(--slate-200); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.quiz-q .q-text { font-size: 13.5px; color: var(--zinc-900); margin-bottom: 8px; }
.quiz-q .q-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-opt { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--slate-200); border-radius: 7px; padding: 5px 11px; font-size: 12.5px; color: var(--zinc-700); cursor: pointer; }
.quiz-opt input { accent-color: var(--blue-600); margin: 0; }
.quiz-opt:has(input:checked) { border-color: var(--blue-500); background: var(--blue-50); color: var(--blue-700); }
.tool-input-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.tool-field { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 140px; }
.tool-field label { font-size: 12px; color: var(--zinc-500); }
.tool-field input, .tool-field select {
  border: 1px solid var(--slate-200); border-radius: 8px; padding: 9px 11px; font-size: 14px; color: var(--zinc-900); background: #fff;
}
.tool-field input:focus, .tool-field select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(52,152,219,.12); }
.tool-action { border: 0; border-radius: 9px; padding: 10px 20px; background: var(--blue-600); color: #fff; font-size: 14px; font-weight: 700; }
.tool-action:hover { background: var(--blue-700); }
.tool-result { margin-top: 16px; border: 1px solid var(--blue-100); background: var(--blue-50); border-radius: 12px; padding: 16px; }
.tool-result[hidden] { display: none; }
.tool-result h4 { margin: 0 0 10px; font-size: 15px; color: var(--navy-950); }
.advice-row { display: flex; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.advice-chip { border-radius: 8px; padding: 8px 12px; font-size: 12.5px; flex: 1; min-width: 150px; }
.advice-chip.chong { background: #fee2e2; color: #b91c1c; }
.advice-chip.wen { background: #fef3c7; color: #92400e; }
.advice-chip.bao { background: #dcfce7; color: #15803d; }
.advice-chip b { display: block; font-size: 13px; margin-bottom: 3px; }
.tool-tip { margin-top: 12px; font-size: 12px; color: var(--zinc-500); line-height: 1.6; }

/* 搜索结果下拉与浮层 */
.search-results {
  position: absolute; top: 42px; right: 0; width: 320px; max-height: 380px; overflow-y: auto;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(5,34,66,.18); z-index: 60; padding: 6px;
}
.search-results[hidden] { display: none; }
.search-result { display: block; width: 100%; text-align: left; border: 0; background: transparent; border-radius: 8px; padding: 8px 10px; }
.search-result:hover { background: var(--blue-50); }
.search-result b { display: block; font-size: 13px; color: var(--navy-900); }
.search-result small { display: block; font-size: 11px; color: var(--zinc-500); }
.search-empty { padding: 12px; font-size: 12px; color: var(--zinc-500); }
.back-top {
  position: fixed; right: 20px; bottom: 22px; z-index: 40;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--blue-600); color: #fff; font-size: 18px;
  box-shadow: 0 4px 14px rgba(41,128,185,.35); opacity: 0; pointer-events: none; transition: opacity .25s;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(10px);
  background: var(--navy-950); color: #fff; border-radius: 9px; padding: 9px 16px;
  font-size: 13px; z-index: 80; opacity: 0; pointer-events: none; transition: .25s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 980px) {
  .stage-grid, .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-item:nth-child(2)::after { display: none; }
  .school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-grid.three, .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .main-nav, .header-search { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav.open {
    display: flex; position: absolute; top: 56px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 2px;
    background: var(--navy-950); padding: 8px 16px 14px; border-top: 1px solid rgba(255,255,255,.12);
  }
  .main-nav.open .nav-link { display: block; width: 100%; padding: 7px 0; }
  .btn-register { display: none; }
  .hero { padding: 36px 16px 32px; }
  .stage-grid, .roadmap, .panel-grid, .panel-grid.three, .school-grid, .step-grid, .source-list, .tool-grid, .plan-grid { grid-template-columns: 1fr; }
  .modal { padding: 28px 18px 22px; }
  .roadmap-item::after { display: none; }
  .stage-banner { flex-wrap: wrap; }
  .stage-scope { margin-left: 0; }
  .news-title { white-space: normal; }
  .news-meta { display: none; }
  .welcome-actions { margin-left: 0; }
}
