/* ============================================
   立得评估 — 新版网站样式 v2.2 （全站字体加大）
   配色：#1B2838  #1F3144  #D4A843  #F0EBE3  #7A8FA0
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:      #1B2838;
  --card:    #1F3144;
  --accent:  #D4A843;
  --text:    #F0EBE3;
  --muted:   #7A8FA0;
  --radius:  14px;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========== 顶部导航（通用） ========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(27,40,56,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,168,67,0.1);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.logo-link {
  display: flex; align-items: center; gap: 14px; text-decoration: none; transition: opacity 0.2s;
}
.logo-link:hover { opacity: 0.85; }
.logo-img { height: 50px; width: auto; }
.logo-text { font-family: 'Noto Serif SC', 'SimSun', 'STSong', serif; font-size: 30px; font-weight: 900; color: var(--muted); letter-spacing: 6px; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.logo-text span { color: var(--accent); }

/* 导航链接 */
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 12px; border-radius: 6px; font-size: 16px; font-weight: 500;
  text-decoration: none; color: var(--muted); transition: all 0.25s; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: rgba(212,168,67,0.06); }
.nav-links a.active { color: var(--accent); background: rgba(212,168,67,0.1); }

.header-actions { display: flex; gap: 14px; }
.btn-login {
  padding: 10px 26px; border-radius: 6px; font-size: 17px; font-weight: 500;
  text-decoration: none; color: var(--accent);
  border: 1px solid var(--accent); transition: all 0.25s;
}
.btn-login:hover { background: rgba(212,168,67,0.08); }
.btn-register {
  padding: 10px 26px; border-radius: 6px; font-size: 17px; font-weight: 500;
  text-decoration: none; color: #1B2838; background: var(--accent); transition: all 0.25s;
}
.btn-register:hover { box-shadow: 0 0 20px rgba(212,168,67,0.3); }

/* ========== 子页面布局 ========== */
.sub-page {
  flex: 1; padding-top: 72px; display: flex; flex-direction: column;
}
.page-banner {
  padding: 48px 24px 32px; text-align: center;
  border-bottom: 1px solid rgba(212,168,67,0.06);
}
.page-banner h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.page-banner p { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.8; }
.page-banner .about-subtitle { max-width: 780px; white-space: nowrap; }
.page-banner .badge {
  display: inline-block; padding: 6px 18px; border-radius: 20px;
  font-size: 15px; font-weight: 500; color: var(--accent);
  border: 1px solid rgba(212,168,67,0.2);
  background: rgba(212,168,67,0.05); margin-bottom: 16px; letter-spacing: 1px;
}

.page-banner .page-sub-nav {
  margin-top: 24px; display: flex; justify-content: center; gap: 12px;
}
.page-banner .page-sub-nav a {
  padding: 10px 24px; border-radius: 8px; font-size: 16px; font-weight: 500;
  text-decoration: none; color: var(--muted); border: 1px solid rgba(212,168,67,0.08);
  transition: all 0.25s;
}
.page-banner .page-sub-nav a:hover { color: var(--text); border-color: rgba(212,168,67,0.2); }
.page-banner .page-sub-nav a.active { color: var(--accent); border-color: var(--accent); background: rgba(212,168,67,0.06); }

