/* ══════════════════════════════════════════════════════════════
   iPower Token · 共享样式（落地页 / 登录 / 控制台）
   品牌：iPower 紫→靛渐变，与设计文档中心一致
   ════════════════════════════════════════════════════════════ */
/* 深色为固定默认（不再跟随系统 prefers-color-scheme）；[data-theme="light"] 手动切换到浅色 */
:root {
  --brand: #a78bfa; --brand2: #818cf8; --brand-soft: rgba(167, 139, 250, 0.16);
  --gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  --ink: #f1f5f9; --body: #cbd5e1; --muted: #8a93a6; --line: #262b38;
  --bg: #0a0c12; --card: #12141c; --soft: #1a1d27;
  --success: #34d399; --success-soft: rgba(52, 211, 153, 0.16);
  --warning: #fbbf24; --warning-soft: rgba(251, 191, 36, 0.16);
  --danger: #f87171; --info: #38bdf8;
  --radius: 12px;
  --shadow: 0 14px 36px -14px rgba(0,0,0,0.6);
  --nav-bg: rgba(10,12,18,0.72); --row-hover: #171a24; --kv-key-bg: #171a24;
  --purple-bg: rgba(139,92,246,0.14); --purple-border: rgba(167,139,250,0.35);
  --purple-ink: #d8b4fe; --purple-ink-strong: #e9d5ff;
  --warning-bg: rgba(251,191,36,0.12); --warning-border: rgba(251,191,36,0.35); --warning-ink: #fcd34d;
  --danger-bg: rgba(248,113,113,0.12); --danger-border: rgba(248,113,113,0.35);
}
:root[data-theme="light"] {
  --brand: #7c3aed; --brand2: #4f46e5; --brand-soft: rgba(124, 58, 237, 0.08);
  --gradient: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  --ink: #111827; --body: #374151; --muted: #6b7280; --line: #e5e7eb;
  --bg: #f9fafb; --card: #ffffff; --soft: #f3f4f6;
  --success: #16a34a; --success-soft: rgba(22, 163, 74, 0.12);
  --warning: #d97706; --warning-soft: rgba(217, 119, 6, 0.12);
  --danger: #dc2626; --info: #0284c7;
  --shadow: 0 10px 30px -12px rgba(17, 24, 39, 0.15);
  --nav-bg: rgba(255,255,255,0.85); --row-hover: #fbfafe; --kv-key-bg: #fbfafe;
  --purple-bg: #fbf7ff; --purple-border: #ecdcff; --purple-ink: #5b21b6; --purple-ink-strong: #4c1d95;
  --warning-bg: #fffbeb; --warning-border: #fde68a; --warning-ink: #92400e;
  --danger-bg: #fef2f2; --danger-border: #fecaca;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); }

/* 滚动条跟随主题（用变量，两套主题自动适配）*/
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ── 主题切换按钮 ── */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 6px; font: inherit;
  border: 1px solid var(--line); background: var(--card); color: var(--body);
  border-radius: 999px; padding: 6px 13px; font-size: 13px; cursor: pointer; transition: .15s;
  white-space: nowrap; flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }

