/* ================================================
   龙岩学历提升 H5 应用 - 全局样式
   基于 375px 移动端设计稿
   ================================================ */

/* ---- 变量 ---- */
:root {
  --primary: #1A73E8;
  --primary-dark: #1557B0;
  --primary-light: #E8F0FE;
  --success: #34A853;
  --warning: #F57C00;
  --danger: #EA4335;
  --orange: #FF6B35;
  --orange-light: #FEF0E8;
  --bg: #F5F5F5;
  --card-bg: #FFFFFF;
  --text: #1A1A1A;
  --text-aux: #666666;
  --text-placeholder: #999999;
  --border: #EEEEEE;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; outline: none; }
input, select, textarea { font-family: inherit; outline: none; border: none; }

/* ---- 滚动条 ---- */
::-webkit-scrollbar { width: 0; height: 0; }

/* ================================================
   布局
   ================================================ */
#app { min-height: 100vh; padding-bottom: calc(60px + var(--safe-bottom)); }
.page-content { padding-bottom: 8px; }
.container { padding: 0 16px; }

/* ================================================
   导航栏
   ================================================ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  height: 44px; background: #fff;
  display: flex; align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  font-size: 17px; font-weight: 600;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.95);
}
.nav-back {
  font-size: 24px; color: var(--primary);
  margin-right: 8px; cursor: pointer;
  padding: 4px 8px 4px 0;
  user-select: none;
}
.nav-title { flex: 1; text-align: center; font-size: 17px; }
.nav-right {
  font-size: 14px; color: var(--primary);
  cursor: pointer; font-weight: normal;
}

/* ================================================
   底部 TabBar
   ================================================ */
.tab-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: calc(56px + var(--safe-bottom));
  background: #fff;
  display: flex; align-items: flex-start;
  padding-bottom: var(--safe-bottom);
  border-top: 1px solid var(--border);
  z-index: 200;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
}
.tab-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 6px 0; cursor: pointer;
  color: var(--text-placeholder); font-size: 10px;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.tab-item.active { color: var(--primary); }
.tab-icon { font-size: 22px; margin-bottom: 2px; }
.tab-text { line-height: 1; }

/* ================================================
   浮动按钮
   ================================================ */
.fab-group {
  position: fixed; right: 16px; bottom: calc(70px + var(--safe-bottom));
  display: flex; flex-direction: column; gap: 12px;
  z-index: 150;
}
.fab-consult, .fab-call {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(26,115,232,0.4);
  position: relative; border: none;
}
.fab-call { background: var(--success); box-shadow: 0 4px 16px rgba(52,168,83,0.4); }
.fab-badge {
  position: absolute; top: 0; right: 0;
  width: 10px; height: 10px; background: var(--danger);
  border-radius: 50%; border: 2px solid #fff;
}

/* ================================================
   Toast
   ================================================ */
.toast {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.75); color: #fff;
  padding: 10px 20px; border-radius: 20px;
  font-size: 14px; z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s; max-width: 80vw;
  text-align: center;
}
.toast.show { opacity: 1; }

/* ================================================
   Loading
   ================================================ */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9998; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.loading-overlay.show { opacity: 1; pointer-events: all; }
.loading-spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-text { color: #fff; font-size: 14px; margin-top: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================
   Modal 全屏
   ================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
  padding: 0 20px;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }
.modal-box {
  background: #fff; border-radius: var(--radius);
  width: 100%; max-width: 340px;
  padding: 24px; text-align: center;
}
.modal-success .modal-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--success); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 16px;
}
.modal-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.modal-desc { font-size: 13px; color: var(--text-aux); margin-bottom: 20px; line-height: 1.5; }
.modal-content { font-size: 14px; color: var(--text-aux); margin-bottom: 16px; line-height: 1.6; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; }

/* ================================================
   Modal 半屏
   ================================================ */