/* ========== 页脚（通用） ========== */
.site-footer { text-align: center; padding: 18px 24px; border-top: 1px solid rgba(212,168,67,0.05); }
.footer-text { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.footer-icp { font-size: 13px; color: #7A8FA0; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.footer-icp a { color: #7A8FA0; text-decoration: none; transition: color 0.2s; }
.footer-icp a:hover { color: var(--accent); }
.footer-gaba img { height: 16px; vertical-align: middle; margin-right: 4px; }

/* ============================================
   首页特有样式
   ============================================ */
.main-home {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 100px 24px 60px; min-height: 100vh;
}
/* ========== 品牌标语区 ========== */
.slogan-section { text-align: center; margin-bottom: 80px; max-width: 900px; }
.slogan-badge {
  display: inline-block; padding: 14px 40px; border-radius: 8px;
  font-size: 24px; font-weight: 800; color: #1B2838;
  background: var(--accent); margin-bottom: 28px; letter-spacing: 4px;
  box-shadow: 0 4px 16px rgba(212,168,67,0.25);
}
.slogan-sub {
  font-size: 20px; color: rgba(240,235,227,0.8); font-weight: 400;
  max-width: 760px; margin: 0 auto 28px; line-height: 2;
  word-break: keep-all;
}
.slogan-values {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 760px; margin: 0 auto;
}
.slogan-value {
  display: inline-block; font-size: 16px; color: var(--muted);
  font-weight: 300; line-height: 1.9;
}

.card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 1100px; width: 100%; }
.card {
  position: relative; background: var(--card);
  border: 1px solid rgba(212,168,67,0.06); border-radius: 16px;
  padding: 44px 28px 38px; text-decoration: none; color: var(--text);
  transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent); opacity: 0; transition: opacity 0.35s;
}
.card:hover {
  transform: translateY(-4px); border-color: rgba(212,168,67,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 30px rgba(212,168,67,0.03);
  background: rgba(212,168,67,0.02);
}
.card:hover::before { opacity: 1; }
.card-icon-wrap {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(212,168,67,0.06); border: 2px solid rgba(212,168,67,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; transition: all 0.35s;
}
.card:hover .card-icon-wrap { background: rgba(212,168,67,0.1); border-color: var(--accent); }
.card-icon-wrap svg { width: 32px; height: 32px; color: rgba(212,168,67,0.4); transition: color 0.35s; }
.card:hover .card-icon-wrap svg { color: var(--accent); }
.card-number { font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: 3px; margin-bottom: 10px; }
.card-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.card-desc { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; max-width: 260px; }
.card-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; color: var(--accent); transition: gap 0.3s; }
.card:hover .card-arrow { gap: 12px; color: var(--text); }
.card-arrow svg { width: 16px; height: 16px; }

/* ============================================
   案例地图页
   ============================================ */
.map-layout {
  flex: 1; display: flex; gap: 0; height: calc(100vh - 72px);
}
.map-sidebar {
  width: 340px; min-width: 340px; padding: 28px 22px;
  border-right: 1px solid rgba(212,168,67,0.06);
  overflow-y: auto; flex-shrink: 0;
}
.map-sidebar h2 { font-size: 22px; font-weight: 700; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.map-sidebar h2 span { font-size: 16px; color: var(--muted); font-weight: 400; }

.filter-group { margin-bottom: 22px; }
.filter-group label { display: block; font-size: 16px; font-weight: 500; color: var(--muted); margin-bottom: 7px; }
.filter-group select,
.filter-group input {
  width: 100%; padding: 12px 16px; border-radius: 8px; border: 1px solid rgba(212,168,67,0.1);
  background: var(--card); color: var(--text); font-size: 16px; font-family: inherit; outline: none;
  transition: border-color 0.25s;
}
.filter-group select:focus, .filter-group input:focus { border-color: var(--accent); }
.filter-group select option { background: var(--bg); color: var(--text); }

.filter-actions { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.btn-primary {
  padding: 14px 26px; border-radius: 8px; font-size: 17px; font-weight: 600;
  color: #1B2838; background: var(--accent); border: none; cursor: pointer;
  text-align: center; transition: all 0.25s; font-family: inherit;
}
.btn-primary:hover { box-shadow: 0 0 24px rgba(212,168,67,0.3); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.btn-secondary {
  padding: 14px 26px; border-radius: 8px; font-size: 16px; font-weight: 500;
  color: var(--text); border: 1px solid rgba(212,168,67,0.15);
  background: transparent; cursor: pointer; text-align: center; transition: all 0.25s; font-family: inherit;
}
.btn-secondary:hover { border-color: var(--accent); background: rgba(212,168,67,0.04); }

.case-counter {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; background: var(--card); border-radius: 8px;
  border: 1px solid rgba(212,168,67,0.08);
}
.case-counter .count { font-size: 24px; font-weight: 800; color: var(--accent); }
.case-counter .label { font-size: 15px; color: var(--muted); }

/* 示例案例卡片（用于地图侧边） */
.sample-cases { margin-top: 24px; }
.sample-cases h4 { font-size: 16px; color: var(--muted); margin-bottom: 14px; font-weight: 500; }
.case-item {
  padding: 16px; border-radius: 8px; background: var(--card);
  border: 1px solid rgba(212,168,67,0.04); margin-bottom: 10px;
  cursor: pointer; transition: all 0.2s;
}
.case-item:hover { border-color: rgba(212,168,67,0.15); }
.case-item.selected { border-color: var(--accent); }
.case-item .name { font-size: 18px; font-weight: 500; margin-bottom: 5px; }
.case-item .meta { font-size: 15px; color: var(--muted); }
.case-item .price { font-size: 19px; color: var(--accent); font-weight: 700; }

/* ============================================
   报告出具/审核页
   ============================================ */
.report-layout {
  flex: 1; display: flex; gap: 0; min-height: calc(100vh - 72px);
}
.report-main {
  flex: 1; padding: 40px 40px 48px; overflow-y: auto;
}
.report-sidebar {
  width: 320px; min-width: 320px; padding: 40px 26px;
  border-left: 1px solid rgba(212,168,67,0.06);
  background: rgba(27,40,56,0.5);
}

/* 步骤指示器 */
.steps { display: flex; gap: 0; margin-bottom: 40px; }
.step {
  flex: 1; display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-radius: 10px;
  font-size: 16px; font-weight: 500; color: var(--muted);
  background: var(--card); border: 1px solid transparent;
  opacity: 0.5; transition: all 0.3s;
}
.step + .step { margin-left: 10px; }
.step .step-num {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; flex-shrink: 0;
  background: rgba(212,168,67,0.1); color: var(--muted);
}
.step.active { opacity: 1; border-color: rgba(212,168,67,0.15); }
.step.active .step-num { background: var(--accent); color: #1B2838; }
.step.done { opacity: 0.8; }
.step.done .step-num { background: rgba(212,168,67,0.2); color: var(--accent); }

/* 表单 */
.form-section { margin-bottom: 34px; }
.form-section h3 { font-size: 19px; font-weight: 600; margin-bottom: 20px; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { }
.form-group label { display: block; font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border-radius: 8px; border: 1px solid rgba(212,168,67,0.1);
  background: var(--card); color: var(--text); font-size: 16px; font-family: inherit; outline: none;
  transition: border-color 0.25s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--bg); color: var(--text); }
.form-group .hint { font-size: 14px; color: var(--muted); margin-top: 5px; }

/* 费用面板 */
    .fee-panel { }
    .fee-panel h3 { font-size: 19px; font-weight: 600; margin-bottom: 0; padding: 18px 0 14px; color: var(--accent); display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(212,168,67,0.06); }
    .fee-item { display: flex; justify-content: space-between; padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(212,168,67,0.04); }
    .fee-item .label { color: var(--muted); }
    .fee-item .value { font-weight: 600; color: var(--text); }
    .fee-item .value.highlight { color: var(--accent); }

    /* 确认面板 */
    #confirmDetail .detail-item {
      display: flex; justify-content: space-between; padding: 10px 0;
      border-bottom: 1px solid rgba(212,168,67,0.04); font-size: 15px;
    }
    #confirmDetail .detail-item:last-child { border-bottom: none; }
    #confirmDetail .detail-item .lbl { color: var(--muted); }
    #confirmDetail .detail-item .val { font-weight: 600; color: var(--text); }
.fee-item .value.highlight { color: var(--accent); font-size: 19px; font-weight: 700; }

/* ========== 通用面板 ========== */
.info-card {
  background: var(--card); border: 1px solid rgba(212,168,67,0.06);
  border-radius: var(--radius); padding: 34px;
  margin-bottom: 24px;
}
.info-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 18px; }

/* 上传区域 */
.upload-zone {
  border: 2px dashed rgba(212,168,67,0.15); border-radius: var(--radius);
  padding: 56px 32px; text-align: center; cursor: pointer;
  transition: all 0.25s; margin-bottom: 24px;
}
.upload-zone:hover { border-color: var(--accent); background: rgba(212,168,67,0.02); }
.upload-zone svg { width: 48px; height: 48px; color: var(--muted); margin-bottom: 16px; }
.upload-zone p { font-size: 17px; color: var(--muted); }
.upload-zone .hint { font-size: 15px; color: rgba(122,143,160,0.5); margin-top: 8px; }

/* 自定义 Marker 样式（高德地图） */
.custom-marker {
  width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff; cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.marker-high { background: #D4A843; }
.marker-mid { background: #7A8FA0; }
.marker-low { background: #4A6A7A; }
.marker-selected { border-color: #D4A843; box-shadow: 0 0 0 4px rgba(212,168,67,0.3); }

/* ========== 动画 ========== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeUp 0.6s ease-out both; }
.animate-in.d1 { animation-delay: 0.05s; }
.animate-in.d2 { animation-delay: 0.12s; }
.animate-in.d3 { animation-delay: 0.2s; }
.animate-in.d4 { animation-delay: 0.28s; }
.animate-in.d5 { animation-delay: 0.36s; }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .header-inner { height: 64px; padding: 0 16px; }
  .logo-img { height: 42px; } .logo-text { font-size: 20px; }
  .nav-links { display: none; }
  .slogan-sub { font-size: 16px; } .slogan-value { font-size: 14px; }
  .card-grid { grid-template-columns: 1fr; gap: 20px; }
  .card { padding: 40px 24px 34px; }
  .card-title { font-size: 26px; }
  .main-home { padding: 80px 16px 40px; }

  .map-layout { flex-direction: column; }
  .map-sidebar { width: 100%; min-width: unset; border-right: none; border-bottom: 1px solid rgba(212,168,67,0.06); padding: 22px 18px; }
  #mapContainer { height: 400px !important; }
  .page-banner h1 { font-size: 28px; }

  .report-layout { flex-direction: column; }
  .report-main { padding: 24px 18px; }
  .report-sidebar { width: 100%; min-width: unset; border-left: none; border-top: 1px solid rgba(212,168,67,0.06); }
  .steps { flex-direction: column; gap: 8px; }
  .step + .step { margin-left: 0; }
  .form-row { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .card-grid { gap: 20px; }
  .card { padding: 40px 22px; }
  .map-sidebar { width: 300px; min-width: 300px; }
}
