/* ===== rem scaling (1920px design) ===== */
html { font-size: calc(100vw / 19.2); }
body { font-size: 0.16rem; }
@media (min-width: 2560px) { html { font-size: 133.33px; } }
@media (max-width: 768px) { html { font-size: 100px; } }

/* ===== 全局重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; color: #333; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== 导航栏（与首页一致）===== */
.nav { position: sticky; top: 0; width: 100%; z-index: 1000; background: #0a1033; height: 0.6rem; }
.nav-inner { max-width: 12rem; margin: 0 auto; padding: 0 0.2rem; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 0.08rem; flex-shrink: 0; text-decoration: none; }
.nav-logo img { height: 0.4rem; }
.nav-logo span { color: #fff; font-size: 0.18rem; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 0.28rem; }
.nav-links a { color: rgba(255,255,255,0.7); font-size: 0.14rem; transition: color 0.3s; position: relative; padding: 0.18rem 0; white-space: nowrap; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #3b82f6; }
.nav-btn { background: transparent; border: 1px solid #3b82f6; color: #3b82f6; padding: 0.08rem 0.2rem; border-radius: 0.04rem; font-size: 0.14rem; cursor: pointer; transition: all 0.3s; white-space: nowrap; flex-shrink: 0; text-decoration: none; }
.nav-btn:hover { background: #3b82f6; color: #fff; }

/* ===== 页面横幅 ===== */
.page-banner {
  margin-top: 0; padding: 0.8rem 0.6rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner h1 {
  font-size: 0.42rem; color: #fff; margin-bottom: 0.16rem;
  position: relative; z-index: 1;
}
.page-banner p {
  font-size: 0.18rem; color: #94a3b8; position: relative; z-index: 1;
}
.breadcrumb {
  position: relative; z-index: 1;
  margin-top: 0.2rem; font-size: 0.14rem; color: #64748b;
}
.breadcrumb a { color: #94a3b8; }
.breadcrumb a:hover { color: #3b82f6; }

/* ===== 通用区块 ===== */
.section { padding: 0.8rem 0.6rem; max-width: 12rem; margin: 0 auto; }
.section-title {
  text-align: center; margin-bottom: 0.6rem;
}
.section-title h2 { font-size: 0.32rem; color: #1e293b; margin-bottom: 0.12rem; }
.section-title p { font-size: 0.16rem; color: #64748b; }
.section-title .line {
  width: 0.6rem; height: 0.03rem; background: #3b82f6;
  margin: 0.16rem auto 0; border-radius: 2px;
}

/* ===== 卡片网格 ===== */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
}
.card {
  background: #fff; border-radius: 0.12rem; overflow: hidden;
  box-shadow: 0 0.04rem 0.2rem rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-0.06rem);
  box-shadow: 0 0.12rem 0.4rem rgba(0,0,0,0.15);
}
.card-img {
  height: 2rem; background: linear-gradient(135deg, #1e3a5f, #3b82f6);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.48rem; color: rgba(255,255,255,0.3);
}
.card-body { padding: 0.24rem; }
.card-body h3 { font-size: 0.18rem; color: #1e293b; margin-bottom: 0.1rem; }
.card-body p { font-size: 0.14rem; color: #64748b; line-height: 1.8; }
.card-tag {
  display: inline-block; padding: 0.04rem 0.12rem; background: #eff6ff;
  color: #3b82f6; font-size: 0.12rem; border-radius: 0.2rem; margin-top: 0.12rem;
}

/* ===== 数据统计条 ===== */
.stats-bar {
  display: flex; justify-content: center; gap: 0.8rem;
  padding: 0.6rem; background: #f8fafc;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-size: 0.42rem; font-weight: 700; color: #3b82f6;
}
.stat-item .label { font-size: 0.14rem; color: #64748b; margin-top: 0.08rem; }

/* ===== 时间线 ===== */
/* ===== 发展历程（横向时间线） ===== */
.timeline-container {
  position: relative; max-width: 12rem; margin: 0 auto;
}
.timeline-container .tl-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 0.4rem; height: 0.4rem; border-radius: 50%;
  border: 1px solid #e2e8f0; background: rgba(255,255,255,0.95);
  color: #64748b; font-size: 0.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; box-shadow: 0 2px 0.08rem rgba(0,0,0,0.08);
}
.timeline-container .tl-arrow:hover {
  background: #3b82f6; color: #fff; border-color: #3b82f6;
  box-shadow: 0 0.04rem 0.12rem rgba(59,130,246,0.3);
}
.timeline-container .tl-arrow-left { left: 0; }
.timeline-container .tl-arrow-right { right: 0; }
.timeline {
  display: flex; overflow-x: auto; overflow-y: hidden;
  position: relative; padding: 0 0.36rem 0.24rem;
  cursor: grab; user-select: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
}
.timeline::-webkit-scrollbar { display: none; }
.timeline.dragging { cursor: grabbing; }
.timeline::before { display: none; }
.timeline-item {
  flex: 0 0 2.7rem; display: flex; flex-direction: column;
  align-items: center; position: relative;
  padding: 0 0.12rem; margin-bottom: 0;
}
.timeline-item::before { display: none; }
.timeline-item::after {
  content: ''; position: absolute;
  top: 0.35rem; left: 0; right: 0; height: 2px;
  background: #cbd5e1; z-index: 0;
}
.timeline-item:first-child::after { left: 50%; border-radius: 2px 0 0 2px; }
.timeline-item:last-child::after { right: 50%; border-radius: 0 2px 2px 0; }
.timeline-dot {
  width: 0.16rem; height: 0.16rem; border-radius: 50%;
  background: #3b82f6; border: 0.03rem solid #dbeafe;
  flex-shrink: 0; position: relative; z-index: 2;
  margin-bottom: 0.14rem; transition: all 0.3s;
  box-shadow: 0 0 0 0.04rem rgba(59,130,246,0.08);
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 0.08rem rgba(59,130,246,0.15);
  background: #2563eb;
}
.timeline-item .date {
  font-size: 0.15rem; font-weight: 700; color: #3b82f6;
  margin-bottom: 0.1rem; white-space: nowrap; line-height: 1.2;
}
.timeline-card {
  background: #fff; border-radius: 0.1rem;
  padding: 0.2rem 0.16rem; border: 1px solid #eef2ff;
  width: 100%; transition: all 0.3s; text-align: center;
}
.timeline-item:hover .timeline-card {
  border-color: #93c5fd;
  box-shadow: 0 0.06rem 0.2rem rgba(59,130,246,0.1);
  transform: translateY(-0.03rem);
}
.timeline-item h4 { font-size: 0.16rem; color: #1e293b; margin-bottom: 0.08rem; font-weight: 600; }
.timeline-item p { font-size: 0.13rem; color: #64748b; line-height: 1.7; margin: 0; }

/* ===== 页脚 ===== */
.footer {
  background: #0f172a; color: #94a3b8; padding: 0.6rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 0.4rem; max-width: 12rem; margin: 0 auto;
}
.footer h4 { color: #fff; font-size: 0.16rem; margin-bottom: 0.2rem; }
.footer p, .footer a { font-size: 0.14rem; color: #64748b; line-height: 2; }
.footer a:hover { color: #3b82f6; }
.footer-bottom {
  text-align: center; padding-top: 0.3rem; margin-top: 0.4rem;
  border-top: 1px solid #1e293b; font-size: 0.13rem; color: #475569;
  max-width: 12rem; margin-left: auto; margin-right: auto;
}

/* ===== 团队/人物卡片 ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.3rem; }
.team-card { text-align: center; padding: 0.3rem; transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; border-radius: 0.12rem; }
.team-card:hover { transform: translateY(-0.06rem); box-shadow: 0 0.08rem 0.3rem rgba(0,0,0,0.1); }
.team-card .avatar {
  width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  margin: 0 auto 0.16rem; display: flex; align-items: center;
  justify-content: center; font-size: 0.36rem; color: #fff;
}
.team-card h4 { font-size: 0.18rem; color: #1e293b; }
.team-card .role { font-size: 0.14rem; color: #3b82f6; margin: 0.06rem 0 0.12rem; }
.team-card p { font-size: 0.13rem; color: #64748b; line-height: 1.7; }

/* ===== 表格 ===== */
.job-list { width: 100%; }
.job-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.24rem 0.3rem; background: #fff; border-radius: 0.1rem;
  margin-bottom: 0.16rem; box-shadow: 0 2px 0.1rem rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.job-item:hover {
  box-shadow: 0 0.06rem 0.2rem rgba(0,0,0,0.12);
  transform: translateX(0.04rem);
}
.job-item h4 { font-size: 0.17rem; color: #1e293b; margin-bottom: 0.06rem; }
.job-item .meta { font-size: 0.13rem; color: #94a3b8; }
.job-item .meta span { margin-right: 0.16rem; }
.job-item .salary { font-size: 0.2rem; color: #3b82f6; font-weight: 600; }
.btn-apply {
  padding: 0.08rem 0.24rem; background: #3b82f6; color: #fff;
  border: none; border-radius: 0.06rem; cursor: pointer;
  font-size: 0.14rem; transition: background 0.3s;
}
.btn-apply:hover { background: #2563eb; }

/* ===== 联系页 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.contact-info .item {
  display: flex; gap: 0.16rem; margin-bottom: 0.3rem;
  padding: 0.2rem; background: #f8fafc; border-radius: 0.1rem;
}
.contact-info .item .icon-box {
  width: 0.48rem; height: 0.48rem; background: #3b82f6; border-radius: 0.1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.2rem; color: #fff; flex-shrink: 0;
}
.contact-info .item h4 { font-size: 0.15rem; color: #1e293b; margin-bottom: 0.04rem; }
.contact-info .item p { font-size: 0.14rem; color: #64748b; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.14rem 0.18rem; border: 1px solid #e2e8f0;
  border-radius: 0.08rem; font-size: 0.14rem; margin-bottom: 0.16rem;
  transition: border-color 0.3s; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: #3b82f6;
}
.contact-form textarea { height: 1.4rem; resize: vertical; }
.btn-submit {
  width: 100%; padding: 0.14rem; background: #3b82f6; color: #fff;
  border: none; border-radius: 0.08rem; font-size: 0.16rem;
  cursor: pointer; transition: background 0.3s;
}
.btn-submit:hover { background: #2563eb; }

/* ===== 新闻列表 ===== */
.news-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem;
  margin-bottom: 0.6rem;
}
.news-featured .featured-img {
  height: 100%; min-height: 3rem; border-radius: 0.12rem;
  background: linear-gradient(135deg, #1e3a5f, #3b82f6);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; color: rgba(255,255,255,0.2);
}
.news-featured .featured-content { display: flex; flex-direction: column; justify-content: center; }
.news-featured .featured-content .tag {
  display: inline-block; padding: 0.04rem 0.14rem; background: #eff6ff;
  color: #3b82f6; font-size: 0.13rem; border-radius: 0.2rem;
  margin-bottom: 0.16rem; width: fit-content;
}
.news-featured .featured-content h3 { font-size: 0.26rem; color: #1e293b; margin-bottom: 0.16rem; line-height: 1.4; }
.news-featured .featured-content p { font-size: 0.15rem; color: #64748b; line-height: 1.8; margin-bottom: 0.2rem; }
.news-featured .featured-content .date { font-size: 0.13rem; color: #94a3b8; }

/* ===== 课程详情 ===== */
.course-features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.24rem;
  margin-top: 0.4rem;
}
.feature-box {
  text-align: center; padding: 0.4rem 0.2rem;
  background: #f8fafc; border-radius: 0.12rem;
  transition: all 0.3s;
}
.feature-box:hover { background: #3b82f6; color: #fff; transform: translateY(-0.04rem); }
.feature-box:hover p { color: #dbeafe; }
.feature-box .icon { font-size: 0.4rem; margin-bottom: 0.16rem; }
.feature-box h4 { font-size: 0.16rem; margin-bottom: 0.08rem; }
.feature-box p { font-size: 0.13rem; color: #64748b; }

@media (max-width: 768px) {
  body { min-width: unset !important; width: 100%; overflow-x: hidden; }

  /* 导航栏 - logo在上，链接在下（与首页一致）*/
  .nav { min-width: unset; height: auto; }
  .nav-inner { padding: 10px 12px; flex-wrap: wrap; gap: 8px; }
  .nav-logo { order: 1; }
  .nav-logo span { font-size: 16px; }
  .nav-logo img { height: 32px; }
  .nav-btn { order: 2; margin-left: auto; padding: 5px 12px; font-size: 12px; }
  .nav-links { order: 3; width: 100%; gap: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nav-links a { font-size: 12px; padding: 6px 0; white-space: nowrap; }

  /* 页面横幅 */
  .page-banner { margin-top: 0; padding: 40px 16px; }
  .page-banner h1 { font-size: 26px; }
  .page-banner p { font-size: 14px; }

  /* 通用区块 */
  .section { padding: 40px 16px; }
  .section-title { margin-bottom: 30px; }
  .section-title h2 { font-size: 22px; }

  /* 卡片网格 */
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .card-img { height: 160px; }
  .card-body { padding: 16px; }
  .card-body h3 { font-size: 16px; }

  /* 团队 */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-card { padding: 20px 12px; }
  .team-card .avatar { width: 80px; height: 80px; font-size: 24px; }
  .team-card h4 { font-size: 15px; }
  .team-card p { font-size: 12px; }

  /* 数据统计 */
  .stats-bar { gap: 20px; padding: 30px 16px; flex-wrap: wrap; justify-content: center; }
  .stat-item .num { font-size: 28px; }
  .stat-item .label { font-size: 12px; }

  /* 时间线 */
  .timeline-container { padding: 0; }
  .timeline-container .tl-arrow { display: none; }
  .timeline { padding: 0 16px 16px; }
  .timeline-item { flex: 0 0 220px; padding: 0 8px; }
  .timeline-item::after { top: 30px; }
  .timeline-card { padding: 14px 12px; }
  .timeline-item .date { font-size: 13px; margin-bottom: 8px; }
  .timeline-dot { width: 14px; height: 14px; margin-bottom: 10px; }
  .timeline-item h4 { font-size: 14px; }

  /* 联系页 */
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }

  /* 新闻 */
  .news-featured { grid-template-columns: 1fr; gap: 20px; }
  .news-featured .featured-img { min-height: 200px; }
  .news-featured .featured-content h3 { font-size: 20px; }

  /* 招聘 */
  .job-item { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .job-item .salary { font-size: 16px; }

  /* 课程特性 */
  .course-features { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-box { padding: 24px 12px; }

  /* 关于页双栏 */
  .section [style*="grid-template-columns: 1fr 1fr"],
  .section [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* 页脚 */
  .footer { padding: 30px 16px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer h4 { font-size: 14px; margin-bottom: 12px; }
  .footer p, .footer a { font-size: 12px; }
  .footer-bottom { font-size: 11px; }
}

/* === Standard Footer (shared) === */
.footer { background: #0a1033; padding: 0.5rem 0.2rem 0.3rem; color: rgba(255,255,255,0.6); font-size: 0.13rem; }
.footer-inner { max-width: 12rem; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 0.4rem; margin-bottom: 0.4rem; }
.footer-brand .logo { display: flex; align-items: center; gap: 0.08rem; margin-bottom: 0.16rem; }
.footer-brand .logo img { height: 0.24rem; }
.footer-brand .logo span { color: #fff; font-size: 0.16rem; font-weight: 700; }
.footer-brand .year { color: #3b82f6; margin-left: 0.04rem; }
.footer-brand p { line-height: 1.8; margin-bottom: 0.16rem; }
.footer-col h4 { color: #fff; font-size: 0.15rem; margin-bottom: 0.16rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.1rem; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.13rem; text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 0.2rem; display: flex; justify-content: space-between; font-size: 0.12rem; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 0.08rem; }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }
@media (max-width: 768px) {
  .footer { padding: 30px 12px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* === Footer QR Code === */
.footer-qrcode { text-align: center; min-width: 0.88rem; }
.footer-qrcode .qrcode-img {
  width: 0.88rem; height: 0.88rem; border-radius: 0.06rem;
  border: 2px solid rgba(255,255,255,0.1);
  object-fit: cover; background: rgba(255,255,255,0.05);
}
.footer-qrcode .qrcode-label {
  font-size: 0.12rem; color: rgba(255,255,255,0.4); margin-top: 0.08rem;
}

/* === Footer Bottom — 新版备案 + 隐私链接 === */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.24rem; margin-top: 0.4rem;
  text-align: center;
  font-size: 0.12rem; color: rgba(255,255,255,0.3);
}
.fbot-row { margin-bottom: 0.08rem; }
.fbot-row:last-child { margin-bottom: 0; }
.fbot-links a, .footer-bottom a {
  color: rgba(255,255,255,0.4); text-decoration: none;
  transition: color 0.3s;
}
.fbot-links a:hover, .footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.fbot-sep { margin: 0 0.1rem; color: rgba(255,255,255,0.15); }
.fbot-beian { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0.04rem; }
.fbot-beian a { display: inline-flex; align-items: center; gap: 0.04rem; color: rgba(255,255,255,0.4); text-decoration: none; }
.fbot-beian a:hover { color: rgba(255,255,255,0.7); }
.fbot-beian-sep { margin: 0 0.1rem; color: rgba(255,255,255,0.15); }
@media (max-width: 768px) {
  .footer-bottom { padding-top: 16px; margin-top: 24px; }
  .fbot-row { margin-bottom: 6px; font-size: 11px; }
  .fbot-sep, .fbot-beian-sep { margin: 0 6px; }
}

/* 导师简介换行支持 */
.teacher-desc, .teacher-card p, .teacher-info p { white-space: pre-line; }


/* 导师简介换行支持（修正） */
.team-card p { white-space: pre-line; }


/* === Footer Styles (synced from homepage) === */
.footer { background: #0a1033; padding: 0.5rem 0.2rem 0.3rem; color: rgba(255,255,255,0.6); font-size: 0.13rem; }
.footer-inner { max-width: 12rem; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 0.4rem; margin-bottom: 0.4rem; }
.footer-brand .logo { display: flex; align-items: center; gap: 0.08rem; margin-bottom: 0.16rem; }
.footer-brand .logo img { height: 0.24rem; }
.footer-brand .logo span { color: #fff; font-size: 0.16rem; font-weight: 700; }
.footer-brand .year { color: #3b82f6; margin-left: 0.04rem; }
.footer-brand p { line-height: 1.8; margin-bottom: 0.16rem; font-size: 0.13rem; color: rgba(255,255,255,0.5); }
.footer-brand .social { display: flex; gap: 0.12rem; margin-top: 0.16rem; }
.footer-brand .social a { width: 0.36rem; height: 0.36rem; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.16rem; text-decoration: none; transition: all 0.3s; }
.footer-brand .social a:hover { border-color: #3b82f6; background: #3b82f6; }
.footer-col h4 { color: #fff; font-size: 0.15rem; margin-bottom: 0.16rem; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.1rem; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.13rem; text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 0.24rem; margin-top: 0.4rem; display: block !important; text-align: center; font-size: 0.12rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-qrcode { text-align: center; min-width: 0.88rem; }
.footer-qrcode .qrcode-img, #foot_qrcode { width: 0.88rem; height: 0.88rem; border-radius: 0.06rem; border: 2px solid rgba(255,255,255,0.1); object-fit: cover; }
.footer-qrcode .qrcode-label { font-size: 0.12rem; color: rgba(255,255,255,0.4); margin-top: 0.08rem; }
.fbot-row { margin-bottom: 0.08rem; }
.fbot-row:last-child { margin-bottom: 0; }
.fbot-links a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.3s; }
.fbot-links a:hover { color: rgba(255,255,255,0.7); }
.fbot-sep, .fbot-beian-sep { margin: 0 0.1rem; color: rgba(255,255,255,0.15); }
.fbot-beian { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0.04rem; }
.fbot-beian a { display: inline-flex; align-items: center; gap: 0.04rem; color: rgba(255,255,255,0.4); text-decoration: none; }
.fbot-beian a:hover { color: rgba(255,255,255,0.7); }
@media screen and (max-width: 768px) {
  .footer { padding: 30px 16px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media screen and (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
}

/* === Footer Styles Override (from homepage) === */
.footer { background: #0a1033; padding: 0.5rem 0.2rem 0.3rem; color: rgba(255,255,255,0.6); font-size: 0.13rem; }
.footer-inner { max-width: 12rem; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 0.4rem; margin-bottom: 0.4rem; }
.footer-brand .logo { display: flex; align-items: center; gap: 0.08rem; margin-bottom: 0.16rem; }
.footer-brand .logo img { height: 0.24rem; }
.footer-brand .logo span { color: #fff; font-size: 0.16rem; font-weight: 700; }
.footer-brand .year { color: #3b82f6; margin-left: 0.04rem; }
.footer-brand p { line-height: 1.8; margin-bottom: 0.16rem; font-size: 0.13rem; color: rgba(255,255,255,0.5); }
.footer-brand .social { display: flex; gap: 0.12rem; margin-top: 0.16rem; }
.footer-brand .social a { width: 0.36rem; height: 0.36rem; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.16rem; text-decoration: none; transition: all 0.3s; }
.footer-brand .social a:hover { border-color: #3b82f6; background: #3b82f6; }
.footer-col h4 { color: #fff; font-size: 0.15rem; margin-bottom: 0.16rem; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.1rem; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.13rem; text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 0.24rem; margin-top: 0.4rem; display: block !important; text-align: center; font-size: 0.12rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-qrcode { text-align: center; min-width: 0.88rem; }
.footer-qrcode .qrcode-img, #foot_qrcode { width: 0.88rem; height: 0.88rem; border-radius: 0.06rem; border: 2px solid rgba(255,255,255,0.1); object-fit: cover; }
.footer-qrcode .qrcode-label { font-size: 0.12rem; color: rgba(255,255,255,0.4); margin-top: 0.08rem; }
.fbot-row { margin-bottom: 0.08rem; }
.fbot-row:last-child { margin-bottom: 0; }
.fbot-links a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.3s; }
.fbot-links a:hover { color: rgba(255,255,255,0.7); }
.fbot-sep, .fbot-beian-sep { margin: 0 0.1rem; color: rgba(255,255,255,0.15); }
.fbot-beian { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0.04rem; }
.fbot-beian a { display: inline-flex; align-items: center; gap: 0.04rem; color: rgba(255,255,255,0.4); text-decoration: none; }
.fbot-beian a:hover { color: rgba(255,255,255,0.7); }
@media screen and (max-width: 768px) {
  .footer { padding: 30px 16px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media screen and (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
}
