/* ===== 升学家 · 蓝调卡片式改版预览（参考优志愿布局 + 峰学蔚来内容感） ===== */
:root {
  --brand: #2563EB;          /* 科技蓝 · 主色：导航/按钮/链接 */
  --brand-dark: #1D4ED8;
  --brand-soft: #EFF4FF;     /* 浅蓝底块 */
  --accent: #FF7A1A;         /* 升学橙 · 强调/CTA/冲刺档 */
  --accent-soft: #FFF1E6;
  --ink: #0F172A;            /* 主文字 近黑 */
  --muted: #64748B;          /* 辅助文字 */
  --faint: #94A3B8;          /* 次要说明 */
  --bg: #F8FAFC;             /* 浅冷灰页面底（非纯白，更有产品感） */
  --bg-soft: #F1F5F9;
  --card: #FFFFFF;
  --line: #E2E8F0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 6px 20px rgba(37,99,235,.08);
  --maxw: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== 顶部导航：白底 · 浅蓝阴影 · 蓝CTA ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -.3px; }
.logo .mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), #4F8BFF); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-cta { color: #fff !important; background: var(--brand); padding: 8px 16px; border-radius: 8px; font-weight: 600; }
.nav-cta:hover { background: var(--brand-dark); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ===== Hero：浅蓝渐变 + 大留白 ===== */
.hero { background: linear-gradient(180deg, #EFF4FF 0%, #F8FAFC 100%); padding: 76px 0 60px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; line-height: 1.2; margin: 0 0 18px; letter-spacing: -.8px; color: var(--ink); }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 680px; margin: 0 0 28px; line-height: 1.85; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stats .num { font-size: 24px; font-weight: 800; color: var(--brand); }
.hero-stats .lbl { color: var(--faint); font-size: 14px; margin-top: 2px; }

/* ===== 按钮 ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 10px; font-weight: 600; cursor: pointer; border: 1px solid transparent; font-size: 15px; transition: all .15s ease; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { opacity: .9; text-decoration: none; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* ===== 区块 ===== */
section { padding: 60px 0; }
.section-head { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.section-head h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; margin: 0 0 12px; color: var(--ink); line-height: 1.35; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }
.bg-soft { background: var(--bg-soft); }

/* ===== 卡片：白底 · 细边框 · 轻阴影 · 大色块/大图融入背景 ===== */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--ink); }
.card p { color: var(--muted); margin: 0 0 14px; line-height: 1.8; }
.card a.more { font-weight: 600; color: var(--brand); }

/* 大色块封面卡片（无 padding，顶部是视觉区） */
.card-cover { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-visual { height: 148px; position: relative; display: flex; align-items: flex-end; padding: 20px; overflow: hidden; }
.card-visual::before { content: ""; position: absolute; inset: 0; opacity: .35; }
.card-visual .bg-emoji { font-size: 110px; line-height: 1; opacity: .22; position: absolute; right: -10px; top: -10px; transform: rotate(-8deg); filter: grayscale(.2); }
.card-visual .visual-title { position: relative; z-index: 2; color: #fff; font-size: 22px; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,.18); letter-spacing: -.3px; }
.card-visual .visual-sub { position: relative; z-index: 2; color: rgba(255,255,255,.9); font-size: 13px; margin-top: 4px; text-shadow: 0 1px 4px rgba(0,0,0,.15); }
.card-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.card-body p { flex: 1; }

/* 视觉区配色 */
.vv-blue { background: linear-gradient(135deg, #2563EB 0%, #4F8BFF 100%); }
.vv-indigo { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); }
.vv-cyan { background: linear-gradient(135deg, #0891B2 0%, #22D3EE 100%); }
.vv-orange { background: linear-gradient(135deg, #F97316 0%, #FB923C 100%); }
.vv-emerald { background: linear-gradient(135deg, #059669 0%, #34D399 100%); }
.vv-rose { background: linear-gradient(135deg, #E11D48 0%, #FB7185 100%); }
.vv-slate { background: linear-gradient(135deg, #334155 0%, #64748B 100%); }
.vv-gold { background: linear-gradient(135deg, #B45309 0%, #F59E0B 100%); }

/* 状态标签 */
.status-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; margin-right: 8px; }
.status-green { background: #DCFCE7; color: #166534; }
.status-red { background: #FEE2E2; color: #991B1B; }
.status-orange { background: #FFEDD5; color: #9A3412; }

/* 左侧/顶部色带卡片 */
.card-band-left { border-left-width: 8px; border-left-style: solid; }
.card-band-blue { border-left-color: var(--brand); }
.card-band-orange { border-left-color: var(--accent); }
.card-band-green { border-left-color: #10B981; }
.card-band-red { border-left-color: #EF4444; }
.card-band-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 17px; font-weight: 700; }
.card-band-title .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-blue { background: var(--brand); }
.dot-orange { background: var(--accent); }

/* ===== 首页醒目匹配大卡 ===== */
.hero-matcher-wrap { margin-top: -34px; position: relative; z-index: 10; }
.hero-matcher { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 36px rgba(37,99,235,.14); padding: 28px 30px; }
.hero-matcher .hm-head { margin-bottom: 18px; }
.hero-matcher .hm-head h2 { margin: 0 0 6px; font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; color: var(--ink); letter-spacing: -.3px; }
.hero-matcher .hm-head p { margin: 0; color: var(--muted); font-size: 15px; }
.hm-tabs { display: inline-flex; background: var(--bg-soft); border-radius: 10px; padding: 4px; margin-bottom: 16px; }
.hm-tab { border: 0; background: transparent; padding: 8px 22px; border-radius: 8px; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .15s ease; }
.hm-tab.active { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.hm-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.hm-row .field { flex: 1; min-width: 150px; }
.hm-row .field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.hm-row .field select, .hm-row .field input { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; background: #fff; color: var(--ink); font-family: inherit; }
.hm-row .field select:focus, .hm-row .field input:focus { outline: none; border-color: var(--brand); }
.hm-btn { background: linear-gradient(135deg, var(--accent), #FB923C); color: #fff; border: 0; padding: 13px 28px; border-radius: 10px; font-size: 16px; font-weight: 800; cursor: pointer; white-space: nowrap; transition: opacity .15s ease; box-shadow: 0 6px 16px rgba(249,115,22,.28); }
.hm-btn:hover { opacity: .92; }
.hm-note { font-size: 12px; color: var(--faint); margin-top: 12px; line-height: 1.6; }

/* ===== 校名毛玻璃（只遮大学/高中名字，下面数据清晰可见 → VIP 解锁看校名） ===== */
.name-block { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.name-masked { filter: blur(5.5px); user-select: none; letter-spacing: 1px; font-weight: 700; font-size: 16px; color: var(--ink); }
.name-lock { font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(255,122,26,.25); padding: 2px 9px; border-radius: 6px; white-space: nowrap; }
/* 解锁后的校名（会员态用，当前预览默认锁定） */
.name-clear { font-weight: 700; font-size: 16px; color: var(--ink); }

/* ===== Steps ===== */
.steps { counter-reset: s; }
.step { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step .n { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.step h4 { margin: 2px 0 4px; font-weight: 700; font-size: 16px; }
.step p { margin: 0; color: var(--muted); line-height: 1.8; }

/* ===== 文章列表 ===== */
.article-list { display: grid; gap: 14px; }
.article-item { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: border-color .15s ease; }
.article-item:hover { border-color: var(--brand); }
.article-item .tag { font-size: 12px; color: var(--brand); background: var(--brand-soft); padding: 3px 10px; border-radius: 6px; white-space: nowrap; height: fit-content; font-weight: 600; }
.article-item h3 { margin: 4px 0 6px; font-size: 17px; font-weight: 700; }
.article-item h3 a { color: var(--ink); }
.article-item h3 a:hover { color: var(--brand); }
.article-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* ===== CTA / 提醒块 ===== */
.cta-band { background: linear-gradient(135deg, var(--brand) 0%, #4F8BFF 100%); color: #fff; border-radius: 16px; padding: 44px 40px; text-align: center; box-shadow: var(--shadow-md); }
.cta-band h2 { margin: 0 0 12px; color: #fff; font-size: 24px; font-weight: 800; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0 0 24px; font-size: 16px; }
.cta-band .btn-ghost { background: #fff; border-color: #fff; }
.callout { background: var(--accent-soft); border: 1px solid rgba(255,122,26,.25); border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 16px; color: #9a4d12; font-size: 15px; line-height: 1.8; }
.callout b { color: #843f0c; }
.cta-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 44px; text-align: center; box-shadow: var(--shadow); }
.cta-box h2 { color: var(--ink); margin: 0 0 12px; font-weight: 800; font-size: 24px; }
.cta-box p { color: var(--muted); margin: 0 0 22px; max-width: 620px; margin-left: auto; margin-right: auto; font-size: 16px; }

/* ===== 页脚 ===== */
.site-footer { background: #0F172A; color: #94A3B8; padding: 56px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin: 0 0 14px; }
.site-footer a { color: #94A3B8; display: block; margin-bottom: 9px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; color: #64748B; font-size: 13px; }
.footer-bottom a { display: inline; color: #64748B; }
.footer-bottom a:hover { color: #94A3B8; }

/* ===== 文章页 ===== */
.article { max-width: 760px; margin: 0 auto; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.article h1 { font-size: 32px; font-weight: 800; line-height: 1.35; margin: 0 0 14px; letter-spacing: -.3px; }
.article h2 { font-size: 23px; font-weight: 700; margin: 38px 0 14px; }
.article p { margin: 0 0 18px; line-height: 1.9; }
.article ul { margin: 0 0 18px; padding-left: 22px; line-height: 1.9; }
.breadcrumb { color: var(--muted); font-size: 14px; margin: 18px 0; }
.breadcrumb a { color: var(--brand); }

/* ===== 排名 / 标签列表 ===== */
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rank-list li:last-child { border-bottom: 0; }
.rank-list li span { flex: 1; }
.rank-list li b { color: var(--ink); font-size: 16px; font-weight: 800; }
.rank-list li i { color: var(--faint); font-style: normal; font-size: 13px; }
.tag-list { list-style: none; margin: 12px 0 0; padding: 0; }
.tag-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tag-list li em { color: var(--faint); font-style: normal; font-size: 13px; margin-left: 6px; }

/* ===== 数据表：表头浅蓝 ===== */
.data-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14px; box-shadow: var(--shadow); }
.data-table th, .data-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.7; }
.data-table thead { background: var(--brand-soft); }
.data-table thead th { font-weight: 700; color: var(--brand-dark); font-size: 13px; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--bg-soft); }

/* ===== 工具（path-tool / matcher） ===== */
.tool-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; max-width: 860px; margin: 0 auto; box-shadow: var(--shadow); }
.tool-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 14px; color: var(--ink); }
.field select, .field input { padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; background: #fff; color: var(--ink); font-family: inherit; transition: border-color .15s ease; }
.field select:focus, .field input:focus { outline: none; border-color: var(--brand); }
.tool-result { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 24px; }
.tool-result h3 { font-size: 22px; font-weight: 800; margin: 0 0 18px; }
.path-map { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-bottom: 22px; padding: 16px; background: var(--brand-soft); border-radius: 8px; }
.pnode { padding: 7px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pnode.done { background: var(--brand-soft); color: var(--brand); border-color: rgba(37,99,235,.25); }
.pnode.active { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 600; }
.parrow { color: var(--faint); font-size: 13px; }
.path-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; }
.pcard .ph { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.pcard .pb { font-size: 15px; line-height: 1.75; }
.tool-cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== 首页数据洞察板块（三可视化） ===== */
.insight-section { background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.insight-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px 28px; box-shadow:var(--shadow); }
.insight-card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; flex-wrap:wrap; }
.insight-card-head h3 { margin:0; font-size:18px; font-weight:800; color:var(--ink); }
.insight-tag { font-size:12px; font-weight:700; color:var(--brand); background:var(--brand-soft); padding:3px 10px; border-radius:6px; white-space:nowrap; }
.insight-note { font-size:12.5px; color:var(--faint); margin:14px 0 0; line-height:1.7; }

/* 模块1：分数→院校层次 堆叠条 */
.tier-empty { padding:26px; background:var(--bg-soft); border-radius:12px; text-align:center; color:var(--muted); font-size:14.5px; }
.tier-bar-wrap { margin:6px 0 14px; }
.tier-bar { display:flex; height:34px; border-radius:10px; overflow:hidden; background:var(--bg-soft); }
.tier-seg { display:grid; place-items:center; color:#fff; font-weight:800; font-size:14px; min-width:30px; transition:flex-grow .2s ease; }
.tier-seg.chong { background:linear-gradient(135deg,#F97316,#FB923C); }
.tier-seg.wen { background:linear-gradient(135deg,#2563EB,#4F8BFF); }
.tier-seg.bao { background:linear-gradient(135deg,#0EA5E9,#38BDF8); }
.tier-legend { display:flex; gap:20px; flex-wrap:wrap; font-size:13.5px; color:var(--muted); margin-top:12px; }
.tier-legend span { display:inline-flex; align-items:center; gap:7px; }
.tier-legend i { width:11px; height:11px; border-radius:3px; display:inline-block; }
.tier-caption { font-size:14px; color:var(--ink); line-height:1.8; background:var(--brand-soft); border-radius:10px; padding:12px 14px; margin-top:14px; }
.tier-caption b { color:var(--brand-dark); }

/* 模块2：专业薪资 横向柱状 */
.salary-chart { display:flex; flex-direction:column; gap:11px; margin-top:4px; }
.salary-row { display:grid; grid-template-columns:100px 1fr 84px; align-items:center; gap:12px; }
.salary-row .sl { font-size:13.5px; color:var(--ink); font-weight:600; text-align:right; }
.salary-track { background:var(--bg-soft); border-radius:6px; height:22px; overflow:hidden; }
.salary-fill { height:100%; border-radius:6px; background:linear-gradient(135deg,#2563EB,#4F8BFF); }
.salary-fill.hot { background:linear-gradient(135deg,#F97316,#FB923C); }
.salary-row .sv { font-size:13.5px; font-weight:800; color:var(--ink); }
.salary-row .sv small { font-weight:500; color:var(--faint); font-size:11.5px; }

/* 模块3：升学时间窗 纵向时间轴 */
.timeline { position:relative; padding:6px 0 2px; }
.timeline::before { content:""; position:absolute; left:7px; top:12px; bottom:12px; width:2px; background:var(--line); }
.tl-item { position:relative; padding:0 0 17px 30px; }
.tl-item:last-child { padding-bottom:0; }
.tl-dot { position:absolute; left:1px; top:3px; width:14px; height:14px; border-radius:50%; background:var(--brand); border:3px solid #fff; box-shadow:0 0 0 1px var(--line); }
.tl-dot.alt { background:var(--accent); }
.tl-month { font-size:12.5px; font-weight:800; color:var(--brand-dark); }
.tl-text { font-size:14px; color:var(--ink); line-height:1.55; margin-top:1px; }
.tl-text small { color:var(--muted); }

/* ===== 移动端 ===== */
@media (max-width: 860px) {
  .container, .nav { padding: 0 18px; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 18px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
  .path-map { flex-wrap: wrap; }
  .tool-form { grid-template-columns: 1fr; }
  .path-cards { grid-template-columns: 1fr; }
}
