/* 学历提升决策指南 · 样式
 * Light 主题 · 桌面左右对称 / 移动端单栏
 */
:root{
  --bg:#f7f8fa; --surface:#ffffff; --text:#1f2937; --muted:#6b7280; --hint:#9ca3af;
  --border:#e5e7eb; --border-soft:#f0f1f3;
  --primary:#185FA5; --primary-dark:#0C447C; --primary-bg:#E6F1FB;
  --amber:#854F0B; --amber-bg:#FAEEDA;
  --green:#0F6E56; --green-bg:#E1F5EE;
  --danger:#A32D2D;
  --radius:12px; --radius-sm:8px;
  --shadow:0 1px 3px rgba(16,24,40,.04),0 8px 24px rgba(16,24,40,.04);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--bg);color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC","Microsoft YaHei",sans-serif;
  font-size:14px;line-height:1.7;-webkit-font-smoothing:antialiased;
}
body.modal-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}

/* ---------- 顶栏与导航 ---------- */
.topbar{background:var(--primary-dark);color:#dbeafe;font-size:12px}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;min-height:34px}
.topbar-right{color:#93c5fd}
.site-header{background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:30}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:68px}
.brand{display:flex;align-items:center;gap:10px;flex:none}
.brand-mark{width:38px;height:38px;border-radius:9px;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600}
.brand-text{display:flex;flex-direction:column;line-height:1.25}
.brand-text strong{font-size:16px;letter-spacing:.02em}
.brand-text small{font-size:11px;color:var(--muted)}
.site-nav{display:flex;align-items:center;gap:28px;margin-left:auto}
.site-nav a{font-size:14px;color:#374151}
.site-nav a:hover{color:var(--primary)}
.header-cta{display:flex;align-items:center;gap:8px;padding:9px 16px;border:1px solid var(--primary);color:var(--primary);border-radius:8px;font-size:13px;font-weight:500;flex:none}
.header-cta:hover{background:var(--primary-bg)}
.cta-icon{width:14px;height:14px;border:2px solid var(--primary);border-radius:50%;position:relative}
.cta-icon:after{content:"";position:absolute;width:6px;height:6px;background:var(--primary);border-radius:50%;top:2px;left:2px}

/* ---------- 通用 ---------- */
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.12em;color:var(--primary);text-transform:uppercase;margin-bottom:12px}
.section{padding:76px 0}
.section-head{margin-bottom:36px}
.section-head h2,.result-head h2{font-size:26px;font-weight:600;letter-spacing:-.01em;margin-bottom:10px}
.section-head p{color:var(--muted);font-size:14px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 24px;border-radius:9px;font-size:14px;font-weight:500;border:1px solid transparent;transition:.16s;min-height:46px}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark)}
.btn-ghost{background:var(--surface);color:var(--text);border-color:var(--border)}
.btn-ghost:hover{border-color:var(--primary);color:var(--primary)}
.btn-arrow{font-size:16px;line-height:1}
.btn-block{width:100%}
.link-btn{display:inline-flex;align-items:center;gap:6px;color:var(--primary);font-size:13px;font-weight:500;background:none;border:0;padding:0}
.link-btn:hover{color:var(--primary-dark)}
.link-btn span{transition:transform .16s}
.link-btn:hover span{transform:translateX(3px)}

