/* 官网样式：沿用软件本身的风格（app/static/style.css）——深蓝渐变页头、金色品牌字、青绿按键、
   带彩色底边的圆角卡片、渐变图标块。 */
:root {
  --bg: #f4fafc; --card: #fff; --text: #1e293b; --muted: #64748b; --line: #e2e8f0; --field: #cbd5e1;
  --hover: #f1f8fb; --accent: #0e7490; --c1: #22b8d6; --c2: #0891b2;
  --danger: #c0392b; --danger-bg: #fdecea; --ok: #047857; --ok-bg: #e0f7ee;
  --navy1: #0f2f4f; --navy2: #1e4d7b; --navy3: #2d6ca8; --gold: #ffd86b;
  --shadow: 0 8px 22px rgba(15, 23, 42, .07);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.7 -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: ui-monospace, Menlo, monospace; font-size: 14px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .bad { color: var(--danger); } .ok { color: var(--ok); }

/* ---------- 页头（同软件） ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255,255,255,.1) 0%, transparent 50%),
              linear-gradient(90deg, var(--navy1) 0%, var(--navy2) 50%, var(--navy3) 100%);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}
.top-inner { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 11px; padding: 7px 16px 7px 8px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(255,255,255,.26), rgba(255,255,255,.12)); border: 1.5px solid rgba(255,255,255,.42);
  box-shadow: 0 6px 18px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.45); transition: background .2s; }
.brand:hover { text-decoration: none; background: linear-gradient(135deg, rgba(255,255,255,.36), rgba(255,255,255,.2)); }
.brand-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy1), var(--navy2)); box-shadow: 0 3px 8px rgba(0,0,0,.3); color: var(--gold); }
.brand-icon svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name { font-size: 19px; font-weight: 800; line-height: 1.15; letter-spacing: .5px; color: var(--gold);
  background: linear-gradient(135deg, #fff4d6 0%, #ffd86b 35%, #ffc83d 60%, #ffe9a8 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-slogan { font-size: 12px; font-weight: 600; line-height: 1.3; color: #e0e7ff; letter-spacing: .5px; }
.top-divider { width: 2px; height: 44px; flex: none; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.35), transparent); }
.tabs { display: flex; gap: 8px; flex: 1; flex-wrap: wrap; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.top .tab, .top .btn, .top button.tab {
  display: inline-flex; align-items: center; min-height: 38px; padding: 6px 16px; border-radius: 10px;
  background: rgba(255,255,255,.12); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid rgba(255,255,255,.4); box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: background .15s, border-color .15s, transform .12s, box-shadow .15s; }
.top .tab:hover, .top .btn:hover, .top .tab.active {
  background: linear-gradient(135deg, #12b5bd, #0a8a9a); border-color: rgba(255,255,255,.55); color: #fff; font-weight: 700;
  text-decoration: none; box-shadow: 0 3px 12px rgba(10,138,154,.55); }
.top .tab:hover, .top .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.top .btn.gold { background: linear-gradient(135deg, #ffd86b, #ffb703); color: #3b2a00; border-color: #ffe9a8; }
.top .btn.gold:hover { background: linear-gradient(135deg, #ffe08a, #ffc83d); color: #3b2a00; }
.top form { margin: 0; }

main { max-width: 1180px; margin: 0 auto; padding: 28px 24px 40px; }

/* ---------- 卡片、标题、图标块（同软件） ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-bottom: 4px solid color-mix(in srgb, var(--c2) 55%, var(--line));
  border-radius: 18px; padding: 24px 28px; margin-bottom: 22px; box-shadow: var(--shadow); }
.c-blue { --c1: #38bdf8; --c2: #0284c7; } .c-indigo { --c1: #818cf8; --c2: #4f46e5; } .c-green { --c1: #34d399; --c2: #059669; }
.c-amber { --c1: #fbbf24; --c2: #d97706; } .c-rose { --c1: #fb7185; --c2: #e11d48; } .c-teal { --c1: #22b8d6; --c2: #0891b2; }
h1 { font-size: 28px; margin: 0 0 16px; }
h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 19px; font-weight: 700; margin: 0 0 14px; }
.ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 12px;
  font-size: 20px; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 5px 12px color-mix(in srgb, var(--c2) 35%, transparent); }
.page-title { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 800; margin: 0 0 20px; }
.page-title .ico { width: 46px; height: 46px; font-size: 24px; }

/* ---------- 按钮（同软件：像按键，悬停抬起） ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 7px 20px; border-radius: 10px;
  cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap; text-decoration: none;
  border: 1px solid #0e7490; color: #fff; background: linear-gradient(135deg, #0891b2, #0e7490); box-shadow: 0 2px 6px rgba(8,145,178,.25);
  transition: background .15s, border-color .15s, color .15s, transform .12s, box-shadow .15s; }
.btn:hover { text-decoration: none; background: linear-gradient(135deg, #0e7490, #155e75); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(8,145,178,.4); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn.plain { background: var(--card); color: var(--accent); border-color: var(--field); box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.btn.plain:hover { background: var(--hover); border-color: var(--c2); color: var(--accent); box-shadow: 0 6px 14px rgba(15,23,42,.16); }
.btn.gold { background: linear-gradient(135deg, #ffd86b, #ffb703); color: #3b2a00; border-color: #f2b705; box-shadow: 0 6px 18px rgba(255,183,3,.35); }
.btn.gold:hover { background: linear-gradient(135deg, #ffe08a, #ffc83d); color: #3b2a00; box-shadow: 0 10px 24px rgba(255,183,3,.45); }
.btn.big { min-height: 52px; padding: 10px 30px; font-size: 17px; border-radius: 13px; }
.btn.link { border: 0; background: none; color: var(--accent); padding: 0 6px; min-height: 0; box-shadow: none; font-weight: 600; font-size: 14px; }
.btn.link:hover { transform: none; text-decoration: underline; box-shadow: none; background: none; color: var(--accent); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }

input[type=text], select, textarea { font: inherit; padding: 8px 12px; min-height: 40px; border: 1px solid var(--field); border-radius: 10px; background: var(--card); color: var(--text); }
input[type=text]:focus, select:focus, textarea:focus { outline: 2px solid var(--c2); outline-offset: 1px; border-color: var(--c2); }

.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; background: var(--ok-bg); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 25%, transparent); }
.flash.error { background: var(--danger-bg); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 25%, transparent); }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; white-space: nowrap; border-bottom-color: var(--field); }
tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 10px; background: var(--hover); color: var(--muted); white-space: nowrap; }
.tag.ok { background: var(--ok-bg); color: var(--ok); } .tag.bad { background: var(--danger-bg); color: var(--danger); }

/* ---------- 首页（浅色，同软件内容区：浅底白卡片） ---------- */
.hero { background:
    radial-gradient(circle at 12% 18%, rgba(34,184,214,.14) 0%, transparent 42%),
    radial-gradient(circle at 88% 85%, rgba(255,216,107,.18) 0%, transparent 45%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 1180px; margin: 0 auto; padding: 60px 24px 66px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .eyebrow { display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  background: #e0f7fb; border: 1px solid #b6e9f2; color: var(--accent); }
.hero h1 { font-size: 46px; line-height: 1.2; font-weight: 900; margin: 18px 0 16px; letter-spacing: 1px;
  background: linear-gradient(135deg, var(--navy1) 0%, var(--navy3) 55%, #0891b2 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { font-size: 18px; color: #475569; margin: 0 0 28px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.hero .checks { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; color: #334155; }
.hero .checks span::before { content: "✓"; color: #0891b2; font-weight: 900; margin-right: 6px; }

/* 软件窗口示意 */
.mock { background: #f4fafc; border-radius: 16px; overflow: hidden; color: var(--text);
  box-shadow: 0 24px 50px rgba(15,47,79,.16), 0 0 0 1px var(--line); transform: perspective(1600px) rotateY(-3deg); }
.mock-bar { display: flex; gap: 6px; padding: 10px 12px; background: #e2e8f0; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; } .mock-bar i:nth-child(2) { background: #fbbf24; } .mock-bar i:nth-child(3) { background: #34d399; }
.mock-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: linear-gradient(90deg, var(--navy1), var(--navy3)); }
.mock-head b { color: var(--gold); font-size: 14px; } .mock-head span { font-size: 11px; color: #fff; padding: 3px 10px; border-radius: 7px; border: 1px solid rgba(255,255,255,.4); }
.mock-head span.on { background: #0a8a9a; }
.mock-body { padding: 14px; }
.mock-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 10px 12px; margin-bottom: 8px; background: #fff;
  border-radius: 10px; border: 1px solid var(--line); font-size: 13px; }
.mock-row small { display: block; color: var(--muted); font-size: 11.5px; }
.mock-row .tag { font-size: 11px; }
.mock-row .t-court { background: var(--danger-bg); color: var(--danger); } .mock-row .t-soon { background: #fef3d6; color: #92590a; }

.section { max-width: 1180px; margin: 0 auto; padding: 56px 24px 8px; }
.section-head { text-align: center; margin-bottom: 30px; }
.section-head h2 { justify-content: center; font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid3 > .card { margin-bottom: 0; }
.feature { transition: transform .15s, box-shadow .15s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15,23,42,.12); }
.feature p { margin: 0; color: #475569; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px 24px 22px; background: var(--card); border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 900; color: #3b2a00; background: linear-gradient(135deg, #ffd86b, #ffb703);
  box-shadow: 0 4px 10px rgba(255,183,3,.4); }
.step b { display: block; font-size: 17px; margin-bottom: 4px; } .step p { margin: 0; color: #475569; }

.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.price { position: relative; text-align: center; margin-bottom: 0; display: flex; flex-direction: column; }
.price .name { font-size: 17px; font-weight: 800; }
.price .n { font-size: 40px; font-weight: 900; margin: 8px 0 2px; color: var(--c2); } .price .n small { font-size: 16px; font-weight: 700; }
.price .per { color: var(--muted); font-size: 13px; }
.price ul { text-align: left; padding: 0; margin: 18px 0 22px; list-style: none; flex: 1; }
.price li { padding: 6px 0 6px 26px; position: relative; color: #475569; font-size: 14px; border-top: 1px dashed var(--line); }
.price li::before { content: "✓"; position: absolute; left: 4px; color: var(--c2); font-weight: 900; }
.price.featured { border: 2px solid var(--c2); border-bottom-width: 5px; transform: translateY(-8px); box-shadow: 0 18px 40px color-mix(in srgb, var(--c2) 25%, transparent); }
.price .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 3px 16px; border-radius: 20px; font-size: 13px; font-weight: 800;
  color: #3b2a00; background: linear-gradient(135deg, #ffd86b, #ffb703); box-shadow: 0 4px 10px rgba(255,183,3,.4); white-space: nowrap; }
.trial-banner { margin-top: 26px; padding: 18px 24px; border-radius: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, #e0f7fb, #fff9e8); border: 1px solid #c7eef5; }
.trial-banner b { font-size: 16px; } .trial-banner .grow { flex: 1; min-width: 240px; color: #475569; }

.cta { margin: 56px auto 0; max-width: 1180px; padding: 0 24px; }
.cta-inner { border-radius: 22px; padding: 40px 32px; text-align: center; box-shadow: var(--shadow);
  background: linear-gradient(135deg, #e0f7fb 0%, #ffffff 50%, #fff9e8 100%); border: 1px solid #c7eef5; border-bottom: 4px solid #7fd3e3; }
.cta-inner h2 { justify-content: center; font-size: 26px; color: var(--navy1); }
.cta-inner p { color: #475569; margin: 0 0 22px; }
.cta-inner .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- 文档页 ---------- */
.doc { max-width: 880px; margin: 0 auto; }
.doc .card h2 { margin-top: 0; }
.doc p, .doc li { color: #334155; } .doc ol li, .doc ul li { margin: 5px 0; }
.tip { padding: 12px 16px; border-radius: 12px; background: #fff9e8; border: 1px solid #f3e2a9; color: #6b4e00; margin: 12px 0; }
details.qa { border-bottom: 1px solid var(--line); padding: 14px 4px; }
details.qa:last-child { border-bottom: 0; }
details.qa summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; align-items: center; gap: 10px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::before { content: "＋"; color: var(--c2); font-weight: 900; width: 18px; }
details.qa[open] summary::before { content: "－"; }
details.qa p { margin: 10px 0 0 28px; }

/* ---------- 页脚（同软件：浅底灰字） ---------- */
footer.site { margin-top: 48px; padding: 24px 24px 30px; text-align: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); line-height: 1.9; }
footer.site a { color: var(--muted); } footer.site a:hover { color: var(--accent); } footer.site .sep { margin: 0 8px; opacity: .5; }
footer.site .brand-mini { color: var(--navy2); font-weight: 800; font-size: 14px; margin-bottom: 2px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 40px 20px 48px; gap: 32px; }
  .hero h1 { font-size: 34px; }
  .mock { transform: none; }
  .grid3, .steps, .prices { grid-template-columns: 1fr; }
  .price.featured { transform: none; }
  .top-divider { display: none; }
  .top { position: static; }
  .tabs { order: 3; flex-basis: 100%; gap: 6px; }
  .top-actions { margin-left: auto; gap: 6px; }
  .top .btn, .top button.tab { min-height: 34px; padding: 4px 12px; font-size: 13px; }
  .brand { padding: 5px 12px 5px 6px; } .brand-icon { width: 32px; height: 32px; } .brand-name { font-size: 16px; }
  .top-inner { padding: 10px 16px; gap: 10px; }
  .top .tab { min-height: 34px; padding: 4px 12px; font-size: 13px; }
  main { padding: 20px 16px 32px; }
  .card { padding: 20px; }
}
