/* --- 1. 全局定义 --- */
:root {
  --primary: #0A2540; --accent: #0070F3; --bg-color: #F8FAFC;
  --text-main: #334155; --text-light: #64748B; --white: #FFFFFF;
  --border: #E2E8F0; --shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'PingFang SC', system-ui, sans-serif; background: var(--bg-color); color: var(--text-main); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 80px 0; }

/* --- 2. 导航栏修复 --- */
.navbar { background: rgba(10, 37, 64, 0.98); backdrop-filter: blur(10px); color: white; padding: 16px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; padding: 0 50px; }
.logo { font-size: 22px; font-weight: 800; color: white; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { color: #CBD5E1; font-size: 14px; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.auth-area { display: flex; align-items: center; gap: 15px; font-size: 14px; }

/* --- 3. 首页与通用板块 --- */
.hero { padding: 100px 0 140px; background: linear-gradient(135deg, #0A2540 0%, #061727 100%); color: white; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.hero-text h1 { font-size: 52px; line-height: 1.15; margin: 20px 0; }
.hero-text .highlight { color: var(--accent); }
.badge { background: rgba(0,112,243,0.15); border: 1px solid var(--accent); color: var(--accent); padding: 5px 12px; border-radius: 4px; font-size: 12px; }

.stats-section { margin-top: -60px; position: relative; z-index: 10; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: white; padding: 40px; border-radius: 16px; box-shadow: var(--shadow); text-align: center; }
.stat-item h3 { font-size: 32px; color: var(--accent); margin-bottom: 5px; }

.section-header { text-align: center; margin-bottom: 60px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.card { background: white; padding: 40px; border-radius: 20px; border: 1px solid var(--border); transition: 0.3s; }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--accent); }
.card-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.card-icon svg { width: 28px; height: 28px; fill: white; }
.blue { background: #3B82F6; } .purple { background: #8B5CF6; } .orange { background: #F59E0B; } .cyan { background: #06B6D4; }

/* --- 4. 商城特有样式 --- */
.mall-header { margin-bottom: 40px; border-bottom: 1px solid var(--border); padding-bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; }
.mall-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.mall-card { background: white; padding: 35px 30px; border-radius: 16px; border: 1px solid var(--border); transition: 0.3s; position: relative; display: flex; flex-direction: column; }
.mall-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--accent); }
.mall-card.hot::before { content: "HOT"; position: absolute; top: 15px; right: 15px; background: #FF4D4F; color: white; font-size: 10px; padding: 2px 8px; border-radius: 4px; }
.price { font-size: 28px; font-weight: 800; color: var(--primary); margin: 20px 0; display: flex; align-items: baseline; }
.price span { font-size: 16px; margin-right: 2px; }

/* --- 5. 按钮与页脚 --- */
.btn { padding: 12px 28px; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; transition: 0.3s; text-decoration: none; display: inline-block; }
.btn-primary { background: var(--accent); color: white; }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.3); color: white; }
.btn-white { background: white; color: var(--accent); }
.btn-block { width: 100%; margin-top: auto; text-align: center; }

.cta-box { background: var(--accent); padding: 60px; border-radius: 24px; text-align: center; color: white; }
.footer { background: #061727; padding: 40px 0; color: #64748B; text-align: center; margin-top: 100px; font-size: 14px; }
.footer a { color: #64748B; text-decoration: none; margin-left: 10px; }

/* --- 6. 其他功能页兼容样式 --- */
.form-container { max-width: 500px; margin: 40px auto; background: white; padding: 40px; border-radius: 16px; box-shadow: var(--shadow); }
.list-item { background: white; padding: 20px; margin-bottom: 15px; border-radius: 12px; border: 1px solid var(--border); cursor: pointer; }

/* --- 定价页专项样式 --- */

/* 头部 Banner */
.page-banner {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(to bottom, #0A2540, var(--bg-color));
  color: white;
}
.page-banner .sub-title { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.page-banner h1 { font-size: 42px; margin: 15px 0; }
.page-banner p { color: #94A3B8; font-size: 16px; max-width: 600px; margin: 0 auto; }

/* 定价网格 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: -40px; /* 向上偏移产生层叠感 */
  margin-bottom: 80px;
}

.price-card {
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  border: 1px solid var(--border);
  transition: 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px -12px rgba(10,37,64,0.15); }

/* 高亮推荐卡片 */
.price-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.05);
  z-index: 5;
  box-shadow: 0 20px 40px rgba(0,112,243,0.1);
}
.price-card.featured:hover { transform: scale(1.05) translateY(-5px); }

.recommend-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 700;
}

/* 价格区域 */
.price-header h3 { font-size: 18px; color: var(--text-light); margin-bottom: 10px; }
.amount { font-size: 48px; font-weight: 800; color: var(--primary); display: flex; align-items: baseline; }
.amount span { font-size: 24px; margin-right: 5px; }

/* 功能列表 */
.feature-list { list-style: none; margin: 40px 0; padding-top: 30px; border-top: 1px solid var(--border); flex-grow: 1; }
.feature-list li { margin-bottom: 15px; font-size: 15px; display: flex; align-items: center; color: var(--text-main); }
.feature-list li.disabled { color: #CBD5E1; text-decoration: line-through; }

.icon-check { width: 18px; height: 18px; fill: #10B981; margin-right: 12px; flex-shrink: 0; }
.icon-close { width: 18px; height: 18px; fill: #CBD5E1; margin-right: 12px; flex-shrink: 0; }

.btn-outline-primary { border: 1.5px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline-primary:hover { background: var(--accent); color: white; }

/* 服务保障网格 */
.trust-section { background: white; padding: 60px; border-radius: 24px; border: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-top: 40px; }
.trust-item { text-align: center; }
.trust-icon { font-size: 32px; margin-bottom: 15px; }
.trust-item h4 { font-size: 18px; margin-bottom: 10px; color: var(--primary); }
.trust-item p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* --- 信息大厅专用样式 --- */

/* 列表页头部排版 */
.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.list-header h2 { font-size: 28px; color: var(--primary); }
.list-header p { color: var(--text-light); font-size: 14px; margin-top: 5px; }

/* 统计条 */
.list-stats {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}
.list-stats span {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

/* 增强型信息卡片 */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  border-color: var(--accent);
}

/* 卡片内部排版 */
.card-main { flex: 1; padding-right: 40px; }

.category-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: #FFF7E6;
  color: #FAAD14; /* 橘色代表供求 */
  margin-bottom: 12px;
}
.category-tag.blue { background: #E6F7FF; color: #1890FF; } /* 蓝色代表技术 */

.info-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
}
.info-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 最多显示2行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 卡片底部元数据 */
.card-meta {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.meta-item { font-size: 12px; color: #94A3B8; }
.meta-item .value { color: var(--text-main); font-weight: 500; margin-left: 5px; }

/* 查看详情链接 */
.view-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: 0.2s;
}
.view-link:hover { letter-spacing: 1px; }

/* 响应式微调 */
@media (max-width: 768px) {
  .info-card { flex-direction: column; align-items: flex-start; }
  .card-action { margin-top: 15px; }
}

/* --- 发布页表单专属样式 --- */

/* 布局外层容器 */
.form-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10,37,64,0.1);
  border: 1px solid var(--border);
}

/* 左侧装饰信息区 */
.form-side-info {
  flex: 0 0 320px;
  background: var(--primary);
  padding: 60px 40px;
  color: white;
}
.form-side-info h2 { font-size: 26px; margin-bottom: 20px; }
.form-side-info p { font-size: 14px; line-height: 1.6; color: #94A3B8; margin-bottom: 40px; }

.step-guide .step { display: flex; align-items: center; margin-bottom: 25px; font-size: 14px; color: #CBD5E1; }
.step-guide .step span { width: 24px; height: 24px; border: 1px solid var(--accent); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; font-size: 12px; font-weight: bold; }

/* 右侧表单区 */
.form-content { flex: 1; padding: 60px; }

.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }

/* 输入框样式重塑 */
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #F8FAFC;
  font-size: 14px;
  transition: 0.3s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(0,112,243,0.05);
}
.form-group small { display: block; margin-top: 6px; color: #94A3B8; font-size: 12px; }

/* 双列排版 */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-footer { margin-top: 40px; text-align: center; }
.btn-xl { padding: 16px 40px; font-size: 16px; width: 100%; border-radius: 12px; }

/* 响应式 */
@media (max-width: 850px) {
  .form-wrapper { flex-direction: column; }
  .form-side-info { flex: none; padding: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

/* --- 审核机制页面专项样式 --- */

/* 流程容器 */
.review-flow-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
}

/* 垂直引导线 */
.review-flow-container::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  z-index: 1;
}

/* 流程项 */
.flow-item {
  position: relative;
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  z-index: 2;
}

/* 数字/图标圆圈 */
.flow-number {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 0 0 8px var(--bg-color); /* 遮挡线条 */
}

/* 成功状态 */
.flow-item.success .flow-number { background: #52C41A; }
.flow-item.success h3 { color: #52C41A; }

/* 失败状态 */
.flow-item.fail .flow-number { background: #FF4D4F; }
.flow-item.fail h3 { color: #FF4D4F; }

/* 文本内容区 */
.flow-content {
  background: white;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: 0.3s;
  width: 100%;
}
.flow-content:hover { transform: translateX(10px); border-color: var(--accent); }
.flow-content h3 { font-size: 18px; margin-bottom: 12px; color: var(--primary); }
.flow-content p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* 核心原则卡片 */
.review-principles { margin-top: 80px; }
.principle-card {
  background: #F0F7FF;
  border: 1px dashed var(--accent);
  padding: 40px;
  border-radius: 20px;
}
.principle-card h4 { color: var(--accent); font-size: 20px; margin-bottom: 20px; text-align: center; }
.principle-card ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.principle-card li { font-size: 14px; color: var(--text-main); line-height: 1.6; }

/* --- 充值中心专项样式 --- */
.recharge-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* 左侧账户卡片 */
.account-card {
  background: #0A2540;
  color: white;
  padding: 40px 30px;
  border-radius: 24px;
  height: fit-content;
}
.user-info { display: flex; align-items: center; gap: 15px; margin-bottom: 40px; }
.avatar { width: 50px; height: 50px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.status-badge { font-size: 12px; background: rgba(82, 196, 26, 0.2); color: #52C41A; padding: 2px 8px; border-radius: 4px; }

.balance-box { background: rgba(255,255,255,0.05); padding: 25px; border-radius: 16px; margin-bottom: 40px; }
.balance-amount { font-size: 32px; font-weight: 800; color: var(--accent); margin-top: 10px; }

.recharge-notice h4 { font-size: 14px; margin-bottom: 15px; color: #94A3B8; }
.recharge-notice ul { list-style: none; padding: 0; }
.recharge-notice li { font-size: 13px; color: #64748B; margin-bottom: 10px; line-height: 1.5; position: relative; padding-left: 15px; }
.recharge-notice li::before { content: '•'; position: absolute; left: 0; color: var(--accent); }

/* 右侧充值区域 */
.recharge-main { background: white; padding: 50px; border-radius: 24px; border: 1px solid var(--border); }
.recharge-main h2 { margin-bottom: 30px; font-size: 24px; }

.recharge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 30px; }
.recharge-item {
  border: 2px solid var(--border);
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
}
.recharge-item:hover { border-color: var(--accent); background: #F0F7FF; }
.recharge-item.active { border-color: var(--accent); background: #F0F7FF; box-shadow: 0 10px 20px rgba(0,112,243,0.05); }
.recharge-item .amount { font-size: 24px; font-weight: 700; color: var(--primary); }
.recharge-item .desc { font-size: 13px; color: var(--text-light); margin-top: 5px; }
.hot-tag { position: absolute; top: -10px; right: -10px; background: #FF4D4F; color: white; font-size: 11px; padding: 2px 8px; border-radius: 10px; }

.custom-amount { margin-bottom: 40px; }
.custom-amount label { display: block; margin-bottom: 10px; font-weight: 600; }
.custom-amount input { width: 100%; padding: 15px; border: 1px solid var(--border); border-radius: 12px; font-size: 16px; }

.payment-methods { margin-top: 30px; display: flex; align-items: center; gap: 15px; font-size: 13px; color: var(--text-light); }
.pay-icon { background: #F8FAFC; padding: 4px 10px; border-radius: 4px; border: 1px solid var(--border); }

/* --- 充值页面专项 --- */
.recharge-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

/* 左侧余额卡片 */
.account-sidebar {
  background: #0A2540; /* 采用深色系增加金融感 */
  padding: 40px 25px;
  border-radius: 20px;
  color: white;
}
.balance-card .label { font-size: 14px; color: #94A3B8; }
.balance-card .amount { font-size: 36px; font-weight: 800; color: var(--accent); margin: 15px 0; }
.balance-card .user-id { font-size: 13px; color: #64748B; }

.recharge-tips { margin-top: 50px; }
.recharge-tips h4 { font-size: 14px; margin-bottom: 15px; }
.recharge-tips ul { list-style: none; padding: 0; }
.recharge-tips li { font-size: 12px; color: #94A3B8; margin-bottom: 10px; line-height: 1.6; }

/* 右侧充值主区 */
.recharge-main { background: white; padding: 40px; border-radius: 20px; border: 1px solid var(--border); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 30px 0; }

.plan-item {
  border: 2px solid var(--border);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  position: relative;
}
.plan-item.active { border-color: var(--accent); background: #F0F7FF; }
.plan-item .price { font-size: 20px; font-weight: bold; color: var(--primary); }
.plan-item .info { font-size: 12px; color: var(--text-light); margin-top: 5px; }
.plan-item .badge { position: absolute; top: -10px; right: -5px; background: #FF4D4F; color: white; font-size: 10px; padding: 2px 6px; border-radius: 4px; }

.custom-amount { margin-bottom: 30px; }
.custom-amount input { width: 100%; padding: 15px; border-radius: 8px; border: 1px solid var(--border); font-size: 16px; margin-top: 10px; }

.secure-text { text-align: center; margin-top: 20px; font-size: 12px; color: #94A3B8; }

/* 商城卡片按钮悬浮效果 */
.mall-card .btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mall-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 112, 243, 0.3);
}

/* 推荐或热门卡片的特殊标记颜色（如果你想更醒目） */
.mall-card.recommend {
  border: 2px solid var(--accent);
}

.mall-card.hot::before {
  content: "HOT";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4d4f;
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}