/* YYC API 全站样式 — 蓝白品牌系统 */
:root {
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --ink:      #0f172a;
  --ink-2:    #334155;
  --muted:    #64748b;
  --line:     #e2e8f0;
  --line-2:   #cbd5e1;
  --bg:       #f8fafc;
  --card:     #ffffff;
  --ok:       #16a34a;
  --warn:     #d97706;
  --err:      #dc2626;
  --r:        14px;
  --r-sm:     10px;
  --r-lg:     20px;
  --sh:       0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.05);
  --sh-lg:    0 4px 8px rgba(15,23,42,.06), 0 20px 50px rgba(15,23,42,.08);
  --grad:     linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  --grad-soft:linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: var(--bg); color: var(--ink);
  line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: 15px;
}
a { color: var(--blue-600); text-decoration: none; transition: color .15s; }
a:hover { color: var(--blue-700); }
img { max-width: 100%; display: block; }
code, pre { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* ========== 通用 ========== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.row { display: flex; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; cursor: pointer; font-size: 15px; font-weight: 600;
  padding: 12px 22px; border-radius: var(--r-sm); background: var(--grad); color: #fff;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  box-shadow: 0 1px 2px rgba(37,99,235,.2);
  text-align: center;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.25); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: #fff; color: var(--blue-700); border: 1px solid var(--blue-200); box-shadow: none; }
.btn.ghost:hover { background: var(--blue-50); }
.btn.dark { background: #0f172a; box-shadow: 0 1px 2px rgba(15,23,42,.3); }
.btn.dark:hover { box-shadow: 0 4px 12px rgba(15,23,42,.35); }
.btn.block { width: 100%; }
.btn.sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.btn.lg { padding: 15px 32px; font-size: 16px; border-radius: 12px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.tag.blue { background: var(--blue-100); color: var(--blue-700); }
.tag.cyan { background: #cffafe; color: var(--cyan-600); }
.tag.ok { background: #dcfce7; color: #15803d; }
.tag.gray { background: #f1f5f9; color: var(--ink-2); }

/* ========== 顶部导航 ========== */
.nav {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav .row { height: 64px; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.3px; }
.brand img { width: 32px; height: 32px; }
.brand .sub { color: var(--muted); font-weight: 500; font-size: 13px; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--ink-2); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all .15s;
}
.nav-links a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav-links a.on { color: var(--blue-700); background: var(--blue-50); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ========== 首页 Hero ========== */
.hero {
  position: relative;
  padding: 100px 0 60px;
  background:
    radial-gradient(ellipse 800px 400px at 50% -10%, rgba(59,130,246,.18), transparent 60%),
    radial-gradient(ellipse 600px 300px at 90% 30%, rgba(14,165,233,.12), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.7); border: 1px solid var(--blue-200);
  font-size: 13px; color: var(--blue-700); font-weight: 500;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: 56px; font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px; margin: 22px 0 18px;
  background: linear-gradient(180deg, #0f172a 0%, #1e40af 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
  font-size: 17px; color: var(--ink-2); max-width: 640px; margin: 0 auto 32px;
  line-height: 1.7;
}
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 60px;
}
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 18px; text-align: center; box-shadow: var(--sh);
  transition: transform .2s, box-shadow .2s;
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.stat .ic {
  width: 44px; height: 44px; margin: 0 auto 12px;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.stat .ic.b1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.stat .ic.b2 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.stat .ic.b3 { background: linear-gradient(135deg, #10b981, #059669); }
.stat .ic.b4 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stat .num { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -.5px; }
.stat .lbl { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ========== 通用 section ========== */
.section { padding: 80px 0; }
.section.tight { padding: 60px 0; }
.section.gray { background: var(--bg); }
.section.eyebrow {
  text-align: center; margin-bottom: 12px;
  color: var(--blue-600); font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
}
.section h2 {
  font-size: 38px; font-weight: 800; text-align: center;
  letter-spacing: -.5px; color: var(--ink);
}
.section .sub {
  text-align: center; color: var(--muted); margin-top: 12px; font-size: 16px;
}

/* ========== 卖点卡（为什么选我们）========== */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px;
}
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; transition: all .25s; box-shadow: var(--sh);
}
.feature:hover { border-color: var(--blue-200); box-shadow: var(--sh-lg); transform: translateY(-3px); }
.feature .ic {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.feature .bar { margin-top: 18px; height: 4px; background: var(--bg); border-radius: 2px; overflow: hidden; }
.feature .bar-fill { height: 100%; background: var(--grad); border-radius: 2px; }
.feature .bar-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.feature .bar-row strong { color: var(--blue-700); font-weight: 700; }

/* ========== 模型生态 ========== */
.models-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; margin-top: 48px;
}
.model-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 10px; text-align: center; transition: all .2s;
}
.model-tile:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.model-tile .ic {
  width: 48px; height: 48px; margin: 0 auto 10px;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff;
}
.model-tile .nm { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.models-tag {
  display: inline-flex; gap: 14px; margin-top: 36px;
  padding: 12px 24px; background: var(--blue-50); border-radius: 999px;
  font-size: 13px; color: var(--blue-700); font-weight: 500;
  margin-left: auto; margin-right: auto;
}
.models-tag span { display: flex; align-items: center; gap: 6px; }
.models-tag span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); }
.models-tag-wrap { text-align: center; }

/* ========== 集成屏 ========== */
.integ { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; margin-top: 48px; }
.integ .lt .tag { margin-bottom: 16px; }
.integ .lt h2 { text-align: left; font-size: 32px; }
.integ .lt p { color: var(--muted); margin: 14px 0 22px; }
.integ .lt ul { list-style: none; }
.integ .lt li { padding: 8px 0; color: var(--ink-2); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.integ .lt li::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0;
  background: var(--grad); border-radius: 5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-position: center; background-repeat: no-repeat; background-size: 12px;
}
.code-window {
  background: #0f172a; border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); overflow: hidden;
  border: 1px solid #1e293b;
}
.code-window .head {
  display: flex; align-items: center; gap: 8px; padding: 14px 16px;
  background: #1e293b; border-bottom: 1px solid #334155;
}
.code-window .head .dot { width: 12px; height: 12px; border-radius: 50%; background: #475569; }
.code-window .head .dot:nth-child(1) { background: #ef4444; }
.code-window .head .dot:nth-child(2) { background: #f59e0b; }
.code-window .head .dot:nth-child(3) { background: #22c55e; }
.code-window .head .file { margin-left: 10px; font-size: 12px; color: #94a3b8; font-family: monospace; }
.code-window pre {
  padding: 22px; color: #e2e8f0; font-size: 13px; line-height: 1.7;
  overflow-x: auto; white-space: pre;
}
.code-window .k { color: #93c5fd; }
.code-window .s { color: #86efac; }
.code-window .c { color: #64748b; font-style: italic; }

/* ========== 价格三档 ========== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 26px; box-shadow: var(--sh);
  transition: all .25s; position: relative;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.plan.feat {
  background: var(--grad-soft);
  border-color: var(--blue-400);
  box-shadow: 0 8px 30px rgba(37,99,235,.18);
  transform: scale(1.03);
}
.plan.feat:hover { transform: scale(1.03) translateY(-4px); }
.plan .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; padding: 4px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.plan .ic {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.plan h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.plan .price { font-size: 38px; font-weight: 800; color: var(--blue-700); margin: 14px 0 8px; letter-spacing: -1px; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan .desc { color: var(--muted); font-size: 14px; min-height: 42px; }
.plan .btn { margin-top: 20px; }

/* ========== 底部 CTA ========== */
.cta-bottom {
  background:
    radial-gradient(ellipse 600px 300px at 20% 50%, rgba(255,255,255,.15), transparent 60%),
    var(--grad);
  padding: 80px 0; text-align: center; color: #fff;
}
.cta-bottom .rocket {
  width: 56px; height: 56px; margin-bottom: 18px;
  background: rgba(255,255,255,.15); border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.cta-bottom h2 { color: #fff; font-size: 38px; }
.cta-bottom p { color: rgba(255,255,255,.9); font-size: 16px; margin-top: 12px; }
.cta-bottom .btn { margin-top: 30px; background: #fff; color: var(--blue-700); }
.cta-bottom .btn:hover { background: #fff; color: var(--blue-800); }

/* ========== Footer ========== */
.footer {
  background: #fff; border-top: 1px solid var(--line);
  padding: 50px 0 30px; color: var(--muted); font-size: 13px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 30px; border-bottom: 1px solid var(--line);
}
.footer h4 { color: var(--ink); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { padding: 5px 0; }
.footer a { color: var(--muted); font-size: 13px; }
.footer a:hover { color: var(--blue-600); }
.footer .brand-blk { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); margin-bottom: 12px; }
.footer .brand-blk img { width: 32px; height: 32px; }
.footer .copy { padding-top: 22px; text-align: center; }

/* ========== 控制台 ========== */
.console { display: grid; grid-template-columns: 232px 1fr; min-height: calc(100vh - 64px); }
.side { background: #fff; border-right: 1px solid var(--line); padding: 22px 14px; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; }
.side .u { font-weight: 700; font-size: 14px; margin-bottom: 4px; word-break: break-all; }
.side .u-sub { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.side a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; color: var(--ink-2); font-size: 14px; font-weight: 500; margin-bottom: 3px; transition: all .15s; }
.side a:hover { background: var(--blue-50); color: var(--blue-700); }
.side a.on { background: var(--grad); color: #fff; box-shadow: 0 2px 6px rgba(37,99,235,.25); }
.side a svg { width: 18px; height: 18px; flex-shrink: 0; }
.side .sep { margin: 18px 0 8px; font-size: 11px; color: var(--muted); padding: 0 12px; text-transform: uppercase; letter-spacing: 1px; }
.main { padding: 32px 36px; background: var(--bg); min-width: 0; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 26px; box-shadow: var(--sh); margin-bottom: 18px;
}
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.kv { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--muted); }
.kv .v { font-weight: 500; }
.keybox { font-family: ui-monospace, Menlo, Consolas, monospace; background: #0f172a; color: #e2e8f0; padding: 12px 14px; border-radius: 10px; font-size: 13px; word-break: break-all; margin-top: 6px; }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; background: #0f172a; color: #e2e8f0; padding: 14px; border-radius: 10px; font-size: 13px; overflow-x: auto; white-space: pre; line-height: 1.7; }
.muted { color: var(--muted); font-size: 14px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #dcfce7; color: #15803d; }

/* ========== 钱包 ========== */
.wallet-hero {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #0ea5e9 100%);
  border-radius: var(--r-lg); padding: 28px 32px; color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  position: relative; overflow: hidden;
}
.wallet-hero::before {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.wallet-hero::after {
  content: ""; position: absolute; right: 60px; bottom: -80px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.wallet-hero .lbl { font-size: 13px; opacity: .85; }
.wallet-hero .amt { font-size: 42px; font-weight: 800; letter-spacing: -1px; margin-top: 4px; position: relative; }
.wallet-hero .amt-sub { font-size: 14px; opacity: .8; margin-top: 6px; }
.wallet-hero .btns { display: flex; flex-direction: column; gap: 8px; position: relative; }
.wallet-hero .btn { background: #fff; color: var(--blue-700); }
.wallet-hero .btn.ghost { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.wallet-hero .btn.ghost:hover { background: rgba(255,255,255,.25); }

.chart-card { padding: 24px 26px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.chart-head h4 { font-size: 14px; font-weight: 700; }
.chart-legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.chart-legend span { display: flex; align-items: center; gap: 5px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.chart-legend .lq i { background: var(--blue-500); }
.chart-legend .lp i { background: var(--cyan-500); }
.chart-svg { width: 100%; height: 200px; }

/* ========== 数据看板 ========== */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.kpi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; box-shadow: var(--sh);
}
.kpi .lbl { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.kpi .num { font-size: 28px; font-weight: 800; letter-spacing: -.5px; color: var(--ink); }
.kpi .num.ok { color: var(--ok); }
.kpi .num.warn { color: var(--warn); }
.kpi .num.blue { color: var(--blue-700); }
.kpi .delta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.kpi .delta.up { color: var(--ok); }
.kpi .delta.down { color: var(--err); }

.top-list { display: flex; flex-direction: column; gap: 10px; }
.top-row { display: grid; grid-template-columns: 32px 1fr 80px; align-items: center; gap: 12px; }
.top-row .r { font-weight: 700; color: var(--muted); font-size: 13px; }
.top-row .nm { font-weight: 500; font-size: 14px; }
.top-row .bar { height: 6px; background: var(--bg); border-radius: 3px; overflow: hidden; }
.top-row .bar-fill { height: 100%; background: var(--grad); border-radius: 3px; }
.top-row .val { text-align: right; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ========== Auth（登录注册）========== */
.auth-wrap { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 50px 20px; background: var(--grad-soft); }
.auth {
  width: 100%; max-width: 420px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 36px 32px; box-shadow: var(--sh-lg);
}
.auth h2 { text-align: center; font-size: 22px; margin-bottom: 6px; }
.auth .sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.auth .tab { display: flex; gap: 6px; margin-bottom: 22px; background: var(--bg); padding: 4px; border-radius: 10px; }
.auth .tab button {
  flex: 1; padding: 9px; border: none; background: transparent;
  border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--muted);
  transition: all .15s; font-size: 14px;
}
.auth .tab button.on { background: #fff; color: var(--blue-700); box-shadow: 0 1px 3px rgba(15,23,42,.08); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; font-weight: 600; }
.field input { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.agree { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 20px; font-size: 13px; color: var(--ink-2); }
.agree input { width: 16px; height: 16px; accent-color: var(--blue-600); cursor: pointer; margin-top: 2px; flex-shrink: 0; }
.agree a { color: var(--blue-600); }
.msg { font-size: 13px; margin-top: 12px; min-height: 18px; text-align: center; }
.msg.err { color: var(--err); }
.msg.ok { color: var(--ok); }

/* ========== Docs ========== */
.docs { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.docs-step { counter-increment: step; }
.docs-step h3 { display: flex; align-items: center; gap: 12px; }
.docs-step h3::before {
  counter-increment: step; content: counter(step);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.docs { counter-reset: step; }

/* ========== 联系 ========== */
.contact-banner {
  background: var(--blue-50); border: 1px solid var(--blue-200);
  border-radius: var(--r); padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px;
}
.contact-banner .lt { display: flex; align-items: center; gap: 14px; }
.contact-banner .lt .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center;
}
.contact-banner h4 { font-size: 15px; font-weight: 700; }
.contact-banner p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; text-align: center; box-shadow: var(--sh);
  transition: all .25s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.contact-card .ic {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.contact-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.contact-card .v { color: var(--blue-700); font-weight: 600; font-size: 14px; word-break: break-all; }
.contact-card .desc { color: var(--muted); font-size: 12px; margin-top: 6px; }
.contact-card img { width: 160px; height: 160px; margin: 12px auto 8px; border-radius: 8px; border: 1px solid var(--line); }

/* ========== 响应式 ========== */
@media (max-width: 980px) {
  .hero h1 { font-size: 38px; }
  .hero .stats { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .models-grid { grid-template-columns: repeat(4, 1fr); }
  .integ { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan.feat { transform: none; }
  .plan.feat:hover { transform: translateY(-4px); }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .console { grid-template-columns: 1fr; }
  .side { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .side .sep { margin: 12px 0 6px; }
  .wallet-hero { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { padding: 0 16px; }
  .hero { padding: 60px 0 40px; }
  .hero h1 { font-size: 30px; letter-spacing: -.5px; }
  .hero .lead { font-size: 15px; }
  .section { padding: 50px 0; }
  .section h2 { font-size: 26px; }
  .features, .kpi-grid, .footer-grid, .contact-cards { grid-template-columns: 1fr; }
  .hero .stats { grid-template-columns: 1fr 1fr; }
  .models-grid { grid-template-columns: repeat(3, 1fr); }
  .main { padding: 20px; }
  .nav .nav-links a { padding: 6px 8px; font-size: 13px; }
  .nav .brand .sub { display: none; }
}