/* ============================================================
   天云网关 endv-firewall · 官网设计系统
   深色科技风 / 品牌渐变 / 玻璃拟态卡片
   ============================================================ */
:root {
  --bg: #060c1a;
  --bg-2: #0a1428;
  --bg-3: #0f1d38;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-solid: #0d1a30;
  --border: rgba(133, 170, 230, 0.14);
  --border-strong: rgba(133, 170, 230, 0.28);
  --text: #e8effb;
  --text-2: #a9bddb;
  --text-3: #7187a8;
  --brand: #3b82f6;
  --brand-2: #06b6d4;
  --brand-3: #6366f1;
  --grad: linear-gradient(120deg, #2563eb 0%, #06b6d4 100%);
  --grad-soft: linear-gradient(120deg, rgba(37, 99, 235, 0.16), rgba(6, 182, 212, 0.16));
  --ok: #22c55e;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 60px rgba(2, 8, 24, 0.55);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  color: #7dd3fc; text-transform: uppercase;
  padding: 6px 14px; border: 1px solid var(--border-strong);
  border-radius: 999px; background: rgba(6, 182, 212, 0.08);
  margin-bottom: 20px;
}
h1 { font-size: 52px; line-height: 1.18; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 36px; line-height: 1.25; font-weight: 750; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 650; }
.lead { font-size: 18px; color: var(--text-2); margin-top: 18px; }
.grad-text {
  background: linear-gradient(100deg, #93c5fd 0%, #22d3ee 55%, #a5b4fc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px; font-size: 15px; font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(37, 99, 235, 0.5); }
.btn-ghost { border: 1px solid var(--border-strong); color: var(--text); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: #60a5fa; background: rgba(96, 165, 250, 0.1); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 12, 26, 0.78); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 750; font-size: 18px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--text-3); letter-spacing: .04em; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--text-2); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .login { font-size: 14.5px; color: var(--text-2); font-weight: 500; }
.nav-cta .login:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 92px 0 80px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(37, 99, 235, 0.28), transparent 60%),
    radial-gradient(700px 420px at 12% 10%, rgba(6, 182, 212, 0.18), transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { margin-top: 22px; }
.hero .lead { font-size: 18.5px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-meta div { font-size: 13px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.hero-visual { position: relative; }
.hero-visual img {
  border-radius: var(--radius-lg); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.hero-badge-float {
  position: absolute; background: rgba(13, 26, 48, 0.9); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 12px 16px; backdrop-filter: blur(8px);
  font-size: 13px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow);
}
.hero-badge-float .n { font-size: 20px; font-weight: 750; color: #22d3ee; }
.float-1 { top: -18px; left: -22px; }
.float-2 { bottom: -18px; right: -14px; }

/* ---------- 数据条 ---------- */
.stats-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 44px 0; text-align: center; }
.stat .num { font-size: 38px; font-weight: 800; }
.stat .lbl { font-size: 14px; color: var(--text-3); margin-top: 4px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: rgba(255,255,255,0.06); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border-strong); margin-bottom: 18px;
}
.card .ico svg { width: 23px; height: 23px; stroke: #67e8f9; }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--text-2); font-size: 14.5px; }
.card .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: 12px; color: #9fc6ff; background: rgba(59,130,246,0.12);
  border: 1px solid rgba(96,165,250,0.25); padding: 3px 10px; border-radius: 999px;
}

/* ---------- 七层检测 ---------- */
.layers { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.layer {
  text-align: center; padding: 24px 12px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--border); position: relative;
}
.layer .lvl {
  width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 750; font-size: 14px;
  background: var(--grad); color: #fff;
}
.layer h4 { font-size: 14px; margin-bottom: 6px; }
.layer p { font-size: 12px; color: var(--text-3); }

/* ---------- 规则覆盖 ---------- */
.rules-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.rule-bars { display: flex; flex-direction: column; gap: 18px; }
.rule-bar .top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 7px; }
.rule-bar .top b { color: #22d3ee; }
.track { height: 9px; border-radius: 99px; background: rgba(255,255,255,0.07); overflow: hidden; }
.fill { height: 100%; border-radius: 99px; background: var(--grad); }
.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; color: var(--text-2); font-size: 15px; }
.checklist svg { width: 20px; height: 20px; flex: none; margin-top: 3px; stroke: var(--ok); }

/* ---------- 合规带 ---------- */
.compliance {
  background: linear-gradient(120deg, rgba(37,99,235,.14), rgba(99,102,241,.10) 55%, rgba(6,182,212,.12));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.badge-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.badge-pill {
  padding: 14px 26px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: rgba(8, 16, 34, 0.6); font-weight: 600; font-size: 15px;
  display: flex; align-items: center; gap: 10px;
}

/* ---------- 六大国家标准对标 ---------- */
.std-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px;
}
.std-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 24px 22px; transition: border-color .18s ease, transform .18s ease;
}
.std-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.std-no {
  display: inline-block; font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: #7dd3fc;
  background: rgba(6, 182, 212, 0.1); border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 6px; padding: 4px 10px; margin-bottom: 12px;
}
.std-card h4 { font-size: 16px; font-weight: 650; margin-bottom: 8px; line-height: 1.4; }
.std-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }
.std-note {
  margin-top: 26px; text-align: center; font-size: 12.5px; color: var(--text-3);
  max-width: 820px; margin-left: auto; margin-right: auto; line-height: 1.7;
}
@media (max-width: 900px) { .std-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .std-grid { grid-template-columns: 1fr; } }

/* ---------- 价格（首页缩略 + 价格页） ---------- */
.editions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.edition {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 22px; display: flex; flex-direction: column; position: relative;
}
.edition.hot { border-color: #38bdf8; background: linear-gradient(180deg, rgba(14,116,144,.18), rgba(13,26,48,.6)); box-shadow: 0 0 0 1px rgba(56,189,248,.35), var(--shadow); }
.hot-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.edition .tier { font-size: 17px; font-weight: 700; }
.edition .tier-desc { font-size: 12.5px; color: var(--text-3); min-height: 38px; margin-top: 6px; }
.price { margin: 18px 0 6px; }
.price .cur { font-size: 16px; color: var(--text-2); vertical-align: top; }
.price .amt { font-size: 38px; font-weight: 800; }
.price .per { font-size: 13px; color: var(--text-3); }
.edition .quota { font-size: 13px; color: #9fc6ff; margin-bottom: 16px; }
.edition ul { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: var(--text-2); flex: 1; margin-bottom: 20px; }
.edition li { display: flex; gap: 9px; align-items: flex-start; }
.edition li svg { width: 15px; height: 15px; flex: none; margin-top: 4px; stroke: #34d399; }
.edition li.no { color: var(--text-3); }
.edition li.no svg { stroke: #4b5e7c; }

/* ---------- 对比表 ---------- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--panel); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 860px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--border); font-size: 14px; }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--text-2); }
.cmp thead th { background: rgba(255,255,255,0.04); font-size: 15px; }
.cmp thead .p { font-size: 13px; color: var(--text-3); font-weight: 500; }
.cmp tbody tr:hover { background: rgba(255,255,255,0.03); }
.cmp .group td { background: rgba(6,182,212,.07); font-weight: 650; color: #7dd3fc; text-align: left; font-size: 13.5px; letter-spacing: .04em; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: #4b5e7c; }
.partial { color: var(--warn); font-weight: 600; }

/* ---------- 部署 ---------- */
.deploy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.deploy-item { text-align: center; padding: 30px 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--panel); }
.deploy-item .ico { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--border-strong); display: grid; place-items: center; }
.deploy-item svg { width: 26px; height: 26px; stroke: #67e8f9; }

/* ---------- CTA ---------- */
.cta-band { text-align: center; }
.cta-box {
  border-radius: var(--radius-lg); padding: 72px 40px; position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 50% 0%, rgba(37,99,235,.32), transparent 70%), var(--bg-3);
  border: 1px solid var(--border-strong);
}
.cta-box .lead { margin-bottom: 32px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h5 { font-size: 14px; margin-bottom: 16px; color: var(--text); }
.footer li { margin-bottom: 10px; }
.footer a, .footer span { font-size: 13.5px; color: var(--text-3); }
.footer a:hover { color: #9fc6ff; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: var(--text-3); flex-wrap: wrap; gap: 10px; }

/* 备案信息行（ICP / 公安网安） */
.footer-beian {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px;
  padding-top: 16px; margin-top: 14px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-3);
}
.footer-beian a { color: var(--text-3); display: inline-flex; align-items: center; gap: 5px; transition: color .15s ease; }
.footer-beian a:hover { color: #9fc6ff; }
.footer-beian .beian-police svg { flex: none; }
.footer-beian .beian-sep { opacity: .4; }
@media (max-width: 600px) {
  .footer-beian { flex-direction: column; gap: 6px; }
  .footer-beian .beian-sep { display: none; }
}

/* ---------- 子页 hero ---------- */
.page-hero { padding: 72px 0 56px; text-align: center; position: relative; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 320px at 50% -20%, rgba(37,99,235,.22), transparent 60%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: 42px; }
.breadcrumb { font-size: 13.5px; color: var(--text-3); margin-bottom: 18px; }
.breadcrumb a:hover { color: #9fc6ff; }

/* ---------- 表单 / 认证 ---------- */
.auth-screen { min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; }
.auth-side {
  position: relative; padding: 72px 64px; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(800px 500px at 20% 10%, rgba(37,99,235,.28), transparent 60%),
              radial-gradient(600px 400px at 90% 90%, rgba(6,182,212,.18), transparent 60%), var(--bg-2);
}
.auth-side h2 { font-size: 34px; margin: 26px 0 16px; }
.auth-side p { color: var(--text-2); max-width: 440px; }
.auth-side .feat { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; color: var(--text-2); font-size: 14.5px; }
.auth-side .feat svg { width: 19px; height: 19px; stroke: var(--ok); flex: none; margin-top: 3px; }
.auth-panel { display: grid; place-items: center; padding: 40px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 27px; margin-bottom: 8px; }
.auth-card .sub { color: var(--text-3); font-size: 14.5px; margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-strong);
  color: var(--text); font-size: 14.5px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.18);
}
.field .hint { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.auth-alt { text-align: center; margin-top: 22px; font-size: 14px; color: var(--text-3); }
.auth-alt a { color: #7dd3fc; font-weight: 600; }
.alert { padding: 12px 15px; border-radius: 10px; font-size: 13.5px; margin-bottom: 18px; display: none; }
.alert.show { display: block; }
.alert-err { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.35); color: #fca5a5; }
.alert-ok { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.35); color: #86efac; }
.alert-info { background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.35); color: #93c5fd; }

/* ---------- 控制台布局 ---------- */
.console { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.sidebar { background: var(--bg-2); border-right: 1px solid var(--border); padding: 26px 16px; position: sticky; top: 0; height: 100vh; }
.sidebar .brand { padding: 0 10px 24px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.side-nav a {
  display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 9px;
  color: var(--text-2); font-size: 14.5px; font-weight: 500; margin-bottom: 4px; transition: background .15s, color .15s;
}
.side-nav a svg { width: 18px; height: 18px; stroke: currentColor; }
.side-nav a:hover { background: rgba(255,255,255,.05); color: #fff; }
.side-nav a.active { background: var(--grad-soft); color: #7dd3fc; border: 1px solid var(--border-strong); }
.side-foot { position: absolute; bottom: 24px; left: 16px; right: 16px; }
.main { padding: 34px 42px; min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.topbar h1 { font-size: 26px; }
.user-chip { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-3); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.stat-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.stat-card .lbl { font-size: 13px; color: var(--text-3); }
.stat-card .val { font-size: 30px; font-weight: 800; margin-top: 6px; }
.stat-card .sub { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }

.panel-box { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; }
.panel-box h3 { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; }

.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12.5px; color: var(--text-3); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: .05em; }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.mono { font-family: "JetBrains Mono", Consolas, monospace; font-size: 12.5px; }
.pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill-active { background: rgba(34,197,94,.14); color: #4ade80; border: 1px solid rgba(34,197,94,.3); }
.pill-expired { background: rgba(239,68,68,.12); color: #f87171; border: 1px solid rgba(239,68,68,.3); }
.pill-pending { background: rgba(245,158,11,.12); color: #fbbf24; border: 1px solid rgba(245,158,11,.3); }
.pill-paid { background: rgba(34,197,94,.14); color: #4ade80; border: 1px solid rgba(34,197,94,.3); }
.pill-cancelled { background: rgba(148,163,184,.12); color: #94a3b8; border: 1px solid rgba(148,163,184,.3); }
.pill-unused { background: rgba(56,189,248,.12); color: #38bdf8; border: 1px solid rgba(56,189,248,.3); }
.pill-used { background: rgba(148,163,184,.12); color: #94a3b8; border: 1px solid rgba(148,163,184,.3); }
.copyable { display: inline-flex; align-items: center; gap: 6px; }
.copy-btn { font-size: 11px; color: #7dd3fc; border: 1px solid var(--border-strong); padding: 2px 8px; border-radius: 6px; }
.copy-btn:hover { background: rgba(125,211,252,.1); }

.empty { text-align: center; padding: 52px 20px; color: var(--text-3); }
.empty svg { width: 44px; height: 44px; stroke: #3b5172; margin: 0 auto 14px; }

/* ---------- 收银台 ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: start; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.pay-method {
  border: 1.5px solid var(--border); border-radius: 12px; padding: 18px; display: flex; gap: 12px;
  align-items: center; cursor: pointer; transition: border-color .15s, background .15s;
}
.pay-method.sel { border-color: #38bdf8; background: rgba(56,189,248,.07); }
.pay-method .pm-ico { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.pm-alipay { background: #1677ff22; color: #69b1ff; border: 1px solid #1677ff44; }
.pm-wechat { background: #07c16022; color: #4ade80; border: 1px solid #07c16044; }
.pm-mock { background: #f59e0b22; color: #fbbf24; border: 1px solid #f59e0b44; }
.pay-method b { font-size: 14.5px; display: block; }
.pay-method small { color: var(--text-3); font-size: 12px; }
.qr-box { text-align: center; padding: 20px; }
.qr-box img { width: 230px; height: 230px; margin: 0 auto 14px; border-radius: 12px; background: #fff; padding: 10px; }
.summary-row { display: flex; justify-content: space-between; padding: 11px 0; font-size: 14.5px; color: var(--text-2); border-bottom: 1px dashed var(--border); }
.summary-row.total { border-bottom: none; font-size: 17px; color: var(--text); font-weight: 700; padding-top: 16px; }
.summary-row.total .amt { color: #22d3ee; font-size: 26px; }

.code-block {
  background: #050b18; border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; font-family: Consolas, monospace; font-size: 12.5px;
  color: #9fc6ff; overflow-x: auto; white-space: pre; margin: 10px 0;
}
.steps { display: flex; gap: 0; margin: 8px 0 26px; }
.step { flex: 1; text-align: center; position: relative; font-size: 13.5px; color: var(--text-3); }
.step::before {
  content: attr(data-n); width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-3); border: 1px solid var(--border-strong);
  display: grid; place-items: center; margin: 0 auto 8px; font-weight: 700; position: relative; z-index: 2;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 15px; left: calc(50% + 22px); right: calc(-50% + 22px);
  height: 2px; background: var(--border-strong); z-index: 1;
}
.step.on { color: #7dd3fc; }
.step.on::before { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- 控制台表单网格（新增/发布类表单） ----------
   两列自适应；需整行的项（文件上传、按钮行）加 .grid-form-wide。 */
.grid-form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0 18px; align-items: start;
}
.grid-form-wide { grid-column: 1 / -1; }

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .hero-grid, .rules-wrap, .checkout-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .deploy-grid, .stat-cards { grid-template-columns: 1fr 1fr; }
  .layers { grid-template-columns: repeat(4, 1fr); }
  .editions { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .auth-screen { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .console { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px; }
  .sidebar .brand { width: 100%; border-bottom: none; padding-bottom: 8px; margin-bottom: 4px; }
  .side-foot { position: static; width: 100%; }
  .side-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .side-nav a { margin: 0; }
  .main { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .grid-2, .deploy-grid, .stat-cards, .editions, .layers, .pay-methods, .grid-form { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- 线下支付收款信息 ---------- */
.input {
  padding: 10px 13px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-strong);
  color: var(--text); font-size: 14px; outline: none;
}
.input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18); }
.bank-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  background: rgba(6, 182, 212, 0.05); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px;
}
.bank-grid small { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.bank-grid b { font-size: 14.5px; font-weight: 650; }

/* ---------- 行业方案 ---------- */
.sol-hero-img { border-radius: var(--radius-lg); border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s ease, border-color .2s ease;
}
.industry-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.industry-card .top { display: flex; align-items: center; gap: 12px; }
.industry-card .top .ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border-strong); flex: none;
}
.industry-card .top .ico svg { width: 21px; height: 21px; stroke: #67e8f9; }
.industry-card h3 { font-size: 17px; }
.industry-card p { color: var(--text-2); font-size: 14px; }
.industry-card .tags { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 7px; }
.scene-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.scene-item {
  border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 20px;
  background: rgba(255, 255, 255, 0.02);
}
.scene-item h4 { font-size: 15px; margin-bottom: 7px; color: #9fc6ff; }
.scene-item p { font-size: 13px; color: var(--text-3); }
@media (max-width: 1020px) {
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .scene-flow { grid-template-columns: 1fr 1fr; }
  .bank-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .industry-grid, .scene-flow { grid-template-columns: 1fr; }
}
