/* ============================================================
   留学资讯网 liuxuezixun.com — 全站样式
   ============================================================ */
:root {
  --ink: #101c3a;
  --ink-soft: #47536e;
  --muted: #8a94ab;
  --primary: #2453e6;
  --primary-dark: #1a3eb0;
  --primary-soft: #e8eefc;
  --accent: #f59e0b;
  --ok: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
  --bg: #f6f8fc;
  --card: #ffffff;
  --line: #e5eaf3;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 28, 58, .05), 0 8px 24px rgba(16, 28, 58, .07);
  --shadow-lg: 0 4px 12px rgba(16, 28, 58, .08), 0 20px 48px rgba(16, 28, 58, .14);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- 双语切换 ---------- */
html[data-lang="zh"] .en { display: none !important; }
html[data-lang="en"] .zh { display: none !important; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), #6d28d9);
  color: #fff; font-weight: 700; font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(36, 83, 230, .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.05rem; letter-spacing: .02em; }
.brand-text small { color: var(--muted); font-size: .7rem; letter-spacing: .06em; }
.main-nav { display: flex; gap: .25rem; margin-left: auto; }
.nav-link { padding: .5rem .9rem; border-radius: 10px; font-size: .95rem; color: var(--ink-soft); font-weight: 500; transition: all .18s; }
.nav-link:hover { color: var(--primary); background: var(--primary-soft); }
.nav-link.active { color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang-toggle {
  border: 1.5px solid var(--line); background: var(--card); border-radius: 10px;
  padding: .4rem .8rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); transition: all .18s;
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); }
.menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: .5rem; }
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: none; border-radius: 12px; padding: .65rem 1.4rem;
  font-size: .95rem; font-weight: 600; transition: all .18s; line-height: 1.4;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), #4338ca); color: #fff; box-shadow: 0 4px 14px rgba(36, 83, 230, .35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(36, 83, 230, .45); }