/* ── 语言切换下拉 ── */
.lang-select {
  border: 1px solid var(--line); background: var(--card); color: var(--body); font: inherit;
  border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; transition: .15s;
  white-space: nowrap; flex-shrink: 0;
}
.lang-select:hover { border-color: var(--brand); color: var(--brand); }
.toolbar-group { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ── 通用容器 ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Logo ── */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 8px; background: var(--gradient);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px;
  box-shadow: 0 4px 12px -3px rgba(124, 58, 237, 0.5);
}
.logo-text { font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.logo-text b { color: var(--brand); }

/* ── 顶栏（公共页）── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 12px 20px; min-height: 62px; flex-wrap: wrap; padding: 10px 0; }
.nav-links { display: flex; gap: 6px; margin-left: 12px; flex-wrap: wrap; }
.nav-links a { text-decoration: none; color: var(--muted); padding: 7px 12px; border-radius: 8px; font-size: 14px; transition: .15s; white-space: nowrap; }
.nav-links a:hover { background: var(--soft); color: var(--ink); }
.nav-spacer { flex: 1; }

/* ── 按钮 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 18px; border-radius: 9px; font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: .15s; white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 6px 16px -6px rgba(124,58,237,.55); }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ── Hero ── */
.hero { background: var(--gradient); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 10%, rgba(255,255,255,.20), transparent 55%); }
.hero-inner { position: relative; padding: 76px 0 88px; text-align: center; }
.hero h1 { font-size: 46px; line-height: 1.15; margin: 0 0 16px; color: #fff; letter-spacing: -0.025em; }
.hero h1 .accent { background: linear-gradient(90deg,#fde68a,#fca5a5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; opacity: .94; max-width: 660px; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.2); color:#fff; }
.hero-note { margin-top: 18px; font-size: 13px; opacity: .8; }
.hero-note code { background: rgba(255,255,255,.18); padding: 2px 8px; border-radius: 5px; font-family: "JetBrains Mono", Consolas, monospace; }

/* ── 统计条 ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: -44px auto 0; position: relative; z-index: 2; box-shadow: var(--shadow); max-width: 900px; }
.stat { background: var(--card); padding: 22px 18px; text-align: center; }
.stat .v { font-size: 26px; font-weight: 800; color: var(--brand); }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ── Section ── */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: 30px; margin: 0 0 10px; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }

/* ── 能力卡片 ── */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: .2s;
}
.cap:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.cap-ico { width: 46px; height: 46px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 23px; margin-bottom: 14px; }
.cap h3 { margin: 0 0 6px; font-size: 17px; }
.cap p { margin: 0; font-size: 14px; color: var(--muted); }

/* ── 模型表 ── */
.models-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); }
.models-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 14px 10px; }
.search {
  flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; background: var(--card); color: var(--muted);
}
.search input { border: 0; outline: 0; flex: 1; font-size: 14px; color: var(--ink); background: transparent; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 12px; }
.chip { border: 1px solid var(--line); background: var(--card); color: var(--body); border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer; transition: .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.audit-note { margin: 4px 14px 12px; background: var(--purple-bg); border: 1px solid var(--purple-border); border-radius: 10px; padding: 10px 14px; font-size: 13px; color: var(--purple-ink); display: flex; gap: 10px; align-items: center; }
.audit-note b { color: var(--purple-ink-strong); }

table.models { width: 100%; border-collapse: collapse; font-size: 14px; }
table.models th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.models td { padding: 13px 14px; border-bottom: 1px solid var(--soft); vertical-align: middle; }
table.models tr:last-child td { border-bottom: 0; }
table.models tr:hover td { background: var(--row-hover); }
.m-name { font-weight: 700; color: var(--ink); font-family: "JetBrains Mono", Consolas, monospace; font-size: 13.5px; }
.m-maker { font-size: 12px; color: var(--muted); margin-top: 2px; }
.m-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.cap-tag { font-size: 11px; padding: 2px 8px; border-radius: 6px; background: var(--soft); color: var(--body); }
.num { text-align: right; font-family: "JetBrains Mono", Consolas, monospace; white-space: nowrap; }
.price-off { color: var(--muted); text-decoration: line-through; font-size: 12.5px; }
.price-our { color: var(--brand); font-weight: 800; }
.price-unit { color: var(--muted); font-weight: 500; font-size: 11px; }
.health { font-weight: 700; font-family: "JetBrains Mono", Consolas, monospace; font-size: 13px; }
.health.ok { color: var(--success); }
.health.warn { color: var(--warning); }
.badge-mini { display:inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); margin-left: 6px; vertical-align: 1px; }

