/* ============ Touch New Energy — pages.css（产品/方案/订单/会员页扩展） ============ */

/* 页面主体（固定头部留白） */
.page-main { padding-top: 72px; }
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 60%, #0f3a4a 100%);
  color: var(--white);
  padding: 64px 0 48px;
}
.page-hero h1 { font-size: 2rem; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 760px; }

/* 按钮 */
.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; font-weight: 700;
  font-size: 0.95rem; text-decoration: none; border: none; cursor: pointer; transition: all .25s; }
.btn-primary { background: linear-gradient(90deg, var(--teal), var(--teal-bright)); color: var(--navy); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(24,197,217,.35); }
.btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-line { background: transparent; border: 1.5px solid var(--teal); color: var(--teal); }
.btn-line:hover { background: var(--teal); color: var(--navy); }

/* 产品卡 CTA */
.product-cta { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

/* 方案摘要 */
.solution-summary { color: var(--text-light); font-size: 1.02rem; margin-bottom: 10px; }

/* ---------- 表单 ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; max-width: 560px; margin: 0 auto;
}
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid #dbe4ec; border-radius: 10px;
  font-size: .95rem; font-family: inherit; background: var(--bg-light); color: var(--text);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-tip { font-size: .9rem; min-height: 1.4em; margin-top: 10px; }
.form-tip.ok { color: #0e9e6e; }
.form-tip.err { color: #d64541; }
.muted { color: var(--text-light); }

/* ---------- 会员页 ---------- */
.mem-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: start; }
@media (max-width: 800px) { .mem-wrap { grid-template-columns: 1fr; } }
.mem-tabs { display: flex; flex-direction: column; gap: 8px; }
.mem-tab { text-align: left; padding: 12px 16px; border-radius: 10px; border: 1.5px solid transparent;
  background: var(--bg-light); cursor: pointer; font-size: .95rem; font-weight: 600; color: var(--text); }
.mem-tab.active { background: var(--white); border-color: var(--teal); color: var(--teal); box-shadow: var(--shadow); }
.mem-view[hidden] { display: none; }
.mem-view h3 { margin-bottom: 14px; }
#verifyTip { margin-bottom: 14px; }