.btn-ghost { background: var(--card); color: var(--ink-soft); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.btn-lg { padding: .85rem 1.9rem; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { padding: .4rem .9rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1100px 500px at 85% -10%, rgba(109, 40, 217, .55), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(14, 165, 233, .35), transparent 60%),
              linear-gradient(135deg, #0d1b45 0%, #16307f 55%, #2453e6 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 3rem; padding: 5rem 1.25rem 5.5rem; }
.hero-badge {
  display: inline-block; padding: .35rem .9rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  font-size: .82rem; letter-spacing: .02em; margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.25; letter-spacing: .01em; margin-bottom: 1rem; }
.hero-sub { font-size: 1.08rem; color: rgba(255, 255, 255, .82); max-width: 34em; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero .btn-ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.hero-stats { display: flex; gap: 2.5rem; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.7rem; }
.hero-stats span { font-size: .85rem; color: rgba(255, 255, 255, .7); }

.hero-visual { position: relative; height: 380px; }
.globe-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 7rem; filter: drop-shadow(0 12px 32px rgba(0, 0, 0, .35));
  animation: floaty 6s ease-in-out infinite;
}
.globe-ring {
  position: absolute; left: 50%; top: 50%; width: 300px; height: 300px;
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .3);
  animation: spin 40s linear infinite;
}
.globe-card {
  position: absolute; padding: .45rem .85rem; border-radius: 12px;
  background: rgba(255, 255, 255, .95); color: var(--ink);
  font-size: .85rem; font-weight: 600; box-shadow: var(--shadow-lg);
  animation: floaty 5s ease-in-out infinite;
}
.gc-1 { top: 6%; left: 8%; animation-delay: .2s; }
.gc-2 { top: 18%; right: 4%; animation-delay: 1.1s; }
.gc-3 { bottom: 14%; left: 2%; animation-delay: .6s; }
.gc-4 { bottom: 4%; right: 14%; animation-delay: 1.6s; }
.gc-5 { top: 52%; right: -2%; animation-delay: 2.2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.globe-core { animation-name: floaty-center; }
@keyframes floaty-center { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -56%); } }

/* ---------- 通用 Section ---------- */
.section { padding: 4rem 0; }
.section-alt { background: linear-gradient(180deg, #fff, var(--bg)); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head h2 { font-size: 1.7rem; letter-spacing: .01em; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center p { color: var(--ink-soft); max-width: 44em; }
.link-more { color: var(--primary); font-weight: 600; font-size: .95rem; }
.link-more:hover { text-decoration: underline; }

/* ---------- 页面 Hero(内页) ---------- */
.page-hero {
  padding: 3.2rem 0; color: #fff;
  background: linear-gradient(135deg, #0d1b45, #1d3fa3 70%, #2453e6);
}
.page-hero h1 { font-size: 2rem; margin-bottom: .5rem; }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 46em; }

/* ---------- 国家卡片 ---------- */
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.2rem; }
.country-card {
  display: flex; flex-direction: column; gap: .9rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; box-shadow: var(--shadow); transition: all .2s;
}
.country-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c9d6f5; }
.country-card-top { display: flex; gap: .8rem; align-items: flex-start; }
.country-flag { font-size: 2.1rem; line-height: 1.1; }
.country-name { font-size: 1.12rem; }
.country-tagline { color: var(--muted); font-size: .82rem; line-height: 1.5; margin-top: .15rem; }
.country-card-stats { display: flex; flex-direction: column; gap: .45rem; border-top: 1px dashed var(--line); padding-top: .9rem; }
.stat { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.stat-label { color: var(--muted); flex: none; }
.stat-value { text-align: right; color: var(--ink-soft); font-weight: 500; }
.card-more { color: var(--primary); font-size: .88rem; font-weight: 600; margin-top: auto; }

/* ---------- 筛选栏 ---------- */
.filter-bar { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.8rem; }
.filter-btns { display: flex; gap: .4rem; flex-wrap: wrap; }
.filter-btn {
  border: 1.5px solid var(--line); background: var(--card); border-radius: 999px;
  padding: .42rem 1.05rem; font-size: .88rem; font-weight: 500; color: var(--ink-soft); transition: all .18s;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-search {
  margin-left: auto; border: 1.5px solid var(--line); border-radius: 12px;
  padding: .5rem 1rem; font-size: .9rem; min-width: 220px; font-family: inherit;
  background: var(--card); color: var(--ink); outline: none; transition: border .18s;
}
.filter-search:focus { border-color: var(--primary); }
.empty-hint { text-align: center; color: var(--muted); padding: 3rem 0; }

/* ---------- 步骤卡片 ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2.2rem; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--primary-soft); color: var(--primary);
  font-weight: 700; margin-bottom: .8rem;
}
.step-card h3 { margin-bottom: .4rem; font-size: 1.05rem; }
.step-card p { color: var(--ink-soft); font-size: .9rem; }
.center-cta { text-align: center; }

/* ---------- 文章卡片 ---------- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.article-card {
  display: flex; flex-direction: column; gap: .6rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); transition: all .2s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-cat {
  align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .03em;
  color: var(--primary); background: var(--primary-soft); border-radius: 999px; padding: .2rem .7rem;
}
.article-card h3 { font-size: 1.08rem; line-height: 1.5; }
.article-card p { color: var(--ink-soft); font-size: .88rem; }
.article-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .6rem; color: var(--muted); font-size: .82rem; }

/* ---------- 横幅 CTA ---------- */
.banner-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  background: linear-gradient(135deg, #16307f, #2453e6 60%, #4f46e5); color: #fff;
  border-radius: 22px; padding: 2.4rem 2.6rem; box-shadow: var(--shadow-lg);
}
.banner-cta h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.banner-cta p { color: rgba(255, 255, 255, .82); }
.banner-cta.small { padding: 1.8rem 2rem; margin: 2.5rem 0; }
.banner-cta.small h2 { font-size: 1.2rem; }

/* ---------- 目的地详情 ---------- */
.detail-hero { color: #fff; padding: 2.6rem 0 2.4rem; background: linear-gradient(135deg, #0d1b45, #1d3fa3 65%, #2453e6); }
.breadcrumb { font-size: .85rem; color: rgba(255, 255, 255, .65); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.section .breadcrumb, .article-page .breadcrumb { color: var(--muted); }
.section .breadcrumb a:hover, .article-page .breadcrumb a:hover { color: var(--primary); }
.detail-hero-main { display: flex; gap: 1.4rem; align-items: center; margin-bottom: 1.6rem; }
.detail-flag { font-size: 4rem; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .3)); }
.region-badge {
  display: inline-block; font-size: .75rem; padding: .18rem .7rem; border-radius: 999px;
  background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .3); margin-bottom: .5rem;
}
.detail-hero h1 { font-size: 2rem; }
.detail-tagline { color: rgba(255, 255, 255, .8); margin-top: .3rem; }
.chip-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.chip {
  display: flex; flex-direction: column; gap: .1rem;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px; padding: .6rem 1.1rem; backdrop-filter: blur(6px);
}
.chip-label { font-size: .72rem; color: rgba(255, 255, 255, .65); }
.chip strong { font-size: .95rem; }
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; }
.detail-section { margin-bottom: 2.6rem; }
.detail-section h2 { display: flex; align-items: center; gap: .7rem; font-size: 1.3rem; margin-bottom: .9rem; }
.section-num { color: var(--primary); font-size: .95rem; font-weight: 700; opacity: .75; }
.detail-section > p { color: var(--ink-soft); max-width: 62em; }
.detail-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 1.2rem; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.side-card h3 { font-size: 1rem; margin-bottom: .6rem; }
.side-card p { font-size: .88rem; color: var(--ink-soft); margin-bottom: .8rem; }
.side-majors { font-weight: 500; }
.side-link { display: block; padding: .45rem 0; font-size: .92rem; color: var(--ink-soft); border-bottom: 1px dashed var(--line); }
.side-link:last-child { border-bottom: none; }
.side-link:hover { color: var(--primary); }
.cta-card { background: linear-gradient(150deg, #16307f, #2453e6); color: #fff; border: none; }
.cta-card h3 { color: #fff; }
.cta-card p { color: rgba(255, 255, 255, .8); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: .7rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 0; overflow: hidden; box-shadow: var(--shadow);
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1rem 1.3rem;
  font-weight: 600; font-size: .98rem; position: relative; padding-right: 2.6rem;
  transition: color .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  color: var(--primary); font-size: 1.3rem; font-weight: 500; transition: transform .2s;
}
.faq-item[open] summary { color: var(--primary-dark); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item > p { padding: 0 1.3rem 1.1rem; color: var(--ink-soft); font-size: .93rem; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 1.4rem; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding: 0 0 1.4rem 1rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -1.4rem; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft);
}
.timeline-content strong { font-size: .95rem; color: var(--primary-dark); }
.timeline-content p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- 文章详情 ---------- */
.article-container { max-width: 780px; }
.article-title { font-size: 1.9rem; line-height: 1.4; margin: .8rem 0 .5rem; }
.article-page .article-meta { justify-content: flex-start; margin-bottom: 1.8rem; }
.article-body p { margin-bottom: 1.2rem; color: #2b3550; font-size: 1.02rem; }
.related-title { font-size: 1.3rem; margin: 2.2rem 0 1.2rem; }

/* ---------- AI 评估 ---------- */
.eval-hero { text-align: center; }
.eval-hero p { margin: 0 auto; }
.eval-container { max-width: 820px; }
.eval-progress { margin-bottom: 2.2rem; }
.progress-track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress-fill { height: 100%; width: 25%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), #6d28d9); transition: width .35s; }
.progress-labels { display: flex; justify-content: space-between; margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.progress-labels span.active { color: var(--primary); font-weight: 600; }
.progress-labels span.done { color: var(--ok); }

.eval-step { display: none; border: none; }
.eval-step.active { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.eval-step h2 { font-size: 1.35rem; margin-bottom: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.form-field { margin-bottom: 1.3rem; }
.form-field > label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .55rem; }
.form-field > label em { color: var(--bad); font-style: normal; }
.form-field input[type="text"], .form-field input[type="number"], .form-field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: .7rem 1rem; font-size: .95rem; font-family: inherit;
  background: var(--card); color: var(--ink); outline: none; transition: border .18s, box-shadow .18s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36, 83, 230, .12); }
.pill-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; gap: .3rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--card);
  padding: .48rem 1.05rem; font-size: .9rem; color: var(--ink-soft); transition: all .15s; user-select: none;
}
.pill:hover span { border-color: #b9c8ef; }
.pill input:checked + span {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 3px 10px rgba(36, 83, 230, .3); font-weight: 600;
}
.pill input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.eval-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.eval-nav .btn { min-width: 130px; }
#nextBtn, #submitBtn { margin-left: auto; }
.form-error { color: var(--bad); font-size: .9rem; margin-top: .9rem; text-align: center; }
.privacy-note { color: var(--muted); font-size: .8rem; text-align: center; margin-top: 1rem; }

.eval-loading { text-align: center; padding: 4rem 0; }
.spinner {
  width: 52px; height: 52px; margin: 0 auto 1.2rem; border-radius: 50%;
  border: 5px solid var(--primary-soft); border-top-color: var(--primary);
  animation: spinner .9s linear infinite;
}
@keyframes spinner { to { transform: rotate(360deg); } }
.eval-loading p { color: var(--ink-soft); }

/* ---------- 评估结果 ---------- */
.eval-result { animation: fadeUp .4s ease; }
.result-head { text-align: center; margin-bottom: 2rem; }
.result-head h2 { font-size: 1.5rem; }
.result-source { color: var(--muted); font-size: .85rem; margin-top: .4rem; }
.result-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: center; margin-bottom: 2rem; }
.score-ring-wrap { position: relative; width: 220px; height: 220px; margin: 0 auto; }
.score-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line); stroke-width: 14; }
.ring-fg {
  fill: none; stroke: url(#scoreGrad), var(--primary); stroke: var(--primary);
  stroke-width: 14; stroke-linecap: round;
  stroke-dasharray: 540.35; stroke-dashoffset: 540.35;
  transition: stroke-dashoffset 1.2s cubic-bezier(.22, 1, .36, 1);
}
.score-ring-text {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.score-ring-text strong { font-size: 3.2rem; line-height: 1; color: var(--primary-dark); }
.score-ring-text span { color: var(--muted); font-size: .85rem; margin-top: .3rem; }
.result-dims { display: flex; flex-direction: column; gap: .95rem; }
.dim-row { display: grid; grid-template-columns: 110px 1fr 44px; align-items: center; gap: .9rem; }
.dim-label { font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.dim-bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.dim-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), #7c3aed); width: 0; transition: width 1s ease .2s; }
.dim-score { font-weight: 700; color: var(--primary-dark); font-size: .95rem; text-align: right; }
.result-tier {
  background: var(--primary-soft); border: 1px solid #cdd9f7; color: var(--primary-dark);
  border-radius: 14px; padding: 1rem 1.4rem; font-weight: 600; text-align: center; margin-bottom: 1.6rem;
}
.result-advice { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow); }
.result-advice h3 { margin-bottom: .8rem; }
.result-advice p { color: var(--ink-soft); margin-bottom: .7rem; }
.result-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0d1533; color: #aeb8d4; margin-top: 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding: 3.2rem 1.25rem 2rem; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.footer-col a { display: block; padding: .28rem 0; font-size: .88rem; color: #aeb8d4; }
.footer-col a:hover { color: #fff; }
.footer-desc { font-size: .85rem; line-height: 1.7; margin-top: .8rem; }
.footer-brand-col .brand-text strong { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.2rem; text-align: center; font-size: .82rem; color: #7b87a8; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; }
.notfound h1 { font-size: 4.5rem; color: var(--primary); }

/* ---------- 管理后台 ---------- */
.admin-body { background: var(--bg); }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: linear-gradient(135deg, #0d1b45, #1d3fa3 70%, #2453e6); }
.admin-login-card {
  width: 100%; max-width: 380px; background: var(--card); border-radius: 20px;
  padding: 2.4rem 2.2rem; box-shadow: var(--shadow-lg); text-align: center;
}
.admin-login-card h1 { font-size: 1.35rem; margin-top: 1rem; }
.admin-login-sub { color: var(--muted); font-size: .85rem; margin: .3rem 0 1.5rem; }
.admin-input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: .7rem 1rem; font-size: .95rem; font-family: inherit; outline: none;
  margin-bottom: 1rem; background: #fff; color: var(--ink);
}
.admin-input:focus { border-color: var(--primary); }
.admin-back { display: inline-block; margin-top: 1.2rem; font-size: .85rem; color: var(--muted); }
.admin-back:hover { color: var(--primary); }

.admin-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-header-inner { max-width: 1280px; margin: 0 auto; padding: .8rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.admin-header-actions { display: flex; gap: .6rem; }
.admin-main { max-width: 1280px; margin: 0 auto; padding: 1.8rem 1.25rem 3rem; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.6rem; }
.admin-stat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .2rem;
}
.admin-stat-card span:last-child { color: var(--muted); font-size: .85rem; }
.admin-stat-num { font-size: 1.7rem; font-weight: 700; color: var(--primary-dark); }
.admin-toolbar { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.admin-select {
  border: 1.5px solid var(--line); border-radius: 12px; padding: .55rem .9rem;
  font-size: .92rem; font-family: inherit; background: #fff; color: var(--ink); outline: none;
}
.admin-search { max-width: 240px; margin-bottom: 0; }
.admin-count { color: var(--muted); font-size: .88rem; }
.admin-table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 900px; }
.admin-table th { text-align: left; padding: .85rem 1rem; background: #f2f5fb; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.admin-table td { padding: .8rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.admin-table tbody tr:hover { background: #f8faff; }
.admin-empty { text-align: center; color: var(--muted); padding: 2.5rem !important; }
.lead-dest-tag { display: inline-block; background: var(--primary-soft); color: var(--primary-dark); border-radius: 8px; padding: .1rem .5rem; font-size: .8rem; margin: 0 .25rem .25rem 0; white-space: nowrap; }
.lead-score { font-weight: 700; }
.lead-score.good { color: var(--ok); }
.lead-score.mid { color: var(--warn); }
.lead-score.low { color: var(--bad); }
.row-btn { border: none; background: none; color: var(--primary); font-size: .85rem; padding: .2rem .4rem; }
.row-btn:hover { text-decoration: underline; }
.row-btn.danger { color: var(--bad); }

.admin-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.admin-modal-mask { position: absolute; inset: 0; background: rgba(13, 21, 51, .5); }
.admin-modal-card {
  position: relative; width: min(680px, calc(100vw - 2rem)); max-height: 84vh; overflow-y: auto;
  background: #fff; border-radius: 18px; padding: 2rem; box-shadow: var(--shadow-lg);
}
.admin-modal-close { position: absolute; top: .9rem; right: 1.1rem; border: none; background: none; font-size: 1.6rem; color: var(--muted); }
.admin-modal-card h2 { margin-bottom: 1.2rem; font-size: 1.25rem; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; margin-bottom: 1.2rem; }
.detail-grid .full { grid-column: 1 / -1; }
.detail-item { font-size: .92rem; }
.detail-item b { color: var(--muted); font-weight: 500; display: block; font-size: .8rem; }
.detail-advice { background: var(--bg); border-radius: 12px; padding: 1rem 1.2rem; font-size: .9rem; color: var(--ink-soft); white-space: pre-wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 3.5rem 1.25rem; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .result-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: #fff; border-bottom: 1px solid var(--line);
    padding: .8rem 1.25rem; gap: .2rem; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .section { padding: 2.6rem 0; }
  .banner-cta { padding: 1.8rem 1.5rem; }
  .filter-search { margin-left: 0; width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .eval-nav .btn { min-width: 100px; }
  .progress-labels { font-size: .72rem; }
}