/* ---------- 首屏 ---------- */
.hero{background:var(--surface);border-bottom:1px solid var(--border);padding:72px 0 80px}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:64px;align-items:center}
.hero-copy h1{font-size:44px;line-height:1.25;font-weight:600;letter-spacing:-.02em;margin-bottom:20px}
.hero-sub{font-size:15px;color:#4b5563;line-height:1.85;max-width:560px;margin-bottom:30px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:38px}
.hero-stat{display:flex;align-items:center;gap:26px;padding-top:26px;border-top:1px solid var(--border)}
.stat-cell{display:flex;flex-direction:column;gap:3px}
.stat-cell strong{font-size:26px;font-weight:600;color:var(--primary-dark);letter-spacing:-.01em}
.stat-cell strong em{font-size:13px;font-style:normal;font-weight:400;color:var(--muted);margin-left:3px}
.stat-cell span{font-size:12px;color:var(--muted)}
.stat-divider{width:1px;height:36px;background:var(--border)}
.stat-note{font-size:11px;color:var(--hint);margin-top:12px;line-height:1.6}

.hero-panel{background:#fbfcfe;border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}
.panel-head{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;color:#374151;padding-bottom:16px;border-bottom:1px solid var(--border-soft);margin-bottom:8px}
.panel-dot{width:7px;height:7px;border-radius:50%;background:var(--primary)}
.path-list{list-style:none}
.path-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--border-soft)}
.path-list li:last-child{border-bottom:0}
.path-name{font-size:13px;font-weight:500}
.path-meta{font-size:12px;color:var(--muted);text-align:right}
.panel-foot{font-size:11px;color:var(--hint);margin-top:12px;line-height:1.6}

/* ---------- 功能卡 ---------- */
.features{background:var(--bg)}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feature-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:28px;transition:.16s}
.feature-card:hover{border-color:#c7dcf0;transform:translateY(-2px)}
.feature-num{font-size:13px;font-weight:600;color:var(--primary);margin-bottom:18px}
.feature-card h3{font-size:17px;font-weight:600;margin-bottom:10px}
.feature-card p{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:20px;min-height:72px}

/* ---------- 信任区 ---------- */
.trust{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.trust-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.trust-copy h2{font-size:28px;font-weight:600;margin-bottom:16px;letter-spacing:-.01em}
.trust-copy>p{color:var(--muted);line-height:1.85;margin-bottom:22px}
.check-list{list-style:none;margin-bottom:24px}
.check-list li{position:relative;padding:8px 0 8px 26px;font-size:13px;color:#374151;border-bottom:1px solid var(--border-soft)}
.check-list li:before{content:"";position:absolute;left:2px;top:16px;width:12px;height:12px;border-radius:50%;border:1.5px solid var(--green)}
.check-list li:after{content:"";position:absolute;left:6px;top:19px;width:4px;height:4px;border-radius:50%;background:var(--green)}
.official-links{display:flex;gap:12px}
.official-links a{padding:8px 14px;border:1px solid var(--border);border-radius:7px;font-size:12px;color:var(--primary)}
.official-links a:hover{background:var(--primary-bg)}
.trust-panel{background:#fbfcfe;border:1px solid var(--border);border-radius:var(--radius);padding:28px}
.trust-panel h3{font-size:16px;font-weight:600;margin-bottom:20px}
.step-list{list-style:none}
.step-list li{display:flex;gap:14px;padding:13px 0;border-bottom:1px solid var(--border-soft)}
.step-list li:last-child{border-bottom:0}
.step-list>li>span{width:26px;height:26px;flex:none;border-radius:6px;background:var(--primary-bg);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}
.step-list strong{font-size:13px;font-weight:600}
.step-list p{font-size:12px;color:var(--muted);margin-top:2px}
.trust-note{font-size:11px;color:var(--hint);margin-top:16px;line-height:1.6}

/* ---------- 内容区 ---------- */
.content-sec{background:var(--bg)}
.section-head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
.filter-tabs{display:flex;gap:6px;flex-wrap:wrap}
.tab{padding:8px 14px;border-radius:7px;border:1px solid var(--border);background:var(--surface);color:var(--muted);font-size:12px}
.tab:hover{border-color:var(--primary);color:var(--primary)}
.tab.is-on{background:var(--primary);border-color:var(--primary);color:#fff}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.article-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:22px;display:flex;flex-direction:column;min-height:200px}
.article-card:hover{border-color:#c7dcf0}
.article-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.article-cat{font-size:11px;color:var(--primary);background:var(--primary-bg);padding:2px 9px;border-radius:4px}
.article-top time{font-size:11px;color:var(--hint)}
.article-card h3{font-size:14px;font-weight:600;line-height:1.55;margin-bottom:10px}
.article-card p{font-size:12px;color:var(--muted);line-height:1.7;flex:1}
.article-more{font-size:12px;color:var(--primary);margin-top:16px}
.content-note{font-size:11px;color:var(--hint);margin-top:20px;line-height:1.7}

/* ---------- 测评 ---------- */
.quiz-stage{background:var(--surface);min-height:calc(100vh - 68px);padding:44px 0 70px}
.quiz-wrap{max-width:720px}
.quiz-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.back-link{font-size:13px;color:var(--muted)}
.back-link:hover{color:var(--primary)}
.quiz-progress-text{font-size:12px;color:var(--muted)}
.quiz-progress-text b{color:var(--primary);font-size:14px}
.progress-track{height:4px;background:var(--border-soft);border-radius:4px;overflow:hidden;margin-bottom:28px}
.progress-bar{height:100%;background:var(--primary);width:20%;transition:width .25s}
.quiz-card{border:1px solid var(--border);border-radius:var(--radius);padding:38px 40px;box-shadow:var(--shadow)}
.quiz-label{font-size:12px;font-weight:600;color:var(--primary);margin-bottom:12px}
.quiz-question{font-size:24px;font-weight:600;line-height:1.45;margin-bottom:8px}
.quiz-hint{font-size:12px;color:var(--muted);margin-bottom:26px}
.quiz-options{display:flex;flex-direction:column;gap:12px;margin-bottom:28px}
.option{display:flex;align-items:center;gap:14px;width:100%;padding:16px 18px;border:1px solid var(--border);border-radius:9px;background:var(--surface);text-align:left;transition:.14s}
.option:hover{border-color:var(--primary);background:#fafcff}
.option.is-selected{border-color:var(--primary);background:var(--primary-bg)}
.option-mark{width:18px;height:18px;flex:none;border-radius:50%;border:1.5px solid #cbd5e1;position:relative}
.option.is-selected .option-mark{border-color:var(--primary)}
.option.is-selected .option-mark:after{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:var(--primary);top:3px;left:3px}
.option-body{display:flex;flex-direction:column;gap:2px}
.option-body strong{font-size:14px;font-weight:500;color:var(--text)}
.option-body small{font-size:12px;color:var(--muted)}
.quiz-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--border-soft);padding-top:22px}
.quiz-warn{font-size:12px;color:var(--danger)}
.quiz-footnote{font-size:11px;color:var(--hint);text-align:center;margin-top:20px;line-height:1.6}

/* ---------- 结果 ---------- */
.result-stage{background:var(--bg);padding-top:64px}
.result-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:32px}
.result-profile{font-size:14px;color:var(--muted);max-width:760px;line-height:1.8;margin-top:8px}
.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:36px}
.result-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;display:flex;flex-direction:column}
.result-card.is-primary{border-color:var(--primary);box-shadow:var(--shadow)}
.result-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.fit-badge{font-size:11px;font-weight:500;padding:3px 9px;border-radius:4px;background:var(--green-bg);color:var(--green)}
.is-primary .fit-badge{background:var(--primary-bg);color:var(--primary)}
.rank-num{font-size:13px;color:var(--hint);font-weight:600}
.result-card h3{font-size:18px;font-weight:600;margin-bottom:5px}
.tagline{font-size:12px;color:var(--muted);margin-bottom:18px}
.result-meta{display:flex;flex-direction:column;gap:8px;padding:14px 0;border-top:1px solid var(--border-soft);border-bottom:1px solid var(--border-soft);margin-bottom:16px}
.result-meta div{display:flex;justify-content:space-between;gap:10px}
.result-meta dt{font-size:12px;color:var(--muted)}
.result-meta dd{font-size:12px;font-weight:500;text-align:right}
.reason{font-size:12px;color:#374151;line-height:1.75;flex:1;margin-bottom:12px}
.caution{font-size:11px;color:var(--hint);line-height:1.65;padding-top:12px;border-top:1px dashed var(--border)}
.compare-wrap{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:28px;margin-bottom:24px}
.compare-wrap h3{font-size:17px;font-weight:600;margin-bottom:18px}
.table-scroll{overflow-x:auto}
.compare-table{width:100%;border-collapse:collapse;font-size:12px;min-width:720px}
.compare-table th,.compare-table td{border:1px solid var(--border);padding:11px 13px;text-align:left;vertical-align:top;line-height:1.6}
.compare-table th{background:#f9fafb;font-weight:600;white-space:nowrap;color:#374151}
.compare-table td{color:#4b5563}
.compare-table td strong{color:var(--text)}
.compare-note{font-size:11px;color:var(--hint);margin-top:12px}
.lead-band{background:var(--primary-dark);color:#fff;border-radius:var(--radius);padding:28px 32px;display:flex;justify-content:space-between;align-items:center;gap:28px}
.lead-band h3{font-size:18px;font-weight:600;margin-bottom:6px}
.lead-band p{font-size:13px;color:#bfdbfe;line-height:1.7;max-width:640px}
.lead-band .btn-primary{background:#fff;color:var(--primary-dark);flex:none}
.lead-band .btn-primary:hover{background:var(--primary-bg)}

/* ---------- 弹层 ---------- */
.modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}
.modal[hidden]{display:none}
.modal-mask{position:absolute;inset:0;background:rgba(15,23,42,.45)}
.modal-box{position:relative;background:var(--surface);border-radius:var(--radius);width:100%;max-width:520px;padding:32px;box-shadow:0 20px 60px rgba(15,23,42,.2);max-height:calc(100vh - 40px);overflow-y:auto}
.modal-close{position:absolute;top:14px;right:16px;background:none;border:0;font-size:24px;color:var(--hint);line-height:1}
.modal-close:hover{color:var(--text)}
.modal-box h3{font-size:20px;font-weight:600;margin-bottom:6px}
.modal-sub{font-size:13px;color:var(--muted);margin-bottom:24px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.form-row label,.form-full{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#374151}
.form-full{margin-bottom:14px}
input,select,textarea{width:100%;padding:11px 12px;border:1px solid var(--border);border-radius:7px;font-size:13px;font-family:inherit;color:var(--text);background:var(--surface);outline:none}
input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(24,95,165,.1)}
textarea{resize:vertical}
.consent{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:var(--muted);line-height:1.6;margin:6px 0 14px}
.consent input{width:15px;height:15px;flex:none;margin-top:2px;accent-color:var(--primary)}
.consent a{color:var(--primary)}
.form-error{font-size:12px;color:var(--danger);min-height:18px;margin-bottom:4px}
.form-hint{font-size:12px;color:var(--primary);min-height:16px;margin-bottom:8px}
.code-wrap{display:flex;gap:8px}
.code-wrap input{flex:1;min-width:0}
.code-btn{flex:none;white-space:nowrap;padding:0 12px;border:1px solid var(--primary);border-radius:7px;background:var(--surface);color:var(--primary);font-size:12px;font-weight:600;cursor:pointer}
.code-btn:hover:not(:disabled){background:var(--primary);color:#fff}
.code-btn:disabled{opacity:.55;cursor:not-allowed}
.modal-success{text-align:center;max-width:420px}
.success-mark{width:52px;height:52px;border-radius:50%;background:var(--green-bg);color:var(--green);display:flex;align-items:center;justify-content:center;font-size:26px;margin:0 auto 18px}
.modal-success p{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:24px}

/* ---------- 页脚 ---------- */
.site-footer{background:var(--surface);border-top:1px solid var(--border);padding:52px 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;padding-bottom:40px}
.footer-brand p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:16px;max-width:320px}
.footer-col h4{font-size:13px;font-weight:600;margin-bottom:14px}
.footer-col p{font-size:12px;color:var(--muted);line-height:2}
.footer-col a:hover{color:var(--primary)}
.footer-bottom{border-top:1px solid var(--border);padding:18px 24px 24px;display:flex;justify-content:space-between;gap:16px;font-size:11px;color:var(--hint);flex-wrap:wrap}

/* ---------- 响应式 ---------- */
@media(max-width:960px){
  .hero-grid,.trust-grid{grid-template-columns:1fr;gap:40px}
  .hero-copy h1{font-size:36px}
  .feature-grid,.article-grid,.result-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px}
  .site-nav{display:none}
}
@media(max-width:640px){
  .wrap{padding:0 18px}
  .topbar-right{display:none}
  .header-inner{min-height:60px}
  .brand-text small{display:none}
  .hero{padding:48px 0 56px}
  .hero-copy h1{font-size:30px}
  .hero-sub{font-size:14px}
  .hero-actions .btn{flex:1;min-width:140px}
  .hero-stat{gap:16px}
  .stat-cell strong{font-size:21px}
  .section{padding:52px 0}
  .section-head h2,.result-head h2,.trust-copy h2{font-size:22px}
  .feature-grid,.article-grid,.result-grid,.form-row,.footer-grid{grid-template-columns:1fr}
  .feature-card p{min-height:0}
  .section-head-row{align-items:flex-start}
  .quiz-stage{padding:28px 0 56px}
  .quiz-card{padding:26px 22px}
  .quiz-question{font-size:20px}
  .option{padding:14px}
  .quiz-nav{flex-wrap:wrap}
  .quiz-warn{order:-1;width:100%;text-align:center}
  .quiz-nav .btn{flex:1}
  .result-head{flex-direction:column}
  .compare-wrap{padding:20px}
  .lead-band{flex-direction:column;align-items:flex-start;padding:24px}
  .lead-band .btn{width:100%}
  .modal-box{padding:26px 22px}
  .footer-bottom{flex-direction:column;gap:6px}
}