/* ── 为什么选我们 ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why { display: flex; gap: 14px; align-items: flex-start; }
.why .ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 20px; }
.why h4 { margin: 2px 0 4px; font-size: 16px; }
.why p { margin: 0; font-size: 14px; color: var(--muted); }

/* ── CTA band ── */
.cta-band { background: var(--gradient); border-radius: 18px; padding: 44px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; font-size: 28px; margin: 0 0 10px; }
.cta-band p { opacity: .92; margin: 0 0 22px; }
.cta-band .btn-ghost { background: rgba(255,255,255,.14); color:#fff; border-color: rgba(255,255,255,.4); }

/* ── Footer ── */
footer.site { border-top: 1px solid var(--line); background: var(--card); padding: 30px 0; margin-top: 40px; }
footer.site .container { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
footer.site .muted { color: var(--muted); font-size: 13px; }

/* ══════════ 登录页 ══════════ */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } }
.auth-side { background: var(--gradient); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side::before { content:""; position:absolute; inset:0; background: radial-gradient(ellipse at 20% 80%, rgba(255,255,255,.15), transparent 55%); }
.auth-side .inner { position: relative; max-width: 420px; }
.auth-side h2 { color:#fff; font-size: 30px; margin: 20px 0 14px; letter-spacing:-.02em; }
.auth-side ul { list-style: none; padding: 0; margin: 22px 0 0; }
.auth-side li { display:flex; gap:10px; align-items:center; margin: 12px 0; font-size: 15px; opacity:.95; }
.auth-side li .tick { width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.2);display:grid;place-items:center;font-size:12px; flex-shrink:0; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card h1 { font-size: 26px; margin: 0 0 6px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; outline: none; transition: .15s; background: var(--card); color: var(--ink); }
.field input::placeholder { color: var(--muted); }
.field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.demo-hint { background: var(--brand-soft); border: 1px dashed var(--purple-border); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--purple-ink); margin-bottom: 22px; }
.demo-hint code { background: var(--card); padding: 1px 7px; border-radius: 5px; font-family: "JetBrains Mono", Consolas, monospace; color: var(--brand); }
.auth-err { display:none; background: var(--danger-bg); border: 1px solid var(--danger-border); color: var(--danger); border-radius: 9px; padding: 10px 13px; font-size: 13px; margin-bottom: 16px; }
.auth-foot { text-align:center; margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ══════════ 控制台 ══════════ */
.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
@media (max-width: 900px) { .app { grid-template-columns: 1fr; } .app-side { display: none; } }
.app-side { background: var(--card); border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; }
.app-side .brand { padding: 6px 8px 18px; }
.side-group { margin-bottom: 8px; }
.side-group h5 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 16px 10px 6px; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; text-decoration: none; color: var(--body); font-size: 14px; cursor: pointer; transition: .12s; }
.side-link:hover { background: var(--soft); color: var(--ink); }
.side-link.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.side-link .ico { width: 18px; text-align: center; }
.side-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }

.app-main { display: flex; flex-direction: column; min-width: 0; }
.app-top { height: 62px; border-bottom: 1px solid var(--line); background:var(--card); display: flex; align-items: center; gap: 14px; padding: 0 26px; position: sticky; top: 0; z-index: 20; }
.app-top .title { font-size: 18px; font-weight: 700; color: var(--ink); }
.app-top .spacer { flex: 1; }
.pill { display:inline-flex; align-items:center; gap:8px; background: var(--soft); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--body); }
.pill b { color: var(--ink); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--gradient); color:#fff; display:grid; place-items:center; font-weight:700; font-size:13px; }
.app-body { padding: 26px; max-width: 1100px; width: 100%; }
.view { display: none; }
.view.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity:0; transform: translateY(6px);} to {opacity:1; transform:none;} }

/* KPI tiles */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
@media (max-width: 720px){ .kpis { grid-template-columns: repeat(2,1fr);} }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.kpi .l { font-size: 13px; color: var(--muted); display:flex; align-items:center; gap:6px; }
.kpi .v { font-size: 28px; font-weight: 800; color: var(--ink); margin-top: 6px; font-family: "JetBrains Mono", Consolas, monospace; }
.kpi .d { font-size: 12px; margin-top: 4px; }
.kpi .up { color: var(--success); } .kpi .down { color: var(--danger); }

.card { background:var(--card); border:1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 20px; }
.card-head { display:flex; align-items:center; gap:10px; margin-bottom: 14px; }
.card-head h3 { margin:0; font-size: 16px; }
.card-head .spacer { flex:1; }
.card-head .muted { color: var(--muted); font-size: 13px; }

/* 条形趋势图（CSS） */
.chart { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; }
.chart .bar { flex: 1; background: var(--brand-soft); border-radius: 5px 5px 0 0; position: relative; transition: .2s; min-height: 3px; }
.chart .bar > span { position:absolute; top:-20px; left:0; right:0; text-align:center; font-size:10px; color: var(--muted); opacity:0; transition:.15s; }
.chart .bar:hover { background: var(--brand); }
.chart .bar:hover > span { opacity:1; color: var(--brand); font-weight:700; }
.chart-x { display:flex; gap:6px; margin-top:6px; }
.chart-x span { flex:1; text-align:center; font-size:10.5px; color: var(--muted); }

