
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #4F6BFF;
  --primary-light: #6B85FF;
  --primary-deep: #3548D9;
  --secondary: #FF7A45;
  --accent: #00C9A7;
  --warning: #FFC53D;
  --bg-page: #F5F7FB;
  --bg-card: #FFFFFF;
  --text-1: #1A2244;
  --text-2: #5C6486;
  --text-3: #8A92AB;
  --border: #ECEEF5;
  --shadow-sm: 0 2px 8px rgba(79, 107, 255, 0.06);
  --shadow-md: 0 8px 24px rgba(79, 107, 255, 0.10);
  --shadow-lg: 0 16px 48px rgba(79, 107, 255, 0.14);
  --grad-primary: linear-gradient(135deg, #4F6BFF 0%, #6B85FF 100%);
  --grad-warm: linear-gradient(135deg, #FF7A45 0%, #FFC53D 100%);
  --grad-cool: linear-gradient(135deg, #00C9A7 0%, #4F6BFF 100%);
  --grad-purple: linear-gradient(135deg, #8B5CF6 0%, #4F6BFF 100%);
  --grad-pink: linear-gradient(135deg, #FF6B9D 0%, #FF7A45 100%);
}

html, body { height: 100%; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--text-1); background: var(--bg-page); -webkit-font-smoothing: antialiased; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ==== Layout ==== */
.app { display: flex; min-height: 100vh; }

/* ==== Sidebar ==== */
.sidebar {
  width: 280px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
  border-right: 1px solid var(--border);
  padding: 24px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px 22px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 16px;
}
.brand-logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: var(--shadow-md);
}
.brand-name { font-size: 17px; font-weight: 700; color: var(--text-1); line-height: 1.2; }
.brand-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }

.menu { list-style: none; }
.menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  margin-bottom: 6px;
  position: relative;
}
.menu-item .icon { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; }
.menu-item:hover { background: rgba(79, 107, 255, 0.06); color: var(--primary); }
.menu-item.active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.menu-item.active::before {
  content: ''; position: absolute; left: -18px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 22px; border-radius: 4px; background: var(--primary-deep);
}
.menu-item .badge {
  margin-left: auto;
  background: rgba(255,255,255,0.25);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}
.menu-item:not(.active) .badge { background: rgba(79, 107, 255, 0.1); color: var(--primary); }

.sidebar-foot {
  margin-top: 28px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EEF1FF 0%, #E5F9F4 100%);
}
.sidebar-foot .row { display:flex; align-items:center; gap:10px; font-size: 12px; color: var(--text-2); margin: 6px 0; }
.sidebar-foot .row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ==== Main ==== */
.main { flex: 1; padding: 28px 36px 60px; min-width: 0; }
.topbar { display:flex; align-items:center; justify-content: space-between; margin-bottom: 22px; }
.crumb { font-size: 13px; color: var(--text-3); }
.crumb b { color: var(--text-1); }
.crumb .sep { margin: 0 8px; color: var(--text-3); }
.top-actions { display:flex; gap: 10px; }
.tag-pill {
  padding: 6px 12px; border-radius: 99px;
  background: #fff; border: 1px solid var(--border);
  font-size: 12px; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 6px;
}
.tag-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:0.4 } }

