/* JPCode 官网样式 */
:root {
  --bg: #0b0e17;
  --bg-alt: #10141f;
  --card: #151a29;
  --border: #232a3f;
  --text: #e8ebf4;
  --muted: #9aa3b8;
  --accent: #7c5cff;
  --accent2: #9d7bff;
  --grad: linear-gradient(135deg, #7c5cff 0%, #4f8cff 100%);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.7;
}
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent2); text-decoration: none; }
code {
  background: #1c2233; border: 1px solid var(--border); border-radius: 6px;
  padding: 1px 7px; font-size: 0.9em; color: #c9b8ff;
  font-family: "Cascadia Code", Consolas, monospace;
}
pre { background: #10141f; border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; overflow-x: auto; margin: 14px 0; }
pre code { background: none; border: none; padding: 0; color: #a8e6a3; }
.btn { display: inline-block; border-radius: 10px; font-weight: 600; transition: all .2s; }
.btn-primary { background: var(--grad); color: #fff; padding: 12px 28px; box-shadow: 0 6px 24px rgba(124,92,255,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(124,92,255,.5); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); padding: 12px 28px; background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent2); }
.btn-sm { padding: 8px 18px; }
.btn-lg { padding: 14px 34px; font-size: 1.05em; }

/* 导航 */
.site-header {
  position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px);
  background: rgba(11,14,23,.82); border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.15em; }
.brand-logo { width: 32px; height: 32px; border-radius: 8px; object-fit: contain; flex: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px; background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: .8em; font-weight: 800;
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav-link { color: var(--muted); font-size: .95em; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active { font-weight: 600; }
button.logout-btn { background: none; border: none; cursor: pointer; color: var(--muted); font-size: .95em; font-family: inherit; padding: 0; }
button.logout-btn:hover { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 60px; background: radial-gradient(1200px 500px at 70% -10%, rgba(124,92,255,.16), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-block; font-size: .82em; color: var(--accent2);
  border: 1px solid rgba(124,92,255,.4); border-radius: 999px; padding: 5px 14px;
  background: rgba(124,92,255,.08); margin-bottom: 18px;
}
.hero h1 { font-size: 2.6em; line-height: 1.25; margin-bottom: 18px; }
.hero h1 .grad { display: block; font-size: .72em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { color: var(--muted); margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat-num { font-size: 1.5em; font-weight: 800; color: var(--accent2); }
.stat-label { color: var(--muted); font-size: .85em; }

/* 产品窗口示意 */
.hero-shot { position: relative; }
.shot-glow { position: absolute; inset: -20px; background: var(--grad); filter: blur(60px); opacity: .25; z-index: -1; border-radius: 24px; }
.app-window {
  background: #f2f3f7; border-radius: 12px; overflow: hidden;
  border: 1px solid #2a3050; box-shadow: 0 24px 60px rgba(0,0,0,.5);
  color: #2b2f3a; font-size: .78em;
}
.app-titlebar { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: #fff; border-bottom: 1px solid #e3e5ec; }
.win-dot { width: 10px; height: 10px; border-radius: 50%; }
.win-dot.red { background: #ff5f57; } .win-dot.yellow { background: #febc2e; } .win-dot.green { background: #28c840; }
.win-title { font-weight: 700; margin-left: 6px; white-space: nowrap; }
.win-pill {
  margin-left: auto; font-size: .8em; color: #5a5f6e; background: #eef0f6;
  border: 1px solid #e3e5ec; border-radius: 999px; padding: 2px 10px; white-space: nowrap;
}
.app-body { display: grid; grid-template-columns: 130px 1fr; min-height: 300px; }
.app-sidebar { background: #eceef4; border-right: 1px solid #e3e5ec; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.side-head { font-weight: 800; display: flex; justify-content: space-between; }
.collapse { color: #9aa0af; }
.side-new { background: #fff; border: 1px solid #e3e5ec; border-radius: 8px; text-align: center; padding: 5px; font-weight: 600; }
.side-label { color: #9aa0af; font-size: .85em; margin-top: 4px; }
.side-item { background: #fff; border: 1px solid #e3e5ec; border-radius: 8px; padding: 4px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item.purple { color: #7c5cff; font-weight: 600; }
.side-bottom { margin-top: auto; color: #9aa0af; text-align: center; }
.app-main { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.chat-bubble { border-radius: 10px; padding: 8px 10px; max-width: 88%; }
.chat-bubble.user { background: #fff; border: 1px solid #e3e5ec; align-self: flex-end; }
.chat-bubble.ai { background: #f0ebff; border: 1px solid #ddd2ff; align-self: flex-start; }
.chat-bubble .who { font-weight: 700; font-size: .85em; margin-bottom: 3px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7c5cff; }
.changed { display: inline-block; margin-top: 6px; background: #fff; border: 1px solid #e3e5ec; border-radius: 999px; padding: 1px 10px; font-size: .8em; }
.chat-input {
  margin-top: auto; background: #fff; border: 1px solid #e3e5ec; border-radius: 10px;
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
}
.chat-input .placeholder { color: #9aa0af; flex: 1; white-space: nowrap; overflow: hidden; }
.chat-input .send { background: #7c5cff; color: #fff; border-radius: 8px; padding: 3px 14px; font-weight: 600; }
.chat-toolbar { color: #9aa0af; font-size: .85em; }

/* 通用区块 */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { text-align: center; font-size: 1.9em; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 40px; }

/* 服务商 chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 860px; margin: 0 auto; }
.chip { border: 1px solid var(--border); background: var(--card); border-radius: 999px; padding: 8px 20px; color: var(--text); font-size: .92em; transition: all .2s; }
.chip:hover { border-color: var(--accent); color: var(--accent2); transform: translateY(-2px); }

/* 特性卡片 */
.grid-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; transition: all .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.5); box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.card-icon { font-size: 1.7em; margin-bottom: 12px; }
.card h3 { font-size: 1.05em; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .9em; }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.step-num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92em; }

/* CTA */
.cta { padding: 80px 0; text-align: center; background: radial-gradient(800px 300px at 50% 120%, rgba(124,92,255,.2), transparent 60%); }
.cta h2 { font-size: 1.9em; margin-bottom: 10px; }
.cta p { color: var(--muted); margin-bottom: 26px; }

/* 文档页 */
.docs-head { padding: 48px 0 32px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.docs-head h1 { font-size: 1.9em; margin-bottom: 8px; }
.docs-head p { color: var(--muted); }
.docs-source { font-size: .9em; margin-top: 8px; }
.docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 36px 24px 80px; }
.docs-nav { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 4px; }
.docs-nav-title { font-weight: 700; margin-bottom: 8px; color: var(--text); }
.docs-nav a { color: var(--muted); font-size: .92em; padding: 6px 12px; border-radius: 8px; border-left: 2px solid transparent; }
.docs-nav a:hover { color: var(--text); background: var(--card); }
.docs-body h2 { font-size: 1.5em; margin: 36px 0 12px; padding-top: 8px; scroll-margin-top: 88px; }
.docs-body h3 { font-size: 1.12em; margin: 22px 0 8px; }
.docs-body p, .docs-body li, .docs-body dd { color: var(--muted); margin-bottom: 8px; }
.docs-body ul, .docs-body ol { padding-left: 22px; margin-bottom: 10px; }
.docs-body strong { color: var(--text); }
.table-wrap { overflow-x: auto; margin: 14px 0; }
.docs-body table { border-collapse: collapse; width: 100%; font-size: .92em; }
.docs-body th, .docs-body td { border: 1px solid var(--border); padding: 9px 14px; text-align: left; }
.docs-body th { background: var(--card); color: var(--text); white-space: nowrap; }
.docs-body td { color: var(--muted); }
.tip {
  background: rgba(124,92,255,.08); border: 1px solid rgba(124,92,255,.35);
  border-radius: 10px; padding: 12px 16px; color: var(--text); font-size: .92em; margin: 12px 0;
}
.faq dt { font-weight: 700; color: var(--text); margin-top: 14px; }
.faq dd { border-left: 2px solid var(--border); padding-left: 14px; }

/* 页脚 */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 40px 0 0; }
.footer-wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; }
.footer-brand p { color: var(--muted); font-size: .9em; margin-top: 8px; }
.footer-links { display: flex; gap: 22px; align-items: center; }
.footer-links a { color: var(--muted); font-size: .92em; }
.footer-links a:hover { color: var(--accent2); }
.copyright { color: #6b7387; font-size: .85em; padding: 18px 24px 26px; border-top: 1px solid var(--border); }

/* 响应式 */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-features { grid-template-columns: repeat(2, 1fr); }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .grid-features, .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2em; }
  .nav { gap: 14px; }
}

/* 登录 / 注册 */
.auth-wrap { display: flex; justify-content: center; padding: 80px 24px 100px; }
.auth-card {
  width: 400px; max-width: 100%; background: var(--card);
  border: 1px solid var(--border); border-radius: 14px; padding: 32px;
}
.auth-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.auth-tab {
  flex: 1; padding: 10px; border: 1px solid var(--border); border-radius: 10px;
  background: transparent; color: var(--muted); font-size: 1em; cursor: pointer;
}
.auth-tab.active { background: var(--grad); color: #fff; border-color: transparent; font-weight: 600; }
.auth-card label { display: block; color: var(--muted); font-size: .9em; margin-bottom: 14px; }
.auth-card input {
  display: block; width: 100%; margin-top: 6px; padding: 11px 14px;
  background: #0d1119; border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-size: 1em; box-sizing: border-box;
}
.auth-card input:focus { outline: none; border-color: var(--accent); }
.btn-block { width: 100%; margin-top: 8px; }
.auth-msg { min-height: 22px; color: #ff8080; font-size: .88em; margin: 8px 0; }
.sms-code-row { display: flex; gap: 8px; align-items: flex-end; }
.sms-code-row label { flex: 1; }
.sms-code-row .btn { margin-bottom: 14px; white-space: nowrap; }
.auth-alt { margin-top: 16px; text-align: center; color: var(--muted); font-size: .9em; }
.auth-alt a { color: var(--accent); }
.hidden, [hidden] { display: none !important; }

/* 用户中心 */
.dash-head { padding: 44px 0 28px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.dash-head h1 { font-size: 1.7em; margin-bottom: 6px; }
.dash-head p { color: var(--muted); }
.dash-layout { display: flex; flex-direction: row; gap: 28px; align-items: flex-start; padding: 32px 24px 80px; }
.dash-side { flex: 0 0 150px; display: flex; flex-direction: column; gap: 8px; position: sticky; top: 84px; }
.dash-tab { display: block; width: 100%; text-align: left; padding: 10px 14px; border: 1px solid var(--border); background: var(--card); border-radius: 8px; color: var(--muted); cursor: pointer; font-size: .95em; transition: all .15s; }
.dash-tab:hover { color: var(--text); border-color: var(--accent2); }
.dash-tab.active { background: var(--grad); color: #fff; border-color: transparent; font-weight: 600; }
.dash-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.dash-panel { display: block; }
@media (max-width: 768px) {
  .dash-layout { flex-direction: column; }
  .dash-side { flex: none; position: static; flex-direction: row; overflow-x: auto; }
  .dash-tab { width: auto; white-space: nowrap; }
}
.dash-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dash-card { text-align: center; color: var(--muted); font-size: .9em; }
.dash-num { font-size: 1.7em; font-weight: 800; color: var(--text); }
.dash-section h2 { font-size: 1.2em; margin-bottom: 14px; }
.billing-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.admin-subtabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.admin-subtabs .dash-tab { width: auto; white-space: nowrap; }
.admin-subpanel h2 { font-size: 1.15em; margin-bottom: 14px; }
.billing-toolbar h2 { margin: 0; }
.recharge-row { display: flex; gap: 12px; }
.recharge-row input {
  width: 180px; padding: 11px 14px; background: #0d1119;
  border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 1em;
}
.chart { display: flex; align-items: flex-end; gap: 4px; height: 150px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.chart .bar { flex: 1; min-width: 6px; background: var(--grad); border-radius: 3px 3px 0 0; opacity: .85; }
.chart .bar:hover { opacity: 1; }
.muted { color: var(--muted); }
.icp { color: #6b7387; }
.icp:hover { color: var(--accent2); }

/* ═══ 首页布局 v2 ═══ */
.hero2 {
  padding: 76px 0 30px; text-align: center;
  background:
    radial-gradient(900px 420px at 50% -12%, rgba(124,92,255,.22), transparent 65%),
    radial-gradient(700px 300px at 15% 0%, rgba(79,140,255,.10), transparent 60%);
}
.hero2-inner { max-width: 860px; }
.hero2-title { font-size: 3em; line-height: 1.2; margin: 18px 0 16px; letter-spacing: .01em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2-sub { color: var(--muted); font-size: 1.06em; max-width: 720px; margin: 0 auto 28px; }
.hero2-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.stats2 {
  display: inline-flex; gap: 0; border: 1px solid var(--border); border-radius: 14px;
  background: var(--card); overflow: hidden;
}
.stat2 { display: flex; flex-direction: column; padding: 14px 34px; border-left: 1px solid var(--border); }
.stat2:first-child { border-left: none; }
.stat2-num { font-size: 1.35em; font-weight: 800; color: var(--accent2); }
.stat2-label { color: var(--muted); font-size: .82em; }

/* 全宽界面示意 */
.hero2-shot { position: relative; margin-top: 34px; text-align: left; }
.hero2-shot .shot-glow { inset: -10px 6% ; }
/* 首页套餐售价（深色系） */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card {
  position: relative; background: linear-gradient(180deg, #161c2e 0%, #10141f 100%);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 18px 18px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 24px rgba(0,0,0,.35);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.price-card:hover { transform: translateY(-3px); border-color: #2c3550; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.price-card.hot {
  border-color: rgba(124,92,255,.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 36px rgba(124,58,237,.28);
}
.price-card.hot:hover { border-color: var(--accent); box-shadow: 0 16px 44px rgba(124,58,237,.4); }
.price-tag {
  position: absolute; top: -10px; right: 14px;
  background: var(--grad); color: #fff; font-size: .72em; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
}
.price-name { color: var(--muted); font-size: .95em; }
.price-num {
  font-size: 1.9em; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-credits { color: var(--muted); font-size: .88em; }
.price-credits b { color: var(--accent2); font-weight: 600; }
.price-note { margin-top: 16px; color: var(--muted); font-size: .88em; text-align: center; }
@media (max-width: 900px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }

/* 首页产品界面：真实截图 */
.app-shot {
  display: block; width: 100%; height: auto;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 30px 80px rgba(15,23,42,.18);
  background: #fff;
}
.app-window.wide { font-size: .82em; }
.app-window.wide .app-body { grid-template-columns: 150px 1fr 150px; min-height: 360px; }
.app-review { background: #eceef4; border-left: 1px solid #e3e5ec; padding: 10px; display: flex; flex-direction: column; gap: 5px; }
.review-file { background: #fff; border: 1px solid #e3e5ec; border-radius: 6px; padding: 3px 8px; font-size: .82em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-bubble.cmd { background: #10141f; color: #d8e0f0; align-self: stretch; max-width: 100%; font-size: .88em; }
.chat-bubble.cmd .who { color: #a8e6a3; }
.chat-bubble.cmd .text.mono { font-family: "Cascadia Code", Consolas, monospace; }
.chat-bubble.cmd .ok { color: #28c840; }

/* 服务商横条 */
.providers2 { padding: 40px 0 46px; border-bottom: 1px solid var(--border); }
.strip-label { text-align: center; color: var(--muted); font-size: .92em; margin-bottom: 22px; }
.chips2 { display: flex; flex-wrap: wrap; gap: 10px 12px; justify-content: center; max-width: 980px; margin: 0 auto; }
.chip2 {
  border: 1px solid var(--border); background: var(--bg-alt); color: var(--muted);
  border-radius: 999px; padding: 6px 18px; font-size: .88em; transition: all .2s;
}
.chip2:hover { color: var(--text); border-color: var(--accent); }

/* 三栏特写 */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.show-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; transition: all .25s; }
.show-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.5); }
.show-card h3 { font-size: 1.05em; margin-bottom: 10px; }
.show-ico { margin-right: 6px; }
.show-card p { color: var(--muted); font-size: .9em; margin-bottom: 18px; }
.mini-term {
  margin-top: auto; background: #0d1119; border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px; font-size: .82em; line-height: 1.9;
  font-family: "Cascadia Code", Consolas, monospace; color: #d8e0f0;
}
.term-p { color: var(--accent2); font-weight: 700; }
.term-ok { color: #a8e6a3; }
.term-cost { color: #ffd479; }
.diff-line { font-family: "Cascadia Code", Consolas, monospace; font-size: .85em; padding: 1px 6px; border-radius: 4px; }
.diff-line.add { color: #a8e6a3; background: rgba(60,180,90,.12); }
.diff-line.del { color: #ff9c9c; background: rgba(220,80,80,.12); }
.agent-mock { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: .88em; }
.agent {
  background: #0d1119; border: 1px solid var(--border); border-radius: 10px;
  padding: 9px 14px; display: flex; justify-content: space-between; align-items: center;
}
.agent span { color: var(--muted); font-size: .85em; }
.agent.purple { border-left: 3px solid #7c5cff; }
.agent.done { border-left: 3px solid #28c840; }

/* 工作流时间线 */
.steps2 { display: flex; align-items: stretch; gap: 14px; }
.step2 { flex: 1; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.step2 h3 { margin: 12px 0 8px; }
.step2 p { color: var(--muted); font-size: .92em; }
.step2-arrow { align-self: center; color: var(--accent); font-size: 1.6em; font-weight: 700; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 980px) {
  .hero2-title { font-size: 2.2em; }
  .app-window.wide .app-body { grid-template-columns: 130px 1fr; }
  .app-review { display: none; }
  .showcase { grid-template-columns: 1fr; }
  .steps2 { flex-direction: column; }
  .step2-arrow { transform: rotate(90deg); }
  .stats2 { flex-wrap: wrap; }
}

/* 接入方式 */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto; }
.access-card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 30px; display: flex; flex-direction: column;
  transition: all .25s;
}
.access-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.5); }
.access-card.highlight { border-color: rgba(124,92,255,.55); background: linear-gradient(160deg, rgba(124,92,255,.10), var(--card) 55%); }
.access-tag {
  position: absolute; top: 18px; right: 18px; font-size: .75em; font-weight: 700;
  color: #fff; background: var(--grad); border-radius: 999px; padding: 3px 12px;
}
.access-tag.alt { background: #232a3f; color: var(--muted); }
.access-card h3 { font-size: 1.15em; margin-bottom: 10px; }
.access-card p { color: var(--muted); font-size: .92em; margin-bottom: 14px; }
.access-list { list-style: none; margin-bottom: 22px; }
.access-list li { color: var(--muted); font-size: .9em; padding: 5px 0 5px 22px; position: relative; }
.access-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent2); font-weight: 700; }
.access-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .access-grid { grid-template-columns: 1fr; } }

/* API Key 管理 */
.key-create input { flex: 1; min-width: 120px; padding: 11px 12px; background: #0d1119; border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: .95em; }
.mono { font-family: "Cascadia Code", Consolas, monospace; font-size: .88em; }