/* 横向占比条 */
.hbar-row { display:grid; grid-template-columns: 160px 1fr 80px; align-items:center; gap:12px; margin: 10px 0; font-size: 13px; }
.hbar-row .nm { font-family:"JetBrains Mono",Consolas,monospace; font-size:12.5px; color: var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hbar { background: var(--soft); border-radius: 999px; height: 10px; overflow:hidden; }
.hbar > i { display:block; height:100%; background: var(--gradient); border-radius: 999px; }
.hbar-row .val { text-align:right; font-family:"JetBrains Mono",Consolas,monospace; color: var(--body); }

/* 表格（通用） */
table.tb { width:100%; border-collapse: collapse; font-size: 13.5px; }
table.tb th { text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); font-weight:600; padding: 8px 12px; border-bottom:1px solid var(--line); }
table.tb td { padding: 10px 12px; border-bottom: 1px solid var(--soft); }
table.tb tr:last-child td { border-bottom: 0; }
table.tb .mono { font-family:"JetBrains Mono",Consolas,monospace; font-size:12.5px; }
.st { font-size:12px; font-weight:600; padding: 2px 9px; border-radius:999px; }
.st.ok { background: var(--success-soft); color: var(--success); }
.st.warn { background: var(--warning-soft); color: var(--warning); }

/* API key box */
.kv { display:grid; grid-template-columns: 150px 1fr; gap: 0; border:1px solid var(--line); border-radius: 10px; overflow:hidden; }
.kv > div { padding: 12px 16px; border-bottom: 1px solid var(--soft); }
.kv > div:nth-child(2n) { border-left: 1px solid var(--soft); }
.kv > div:nth-last-child(-n+2) { border-bottom: 0; }
.kv .k { background: var(--kv-key-bg); font-size: 13px; color: var(--muted); font-weight: 600; }
.kv .v { font-family:"JetBrains Mono",Consolas,monospace; font-size: 13px; color: var(--ink); display:flex; align-items:center; gap:10px; word-break: break-all; }
.copy { cursor:pointer; color: var(--brand); font-size:12px; font-weight:700; border:1px solid var(--line); border-radius:6px; padding:2px 8px; background:var(--card); white-space:nowrap; }
.copy:hover { background: var(--brand-soft); }

pre.code { background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 16px 18px; overflow-x:auto; font-size: 12.5px; line-height: 1.6; font-family:"JetBrains Mono",Consolas,monospace; margin: 12px 0 0; }
pre.code .c { color: #64748b; }
pre.code .s { color: #86efac; }
pre.code .k { color: #c4b5fd; }

.tabs { display:flex; gap:6px; border-bottom:1px solid var(--line); margin-bottom:16px; }
.tab { padding: 9px 14px; font-size:13.5px; color: var(--muted); cursor:pointer; border-bottom: 2px solid transparent; }
.tab.active { color: var(--brand); border-bottom-color: var(--brand); font-weight:600; }

.notice { background:var(--warning-bg); border:1px solid var(--warning-border); color:var(--warning-ink); border-radius:10px; padding:12px 16px; font-size:13px; margin-bottom: 20px; display:flex; gap:10px; align-items:center; }

/* ══════════ Google reCAPTCHA 容器（Contact / Request Demo / Sign In 共用）══════════
   真实 grecaptcha.render() 会把 iframe 挂进这个空 div；固定尺寸避免脚本
   加载完成前后的布局跳动（尺寸取自 ipower-admin #g-recaptcha 的既有值）。 */
.recaptcha-box { min-width: 304px; min-height: 78px; }

/* ══════════ 表单 select（Contact 页国家/地区下拉复用 .field 布局）══════════ */
.field select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 14px; outline: none; transition: .15s; background: var(--card); color: var(--ink);
  font-family: inherit; cursor: pointer;
}
.field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 14px; outline: none; transition: .15s; background: var(--card); color: var(--ink);
  font-family: inherit; resize: vertical; min-height: 90px;
}
.field textarea::placeholder { color: var(--muted); }
.field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ══════════ Contact / Request Demo 页 ══════════ */
.contact-wrap { max-width: 960px; margin: 0 auto; padding: 56px 24px 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; margin-top: 32px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-team-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; align-self: start; }
.contact-team-card h3 { font-size: 15px; margin: 0 0 16px; }
.contact-email-row { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.contact-email-row:last-child { margin-bottom: 0; }
.contact-email-row .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.contact-email-row a { color: var(--brand); font-size: 14px; text-decoration: none; font-weight: 600; }
.contact-email-row a:hover { text-decoration: underline; }
.contact-form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-success { display: none; text-align: center; padding: 20px 0; }
.contact-success.active { display: block; }
.contact-success .ico { font-size: 40px; margin-bottom: 12px; }
.contact-success h3 { margin: 0 0 8px; }
.contact-success p { color: var(--muted); font-size: 14px; margin: 0 0 4px; }
.contact-success a { color: var(--brand); font-weight: 600; text-decoration: none; }
.contact-success a:hover { text-decoration: underline; }