/* ==== Page header ==== */
.page-head {
  background: linear-gradient(135deg, #FFFFFF 0%, #F4F7FF 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 28px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content:''; position: absolute; right: -50px; top: -50px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,107,255,0.12), transparent 70%);
}
.page-head h1 {
  font-size: 26px; font-weight: 700; margin-bottom: 6px;
  display: flex; align-items: center; gap: 12px;
  position: relative;
}
.page-head p { font-size: 14px; color: var(--text-2); position: relative; }
.page-head .stats {
  display: flex; gap: 28px; margin-top: 18px; position: relative;
}
.page-head .stat .num {
  font-size: 26px; font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.page-head .stat .lbl { font-size: 12px; color: var(--text-3); }

/* ==== Section ==== */
.section { display: none; animation: fadeUp .35s ease; }
.section.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.sec-title {
  font-size: 19px; font-weight: 700; color: var(--text-1);
  display: flex; align-items: center; gap: 10px;
  margin: 8px 0 16px;
}
.sec-title .badge-num {
  background: var(--grad-primary);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 600;
}

/* ==== Category blocks ==== */
.cat-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 22px;
}
.cat-head {
  display:flex; align-items:center; gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--border);
}
.cat-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  flex-shrink: 0;
}
.cat-icon.g1 { background: var(--grad-primary); }
.cat-icon.g2 { background: var(--grad-warm); }
.cat-icon.g3 { background: var(--grad-purple); }
.cat-icon.g4 { background: var(--grad-cool); }
.cat-icon.g5 { background: var(--grad-pink); }
.cat-icon.g6 { background: linear-gradient(135deg, #FF4D4F 0%, #FF7A45 100%); }
.cat-head h3 { font-size: 17px; font-weight: 700; }
.cat-head p { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }

/* ==== Cert grid ==== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.cert-card {
  display:flex; align-items:center; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #FAFBFF 0%, #F4F7FF 100%);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
}
.cert-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79,107,255,0.25);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.cert-card .num-tag {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--grad-primary);
  color: #fff;
  display:flex; align-items:center; justify-content:center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.cert-card .info { flex: 1; min-width: 0; }
.cert-card .name { font-size: 13.5px; font-weight: 600; color: var(--text-1); line-height: 1.35; }
.cert-card .level {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 4px;
  font-weight: 500;
}
.level-初级 { background: #E5F9F4; color: #0B9D7E; }
.level-中级 { background: #FFF4E5; color: #D8861F; }
.level-高级 { background: #EEF1FF; color: var(--primary); }
.level-none { display: none; }

/* ==== Training Camp ==== */
.camp-hero {
  background: linear-gradient(135deg, #4F6BFF 0%, #8B5CF6 50%, #FF6B9D 100%);
  border-radius: 22px;
  padding: 40px;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.camp-hero::before {
  content:''; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.camp-hero::after {
  content:''; position: absolute; right: 60px; bottom: -100px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.camp-hero .pretitle {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
}
.camp-hero h1 { font-size: 36px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; position: relative; }
.camp-hero h1 .accent { background: linear-gradient(120deg, #FFE066 0%, #FFA84D 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.camp-hero p { font-size: 15px; opacity: 0.92; max-width: 660px; line-height: 1.7; position: relative; }

.camp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
  position: relative;
}
.camp-stat {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 18px 16px;
  border: 1px solid rgba(255,255,255,0.18);
}
.camp-stat .v { font-size: 30px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.camp-stat .v .small { font-size: 16px; opacity: 0.85; font-weight: 600; }
.camp-stat .l { font-size: 12.5px; opacity: 0.9; }

/* ==== Instructor & core value (camp) ==== */
.instructor-points { display: flex; flex-direction: column; gap: 14px; }
.ip-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #FAFBFF 0%, #FFFFFF 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.25s;
}
.ip-row:hover { transform: translateX(4px); border-color: rgba(255,122,69,0.35); box-shadow: var(--shadow-sm); }
.ip-ic {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--grad-warm);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.ip-row p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.ip-row p b { color: var(--text-1); font-weight: 700; }
.feature p b { color: var(--primary-deep); }
.camp-cert-list { margin-top: 4px; }

.flow {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid var(--border);
  margin-bottom: 22px;
}
.flow-head { margin-bottom: 22px; }
.flow-head h2 { font-size: 19px; font-weight: 700; margin-bottom: 6px; display:flex; align-items:center; gap: 10px; }
.flow-head p { font-size: 13px; color: var(--text-3); }
.flow-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  position: relative;
}
.flow-day {
  background: linear-gradient(180deg, #FAFBFF, #FFFFFF);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.25s;
}
.flow-day:hover { transform: translateY(-3px); border-color: var(--primary-light); box-shadow: var(--shadow-md); }
.flow-day .d { font-size: 11px; color: var(--primary); font-weight: 700; letter-spacing: 1px; }
.flow-day .ic { font-size: 26px; margin: 8px 0; }
.flow-day .t { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--text-1); }
.flow-day .n { font-size: 11px; color: var(--text-3); margin-top: 4px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.feature {
  background: linear-gradient(135deg, #FAFBFF 0%, #FFFFFF 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.25s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(79,107,255,0.3); }
.feature .ic {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--grad-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.feature h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 12.5px; color: var(--text-2); line-height: 1.6; }

/* ==== Effects / Value ==== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display:flex; gap: 16px; align-items:flex-start;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79,107,255,0.3);
}
.value-card .ic {
  width: 50px; height: 50px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.value-card h4 { font-size: 15.5px; font-weight: 700; color: var(--text-1); margin-bottom: 6px; }
.value-card p { font-size: 13px; color: var(--text-2); line-height: 1.65; }
.value-card .num {
  position: absolute; right: 14px; top: 12px;
  font-size: 50px; font-weight: 900;
  color: rgba(79,107,255,0.06);
  line-height: 1;
}
.value-card.green .ic { background: var(--grad-cool); }
.value-card.orange .ic { background: var(--grad-warm); }
.value-card.purple .ic { background: var(--grad-purple); }
.value-card.pink .ic { background: var(--grad-pink); }
.value-card.blue .ic { background: var(--grad-primary); }

.compare-bar {
  background: linear-gradient(135deg, #FFF4E5 0%, #FFEEE0 100%);
  border-radius: 14px;
  padding: 22px 26px;
  margin-top: 8px;
  display:flex; align-items:center; justify-content: space-between;
}
.compare-bar .lt h4 { font-size: 16px; font-weight: 700; color: #B85A1A; margin-bottom: 4px; }
.compare-bar .lt p { font-size: 13px; color: #8E5320; }

/* ==== Contact ==== */
.contact-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F4F7FF 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content:''; position: absolute;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,107,255,0.08), transparent 70%);
  right: -120px; top: -120px;
}
.contact-info { position: relative; }
.contact-info .tag {
  display:inline-block;
  background: var(--grad-primary);
  color:#fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 18px;
}
.contact-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; line-height: 1.3; }
.contact-info .lead { font-size: 14.5px; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; }
.contact-row {
  display:flex; align-items:center; gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
}
.contact-row .avatar {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFB347, #FF6B6B);
  display:flex; align-items:center; justify-content:center;
  font-size: 24px; color: #fff;
  flex-shrink: 0;
}
.contact-row .info { flex: 1; }
.contact-row .nm { font-size: 16px; font-weight: 700; margin-bottom: 4px; display:flex; align-items:center; gap: 8px; }
.contact-row .nm .gender { background: #EEF1FF; color: var(--primary); font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: 600; }
.contact-row .wx { font-size: 13px; color: var(--text-2); display:flex; align-items:center; gap: 6px; }
.contact-row .copy-btn {
  padding: 7px 14px;
  background: var(--grad-primary);
  color:#fff;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 8px;
}

.contact-qr {
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.qr-frame {
  width: 260px; height: 260px;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  border: 2px solid var(--primary);
  margin-bottom: 14px;
  position: relative;
  box-shadow: 0 12px 40px rgba(79,107,255,0.18);
}
.qr-frame img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.qr-name {
  font-size: 18px; font-weight: 700; margin-bottom: 6px;
  display: inline-flex; align-items: center; gap: 10px;
}
.qr-name .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB347, #FF6B6B);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff;
}
.qr-tips { font-size: 12.5px; color: var(--text-3); line-height: 1.6; }

.commitments {
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; position: relative;
}
.commit {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.commit .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #EEF1FF, #E5F9F4);
  display:inline-flex; align-items:center; justify-content:center;
  margin-bottom: 8px;
  font-size: 18px;
}
.commit h5 { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.commit p { font-size: 11.5px; color: var(--text-3); line-height: 1.5; }

/* ==== Bottom CTA ==== */
.bottom-cta {
  margin-top: 36px;
  background: linear-gradient(135deg, #1A2244 0%, #3548D9 100%);
  border-radius: 22px;
  padding: 32px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.bottom-cta .lt h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.bottom-cta .lt p { font-size: 13.5px; opacity: 0.85; }
.bottom-cta .rt button {
  background: #fff;
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s;
}
.bottom-cta .rt button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,0.25); }

/* ==== Responsive ==== */
@media (max-width: 1100px) {
  .camp-stats { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .commitments { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .app { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: relative; padding: 16px; }
  .main { padding: 20px; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .page-head .stats { gap: 16px; flex-wrap: wrap; }
}

/* ==== Anim helper ==== */
.reveal { opacity: 0; transform: translateY(10px); transition: all .5s; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==== Certificate Detail Modal ==== */
.cert-card .arrow {
  margin-left: 6px;
  color: var(--primary);
  font-size: 16px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s;
  flex-shrink: 0;
}
.cert-card:hover .arrow { opacity: 1; transform: translateX(0); }

.modal-mask {
  position: fixed; inset: 0;
  background: rgba(26,34,68,0.45);
  backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  z-index: 800;
  padding: 20px;
}
.modal-mask.show { opacity: 1; pointer-events: auto; }
.modal {
  width: 100%; max-width: 580px;
  max-height: 88vh; overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(26,34,68,0.32);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s;
}
.modal-mask.show .modal { transform: translateY(0) scale(1); }
.modal-head {
  padding: 26px 28px 24px;
  background: linear-gradient(135deg, #4F6BFF 0%, #8B5CF6 100%);
  color: #fff;
  border-radius: 22px 22px 0 0;
  position: relative;
}
.modal-head .crumbs { font-size: 12px; opacity: 0.85; margin-bottom: 10px; display:flex; align-items:center; gap:6px; }
.modal-head h2 { font-size: 20px; font-weight: 700; line-height: 1.4; padding-right: 30px; }
.modal-head .lv {
  display: inline-block;
  margin-top: 12px;
  background: rgba(255,255,255,0.22);
  padding: 5px 13px;
  border-radius: 99px;
  font-size: 12.5px; font-weight: 600;
}
.modal-close {
  position: absolute; right: 18px; top: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.35); transform: rotate(90deg); }
.modal-body { padding: 24px 28px 8px; }
.md-block { margin-bottom: 20px; }
.md-block .md-h {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--text-1);
  margin-bottom: 10px;
}
.md-block .md-h .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.md-block p { font-size: 13.5px; color: var(--text-2); line-height: 1.75; }
.md-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.md-tags span {
  background: #EEF1FF; color: var(--primary-deep);
  font-size: 12px; padding: 5px 12px; border-radius: 8px; font-weight: 500;
}
.modal-foot { padding: 18px 28px 26px; }
.modal-foot button {
  width: 100%;
  background: var(--grad-primary);
  color: #fff;
  font-size: 14.5px; font-weight: 700;
  padding: 14px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.25s;
}
.modal-foot button:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Toast */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: rgba(26,34,68,0.94); color:#fff;
  padding: 11px 22px; border-radius: 99px;
  font-size: 13.5px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  opacity: 0;
  transition: all 0.3s;
  z-index: 999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==== 公告条 ==== */
.ann-bar { background: linear-gradient(135deg, #4F6BFF 0%, #6B85FF 100%); color: #fff; padding: 10px 22px; display: flex; flex-direction: column; gap: 4px; }
.ann-item { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.ann-item:hover { opacity: .92; }
.ann-tag { background: rgba(255,255,255,.22); padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; flex: 0 0 auto; }
.ann-title { font-weight: 700; font-size: 13.5px; }
.ann-desc { font-size: 13px; opacity: .9; }

/* ==== 页脚 ==== */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 26px 28px; text-align: center; margin-top: 8px; }
.site-footer .f-logo { height: 36px; border-radius: 8px; margin-bottom: 8px; }
.site-footer .f-name { font-weight: 800; color: #fff; font-size: 15px; }
.site-footer .f-copy { font-size: 12.5px; color: #94a3b8; margin-top: 6px; }

/* ==== 证书详情-官方链接 ==== */
.md-link { margin-top: 10px; }
.md-link a { color: var(--primary); font-weight: 600; text-decoration: none; }
.md-link a:hover { text-decoration: underline; }