.modal-half-mask {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 1999;
  display: none;
}
.modal-half {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: #fff; border-radius: 16px 16px 0 0;
  max-height: 80vh; overflow-y: auto;
  z-index: 2000; transform: translateY(100%);
  transition: transform 0.3s ease;
}
.modal-half.show { transform: translateY(0); }
.modal-half-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px 0;
  position: sticky; top: 0; background: #fff;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.modal-half-title { font-size: 16px; font-weight: 600; }
.modal-half-close { font-size: 20px; color: var(--text-aux); cursor: pointer; padding: 4px 8px; }
.modal-half-body { padding: 16px; }

/* ================================================
   按钮
   ================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all 0.2s; border: 1.5px solid transparent;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:active { background: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:active { background: var(--primary-light); }
.btn-secondary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-text { background: transparent; color: var(--primary); border: none; padding: 8px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-lg { padding: 13px 20px; font-size: 16px; border-radius: var(--radius); }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ================================================
   卡片
   ================================================ */
.card {
  background: var(--card-bg); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* ================================================
   表单
   ================================================ */
.form-group { margin-bottom: 14px; }
.form-label {
  display: block; font-size: 13px; color: var(--text-aux);
  margin-bottom: 6px; font-weight: 500;
}
.required { color: var(--danger); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 12px;
  background: #F8F9FA; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px;
  color: var(--text); transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary); background: #fff;
}
.form-input.error, .form-select.error { border-color: var(--danger); }
.form-error {
  font-size: 11px; color: var(--danger); margin-top: 4px;
  display: none;
}
.form-error.show { display: block; }
.form-textarea { min-height: 80px; resize: vertical; line-height: 1.5; }
.form-checkbox, .form-radio {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; cursor: pointer;
}
.form-radio { padding: 8px 0; }

/* ================================================
   搜索栏
   ================================================ */
.search-bar {
  display: flex; align-items: center;
  background: #F0F2F5; border-radius: 20px;
  padding: 8px 14px; gap: 8px; margin-bottom: 12px;
}
.search-icon { font-size: 16px; }
.search-bar input {
  flex: 1; background: none; font-size: 14px;
  color: var(--text); border: none; outline: none;
}
.search-bar input::placeholder { color: var(--text-placeholder); }

/* ================================================
   Tab 切换
   ================================================ */