/* ---------- 数据表 ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #e6edf3; }
.data-table th { background: var(--bg-light); font-weight: 700; color: var(--text); white-space: nowrap; }
.data-table tr:hover td { background: #f8fbfd; }

/* 状态徽标 */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.badge.new { background: #fff4e0; color: #b96a00; }
.badge.contacted { background: #e3f2ff; color: #1565c0; }
.badge.quoted { background: #ede7ff; color: #5e35b1; }
.badge.won { background: #e0f5ec; color: #0e9e6e; }
.badge.closed { background: #eee; color: #777; }

/* 简单列表卡（方案页顶部导航） */
.simple-note { background: var(--bg-light); border-radius: 10px; padding: 14px 18px;
  color: var(--text-light); font-size: .92rem; margin-top: 18px; }

/* 脚注管理入口 */
.footer-meta .admin-link{display:inline-block;margin-left:14px;font-size:12px;color:rgba(255,255,255,.45);text-decoration:none;transition:color .2s}
.footer-meta .admin-link:hover{color:#fff}
.footer-meta .admin-link .en{display:none}
body.lang-en .footer-meta .admin-link .zh{display:none}
body.lang-en .footer-meta .admin-link .en{display:inline}

/* ==================== 会员页：品牌栏 + 表单区 ==================== */
.mem-shell { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; align-items: start; }

.mem-brand { position: sticky; top: 96px; padding: 30px 26px; border-radius: 20px; color: #fff;
  background: linear-gradient(150deg, #0b2b2a 0%, #0e4d45 55%, #17705f 100%);
  box-shadow: 0 18px 40px rgba(9, 42, 38, 0.28); }
.mem-brand__logo { width: 58px; height: 58px; object-fit: contain; border-radius: 14px;
  background: rgba(255, 255, 255, 0.94); padding: 7px; }
.mem-brand h2 { margin: 16px 0 6px; font-size: 1.28rem; letter-spacing: .3px; }
.mem-brand__sub { margin: 0 0 18px; font-size: .88rem; color: rgba(255, 255, 255, .76); }
.mem-perks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 11px; }
.mem-perks li { display: flex; gap: 9px; align-items: flex-start; font-size: .9rem; line-height: 1.6;
  color: rgba(255, 255, 255, .92); }
.mem-perks li b { flex: 0 0 20px; height: 20px; border-radius: 50%; background: rgba(24, 197, 217, .22);
  color: #7ff0ff; font-size: 12px; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.mem-brand__note { margin: 0; font-size: .82rem; color: rgba(255, 255, 255, .6); border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 14px; }

.mem-wrap { grid-template-columns: 170px minmax(0, 1fr); }
.auth-card { padding: 30px 30px 26px; border-radius: 18px; }
.auth-card.wide { max-width: none; }
.auth-card h3 { font-size: 1.22rem; margin-bottom: 6px; }
.auth-hint { font-size: .85rem; color: var(--muted); margin: 0 0 18px; line-height: 1.6; }
.form-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-block { display: block; width: 100%; text-align: center; margin-top: 6px; }

/* 分段切换（注册方式 / 重置方式） */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #eef4f7; margin-bottom: 18px; }
.seg-btn { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  font-size: .88rem; font-weight: 600; color: var(--muted); transition: all .2s; }
.seg-btn:hover { color: var(--text); }
.seg-btn.active { background: #fff; color: var(--teal); box-shadow: 0 3px 10px rgba(12, 60, 70, .12); }
.seg-pane, .fseg-pane { animation: fadeUp .25s ease; }

/* 图形验证码 */
.captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-img { flex: 0 0 132px; height: 46px; border-radius: 9px; overflow: hidden; display: block;
  border: 1px solid #e2ecf1; background: #f7fbfd; }
.captcha-img img { display: block; width: 100%; height: auto; }
.captcha-input { flex: 1 1 120px; min-width: 110px; }
.captcha-input, .code-row input { width: 100%; }

/* 短信验证码行 */
.code-row { display: flex; gap: 10px; align-items: center; }
.code-row button { white-space: nowrap; flex: 0 0 auto; }
.code-row button[disabled] { opacity: .55; cursor: not-allowed; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .mem-shell { grid-template-columns: 1fr; gap: 18px; }
  .mem-brand { position: static; padding: 24px 20px; }
  .mem-perks { grid-template-columns: 1fr 1fr; display: grid; gap: 8px 14px; }
  .mem-wrap { grid-template-columns: 1fr; }
  .mem-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .mem-tab { white-space: nowrap; border: 1.5px solid #e2ecf1; background: #fff; }
}
@media (max-width: 560px) {
  .mem-perks { grid-template-columns: 1fr; }
  .auth-card { padding: 22px 18px; }
  .form-card .form-row { grid-template-columns: 1fr; gap: 0; }
  .captcha-img { flex: 0 0 112px; }
  .captcha-img img { width: 100%; }
}

/* ===== 详情页（v1.9.21） ===== */
.crumb { margin: 0 0 18px; }
.crumb a { color: var(--teal, #12b886); font-weight: 700; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.pd-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.pd-media { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 26px rgba(11, 27, 51, 0.18); background: #f2f6f9; }
.pd-media img { width: 100%; display: block; }
.pd-body h2 { color: var(--navy, #0b1b33); margin: 10px 0 6px; font-size: 1.5rem; }
.pd-body .badge { background: rgba(18, 184, 134, 0.12); color: var(--teal, #12b886); }
.pd-desc { color: var(--text-light, #5b6b80); line-height: 1.75; }
.pd-body h4 { margin: 24px 0 10px; color: var(--navy, #0b1b33); }
.pd-link { color: inherit; text-decoration: none; transition: color 0.2s; }
.pd-link:hover { color: var(--teal, #12b886); }
@media (max-width: 900px) { .pd-wrap { grid-template-columns: 1fr; } .pd-body h2 { font-size: 1.28rem; } }

/* v1.9.22 详情页修复：feature-list 源自深色 solutions 区块，浅色详情底上不可读 */
.pd-body .feature-list li { color: var(--text-light, #5b6b80); }
.pd-body .feature-list li::before { color: var(--teal, #12b886); }
.pd-body .feature-list li b { color: var(--navy, #0b1b33); }
.pd-desc { white-space: pre-line; }