.tab-switch {
  display: flex; gap: 0; margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.tab-option {
  padding: 8px 14px; font-size: 14px; color: var(--text-aux);
  cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent;
  transition: all 0.2s; margin-bottom: -1px;
}
.tab-option.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

/* ================================================
   标签
   ================================================ */
.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; }
.tag-hot { background: #FFF3E0; color: var(--warning); }
.tag-recommend { background: var(--primary-light); color: var(--primary); }

/* ================================================
   统计行
   ================================================ */
.stats-row {
  display: flex; justify-content: space-around;
  background: var(--card-bg); border-radius: var(--radius);
  padding: 14px 0; margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.stat-item { text-align: center; }
.stat-num { font-size: 20px; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 11px; color: var(--text-aux); margin-top: 2px; }

/* ================================================
   区域标题
   ================================================ */
.section-title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; font-weight: 600; margin-bottom: 12px;
}
.section-title .more { font-size: 12px; color: var(--primary); font-weight: normal; }

/* ================================================
   Banner 轮播
   ================================================ */
.swiper-container {
  border-radius: var(--radius); overflow: hidden;
  position: relative; touch-action: pan-y;
}
.swiper-wrapper {
  display: flex; transition: transform 0.4s ease;
  will-change: transform;
}
.swiper-slide { min-width: 100%; }
.banner-bg {
  height: 160px; display: flex; align-items: center;
  padding: 0 20px; cursor: pointer;
}
.banner-bg-1 { background: linear-gradient(135deg, #1A73E8, #4A90D9); }
.banner-bg-2 { background: linear-gradient(135deg, #FF6B35, #FF9800); }
.banner-bg-3 { background: linear-gradient(135deg, #34A853, #81C784); }
.banner-content h2 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.banner-content p { color: rgba(255,255,255,0.85); font-size: 13px; }
.swiper-dots {
  position: absolute; bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.swiper-dots .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: all 0.3s;
}
.swiper-dots .dot.active {
  width: 18px; border-radius: 3px; background: #fff;
}

/* ================================================
   学历方式
   ================================================ */
.method-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px; margin-bottom: 12px;
}
.method-card {
  background: var(--card-bg); border-radius: var(--radius);
  padding: 14px; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.method-card:active { transform: scale(0.97); }
.method-tag {
  position: absolute; top: 8px; right: 8px;
  font-size: 10px; padding: 2px 6px;
  background: var(--orange); color: #fff;
  border-radius: 4px;
}
.method-icon { font-size: 28px; margin-bottom: 8px; }
.method-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.method-desc { font-size: 11px; color: var(--text-aux); line-height: 1.4; }

/* ================================================
   专业卡片
   ================================================ */
.major-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--card-bg); border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 10px;
  cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.2s;
}
.major-card:active { transform: scale(0.98); }
.major-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.major-info { flex: 1; min-width: 0; }
.major-name { font-size: 14px; font-weight: 600; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.major-meta { font-size: 12px; color: var(--text-aux); }
.major-arrow { font-size: 20px; color: #ccc; }

/* ================================================
   倒计时
   ================================================ */
.countdown {
  background: linear-gradient(135deg, #1A73E8, #4A90D9);
  border-radius: var(--radius); padding: 16px;
  text-align: center; color: #fff; margin-bottom: 12px;
}
.countdown-title { font-size: 13px; opacity: 0.85; margin-bottom: 10px; }
.countdown-timer { display: flex; justify-content: center; align-items: center; gap: 6px; }
.countdown-item { text-align: center; }
.countdown-num {
  font-size: 26px; font-weight: 700;
  background: rgba(255,255,255,0.2);
  border-radius: 8px; padding: 4px 10px; min-width: 48px;
  display: inline-block;
}
.countdown-label { font-size: 10px; opacity: 0.8; margin-top: 2px; }
.countdown-sep { font-size: 22px; font-weight: 700; opacity: 0.6; }

/* ================================================
   快捷入口
   ================================================ */
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.quick-action-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; padding: 12px 4px;
  background: var(--card-bg); border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.2s;
}
.quick-action-item:active { transform: scale(0.95); }
.qa-icon { font-size: 24px; margin-bottom: 6px; }
.qa-text { font-size: 11px; color: var(--text-aux); text-align: center; }

/* ================================================
   院校墙
   ================================================ */
.school-wall {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; margin-bottom: 12px;
}
.school-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; padding: 10px 4px;
  background: var(--card-bg); border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.2s;
}
.school-item:active { transform: scale(0.95); }
.school-logo {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
  margin-bottom: 6px;
}
.school-name { font-size: 10px; color: var(--text-aux); text-align: center; line-height: 1.3; }

/* ================================================
   流程步骤
   ================================================ */
.flow-steps {
  display: flex; overflow-x: auto; gap: 0; margin-bottom: 12px;
  padding-bottom: 4px;
}
.flow-step { flex: 1; text-align: center; min-width: 70px; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; margin: 0 auto 6px;
}
.step-text { font-size: 11px; color: var(--text-aux); line-height: 1.5; }

/* ================================================
   学员案例
   ================================================ */
.case-card {
  background: var(--card-bg); border-radius: var(--radius);
  padding: 14px; margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.case-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.case-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.case-name { font-size: 14px; font-weight: 600; }
.case-school { font-size: 12px; color: var(--text-aux); }
.case-content { font-size: 13px; color: var(--text-aux); line-height: 1.6; margin-bottom: 8px; }
.case-result { font-size: 13px; color: var(--success); font-weight: 500; }

/* ================================================
   资讯卡片
   ================================================ */
.news-card {
  display: flex; gap: 12px; align-items: center;
  background: var(--card-bg); border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 10px;
  cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.2s;
}
.news-card:active { transform: scale(0.98); }
.news-img {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.news-info { flex: 1; min-width: 0; }
.news-title { font-size: 14px; font-weight: 600; margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--text-placeholder); }

/* ================================================
   详情页
   ================================================ */
.detail-header {
  background: linear-gradient(135deg, var(--primary), #4A90D9);
  color: #fff; padding: 20px 16px;
}
.detail-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.detail-meta { display: flex; gap: 12px; font-size: 12px; opacity: 0.85; flex-wrap: wrap; }
.detail-body { padding: 16px; }
.detail-body h3 { font-size: 15px; font-weight: 600; margin: 16px 0 8px; }
.detail-body p { font-size: 14px; color: var(--text-aux); line-height: 1.7; margin-bottom: 8px; }
.detail-body ul { padding-left: 20px; }
.detail-body li { font-size: 14px; color: var(--text-aux); line-height: 2; }

/* ================================================
   专业对比表格
   ================================================ */
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: 12px; background: var(--card-bg);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.compare-table th, .compare-table td {
  padding: 10px 8px; text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: var(--primary); color: #fff;
  font-weight: 600; font-size: 11px;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: #F8F9FA; }

/* ================================================
   咨询选项按钮
   ================================================ */
.consult-option-btn {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border: 1.5px solid var(--border);
  border-radius: 10px; cursor: pointer; font-size: 15px;
  transition: all 0.2s; background: var(--card-bg);
}
.consult-option-btn:hover { border-color: var(--primary); background: var(--primary-light); }

/* ================================================
   课程资源
   ================================================ */
.resource-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px; margin-bottom: 12px;
}
.resource-card {
  background: var(--card-bg); border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.2s;
}
.resource-card:active { transform: scale(0.97); }
.resource-cover {
  height: 80px; display: flex; align-items: center;
  justify-content: center; font-size: 36px;
}
.resource-info { padding: 10px 12px; }
.resource-name {
  font-size: 13px; font-weight: 600; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  line-height: 1.4;
}
.resource-meta { font-size: 11px; color: var(--text-placeholder); }

/* ================================================
   营销 Banner
   ================================================ */
.marketing-banner {
  background: linear-gradient(135deg, #FF6B35, #FF9800);
  border-radius: var(--radius); padding: 20px 16px;
  color: #fff; text-align: center; margin-bottom: 14px;
}
.promo-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.promo-subtitle { font-size: 13px; opacity: 0.85; margin-bottom: 12px; }
.promo-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--card-bg); border-radius: var(--radius);
  padding: 14px; margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.promo-icon { font-size: 28px; flex-shrink: 0; }
.promo-info { flex: 1; }
.promo-name { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.promo-desc { font-size: 12px; color: var(--text-aux); }
.promo-original { font-size: 12px; color: #ccc; text-decoration: line-through; }
.promo-price { font-size: 18px; font-weight: 700; color: var(--orange); }

/* ================================================
   个人中心
   ================================================ */
.mine-header {
  background: linear-gradient(135deg, var(--primary), #4A90D9);
  padding: 24px 16px; display: flex; align-items: center; gap: 14px;
}
.mine-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='40' r='20' fill='rgba(255,255,255,0.5)'/%3E%3Cellipse cx='50' cy='75' rx='30' ry='20' fill='rgba(255,255,255,0.5)'/%3E%3C/svg%3E");
}
.mine-name { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.mine-level { font-size: 12px; color: rgba(255,255,255,0.75); }
.mine-stats {
  display: flex; justify-content: space-around;
  background: var(--card-bg); padding: 14px 0;
  margin-bottom: 12px;
}
.mine-stat-item { text-align: center; cursor: pointer; }
.mine-stat-num { font-size: 18px; font-weight: 700; color: var(--primary); }
.mine-stat-label { font-size: 11px; color: var(--text-aux); margin-top: 2px; }

.info-list { background: var(--card-bg); border-radius: var(--radius); overflow: hidden; }
.info-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.info-item:last-child { border-bottom: none; }
.info-item:active { background: #F8F9FA; }
.info-left { display: flex; align-items: center; gap: 10px; }
.info-icon { font-size: 18px; }
.info-label { font-size: 14px; }
.info-value { font-size: 14px; color: #ccc; }

/* ================================================
   FAQ
   ================================================ */
.faq-item { background: var(--card-bg); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; font-size: 14px; font-weight: 500;
  cursor: pointer;
}
.faq-arrow { font-size: 12px; color: #ccc; transition: transform 0.3s; display: inline-block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 16px 14px; }
.faq-item.open .faq-answer { display: block; }
.faq-content { font-size: 13px; color: var(--text-aux); line-height: 1.6; }

/* ================================================
   费用计算器
   ================================================ */
.calc-result {
  background: linear-gradient(135deg, var(--primary), #4A90D9);
  border-radius: var(--radius); padding: 20px; text-align: center;
  color: #fff; margin-bottom: 12px;
}
.calc-unit { font-size: 12px; opacity: 0.8; }
.calc-total { font-size: 36px; font-weight: 700; margin: 6px 0; }
.calc-breakdown {
  background: var(--card-bg); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.breakdown-item {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text-aux);
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.breakdown-item:last-child { border-bottom: none; }

/* ================================================
   AI 客服
   ================================================ */
.chatbot-window {
  position: fixed; right: 16px; bottom: calc(130px + var(--safe-bottom));
  width: 310px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 300; display: none; flex-direction: column;
  max-height: 420px; overflow: hidden;
}
.chatbot-header {
  background: var(--primary); color: #fff; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  border-radius: 14px 14px 0 0;
}
.chatbot-avatar { font-size: 28px; }
.chatbot-title { font-size: 14px; font-weight: 600; }
.chatbot-subtitle { font-size: 11px; opacity: 0.8; }
.chatbot-close { margin-left: auto; font-size: 18px; cursor: pointer; opacity: 0.8; }
.chatbot-messages {
  flex: 1; overflow-y: auto; padding: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.chat-msg { display: flex; align-items: flex-start; gap: 8px; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-bubble {
  max-width: 75%; padding: 10px 14px;
  border-radius: 12px; font-size: 13px; line-height: 1.5;
  background: #F0F2F5; color: var(--text);
}
.user-bubble { background: var(--primary); color: #fff; }
.chat-avatar { font-size: 22px; flex-shrink: 0; }
.chatbot-quick {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 8px 12px; border-top: 1px solid var(--border);
}
.quick-btn {
  padding: 5px 10px; background: var(--primary-light);
  color: var(--primary); border-radius: 14px;
  font-size: 11px; cursor: pointer; border: none;
  white-space: nowrap;
}
.quick-btn:active { background: #D0E1FD; }
.chatbot-input-row {
  display: flex; gap: 8px; padding: 10px 12px;
  border-top: 1px solid var(--border);
}
.chatbot-input-row .form-input {
  flex: 1; padding: 8px 12px;
  background: #F0F2F5; border: none; border-radius: 20px;
  font-size: 13px;
}

/* ================================================
   空状态
   ================================================ */
.empty-state { text-align: center; padding: 40px 0; }
.empty-icon { font-size: 48px; margin-bottom: 10px; }
.empty-text { font-size: 14px; color: var(--text-placeholder); }

/* ================================================
   按钮标签
   ================================================ */
.btn-tag {
  display: inline-block; padding: 4px 10px;
  background: #F0F2F5; color: var(--text-aux);
  border-radius: 16px; font-size: 12px;
  cursor: pointer; transition: all 0.2s;
}
.btn-tag:active { background: var(--primary-light); color: var(--primary); }

/* ================================================
   辅助
   ================================================ */
.text-aux { color: var(--text-aux); font-size: 12px; }

/* ================================================
   响应式
   ================================================ */
@media (max-width: 360px) {
  .method-grid { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .school-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 500px) {
  .container { max-width: 420px; margin: 0 auto; }
  .tab-bar { max-width: 420px; left: 50%; transform: translateX(-50%); }
  .fab-group { right: calc(50% - 210px + 16px); }
}
