/* ==========================================================================
   AICartOS Cloud — 设计系统
   亮色、深蓝主色、大留白；参考 Dynadot 的信息密度与卡片结构
   ========================================================================== */

:root {
    --bg: #ffffff;
    --bg-soft: #f5f8ff;
    --bg-tint: #eef3ff;
    --surface: #ffffff;
    --surface-2: #f7f9fc;
    --line: #e3e8f2;
    --line-strong: #cfd8e8;
    --text: #101828;
    --text-soft: #344054;
    --muted: #667085;
    --navy: #0b2545;
    --blue: #1652d8;
    --blue-dark: #0f3fae;
    --blue-soft: #e8efff;
    --cyan: #00a3a3;
    --ok: #0f9d58;
    --warn: #b45309;
    --danger: #d92d20;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow: 0 12px 32px rgba(11, 37, 69, .08);
    --shadow-lg: 0 24px 64px rgba(11, 37, 69, .14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
    background: var(--bg);
    color: var(--text);
    font: 15px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { margin: 0 0 10px; line-height: 1.25; color: var(--navy); letter-spacing: -.015em; }
p { margin: 0 0 12px; }
img { max-width: 100%; }
small, .small { font-size: 12.5px; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.main { padding: 0 0 72px; min-height: 60vh; }
.main > .alert { margin-top: 22px; }

/* ---------- 顶部导航 ---------- */
.topnav {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.topnav-inner { display: flex; align-items: center; gap: 22px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand-mark {
    width: 34px; height: 34px; border-radius: 10px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff; font-weight: 800; font-size: 17px;
    box-shadow: 0 6px 14px rgba(22, 82, 216, .22);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 15.5px; letter-spacing: -.01em; }
.brand-copy small { color: var(--muted); font-size: 11px; }

.nav-menu { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-menu > a, .nav-menu > .dropdown > summary {
    color: var(--text-soft); padding: 9px 13px; border-radius: 9px;
    font-size: 14px; font-weight: 500; cursor: pointer; list-style: none;
}
.nav-menu > .dropdown > summary::-webkit-details-marker { display: none; }
.nav-menu > a:hover, .nav-menu > .dropdown > summary:hover,
.nav-menu > a.active { color: var(--blue); background: var(--blue-soft); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
    display: none; background: none; border: 0; color: var(--navy);
    font-size: 20px; line-height: 1; padding: 8px; cursor: pointer;
}
.link-muted { color: var(--muted); padding: 8px 6px; font-size: 13px; }
.link-muted:hover { color: var(--navy); }

/* 下拉菜单 */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: calc(100% + 8px); inset-inline-start: 0;
    min-width: 300px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 8px; display: none; z-index: 70;
}
.dropdown[open] > .dropdown-menu { display: block; }
.product-menu { width: 340px; }
.pm-item {
    display: flex; gap: 11px; align-items: flex-start;
    padding: 10px 11px; border-radius: 10px; color: var(--text);
}
.pm-item:hover { background: var(--bg-soft); color: var(--text); }
.pm-icon {
    flex: none; width: 34px; height: 34px; border-radius: 9px;
    display: grid; place-items: center; font-size: 15px;
    background: var(--blue-soft); color: var(--blue); font-weight: 700;
}
.pm-name { display: block; font-size: 13.5px; font-weight: 650; line-height: 1.3; }
.pm-desc { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* 语言切换 */
.lang-switch > summary {
    display: flex; align-items: center; gap: 6px;
    color: var(--text-soft); font-size: 13px; padding: 8px 10px;
    border: 1px solid var(--line); border-radius: 9px; cursor: pointer; list-style: none;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch .caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-1px); }
.lang-switch .dropdown-menu { inset-inline-start: auto; inset-inline-end: 0; min-width: 190px; max-height: 330px; overflow: auto; }
.lang-switch .dropdown-menu a { display: block; padding: 8px 11px; border-radius: 8px; color: var(--text-soft); font-size: 13px; }
.lang-switch .dropdown-menu a:hover { background: var(--bg-soft); color: var(--navy); }
.lang-switch .dropdown-menu a.active { color: var(--blue); background: var(--blue-soft); font-weight: 600; }
.nav-lang-mobile { display: none; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 42px; padding: 0 20px; border-radius: 10px;
    border: 1px solid var(--line-strong); background: #fff; color: var(--navy);
    font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
    transition: background .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.btn:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow-sm); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 12.5px; border-radius: 9px; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 14px rgba(22, 82, 216, .18); }
.btn.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn.success { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.success:hover { background: #0b7d46; color: #fff; }
.btn.ghost { background: transparent; border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--bg-soft); }
.btn.danger { background: #fff; border-color: #fda29b; color: var(--danger); }
.btn.danger:hover { background: #fef3f2; border-color: var(--danger); color: var(--danger); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- 首屏 ---------- */
.hero-band {
    background:
        radial-gradient(900px 380px at 85% -10%, rgba(22, 82, 216, .10), transparent 65%),
        radial-gradient(700px 320px at 5% 0%, rgba(0, 163, 163, .08), transparent 60%),
        var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 66px 0 54px;
}
.hero-band .hero { padding: 0; display: block; max-width: 860px; }
.badge-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line);
    color: var(--blue); font-size: 12.5px; font-weight: 600;
    box-shadow: var(--shadow-sm);
}
.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1; letter-spacing: -.03em;
    margin: 20px 0 18px; color: var(--navy);
}
.hero h1 .accent { color: var(--blue); }
.hero p.lead { color: var(--muted); font-size: 17px; max-width: 690px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.domain-search {
    display: flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line-strong); border-radius: 14px;
    padding: 8px; box-shadow: var(--shadow);
    max-width: 680px;
}
.domain-search input {
    flex: 1; min-width: 0; height: 48px; border: 0; outline: none;
    font: inherit; font-size: 16px; color: var(--text); background: transparent;
    padding: 0 12px;
}
.domain-search input::placeholder { color: #98a2b3; }
.domain-search button { height: 48px; padding: 0 26px; border-radius: 10px; }
.search-note { margin-top: 12px; color: var(--muted); font-size: 12.5px; }
.trust-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 12.5px; }
.trust-row strong { color: var(--text-soft); font-size: 13px; font-weight: 650; letter-spacing: .01em; }
.trust-label { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; color: #98a2b3; }

/* 域名查询结果 */
.domain-results { margin-top: 22px; max-width: 760px; display: grid; gap: 8px; }
.domain-results[hidden] { display: none; }
.dr-row {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 12px 14px; box-shadow: var(--shadow-sm);
}
.dr-domain { font-weight: 650; color: var(--navy); font-size: 15px; flex: 1; }
.dr-status { font-size: 12px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.dr-status.ok { background: #e7f6ee; color: var(--ok); }
.dr-status.bad { background: #fef3f2; color: var(--danger); }
.dr-status.unknown { background: var(--blue-soft); color: var(--blue); }
.dr-price { color: var(--muted); font-size: 13px; white-space: nowrap; }
.dr-error { color: var(--danger); font-size: 13px; }
.dr-row.selected { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }

/* ---------- 区块 ---------- */
.section { margin-top: 72px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); margin: 0; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
    box-shadow: var(--shadow-sm);
}
.card.hover:hover { border-color: #b9c9ea; box-shadow: var(--shadow); transform: translateY(-2px); transition: .18s; }
.card h3 { font-size: 16.5px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 13.5px; margin: 0; }
.card .icon-box {
    width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
    background: var(--blue-soft); color: var(--blue); font-size: 18px; margin-bottom: 14px;
}
.price { font-size: 26px; font-weight: 750; margin: 8px 0 4px; color: var(--navy); letter-spacing: -.02em; }
.price small { font-size: 12px; color: var(--muted); font-weight: 400; }

/* 产品卡 */
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card .product-top { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.product-icon {
    width: 40px; height: 40px; border-radius: 11px; flex: none;
    display: grid; place-items: center; font-size: 17px; font-weight: 700;
    background: var(--blue-soft); color: var(--blue);
}
.product-card h3 { margin: 0; font-size: 16.5px; }
.product-card .product-short { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.product-price { font-size: 15px; font-weight: 700; color: var(--navy); }
.product-price small { color: var(--muted); font-weight: 500; font-size: 12px; }
.product-link { font-size: 13px; font-weight: 600; }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-no {
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* 生态 */
.eco-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.eco-list { display: grid; gap: 18px; margin-top: 24px; }
.eco-item { display: flex; gap: 13px; align-items: flex-start; }
.eco-item .dot-box {
    flex: none; width: 26px; height: 26px; border-radius: 8px;
    background: var(--blue-soft); color: var(--blue);
    display: grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 2px;
}
.eco-item h3 { font-size: 15px; margin: 0 0 3px; }
.eco-item p { color: var(--muted); font-size: 13.5px; margin: 0; }

.panel-mock {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d0d5dd; display: block; }
.mock-bar span { margin-inline-start: auto; font-size: 11.5px; color: var(--muted); font-family: ui-monospace, Consolas, monospace; }
.mock-body { padding: 16px; }
.mock-h { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.mock-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px;
    font-size: 13px;
}
.mock-row:last-child { margin-bottom: 0; }
.mock-row .tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #e7f6ee; color: var(--ok); }
.mock-row .tag.blue { background: var(--blue-soft); color: var(--blue); }
.mock-row .tag.warn { background: #fef6e7; color: var(--warn); }
.mock-row b { color: var(--navy); font-weight: 650; }

/* 价格表 */
.pricing-card { padding: 0; overflow: hidden; }
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th, .pricing-table td { padding: 16px 22px; text-align: start; font-size: 14px; border-bottom: 1px solid var(--line); }
.pricing-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); font-weight: 600; }
.pricing-table tr:last-child td { border-bottom: 0; }
.pricing-table td:first-child { font-weight: 650; color: var(--navy); }
.pricing-table .p-price { color: var(--blue); font-weight: 700; white-space: nowrap; }
.pricing-note { color: var(--muted); font-size: 12.5px; margin-top: 12px; }

/* 定制方案 */
.solutions-band {
    background: linear-gradient(120deg, var(--navy), #123a72 60%, #1652d8);
    border-radius: var(--radius-lg); padding: 40px; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.solutions-band h2 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.solutions-band p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 620px; }
.solutions-band .btn.primary { background: #fff; color: var(--navy); border-color: #fff; }
.solutions-band .btn.primary:hover { background: #eaf0ff; color: var(--navy); }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 900px; }
.faq-item {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 0 18px; box-shadow: var(--shadow-sm);
}
.faq-item summary {
    cursor: pointer; list-style: none; padding: 16px 26px 16px 0;
    font-weight: 650; color: var(--navy); font-size: 14.5px; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; position: absolute; inset-inline-end: 0; top: 50%;
    transform: translateY(-50%); font-size: 19px; color: var(--blue); font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { color: var(--muted); font-size: 13.5px; padding: 0 0 16px; margin: 0; }

/* CTA */
.cta-band {
    margin-top: 72px; text-align: center;
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 52px 30px;
}
.cta-band h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin: 0 auto 24px; max-width: 560px; }
.cta-band .form-actions { justify-content: center; }

/* 旧版 Hero（内页兼容） */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; padding: 40px 0 26px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.hero h1 span { color: var(--blue); }
.hero-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.hero-panel .row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.hero-panel .row:last-child { border-bottom: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; margin-right: 7px; }

/* ---------- 应用市场 ---------- */
.app-card { display: flex; flex-direction: column; height: 100%; }
.app-card .app-top { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.app-icon {
    width: 42px; height: 42px; border-radius: 11px; flex: none;
    display: grid; place-items: center; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, #1652d8, #00a3a3);
}
.app-card .app-meta { display: flex; gap: 10px; color: var(--muted); font-size: 12px; margin-top: auto; padding-top: 12px; }
.app-card .app-desc { color: var(--muted); font-size: 13px; margin: 0; }
.chip {
    display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
    background: var(--surface-2); color: var(--muted); font-size: 11.5px; border: 1px solid var(--line);
}
.chip.ok { background: #ecfdf3; color: #067647; border-color: #abefc6; }

/* ---------- 工具栏 / 搜索 ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 18px 0; }
.toolbar-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.toolbar-actions { display: flex; align-items: center; gap: 8px; }
.input, select.input, textarea.input {
    height: 40px; padding: 0 12px; border-radius: 10px;
    border: 1px solid var(--line-strong); background: #fff; color: var(--text);
    font: inherit; font-size: 14px; outline: none;
}
textarea.input { height: auto; padding: 10px 12px; min-height: 110px; resize: vertical; }
.input:focus, select.input:focus, textarea.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 82, 216, .12); }
.filter-input { min-width: 220px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; color: var(--text); font: inherit; font-size: 14px; }
.filter-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 82, 216, .12); }

/* ---------- 表单 ---------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.check {
    display: flex; align-items: center; gap: 9px;
    padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px;
    background: var(--surface-2); font-size: 13px; cursor: pointer;
}
.check input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }
.check:hover { border-color: var(--blue); }
.field input, .field select, .field textarea {
    width: 100%; height: 40px; padding: 0 12px; border-radius: 10px;
    border: 1px solid var(--line-strong); background: #fff; color: var(--text); font: inherit; font-size: 14px;
}
.field textarea { height: auto; min-height: 120px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 82, 216, .12); }
/* 复选框/单选框不继承文本输入框的宽高与内边距 */
.field input[type="checkbox"], .field input[type="radio"] {
    width: 16px; height: 16px; min-width: 16px; min-height: 16px;
    padding: 0; margin: 0; flex: none; border-radius: 4px;
    accent-color: var(--blue); cursor: pointer;
}
.field input[type="checkbox"]:focus, .field input[type="radio"]:focus {
    outline: 2px solid rgba(22, 82, 216, .45); outline-offset: 2px; box-shadow: none;
}
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hint { color: var(--muted); font-size: 12px; }

/* ---------- 拼图人机验证 ---------- */
.captcha-field { gap: 8px; }
.puzzle-stage {
    position: relative; width: 100%; max-width: 340px; aspect-ratio: 2 / 1;
    border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden;
    background: #eef3ff; user-select: none; touch-action: none;
}
.puzzle-bg, .puzzle-piece { position: absolute; display: block; opacity: 0; transition: opacity .2s; }
.puzzle-bg { inset: 0; width: 100%; height: 100%; }
.puzzle-piece { left: 0; top: 0; filter: drop-shadow(0 2px 4px rgba(8, 24, 48, .35)); }
.puzzle-stage.is-ready .puzzle-bg, .puzzle-stage.is-ready .puzzle-piece { opacity: 1; }
.puzzle-loading {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-size: 12.5px; color: var(--muted);
    background: linear-gradient(110deg, #f4f7ff, #e9f0ff);
}
.puzzle-stage.is-ready .puzzle-loading { display: none; }
.puzzle-refresh {
    position: absolute; top: 8px; right: 8px; width: 30px; height: 30px;
    border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, .92);
    color: var(--text-soft); font-size: 15px; line-height: 1; cursor: pointer;
}
.puzzle-refresh:hover { color: var(--blue); border-color: var(--blue); }
.puzzle-slider { max-width: 340px; display: grid; gap: 7px; }
.puzzle-track { position: relative; height: 44px; border-radius: 11px; background: #eef2f8; border: 1px solid var(--line); overflow: hidden; }
.puzzle-fill { position: absolute; inset-block: 0; left: 0; width: 0; background: linear-gradient(90deg, var(--blue-soft), #dbe7ff); }
.puzzle-handle {
    position: absolute; top: 0; left: 0; width: 46px; height: 42px;
    display: grid; place-items: center; border-radius: 10px;
    background: #fff; border: 1px solid var(--line-strong);
    color: var(--blue); font-size: 17px; font-weight: 700;
    cursor: grab; box-shadow: 0 3px 10px rgba(11, 37, 69, .14); touch-action: none;
}
.puzzle-handle:focus-visible { outline: 3px solid rgba(22, 82, 216, .35); outline-offset: 2px; }
.puzzle-handle:active { cursor: grabbing; }
.puzzle-status { margin: 0; min-height: 18px; font-size: 12.5px; color: var(--muted); }
.captcha-field.is-solved .puzzle-handle { background: #e7f6ee; border-color: #bfe8d2; color: var(--ok); cursor: default; }
.captcha-field.is-solved .puzzle-fill { background: linear-gradient(90deg, #e7f6ee, #c9efdb); }
.captcha-field.is-solved .puzzle-status { color: var(--ok); }
.captcha-field.is-error .puzzle-status { color: var(--danger); }
.captcha-field.is-error .puzzle-track { animation: captcha-shake .32s; }
@keyframes captcha-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* 触发按钮 */
.captcha-trigger {
    display: flex; align-items: center; gap: 10px; width: 100%;
    min-height: 46px; padding: 0 14px;
    border: 1px solid var(--line-strong); border-radius: 0; background: #fff; color: var(--text-soft);
    font: inherit; font-size: 13.5px; text-align: start; cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.captcha-trigger:hover { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 116, 250, .1); }
.captcha-trigger:focus-visible { outline: 2px solid rgba(26, 116, 250, .5); outline-offset: 2px; }
.captcha-trigger-icon { display: inline-flex; flex: none; color: var(--blue); }
.captcha-trigger-state { font-weight: 600; color: var(--navy); }
.captcha-trigger-action { margin-inline-start: auto; font-size: 12.5px; font-weight: 600; color: var(--blue); }
.captcha-trigger.is-verified { border-color: #bfe8d2; background: #f2fbf6; }
.captcha-trigger.is-verified .captcha-trigger-icon,
.captcha-trigger.is-verified .captcha-trigger-action { color: var(--ok); }
.captcha-field.is-invalid .captcha-trigger { border-color: #fda29b; }

/* 弹窗 */
.captcha-modal {
    position: fixed; inset: 0; z-index: 1200;
    display: grid; place-items: center; padding: 20px;
    animation: captcha-fade-in .18s ease-out;
}
.captcha-modal-backdrop {
    position: absolute; inset: 0; background: rgba(0, 17, 38, .55);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.captcha-modal-panel {
    position: relative; z-index: 1; width: min(392px, 100%);
    max-height: calc(100vh - 40px); overflow-y: auto;
    padding: 26px 24px 22px; background: #fff;
    border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0, 23, 51, .55);
    animation: captcha-modal-in .22s cubic-bezier(.2, .8, .3, 1);
}
.captcha-modal-panel:focus { outline: none; }
.captcha-modal-title { margin: 0 0 6px; padding-inline-end: 30px; font-size: 19px; }
.captcha-modal-sub { margin: 0 0 16px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.captcha-modal-close {
    position: absolute; top: 12px; right: 12px; width: 30px; height: 30px;
    display: grid; place-items: center; border: 0; background: transparent;
    color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer;
}
.captcha-modal-close:hover { color: var(--navy); background: var(--bg-soft); }
.captcha-modal .puzzle-stage,
.captcha-modal .puzzle-slider { max-width: none; }
body.captcha-modal-open { overflow: hidden; }
@keyframes captcha-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes captcha-modal-in {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .captcha-modal, .captcha-modal-panel { animation: none; }
}
@media (max-width: 560px) {
    .captcha-modal-panel { width: 100%; padding: 22px 18px 18px; }
}

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.table { width: 100%; border-collapse: collapse; min-width: 680px; }
.table th, .table td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: middle; }
.table th { color: var(--muted); font-weight: 600; font-size: 12px; background: var(--surface-2); }
.table tr:last-child td { border-bottom: 0; }
.table .right { text-align: end; }

/* ---------- 徽标 / 提示 ---------- */
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; border: 1px solid transparent; font-weight: 600; }
.badge.ok { background: #e7f6ee; color: var(--ok); border-color: #bfe8d2; }
.badge.warn { background: #fef6e7; color: var(--warn); border-color: #f5dfb8; }
.badge.bad { background: #fef3f2; color: var(--danger); border-color: #fbd0cc; }
.badge.muted { background: var(--surface-2); color: var(--muted); border-color: var(--line); }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; font-size: 13.5px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text-soft); }
.alert.success { border-color: #bfe8d2; background: #e7f6ee; color: #0b7d46; }
.alert.error { border-color: #fbd0cc; background: #fef3f2; color: #b42318; }
.alert.info { border-color: #c7d7fe; background: #eef3ff; color: var(--blue-dark); }
.alert.warn { border-color: #f5dfb8; background: #fef6e7; color: #92400e; }

/* ---------- 页头 / 标签 ---------- */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 34px 0 20px; flex-wrap: wrap; }
.page-head h1 { font-size: 28px; margin: 0; }
.page-head .sub { color: var(--muted); margin-top: 4px; font-size: 14px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs a { padding: 10px 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: 14px; }
.tabs a.active { color: var(--blue); border-bottom-color: var(--blue); }

/* ---------- 代码 / 授权码 ---------- */
.code {
    background: #0b1220; border: 1px solid #1d2b45; border-radius: 10px; padding: 14px;
    font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: #d7e3f7;
    overflow: auto; max-height: 320px; white-space: pre-wrap; word-break: break-all;
    line-height: 1.6;
}
.keybox { display: flex; gap: 8px; align-items: center; }
.keybox input { flex: 1; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }

/* ---------- 统计卡 ---------- */
.stat { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.stat .label { color: var(--muted); font-size: 12px; }
.stat .value { font-size: 26px; font-weight: 750; margin-top: 4px; color: var(--navy); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 52px 0 26px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-desc { color: var(--muted); font-size: 13px; max-width: 320px; margin: 0; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #98a2b3; margin-bottom: 12px; font-weight: 700; }
.footer-col a { display: block; color: var(--text-soft); font-size: 13.5px; padding: 4px 0; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
    color: var(--muted); font-size: 12.5px;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .eco-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-col:last-child { grid-column: span 1; }
}
@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; padding-top: 20px; }
    .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .nav-menu {
        display: none; position: absolute; inset-inline: 0; top: 70px;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 12px 20px 18px; flex-direction: column; align-items: stretch; gap: 4px;
        box-shadow: var(--shadow);
    }
    .nav-menu.open { display: flex; }
    .nav-menu > a, .nav-menu > .dropdown > summary { padding: 11px 12px; }
    .nav-toggle { display: block; margin-inline-start: auto; }
    .dropdown-menu { position: static; display: none; box-shadow: none; border: 0; padding: 4px 0 8px; min-width: 0; }
    .dropdown[open] > .dropdown-menu { display: block; }
    .product-menu { width: 100%; }
    .nav-actions { gap: 6px; }
    .nav-actions .lang-switch { display: none; }
    .nav-lang-mobile {
        display: flex; align-items: center; justify-content: space-between; gap: 10px;
        padding: 12px; border-top: 1px solid var(--line); margin-top: 6px;
        font-size: 13px; color: var(--muted);
    }
    .nav-lang-mobile select {
        height: 36px; border-radius: 8px; border: 1px solid var(--line-strong);
        padding: 0 8px; background: #fff; font: inherit; font-size: 13px; color: var(--text);
    }
    .hero-band { padding: 40px 0 38px; }
    .domain-search { flex-direction: column; align-items: stretch; padding: 10px; }
    .domain-search button { width: 100%; }
    .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .topnav-inner { gap: 10px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .solutions-band { padding: 28px; }
    .pricing-table th, .pricing-table td { padding: 12px 14px; }
}
@media (max-width: 560px) {
    .container { width: calc(100% - 32px); }
    .section { margin-top: 52px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .dr-row { flex-wrap: wrap; }
    .dr-domain { flex-basis: 100%; }
    .cta-band { padding: 36px 20px; }
}

/* ---------- SSL 下单 / 证书 ---------- */
.ssl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.ssl-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ssl-plan {
    display: flex; align-items: flex-start; gap: 10px; padding: 14px; cursor: pointer;
    border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: .15s;
}
.ssl-plan:hover { border-color: var(--line-strong); }
.ssl-plan.selected { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 82, 216, .12); }
.ssl-plan input { margin-top: 3px; accent-color: var(--blue); flex: none; }
.ssl-plan strong { display: block; font-size: 14px; color: var(--navy); }
.ssl-plan small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.ssl-side { position: sticky; top: 90px; }
.cert-card .cert-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
[hidden] { display: none !important; }
@media (max-width: 960px) {
    .ssl-layout { grid-template-columns: 1fr; }
    .ssl-side { position: static; }
}
@media (max-width: 640px) {
    .ssl-plans { grid-template-columns: 1fr; }
}

/* 证书文件卡片 */
.cert-files { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; margin-top: 16px; }
.cert-file { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); padding: 14px 16px; }
.cert-file-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cert-file-head > div:first-child { flex: 1 1 auto; min-width: 0; }
.cert-file-head strong { display: block; font-size: 14.5px; color: var(--navy); }
.cert-file-meta { color: var(--muted); font-size: 12px; margin-top: 3px; word-break: break-all; }
.cert-file details { margin-top: 10px; }
.cert-file details summary { cursor: pointer; user-select: none; }
.cert-file details summary:hover { color: var(--blue); }
.cert-file textarea { width: 100%; }
.cert-file .hint { margin: 8px 0 0; }
.cert-file .form-actions { flex: none; }
@media (max-width: 560px) {
    .cert-files { grid-template-columns: 1fr; }
    .cert-file-head { flex-direction: column; align-items: stretch; }
}

/* 证书概览 */
.cert-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.cert-state { display: flex; gap: 14px; align-items: flex-start; border-left: 4px solid var(--line-strong); }
.cert-state.ok { border-left-color: var(--ok); }
.cert-state.wait { border-left-color: var(--warn); }
.cert-state-icon {
    flex: none; width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 700;
    background: var(--surface-2); color: var(--muted);
}
.cert-state.ok .cert-state-icon { background: #e7f6ee; color: var(--ok); }
.cert-state.wait .cert-state-icon { background: #fef6e7; color: var(--warn); }
.cert-state p { margin: 6px 0 8px; }
.cert-kv { display: grid; gap: 8px; font-size: 13px; margin-top: 10px; }
.cert-kv > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.cert-kv > div > span { color: var(--muted); flex: none; }
.cert-kv > div > strong { text-align: right; font-weight: 600; color: var(--text); }
.cert-kv > div > a { text-align: right; word-break: break-all; }
.cert-kv-inline { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.cert-kv-inline > div { flex-direction: column; align-items: flex-start; gap: 2px; }
.cert-kv-inline > div > strong { text-align: left; }
.cert-break { word-break: break-all; overflow-wrap: anywhere; }
.text-warn { color: var(--warn); }
.cert-life { margin-top: 14px; }
.cert-life-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.cert-life-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.cert-life-meta { display: flex; justify-content: space-between; margin-top: 6px; }
.cert-quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.cert-quick .btn { flex: 1 1 auto; }

/* DCV 验证方式 */
.dcv-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.dcv-method {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
    background: #fff; color: var(--text-soft); font-size: 13px;
}
.dcv-method:hover { border-color: var(--blue); color: var(--blue); }
.dcv-method.active { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.dcv-method-icon {
    flex: none; width: 22px; height: 22px; border-radius: 6px;
    display: grid; place-items: center; background: var(--surface-2);
    font-size: 9.5px; font-weight: 700; color: var(--muted);
}
.dcv-method.active .dcv-method-icon { background: #fff; color: var(--blue); }
.dcv-panel { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 14px; }
.dcv-others { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.dcv-others summary { cursor: pointer; }
.dcv-other { display: grid; gap: 3px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dcv-other:last-child { border-bottom: 0; }
.dcv-change { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 14px; }
.dcv-change-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.dcv-change-row .field { min-width: 220px; flex: 1; }

/* 证书内容 */
.cert-certs { display: grid; gap: 8px; margin-top: 12px; }
.cert-cert { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #fff; }
.cert-cert > summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; cursor: pointer; list-style: none; }
.cert-cert > summary::-webkit-details-marker { display: none; }
.cert-cert > summary:hover .cert-cert-role { color: var(--blue); }
.cert-cert-role { font-weight: 650; color: var(--navy); font-size: 14px; }
.cert-cert textarea { margin-top: 10px; }
.cert-content-box { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); padding: 10px 12px; }
.cert-content-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px; line-height: 1.65; white-space: pre; overflow: auto;
    background: #0b2545; color: #e6eeff; border-radius: 10px;
    padding: 12px 14px; margin: 8px 0 0;
}
.install-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.install-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cert-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cert-download { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cert-cert textarea { width: 100%; }

/* 域名验证方式（对照范例 verify.php 的方式卡片） */
.dcv-form { margin-top: 14px; display: grid; gap: 12px; }
.dcv-choice { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px 16px; }
.dcv-choice.active { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.dcv-choice-head { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.dcv-choice-head input[type="radio"] { width: 16px; height: 16px; accent-color: var(--blue); }
.dcv-choice-head strong { font-size: 14.5px; color: var(--navy); }
.dcv-choice-body { margin: 12px 0 0 26px; padding-top: 12px; border-top: 1px dashed var(--line); }
.dcv-choice-body:empty { display: none; }
.dcv-choice-body .alert { margin-bottom: 12px; }
.dcv-choice-body .field { max-width: 420px; }
.dcv-choice-body .cert-content-box { margin-top: 12px; }
@media (max-width: 980px) {
    .cert-summary-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .dcv-methods { grid-template-columns: repeat(2, 1fr); }
    .dcv-change-row .field { min-width: 100%; }
    .dcv-choice-body { margin-left: 0; }
    .cert-download .btn { flex: 1 1 auto; }
}

/* ---------- RTL ---------- */
html[dir="rtl"] body { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif; }
html[dir="rtl"] .brand-copy,
html[dir="rtl"] .pm-item,
html[dir="rtl"] .eco-item,
html[dir="rtl"] .product-top { text-align: right; }
html[dir="rtl"] .faq-item summary { padding: 16px 0 16px 26px; }
html[dir="rtl"] .faq-item summary::after { inset-inline-end: auto; inset-inline-start: 0; }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

/* ---------- 管理后台 ---------- */
body.admin-page { background: #f5f7fb; }
.admin-shell { display: grid; grid-template-columns: 234px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: #0b1220; color: #94a3b8; padding: 18px 14px; position: sticky; top: 0; height: 100vh; overflow: auto; display: flex; flex-direction: column; gap: 18px; }
.admin-brand { display: flex; gap: 10px; align-items: center; color: #fff; text-decoration: none; padding: 6px 8px; }
.admin-brand .brand-mark { width: 34px; height: 34px; border-radius: 9px; background: #1d4ed8; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.admin-brand strong { display: block; font-size: 14px; }
.admin-brand small { color: #64748b; font-size: 12px; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-nav a { display: flex; gap: 9px; align-items: center; padding: 9px 11px; border-radius: 8px; color: #94a3b8; text-decoration: none; font-size: 13.5px; }
.admin-nav a:hover { background: #16213a; color: #fff; }
.admin-nav a.active { background: #1d4ed8; color: #fff; }
.admin-nav-icon { width: 16px; text-align: center; opacity: .9; }
.admin-nav-group { display: block; }
.admin-nav-group summary {
    display: flex; gap: 9px; align-items: center; padding: 9px 11px; border-radius: 8px;
    color: #cbd5e1; font-size: 12px; font-weight: 600; letter-spacing: .03em;
    cursor: pointer; user-select: none; list-style: none;
}
.admin-nav-group summary::-webkit-details-marker { display: none; }
.admin-nav-group summary::marker { content: ''; }
.admin-nav-group summary:hover { background: #16213a; color: #fff; }
.admin-nav-chevron { margin-left: auto; font-size: 10px; opacity: .65; transition: transform .16s ease; }
.admin-nav-group[open] > summary .admin-nav-chevron { transform: rotate(90deg); }
.admin-nav-children { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 6px 17px; padding-left: 8px; border-left: 1px solid #1e293b; }
.admin-nav-children a { padding: 7px 10px; font-size: 13px; }
.admin-row-more { position: relative; }
.admin-row-more > summary { list-style: none; cursor: pointer; }
.admin-row-more > summary::-webkit-details-marker { display: none; }
.admin-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding: 10px 8px 0; border-top: 1px solid #1e293b; font-size: 13px; }
.admin-side-foot a { color: #94a3b8; text-decoration: none; }
.admin-side-foot a:hover { color: #fff; }
.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-top { background: #fff; border-bottom: 1px solid #e5e7eb; padding: 14px 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 5; }
.admin-user { color: #64748b; font-size: 13px; }
.admin-body { padding: 24px 26px 48px; }
.admin-body .page-head { margin-top: 0; }
.admin-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
.admin-table th { background: #f8fafc; text-align: left; font-size: 12px; letter-spacing: .4px; text-transform: uppercase; color: #64748b; padding: 10px 12px; border-bottom: 1px solid #e5e7eb; white-space: nowrap; }
.admin-table td { padding: 12px; border-bottom: 1px solid #eef2f7; font-size: 13.5px; vertical-align: top; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table .row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-table .row-actions form { display: inline; }
.bulk-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.bulk-bar [data-bulk-count] { margin-right: 4px; }
.admin-table input[type="checkbox"] { width: 15px; height: 15px; cursor: pointer; }
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-tabs a, .admin-tabs button { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid #e5e7eb; color: #475569; text-decoration: none; font-size: 13px; }
.admin-tabs button { cursor: pointer; font-family: inherit; line-height: 1.4; }
.admin-tabs a.active, .admin-tabs button.active { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.admin-tabs button:focus-visible { outline: 2px solid #93c5fd; outline-offset: 1px; }
.product-type { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.product-type:hover { border-color: #1d4ed8; box-shadow: 0 6px 18px rgba(29, 78, 216, .08); }
.product-type-icon { width: 42px; height: 42px; border-radius: 10px; background: #eff6ff; color: #1d4ed8; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.product-type-body { display: flex; flex-direction: column; gap: 2px; }
.product-type-body strong { font-size: 15px; }
.product-type-arrow { margin-left: auto; color: #94a3b8; }
.admin-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; }
.admin-form { display: flex; flex-direction: column; gap: 16px; max-width: 920px; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.admin-section-title { font-size: 13px; font-weight: 600; color: #334155; margin: 6px 0 -4px; padding-top: 10px; border-top: 1px dashed #e2e8f0; }
.admin-empty { background: #fff; border: 1px dashed #cbd5e1; border-radius: 12px; padding: 40px; text-align: center; color: #64748b; }
.admin-actions-inline { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.admin-actions-inline select, .admin-actions-inline input { padding: 6px 8px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 12.5px; max-width: 150px; }
.admin-meta { color: #64748b; font-size: 12px; margin-top: 3px; }
.admin-perm-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-perm-group { border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; background: #f8fafc; }
.admin-perm-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 13px; color: #334155; }
.admin-perm-head .check { padding: 3px 9px; font-size: 12px; background: #fff; }
.admin-perm-items { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-perm-items .check { padding: 6px 10px; font-size: 12.5px; background: #fff; }
@media (max-width: 900px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-side { position: static; height: auto; }
    .admin-body { padding: 18px; }
    .admin-grid-2, .admin-grid-3, .admin-perm-groups { grid-template-columns: 1fr; }
}

/* ==========================================================================
   2026 视觉升级：导航 / 首页 / 页脚
   说明：本节覆盖上面的旧规则，公共组件（按钮、表单、表格）保持兼容
   ========================================================================== */

:root {
    --container: 1240px;
    --nav-h: 76px;
    --navy: #0a1a33;
    --text: #0f172a;
    --text-soft: #334155;
    --muted: #64748b;
    --line: #e6eaf2;
    --line-strong: #d3dbea;
    --blue: #1d4ed8;
    --blue-dark: #163ea8;
    --blue-soft: #edf2ff;
    --radius: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow: 0 18px 40px -20px rgba(15, 23, 42, .25);
    --shadow-lg: 0 40px 80px -32px rgba(15, 23, 42, .35);
}

body { font-size: 15px; line-height: 1.7; color: var(--text); }
h1, h2, h3, h4 { color: var(--navy); letter-spacing: -.02em; }
.container { width: min(var(--container), calc(100% - 48px)); }
.main { padding-bottom: 0; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 18px); }

/* ---------- 导航 ---------- */
.topnav {
    background: rgba(255, 255, 255, .8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, .07);
}
.topnav-inner { height: var(--nav-h); gap: 26px; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; font-size: 17px; }
.brand-copy strong { font-size: 15px; font-weight: 700; }
.brand-copy small { font-size: 11px; letter-spacing: .01em; }
.nav-menu { gap: 4px; }
.nav-menu > a,
.nav-menu > .dropdown > summary {
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 550;
    padding: 9px 14px;
    border-radius: 10px;
}
.nav-menu > .dropdown > summary { display: inline-flex; align-items: center; gap: 6px; }
.nav-menu .caret {
    width: 6px; height: 6px; margin-top: -2px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg); opacity: .55; transition: transform .18s;
}
.dropdown[open] > summary .caret { transform: rotate(-135deg); margin-top: 2px; }
.nav-actions { gap: 8px; }

/* 大型产品菜单：与「产品」导航项左缘对齐 */
.dropdown.mega { position: relative; }
.mega-menu {
    inset-inline-start: 0;
    inset-inline-end: auto;
    transform: none;
    width: min(720px, calc(100vw - 280px));
    max-height: calc(100vh - var(--nav-h) - 24px);
    overflow: auto;
    padding: 10px;
    border-radius: 18px;
    border-color: rgba(15, 23, 42, .08);
    box-shadow: 0 30px 70px -24px rgba(15, 23, 42, .32);
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px; border-radius: 12px; color: var(--text);
}
.mega-item:hover { background: #f6f8fd; color: var(--text); }
.mega-icon {
    width: 38px; height: 38px; flex: none; border-radius: 11px;
    display: grid; place-items: center; font-size: 16px; font-weight: 700;
    background: var(--blue-soft); color: var(--blue);
    border: 1px solid rgba(29, 78, 216, .08);
}
.mega-copy { display: flex; flex-direction: column; min-width: 0; }
.mega-name { font-size: 13.5px; font-weight: 650; color: var(--navy); line-height: 1.35; }
.mega-desc { font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega-arrow {
    margin-inline-start: auto; color: #94a3b8; font-size: 14px;
    opacity: 0; transform: translateX(-4px); transition: .18s;
}
.mega-item:hover .mega-arrow { opacity: 1; transform: none; color: var(--blue); }
.mega-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    margin-top: 8px; padding: 15px 14px 7px;
    border-top: 1px solid var(--line);
}
.mega-foot-copy { display: flex; flex-direction: column; max-width: 460px; }
.mega-foot-copy strong { font-size: 13px; color: var(--navy); font-weight: 650; }
.mega-foot-copy span { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 2px; }

/* 语言 / 账户按钮 */
.lang-switch > summary { border-radius: 10px; padding: 8px 11px; background: #fff; }
.nav-actions .btn.ghost.sm { background: #fff; }

/* ---------- 首屏 ---------- */
.hero-band {
    position: relative; overflow: hidden;
    padding: clamp(72px, 7vw, 104px) 0 clamp(68px, 6.5vw, 96px);
    background: linear-gradient(180deg, #fbfcff 0%, #f4f7ff 58%, #eef3ff 100%);
    border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, .04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, .04) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 35%, transparent 78%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 35%, transparent 78%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero-orb-a { width: 560px; height: 560px; top: -260px; right: -100px; background: rgba(29, 78, 216, .18); }
.hero-orb-b { width: 420px; height: 420px; bottom: -240px; left: -140px; background: rgba(0, 163, 163, .13); }
.hero-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: 56px;
    align-items: center;
}
.hero-copy { min-width: 0; }
.badge-pill {
    padding: 6px 13px;
    border-radius: 999px;
    border-color: rgba(15, 23, 42, .08);
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
    box-shadow: 0 4px 12px -4px rgba(15, 23, 42, .12);
}
.hero-band h1 {
    font-size: clamp(38px, 4.8vw, 64px);
    line-height: 1.05;
    letter-spacing: -.038em;
    font-weight: 800;
    margin: 24px 0 20px;
    color: var(--navy);
}
.hero-band h1 .accent {
    color: var(--blue);
    background: linear-gradient(100deg, #1d4ed8 10%, #0891b2 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-band p.lead {
    color: var(--muted);
    font-size: 17.5px;
    line-height: 1.72;
    max-width: 580px;
    margin-bottom: 30px;
}
.hero-actions { margin-top: 30px; gap: 12px; }
.btn.lg { height: 52px; padding: 0 28px; font-size: 15.5px; border-radius: 12px; }

.domain-search {
    max-width: 620px;
    border-radius: 14px;
    padding: 7px;
    border-color: var(--line-strong);
    box-shadow: 0 24px 50px -26px rgba(15, 23, 42, .32);
    transition: border-color .18s, box-shadow .18s;
}
.domain-search:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, .12), 0 24px 50px -26px rgba(15, 23, 42, .32);
}
.domain-search input { height: 52px; font-size: 16px; }
.domain-search button { height: 52px; padding: 0 28px; border-radius: 10px; }
.search-note { margin-top: 12px; font-size: 13px; }
.domain-results { max-width: 620px; }

/* 首屏右侧视觉 */
.hero-visual { position: relative; min-height: 430px; display: flex; align-items: center; }
.hv-glow {
    position: absolute; inset: 6% 2% 6% 6%;
    background: radial-gradient(circle at 60% 40%, rgba(29, 78, 216, .22), transparent 68%);
    filter: blur(40px);
}
.hv-panel {
    position: relative; width: 100%;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 20px;
    box-shadow: 0 50px 90px -40px rgba(15, 23, 42, .42);
    overflow: hidden;
}
.hv-panel-top {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    background: #fbfcff;
}
.hv-panel-top .mono { margin-inline-start: auto; font-size: 11px; color: #94a3b8; }
.hv-dots { display: flex; gap: 5px; }
.hv-dots i { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; display: block; }
.hv-dots i:first-child { background: #fecaca; }
.hv-dots i:nth-child(2) { background: #fde68a; }
.hv-dots i:nth-child(3) { background: #bbf7d0; }
.hv-panel-body { padding: 18px; }
.hv-over { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; margin-bottom: 12px; }
.hv-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 11px 13px; margin-bottom: 8px;
    border: 1px solid var(--line); border-radius: 11px;
    background: #fff; font-size: 13px;
}
.hv-row-name { color: var(--navy); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv-tag { font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.hv-tag.ok { background: #e9f9f0; color: #0f9d58; }
.hv-tag.blue { background: var(--blue-soft); color: var(--blue); }
.hv-tag.warn { background: #fef6e7; color: #b45309; }
.hv-chart {
    display: flex; align-items: flex-end; gap: 7px;
    height: 74px; margin-top: 14px; padding: 12px 13px;
    border: 1px solid var(--line); border-radius: 11px;
    background: linear-gradient(180deg, #f8faff, #fff);
}
.hv-chart span {
    flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, #3b6ef5, #93b0fb);
    opacity: .9;
}
.hv-float {
    position: absolute;
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 14px;
    box-shadow: 0 24px 48px -22px rgba(15, 23, 42, .34);
    animation: hvFloat 7s ease-in-out infinite;
}
.hv-float-a { top: -14px; inset-inline-start: -26px; }
.hv-float-b { bottom: -12px; inset-inline-end: -18px; animation-delay: -3.4s; }
.hv-ico {
    width: 32px; height: 32px; border-radius: 9px; flex: none;
    display: grid; place-items: center; font-size: 14px;
    background: var(--blue-soft); color: var(--blue);
}
.hv-ico.alt { background: #e7f8f7; color: #0d9488; }
.hv-float-copy { display: flex; flex-direction: column; line-height: 1.3; }
.hv-float-copy b { font-size: 12.5px; color: var(--navy); }
.hv-float-copy small { font-size: 11px; color: var(--muted); }
.hv-check {
    width: 20px; height: 20px; border-radius: 50%; margin-inline-start: 6px;
    display: grid; place-items: center;
    background: #0f9d58; color: #fff; font-size: 11px; font-weight: 700;
}
@keyframes hvFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
    .hv-float { animation: none; }
}

/* 服务商条 */
.logo-strip { background: #fff; border-bottom: 1px solid var(--line); }
.logo-strip-inner { display: flex; align-items: center; gap: 34px; padding: 22px 0; flex-wrap: wrap; }
.logo-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #94a3b8; font-weight: 700; }
.logo-set { display: flex; align-items: center; gap: 42px; flex-wrap: wrap; }
.logo-set span {
    font-size: 16.5px; font-weight: 700; letter-spacing: -.015em;
    color: #94a3b8; opacity: .9; transition: color .18s, opacity .18s;
}
.logo-set span:hover { color: var(--navy); opacity: 1; }

/* ---------- 区块 ---------- */
.section { margin-top: 112px; }
.section-head { margin-bottom: 40px; align-items: flex-end; gap: 24px; }
.section-head.centered { justify-content: center; text-align: center; }
.section-head.centered p { margin-inline: auto; max-width: 660px; }
.kicker {
    display: inline-block;
    font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 3.3vw, 42px); font-weight: 800; letter-spacing: -.032em; }
.section-head p { color: var(--muted); margin: 12px 0 0; font-size: 16.5px; max-width: 680px; line-height: 1.68; }
.section-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14.5px; font-weight: 600; color: var(--blue);
    white-space: nowrap; padding-bottom: 8px;
}
.section-link span { transition: transform .18s; }
.section-link:hover span { transform: translateX(3px); }

/* 产品卡 */
.grid { gap: 20px; }
.product-card {
    padding: 26px; border-radius: 18px;
    border-color: var(--line);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product-card:hover { transform: translateY(-4px); border-color: #c9d6f2; box-shadow: 0 34px 60px -30px rgba(15, 23, 42, .3); }
.product-card .product-top { justify-content: space-between; align-items: center; margin-bottom: 18px; }
.product-card .product-icon { width: 46px; height: 46px; border-radius: 13px; font-size: 19px; background: linear-gradient(135deg, #eef3ff, #e0eaff); }
.product-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.product-card .product-short { font-size: 13.5px; line-height: 1.62; margin: 0 0 22px; flex: 1; }
.product-arrow { color: #cbd5e1; font-size: 15px; transition: .18s; }
.product-card:hover .product-arrow { color: var(--blue); transform: translate(2px, -2px); }
.product-foot { padding-top: 16px; }
.product-price { font-size: 16px; }
.product-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; }
.product-link::after { content: "→"; transition: transform .18s; }
.product-link:hover::after { transform: translateX(3px); }
.product-card-alt { background: linear-gradient(160deg, #0b2545, #123a72); border-color: transparent; }
.product-card-alt h3 { color: #fff; }
.product-card-alt .product-short { color: rgba(255, 255, 255, .72); }
.product-card-alt .product-icon { background: rgba(255, 255, 255, .12); color: #fff; }
.product-card-alt .product-price { color: #fff; }
.product-card-alt .product-foot { border-top-color: rgba(255, 255, 255, .14); }
.product-card-alt .product-link { color: #a8c6ff; }
.product-card-alt .product-arrow { color: rgba(255, 255, 255, .45); }
.product-card-alt:hover { border-color: transparent; }

/* 步骤 */
.steps { gap: 24px; }
.step {
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    padding: 30px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: box-shadow .2s, transform .2s;
}
.step:hover { transform: translateY(-3px); box-shadow: 0 30px 56px -32px rgba(15, 23, 42, .3); }
.step-no {
    width: 46px; height: 46px; border-radius: 13px;
    display: grid; place-items: center;
    background: var(--blue-soft); color: var(--blue);
    font-size: 14px; font-weight: 800; letter-spacing: .04em;
    margin-bottom: 20px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 7px; }
.step p { font-size: 14.5px; line-height: 1.68; }

/* 首页步骤区：浅色全宽底色，形成区块节奏 */
#how {
    padding: 76px 0;
    background: linear-gradient(180deg, #f8faff 0%, #f3f7ff 100%);
    border-block: 1px solid var(--line);
}

/* 生态 */
.eco-grid { gap: 72px; }
.eco-copy h2 { font-size: clamp(28px, 3.1vw, 40px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.eco-copy > .muted { font-size: 16px; max-width: 500px; }
.eco-list { gap: 22px; margin-top: 30px; }
.eco-item { gap: 15px; }
.eco-item .dot-box {
    width: 32px; height: 32px; border-radius: 10px;
    background: #fff; border: 1px solid var(--line);
    color: var(--blue); box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    font-size: 13px;
}
.eco-item h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.eco-item p { font-size: 14.5px; line-height: 1.62; }
.panel-mock { border-radius: 20px; box-shadow: 0 40px 80px -34px rgba(15, 23, 42, .32); }
.mock-bar { padding: 13px 16px; }
.mock-row { padding: 12px 14px; border-radius: 11px; background: #fff; }

/* 价格表 */
.pricing-card { border-radius: 18px; box-shadow: 0 40px 70px -46px rgba(15, 23, 42, .38); }
.pricing-table th { padding: 16px 26px; letter-spacing: .08em; background: #f8fafc; font-size: 12.5px; }
.pricing-table td { padding: 20px 26px; font-size: 15px; }
.pricing-table tbody tr { transition: background .15s; }
.pricing-table tbody tr:hover { background: #fafbff; }
.pricing-table td:first-child { font-weight: 600; }
.pricing-table .p-price { color: var(--navy); font-weight: 750; font-size: 16px; font-variant-numeric: tabular-nums; }
.p-name { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); font-weight: 650; font-size: 15.5px; }
.p-dot {
    width: 30px; height: 30px; border-radius: 9px; flex: none;
    display: grid; place-items: center;
    background: var(--blue-soft); color: var(--blue); font-size: 13px;
}
.pricing-note { margin-top: 14px; }

/* 定制方案 */
.solutions-band {
    position: relative; overflow: hidden;
    background: linear-gradient(110deg, #071426 0%, #0b2545 46%, #123a72 100%);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 60px 64px;
    border-radius: 24px;
}
.solutions-glow {
    position: absolute; width: 460px; height: 460px; border-radius: 50%;
    top: -200px; inset-inline-end: -100px;
    background: radial-gradient(circle, rgba(29, 78, 216, .55), transparent 68%);
    pointer-events: none;
}
.solutions-copy { position: relative; max-width: 660px; }
.solutions-band h2 { font-size: clamp(28px, 2.8vw, 36px); font-weight: 800; letter-spacing: -.028em; margin-bottom: 12px; }
.solutions-band p { font-size: 16px; line-height: 1.68; margin: 0; }
.solutions-band .btn.primary { position: relative; background: #fff; color: var(--navy); border-color: #fff; }
.solutions-band .btn.primary:hover { background: #eaf0ff; color: var(--navy); border-color: #eaf0ff; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq-intro h2 { font-size: clamp(28px, 3.1vw, 40px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.faq-intro p { font-size: 16px; max-width: 380px; margin-bottom: 24px; }
.faq-list { max-width: none; gap: 12px; }
.faq-item { border-radius: 14px; padding: 0 22px; transition: border-color .18s, box-shadow .18s; }
.faq-item[open] { border-color: #c9d6f2; box-shadow: 0 20px 44px -30px rgba(15, 23, 42, .35); }
.faq-item summary { font-size: 16px; font-weight: 650; padding: 20px 30px 20px 0; }
.faq-item .faq-a { font-size: 14.5px; line-height: 1.72; }

/* 底部 CTA */
.cta-band {
    position: relative; overflow: hidden;
    width: min(var(--container), calc(100% - 48px));
    margin: 96px auto 0;
    background: linear-gradient(120deg, #0a1a33, #123a72);
    border: 0; border-radius: 24px;
    padding: 76px 32px;
    color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.032em; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, .72); font-size: 16.5px; }
.cta-glow {
    position: absolute; width: 520px; height: 520px; border-radius: 50%;
    bottom: -300px; inset-inline-start: 50%; transform: translateX(-50%);
    background: radial-gradient(circle, rgba(59, 110, 245, .45), transparent 70%);
    pointer-events: none;
}
.cta-inner { position: relative; width: auto; }
.cta-band .btn.primary { background: #fff; color: var(--navy); border-color: #fff; }
.cta-band .btn.primary:hover { background: #eaf0ff; color: var(--navy); border-color: #eaf0ff; }
.cta-band .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta-band .btn.ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .55); }

/* ---------- 页脚 ---------- */
.footer {
    background: #08111f;
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 64px 0 28px;
    margin-top: 96px;
    color: rgba(255, 255, 255, .65);
}
.footer .brand { color: #fff; }
.footer .brand:hover { color: #fff; }
.footer .brand-copy strong { color: #fff; }
.footer .brand-copy small { color: rgba(255, 255, 255, .45); }
.footer-desc { color: rgba(255, 255, 255, .55); font-size: 13px; line-height: 1.7; }
.footer-col h4 { color: rgba(255, 255, 255, .38); }
.footer-col a { color: rgba(255, 255, 255, .68); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .45); margin-top: 44px; }
.footer-bottom .muted { color: rgba(255, 255, 255, .4); }

/* ---------- 新版响应式 ---------- */
@media (max-width: 1080px) {
    .hero-shell { gap: 38px; }
    .hv-float-a { inset-inline-start: -10px; }
    .hv-float-b { inset-inline-end: -6px; }
    .faq-layout { gap: 40px; }
}
@media (max-width: 960px) {
    .hero-band { padding: 76px 0 80px; }
    .hero-shell { grid-template-columns: 1fr; gap: 48px; }
    .hero-band h1 { font-size: clamp(34px, 6.2vw, 50px); }
    .hero-visual { min-height: 0; max-width: 620px; width: 100%; margin-inline: auto; }
    .hero-band p.lead { max-width: none; }
    .section { margin-top: 88px; }
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .faq-layout { grid-template-columns: 1fr; gap: 28px; }
    .faq-intro { position: static; }
    .faq-intro p { max-width: none; }
    .eco-grid { gap: 40px; }
    .solutions-band { padding: 44px; }
}
@media (max-width: 900px) {
    .hero-band { padding: 64px 0 68px; }
    .logo-strip-inner { gap: 16px 24px; padding: 18px 0; }
    .logo-set { gap: 24px; }
    .logo-set span { font-size: 14.5px; }
}
@media (max-width: 760px) {
    .hero-visual { display: none; }
    .hero-band { padding: 54px 0 60px; }
}
@media (max-width: 860px) {
    .steps { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .mega-menu {
        inset-inline-start: auto; transform: none;
        width: auto; max-height: none; overflow: visible;
        padding: 4px 0 6px;
        border: 0; box-shadow: none; border-radius: 0;
    }
    .mega-grid { grid-template-columns: 1fr; }
    .mega-item { padding: 10px 12px; }
    .mega-foot { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 12px 4px; }
    .mega-foot-copy { max-width: none; }
    .nav-links-menu {
        position: static; width: auto;
        padding: 0 0 6px;
        border: 0; box-shadow: none; border-radius: 0;
    }
    .mega-head, .dropdown-head { padding-inline: 12px; }
    .dropdown-foot { padding-inline: 12px; }
}
@media (max-width: 820px) {
    :root { --nav-h: 66px; }
    .topnav-inner { height: var(--nav-h); }
    .nav-menu {
        top: var(--nav-h);
        border-bottom: 1px solid var(--line);
        padding: 10px 20px 18px;
        box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .35);
    }
    .nav-menu > a, .nav-menu > .dropdown > summary { padding: 11px 12px; font-size: 14.5px; }
    .dropdown.mega { position: relative; }
}
@media (max-width: 560px) {
    .container { width: calc(100% - 32px); }
    .section { margin-top: 64px; }
    .hero-band h1 { font-size: 34px; letter-spacing: -.032em; }
    .hero-band p.lead { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .domain-search { flex-direction: column; align-items: stretch; padding: 9px; }
    .domain-search button { width: 100%; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .section-head.centered { align-items: center; }
    .section-head h2 { font-size: 28px; }
    .solutions-band { padding: 32px 24px; }
    .solutions-band .btn { width: 100%; }
    .cta-band { padding: 52px 22px; border-radius: 20px; margin-top: 64px; }
    .cta-band .form-actions { flex-direction: column; align-items: stretch; }
    .cta-band .btn { width: 100%; }
    .pricing-card { overflow-x: auto; }
    .pricing-table { min-width: 680px; }
    .footer { margin-top: 64px; padding-top: 48px; }
}

/* ==========================================================================
   产品矩阵：每个产品独立的强调色、卖点与示意
   ========================================================================== */

.metric-band { background: #fff; border-bottom: 1px solid var(--line); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 30px 0; }
.metric-grid > div {
    display: flex; flex-direction: column; gap: 4px;
    padding-inline-start: 28px;
    border-inline-start: 1px solid var(--line);
}
.metric-grid > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.metric-grid strong { font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.035em; color: var(--navy); font-variant-numeric: tabular-nums; }
.metric-grid span { font-size: 13px; color: var(--muted); }

.product-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pcard {
    --accent: #2563eb;
    --accent-soft: #eaf1ff;
    position: relative;
    display: flex; flex-direction: column;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pcard::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 3px;
    background: var(--accent); opacity: .9;
}
.pcard:hover { transform: translateY(-4px); border-color: #c9d6f2; box-shadow: 0 34px 64px -32px rgba(15, 23, 42, .3); }
.pcard--domain { --accent: #2563eb; --accent-soft: #eaf1ff; }
.pcard--ssl { --accent: #0f9d58; --accent-soft: #e7f7ee; }
.pcard--cart { --accent: #7c3aed; --accent-soft: #f1eafe; }
.pcard--panel { --accent: #0d9488; --accent-soft: #e5f7f5; }
.pcard--server { --accent: #ea580c; --accent-soft: #fff0e6; }
.pcard-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.pcard-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center;
    font-size: 20px; font-weight: 700;
    background: var(--accent-soft); color: var(--accent);
}
.pcard-badge {
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--accent); background: var(--accent-soft);
    border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.pcard h3 { font-size: 20px; font-weight: 750; letter-spacing: -.02em; margin: 0 0 5px; }
.pcard-pitch { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0 0 18px; }
.pcard-feats { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.pcard-feats li {
    position: relative; padding-inline-start: 25px;
    font-size: 13.5px; line-height: 1.55; color: var(--text-soft);
}
.pcard-feats li::before {
    content: "✓"; position: absolute; inset-inline-start: 0; top: 1px;
    width: 17px; height: 17px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--accent-soft); color: var(--accent);
    font-size: 9px; font-weight: 800; line-height: 1;
}
.pcard-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: auto; padding-top: 18px;
    border-top: 1px solid var(--line);
}
.pcard-price { display: inline-flex; align-items: baseline; gap: 4px; font-size: 12.5px; color: var(--muted); }
.pcard-price strong { font-size: 20px; font-weight: 750; color: var(--navy); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.pcard-price small { font-size: 12px; }
.pcard-link {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 14px; font-weight: 650; color: var(--accent); white-space: nowrap;
}
.pcard-link span { transition: transform .18s; }
.pcard-link:hover span { transform: translateX(3px); }

/* 产品示意 */
.pmock {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    min-height: 64px;
    margin-top: 18px; padding: 13px 14px;
    border: 1px solid var(--line); border-radius: 12px;
    background: linear-gradient(180deg, #fbfcff, #f7f9ff);
    font-size: 12.5px;
}
.pmock-input {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 1px;
    padding: 8px 10px;
    background: #fff; border: 1px solid var(--line-strong); border-radius: 9px;
    color: var(--navy); font-size: 12.5px; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pmock-tld { color: var(--blue); font-weight: 700; }
.pmock-chip {
    padding: 6px 10px; border-radius: 8px;
    background: #eaf1ff; color: #2563eb;
    font-size: 12px; font-weight: 700; white-space: nowrap;
}
.pmock-chip.alt { background: #f1eafe; color: #7c3aed; }
.pmock-dot {
    width: 9px; height: 9px; flex: none; border-radius: 50%;
    background: #0f9d58; box-shadow: 0 0 0 4px rgba(15, 157, 88, .12);
}
.pmock-mono {
    flex: 1; min-width: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11.5px; color: var(--text-soft);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pmock-check {
    margin-inline-start: auto;
    width: 20px; height: 20px; border-radius: 50%;
    display: grid; place-items: center;
    background: #0f9d58; color: #fff; font-size: 11px; font-weight: 700;
}
.pmock-key {
    flex: 1; text-align: center;
    padding: 7px 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
    color: #4c1d95; background: #f6f0ff;
    border: 1px dashed #ddd0fb; border-radius: 8px;
}
.pmock-panel { flex-direction: column; align-items: stretch; justify-content: center; gap: 7px; }
.pmock-line { display: block; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #cfe0ff, #e6eefc); }
.pmock-line.w-70 { width: 70%; }
.pmock-line.w-50 { width: 50%; }
.pmock-line.w-85 { width: 85%; }
.pmock-server { flex-direction: column; align-items: stretch; gap: 6px; }
.pmock-region {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    font-size: 11.5px; color: var(--text-soft); padding: 2px 0;
}
.pmock-region b { font-weight: 600; }
.pmock-region em { width: 7px; height: 7px; border-radius: 50%; background: #0f9d58; display: block; }

/* 宽卡：域名 */
.pcard--domain {
    grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 34px; align-items: center;
    background: linear-gradient(180deg, #fff 0%, #fafcff 100%);
}
.pcard--domain h3 { font-size: 24px; }
.pcard--domain .pcard-pitch { font-size: 15px; max-width: 42ch; }
.pcard--domain .pmock { margin-top: 0; }

/* 定制方案 */
.pcard--solutions {
    grid-column: span 3;
    flex-direction: row; align-items: center; justify-content: space-between; gap: 28px;
    padding: 36px 40px;
    background: linear-gradient(110deg, #071426, #123a72);
    border-color: transparent;
}
.pcard--solutions::before { display: none; }
.pcard--solutions:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 40px 80px -40px rgba(7, 20, 38, .6);
}
.pcard--solutions h3 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.pcard--solutions .pcard-pitch { color: rgba(255, 255, 255, .72); max-width: 760px; margin: 0; font-size: 15px; }
.pcard--solutions .btn.primary { flex: none; background: #fff; color: var(--navy); border-color: #fff; }
.pcard--solutions .btn.primary:hover { background: #eaf0ff; color: var(--navy); border-color: #eaf0ff; }

@media (max-width: 1080px) {
    .pcard--domain { grid-template-columns: 1fr; gap: 0; }
    .pcard--domain .pmock { margin-top: 16px; }
}
@media (max-width: 960px) {
    .product-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pcard--domain { grid-column: span 2; }
    .pcard--solutions { grid-column: span 2; }
}
@media (max-width: 640px) {
    .product-bento { grid-template-columns: 1fr; }
    .pcard--domain, .pcard--solutions { grid-column: auto; }
    .pcard { padding: 24px; }
    .pcard--domain h3 { font-size: 22px; }
    .pcard--solutions { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
    .pcard--solutions .btn { width: 100%; }
    .metric-grid { grid-template-columns: 1fr 1fr; gap: 18px 0; padding: 24px 0; }
    .metric-grid > div:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
    .metric-grid > div:nth-child(n+3) { padding-top: 16px; border-top: 1px solid var(--line); }
    .metric-grid strong { font-size: 26px; }
    #how { padding: 52px 0; }
}

/* ==========================================================================
   多页面扩展：公司页 / 客户中心 / 工单 / 后台详情
   ========================================================================== */

/* 内页首屏 */
.page-hero {
    position: relative; overflow: hidden;
    padding: 76px 0 80px;
    background: linear-gradient(180deg, #fbfcff 0%, #f4f7ff 60%, #eef3ff 100%);
    border-bottom: 1px solid var(--line);
}
.page-hero-sm { padding: 56px 0 58px; }
.page-hero-inner { position: relative; max-width: 820px; }
.page-hero h1 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 800;
    margin: 18px 0 16px;
    color: var(--navy);
}
.page-hero-sm h1 { font-size: clamp(30px, 3.4vw, 44px); }
.page-hero h1 .accent {
    color: var(--blue);
    background: linear-gradient(100deg, #1d4ed8 10%, #0891b2 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-hero p.lead {
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.72;
    max-width: 680px;
    margin-bottom: 0;
}

/* 导航下拉面板 */
.dropdown-head { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 9px; }
.dropdown-eyebrow {
    font-size: 10.5px; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; color: var(--blue);
}
.dropdown-hint { font-size: 11.5px; color: var(--muted); }
.mega-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
    padding: 8px 12px 10px; margin-bottom: 6px;
    border-bottom: 1px solid var(--line);
}

.nav-links-menu { width: 348px; padding: 6px; border-radius: 16px; }
.nav-link-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 11px; border-radius: 12px;
    color: var(--text); transition: background .16s;
}
.nav-link-item:hover { background: #f6f8fd; color: var(--text); }
.nav-link-icon {
    width: 38px; height: 38px; flex: none; border-radius: 11px;
    display: grid; place-items: center;
    background: linear-gradient(160deg, #eff4ff, #e3ecff);
    color: var(--blue); font-size: 16px; font-weight: 700;
    box-shadow: inset 0 1px 0 #fff;
}
.nav-link-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.nav-link-copy strong { font-size: 13.5px; font-weight: 650; color: var(--navy); line-height: 1.35; }
.nav-link-copy small { font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.nav-link-arrow {
    flex: none; color: #94a3b8; font-size: 14px;
    opacity: 0; transform: translateX(-4px); transition: .18s;
}
.nav-link-item:hover .nav-link-arrow { opacity: 1; transform: none; color: var(--blue); }
.dropdown-foot { margin-top: 6px; padding: 10px 11px 5px; border-top: 1px solid var(--line); }
.dropdown-foot a { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.dropdown-foot a:hover { color: var(--blue); }

/* 下拉出现的过渡与触发态 */
@keyframes nav-drop-fade { from { opacity: 0; } to { opacity: 1; } }
.dropdown[open] > .dropdown-menu { animation: nav-drop-fade .15s ease-out; }
.nav-menu > .dropdown[open] > summary { color: var(--blue); background: var(--blue-soft); }
.mega-menu { padding: 8px; }
.mega-item { transition: background .16s; }
.mega-icon { background: linear-gradient(160deg, #eff4ff, #e3ecff); box-shadow: inset 0 1px 0 #fff; }
.lang-switch .dropdown-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lang-switch .dropdown-menu a.active::after { content: '✓'; font-size: 12px; font-weight: 800; }

/* 关于我们 */
.about-story {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
    gap: 48px;
    align-items: center;
}
.about-story-copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.about-story-copy p { color: var(--text-soft); font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
.about-quote {
    position: relative; overflow: hidden;
    padding: 34px 32px;
    border-radius: 22px;
    background: linear-gradient(150deg, #071426, #123a72);
    color: rgba(255, 255, 255, .8);
    box-shadow: 0 40px 70px -40px rgba(7, 20, 38, .55);
}
.about-quote-mark {
    position: absolute; top: 6px; inset-inline-end: 18px;
    font-size: 96px; line-height: 1; color: rgba(255, 255, 255, .12);
    font-family: Georgia, serif;
}
.about-quote p { position: relative; font-size: 19px; line-height: 1.65; font-weight: 600; color: #fff; margin: 0 0 26px; }
.about-quote-foot { display: flex; align-items: center; gap: 10px; }
.about-quote-foot span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.about-quote-foot strong { color: #fff; font-size: 14px; }
.about-quote-foot small { color: rgba(255, 255, 255, .55); font-size: 11.5px; }

.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value-card {
    padding: 26px 24px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.value-card:hover { transform: translateY(-3px); border-color: #c9d6f2; box-shadow: 0 28px 52px -34px rgba(15, 23, 42, .32); }
.value-card h3 { font-size: 16px; font-weight: 700; margin: 14px 0 6px; }
.value-card p { color: var(--muted); font-size: 13.5px; line-height: 1.65; margin: 0; }
.value-icon {
    width: 44px; height: 44px; border-radius: 13px;
    display: grid; place-items: center;
    background: var(--blue-soft); color: var(--blue);
    font-size: 18px; font-weight: 700;
}
.value-no {
    display: inline-block; padding: 4px 10px;
    border-radius: 999px; background: var(--blue-soft); color: var(--blue);
    font-size: 11px; font-weight: 800; letter-spacing: .1em;
}
.partner-type { border-radius: 18px; padding: 28px 26px; }
.partner-type h3 { margin-top: 14px; font-size: 17px; }

/* 联系我们 */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 24px; align-items: start; }
.contact-form-card { padding: 30px; }
.contact-form-head h2 { font-size: 22px; margin-bottom: 4px; }
.contact-form-head p { margin-bottom: 22px; }
.contact-form { display: grid; gap: 14px; }
.contact-form .form-actions { margin-top: 4px; }
.contact-side { display: grid; gap: 18px; }
.contact-side .card { padding: 24px; }
.contact-side h3 { font-size: 15.5px; }
.contact-ticket-card { background: linear-gradient(160deg, #f7faff, #eef3ff); }
.info-list { margin: 16px 0 0; display: grid; gap: 14px; }
.info-list > div { padding-top: 12px; border-top: 1px dashed var(--line); }
.info-list > div:first-child { padding-top: 0; border-top: 0; }
.info-list dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.info-list dd { margin: 3px 0 0; font-size: 13.5px; color: var(--text-soft); line-height: 1.55; }

/* 账户子导航 */
.account-tabs {
    display: flex; gap: 4px; overflow-x: auto;
    margin-top: 26px;
    border-bottom: 1px solid var(--line);
}
.account-tabs a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 14px 14px;
    font-size: 13.5px; font-weight: 600; color: var(--muted);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    white-space: nowrap;
}
.account-tabs a:hover { color: var(--blue); }
.account-tabs a.active { color: var(--blue); border-bottom-color: var(--blue); }
.account-tabs-icon { font-size: 14px; opacity: .85; }

/* 筛选标签 */
.filter-tabs {
    display: flex; gap: 4px; flex-wrap: wrap;
    margin: 4px 0 18px;
    border-bottom: 1px solid var(--line);
}
.filter-tabs a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 13px 11px;
    font-size: 13.5px; font-weight: 600; color: var(--muted);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.filter-tabs a:hover { color: var(--blue); }
.filter-tabs a.active { color: var(--blue); border-bottom-color: var(--blue); }
.filter-count {
    display: inline-block; min-width: 20px; padding: 1px 7px;
    border-radius: 999px; background: var(--surface-2); color: var(--muted);
    font-size: 11px; font-weight: 700; text-align: center;
}
.filter-tabs a.active .filter-count { background: var(--blue-soft); color: var(--blue); }

/* 空状态 */
.empty-state { text-align: center; padding: 52px 24px; }
.empty-icon {
    width: 52px; height: 52px; margin: 0 auto 12px;
    display: grid; place-items: center;
    border-radius: 50%; background: var(--blue-soft); color: var(--blue);
    font-size: 20px;
}
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { margin-bottom: 18px; }
.empty-state .btn { margin: 0 auto; }
.table-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }

/* 分页 */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.pager-info { font-size: 12.5px; color: var(--muted); }
.pager-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pager-links a, .pager-links span {
    min-width: 34px; height: 34px; padding: 0 10px;
    display: inline-grid; place-items: center;
    border: 1px solid var(--line); border-radius: 9px;
    font-size: 12.5px; color: var(--muted); background: var(--surface);
}
.pager-links a:hover { border-color: var(--blue); color: var(--blue); }
.pager-links .active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.pager-links .disabled { opacity: .45; }

/* 订单详情 */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr); gap: 22px; align-items: start; }
.detail-main { display: grid; gap: 20px; }
.detail-side { display: grid; gap: 20px; }
.detail-grid .card { padding: 26px; }
.meta-list { margin: 8px 0 0; display: grid; gap: 0; }
.meta-list > div {
    display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
    padding: 11px 0; border-bottom: 1px dashed var(--line);
}
.meta-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.meta-list dt { flex: none; font-size: 12.5px; color: var(--muted); }
.meta-list dd { margin: 0; font-size: 13.5px; color: var(--text-soft); text-align: end; word-break: break-word; }
.detail-actions { display: grid; gap: 10px; }
.detail-actions .btn { width: 100%; justify-content: center; }
.detail-help { background: linear-gradient(160deg, #f7faff, #eef3ff); }

/* 工单 */
.ticket-form-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 22px; align-items: start; }
.ticket-form-grid > .card { padding: 28px; }
/* 客户控制台 · 账号设置 */
.account-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 22px; align-items: start; }
.account-main { display: grid; gap: 22px; }
.account-main > .card { padding: 28px; }
.account-side { position: sticky; top: 22px; }
.account-summary { padding: 0; overflow: hidden; }
.account-summary-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, var(--blue-soft), #f5f3ff);
}
.account-avatar {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(59, 130, 246, .28);
}
.account-identity { min-width: 0; }
.account-identity strong { display: block; font-size: 15px; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-identity .small { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 24px 0; }
.account-facts { margin: 0; padding: 12px 24px 0; }
.account-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.account-facts > div:first-child { border-top: 0; }
.account-facts dt { color: var(--muted); font-size: 12.5px; }
.account-facts dd { margin: 0; font-size: 13px; font-weight: 600; color: var(--text-soft); text-align: end; word-break: break-word; }
.account-summary > .hint { margin: 0; padding: 6px 24px 20px; }
/* 客户控制台 · 产品卡片 */
.account-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.account-products .pcard { grid-column: auto; display: flex; }
.account-products .pcard .pcard-body { height: 100%; }
.account-products .pcard .pcard-foot { margin-top: auto; }
@media (max-width: 1100px) { .account-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .account-products { grid-template-columns: 1fr; } }
.ticket-tip .section-link { padding-bottom: 0; margin: 6px 0 4px; }
.ticket-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr); gap: 22px; align-items: start; }
.ticket-main, .ticket-side { display: grid; gap: 20px; }
.ticket-layout .card { padding: 26px; }
.ticket-thread { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.msg {
    max-width: 86%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.msg header { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 6px; }
.msg header strong { font-size: 12.5px; color: var(--navy); }
.msg-body { font-size: 13.5px; line-height: 1.7; color: var(--text-soft); word-break: break-word; }
.msg-customer { margin-inline-start: auto; background: var(--blue-soft); border-color: #dbe6ff; }
.msg-staff { background: #f8fafc; }
.badge.info { background: var(--blue-soft); color: var(--blue); border-color: #c7d7fe; }

/* 页脚五列 */
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* 退出登录：POST 表单伪装成链接 */
.logout-form { display: inline; margin: 0; }
.logout-link {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-align: inherit;
}
.logout-link:hover { text-decoration: underline; }
.admin-side-foot .logout-form { display: block; margin-top: 6px; }

@media (max-width: 960px) {
    .about-story, .contact-grid, .detail-grid, .ticket-layout, .ticket-form-grid, .account-layout { grid-template-columns: 1fr; }
    .account-side { position: static; }
    .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-hero { padding: 60px 0 64px; }
}
@media (max-width: 640px) {
    .value-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 32px; }
    .contact-form-card, .ticket-form-grid > .card, .ticket-layout .card, .detail-grid .card { padding: 22px; }
    .msg { max-width: 100%; }
    .meta-list > div { flex-direction: column; align-items: flex-start; gap: 2px; }
    .meta-list dd { text-align: start; }
}

/* ==========================================================================
   客户控制台（侧边栏，参考 WHMCS / Vultr / Dynadot）
   ========================================================================== */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
body.console-page { background: #f4f7fb; }
.console-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.console-side {
    background: #0a1a33; color: #9db0c9; padding: 18px 14px;
    position: sticky; top: 0; height: 100vh; overflow: auto;
    display: flex; flex-direction: column; gap: 18px;
}
.console-brand { display: flex; gap: 10px; align-items: center; color: #fff; text-decoration: none; padding: 6px 8px; }
.console-brand .brand-mark {
    width: 36px; height: 36px; border-radius: 10px; flex: none;
    background: linear-gradient(150deg, #2f6bff, #1652d8); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.console-brand-copy strong { display: block; font-size: 14px; letter-spacing: .01em; }
.console-brand-copy small { color: #6f86a6; font-size: 12px; }
.console-nav { display: flex; flex-direction: column; gap: 10px; }
.console-nav-group { display: flex; flex-direction: column; gap: 3px; }
.console-nav-label {
    font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
    color: #5b7291; padding: 6px 11px 2px;
}
.console-nav a {
    display: flex; gap: 10px; align-items: center;
    padding: 9px 11px; border-radius: 8px;
    color: #9db0c9; text-decoration: none; font-size: 13.5px;
}
.console-nav a:hover { background: #13294a; color: #fff; }
.console-nav a.active { background: #1652d8; color: #fff; font-weight: 600; }
.console-nav-icon { width: 16px; text-align: center; opacity: .9; }
.console-side-foot {
    margin-top: auto; display: flex; flex-direction: column; gap: 8px;
    padding: 14px 8px 0; border-top: 1px solid #1c2f4d; font-size: 13px;
}
.console-side-foot a { color: #9db0c9; text-decoration: none; }
.console-side-foot a:hover { color: #fff; }
.console-side-foot .logout-form { display: block; margin-top: 2px; }
.console-main { min-width: 0; display: flex; flex-direction: column; }
.console-top {
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 13px 28px; display: flex; align-items: center; gap: 14px;
    position: sticky; top: 0; z-index: 6;
}
.console-top-title { font-size: 15px; color: var(--navy); }
.console-top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 16px; }
.console-user { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.console-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--blue-soft); color: var(--blue);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12.5px; font-weight: 700;
}
.console-lang select {
    padding: 6px 26px 6px 10px; border: 1px solid var(--line); border-radius: 8px;
    background: var(--surface); color: var(--text-soft); font: inherit; font-size: 12.5px;
}
.console-toggle {
    display: none; align-items: center; justify-content: center;
    width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px;
    background: #fff; color: var(--navy); font-size: 16px; cursor: pointer;
}
.console-backdrop { display: none; }
.console-body { padding: 26px 28px 56px; width: 100%; max-width: 1320px; }
.console-body .page-head { margin-top: 0; }
.console-body .container { padding: 0; max-width: none; }

@media (max-width: 980px) {
    .console-shell { grid-template-columns: 1fr; }
    .console-side {
        position: fixed; inset: 0 auto 0 0; width: 264px; height: 100vh;
        z-index: 60; transform: translateX(-100%); transition: transform .22s ease;
    }
    .console-shell.nav-open .console-side { transform: translateX(0); }
    .console-shell.nav-open .console-backdrop {
        display: block; position: fixed; inset: 0; z-index: 50;
        background: rgba(8, 18, 34, .48);
    }
    .console-toggle { display: inline-flex; }
    .console-top { padding: 12px 18px; }
    .console-body { padding: 20px 18px 44px; }
    .console-lang { display: none; }
}
html[dir="rtl"] .console-shell { direction: rtl; }
@media (max-width: 980px) {
    html[dir="rtl"] .console-side { inset: 0 0 0 auto; transform: translateX(100%); }
    html[dir="rtl"] .console-shell.nav-open .console-side { transform: translateX(0); }
}

/* ==========================================================================
   产品落地页（参考 Dynadot / Vultr / WHMCS / Sectigo）
   ========================================================================== */
.section.alt { background: #f7f9fc; }
.lp-hero {
    position: relative; overflow: hidden;
    padding: 46px 0 40px;
    background:
        radial-gradient(720px 320px at 12% -10%, rgba(47, 107, 255, .16), transparent 62%),
        radial-gradient(620px 280px at 92% 0%, rgba(15, 33, 61, .10), transparent 60%),
        linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--line);
}
.lp-crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 26px; }
.lp-crumb a { color: var(--muted); text-decoration: none; }
.lp-crumb a:hover { color: var(--blue); }
.lp-crumb strong { color: var(--navy); font-weight: 600; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 46px; align-items: center; }
.lp-hero-copy h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.03em; margin: 16px 0 14px; color: var(--navy); }
.lp-hero-copy .lead { font-size: 16.5px; max-width: 560px; }
.lp-hero-copy .form-actions { justify-content: flex-start; margin-top: 24px; }
.btn.lg { padding: 13px 26px; font-size: 15px; border-radius: 10px; }
.lp-stats { display: flex; gap: 34px; margin-top: 32px; flex-wrap: wrap; }
.lp-stat strong { display: block; font-size: 22px; color: var(--navy); letter-spacing: -.02em; }
.lp-stat span { font-size: 12.5px; color: var(--muted); }
.lp-hero-visual { min-width: 0; }
.visual-card {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 24px 60px -28px rgba(15, 33, 61, .35);
    padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
.visual-head {
    display: flex; align-items: center; gap: 8px;
    font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.visual-dot { width: 7px; height: 7px; border-radius: 50%; background: #22b573; box-shadow: 0 0 0 4px rgba(34, 181, 115, .14); }
.visual-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center;
    padding: 6px 11px; border-radius: 999px;
    background: #f1f5fb; border: 1px solid #e3ebf6;
    font-size: 12px; color: #33506f;
}
.domain-visual .domain-search { margin: 0; box-shadow: none; border-color: var(--line); }
.server-visual-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.server-visual-top strong { display: block; color: var(--navy); font-size: 16px; }
.server-visual-top small { color: var(--muted); font-size: 12px; }
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.spec-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding-bottom: 8px; border-bottom: 1px dashed #e6edf7; }
.spec-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-list span { color: var(--muted); }
.spec-list b { color: var(--navy); font-weight: 600; }
.ssl-visual { align-items: center; text-align: center; }
.ssl-visual .visual-head { width: 100%; }
.ssl-lock {
    width: 64px; height: 64px; border-radius: 50%;
    background: #e9f6ef; color: #148f58; font-size: 26px;
    display: flex; align-items: center; justify-content: center;
}
.ssl-domain { font-size: 20px; letter-spacing: -.01em; color: var(--navy); }
.ssl-meta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 12px; color: var(--muted); }
.ssl-meta span { padding: 4px 9px; border-radius: 999px; background: #f3f6fb; }
.ssl-state { font-size: 12.5px; color: #148f58; background: #eaf7f0; border-radius: 999px; padding: 6px 14px; }
.panel-visual .mock-row { border-bottom: 1px dashed #e6edf7; }

.tld-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.tld-card {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 18px; display: flex; flex-direction: column; gap: 10px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.tld-card:hover { border-color: #bcd0ea; box-shadow: 0 16px 34px -22px rgba(15, 33, 61, .4); transform: translateY(-2px); }
.tld-name { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.tld-price { font-size: 22px; color: var(--navy); font-weight: 700; }
.tld-price small { font-size: 12px; color: var(--muted); font-weight: 400; margin-inline-start: 3px; }

.feature-card { padding: 24px; }
.feature-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--blue-soft); color: var(--blue);
    font-size: 13px; font-weight: 700; margin-bottom: 14px;
}
.feature-card h3 { font-size: 16px; margin: 0 0 8px; }

.plan-card { position: relative; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.plan-card.featured { border-color: #2f6bff; box-shadow: 0 26px 60px -32px rgba(47, 107, 255, .55); }
.plan-flag {
    position: absolute; top: -12px; inset-inline-start: 24px;
    background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 600;
    padding: 5px 12px; border-radius: 999px;
}
.plan-card .price { font-size: 30px; }
.plan-card .btn { margin-top: auto; }

.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.region-card {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
}
.region-code {
    width: 40px; height: 28px; border-radius: 7px;
    background: var(--navy); color: #fff; font-size: 11px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; letter-spacing: .06em;
}
.region-card strong { font-size: 13.5px; color: var(--navy); font-weight: 600; }
.chip-panel {
    margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 24px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 24px; align-items: center;
}
.chip-panel h3 { margin: 0 0 6px; font-size: 18px; }
.chip-panel .visual-chips { justify-content: flex-end; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 880px; }
.compare-table th, .compare-table td { padding: 15px 18px; text-align: start; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: middle; }
.compare-table thead th { background: #f7f9fc; color: var(--muted); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: #fbfdff; }
.compare-table td strong { color: var(--navy); font-size: 14.5px; }
.compare-table .tag { white-space: nowrap; }
.compare-table .p-price { font-size: 18px; font-weight: 700; color: var(--navy); white-space: nowrap; }

.panel-purchase { padding: 28px; }
.panel-purchase-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.panel-purchase-head h3 { margin: 12px 0 6px; font-size: 22px; }
.panel-purchase .price { font-size: 34px; }
.check-list { list-style: none; margin: 20px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.check-list li { position: relative; padding-inline-start: 24px; font-size: 13.5px; color: var(--text-soft); }
.check-list li::before {
    content: "✓"; position: absolute; inset-inline-start: 0; top: 0;
    color: #148f58; font-weight: 700;
}

@media (max-width: 980px) {
    .lp-hero { padding: 32px 0 30px; }
    .lp-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .lp-hero-copy h1 { font-size: 34px; }
    .chip-panel { grid-template-columns: 1fr; }
    .chip-panel .visual-chips { justify-content: flex-start; }
}
@media (max-width: 640px) {
    .lp-stats { gap: 22px; }
    .lp-stat strong { font-size: 19px; }
    .check-list { grid-template-columns: 1fr; }
    .plan-card { padding: 22px; }
}

/* ==========================================================================
   Buyhost 模板主题对齐
   字体 Inter / Plus Jakarta Sans；主色 #1a74fa；深海军蓝 #001b3b；
   锐利直角、深色横幅、加大的标题与区块留白
   ========================================================================== */

:root {
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --font-head: "Plus Jakarta Sans", "Inter", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    --navy: #001b3b;
    --blue: #1a74fa;
    --blue-dark: #0b57c7;
    --blue-soft: #eaf2ff;
    --bg-soft: #f5f8fc;
    --bg-tint: #f2f8ff;
    --line: #e3e9f1;
    --line-strong: #d3dce9;
    --text: #5c6067;
    --text-soft: #3c4654;
    --muted: #6d7480;
    --ok: #0f9d58;
    --radius: 0px;
    --radius-lg: 0px;
    --shadow-sm: 0 1px 2px rgba(0, 27, 59, .06);
    --shadow: 0 18px 46px -22px rgba(0, 27, 59, .22);
    --shadow-lg: 0 40px 80px -34px rgba(0, 27, 59, .3);
    --container: 1320px;
    --nav-h: 86px;
}

html, body { overflow-x: clip; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
}
h1, h2, h3, h4,
.brand-copy strong,
.nav-menu > a,
.nav-menu > .dropdown > summary,
.btn {
    font-family: var(--font-head);
}
h1 { letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.3vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1.16; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.container { width: min(var(--container), calc(100% - 48px)); }

/* ---------- 顶部信息条 ---------- */
.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}
.topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; height: 40px;
}
.topbar-note { letter-spacing: .02em; }
.topbar-links { display: flex; align-items: center; gap: 16px; }
.topbar a { color: rgba(255, 255, 255, .72); }
.topbar a:hover { color: #fff; }
.topbar-sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .22); }

/* ---------- 导航 ---------- */
.topnav {
    background: #fff;
    backdrop-filter: none;
    border-bottom: 1px solid var(--line);
}
.topnav-inner { height: var(--nav-h); gap: 26px; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 0;
    font-size: 19px;
    background: var(--blue);
    box-shadow: none;
}
.brand-copy strong { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.brand-copy small { font-size: 11.5px; }
.nav-menu { gap: 4px; }
.nav-menu > a,
.nav-menu > .dropdown > summary {
    font-size: 15px; font-weight: 600; color: var(--navy);
    padding: 10px 14px; border-radius: 0;
}
.nav-menu > a:hover,
.nav-menu > .dropdown > summary:hover,
.nav-menu > a.active { color: var(--blue); background: transparent; }
.dropdown-menu {
    border-radius: 0;
    border-color: var(--line);
    box-shadow: 0 30px 70px -30px rgba(0, 27, 59, .32);
}
.lang-switch > summary { border-radius: 0; padding: 8px 12px; font-size: 13px; }
.nav-actions .btn.sm { height: 40px; padding: 0 18px; }

/* ---------- 按钮 ---------- */
.btn {
    height: 48px; padding: 0 26px;
    border-radius: 0;
    font-size: 15px; font-weight: 600;
    box-shadow: none;
}
.btn:hover { box-shadow: none; }
.btn.primary { background: var(--blue); border-color: var(--blue); box-shadow: none; }
.btn.primary:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: none; }
.btn.ghost { border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--bg-soft); border-color: var(--navy); color: var(--navy); }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 0; }
.btn.lg { height: 54px; padding: 0 32px; font-size: 15.5px; border-radius: 0; }

/* ---------- 首页首屏 ---------- */
.hero-band {
    padding: 116px 0 108px;
    background:
        linear-gradient(90deg, rgba(0, 17, 38, .95) 0%, rgba(0, 27, 59, .86) 48%, rgba(0, 27, 59, .5) 100%),
        url("theme/hero-bg.jpg") center / cover no-repeat;
    border-bottom: 0;
}
.hero-band h1 {
    color: #fff;
    font-size: clamp(42px, 4.8vw, 64px);
    font-weight: 800;
    letter-spacing: -.04em;
}
.hero-band h1 .accent {
    color: #6aa6ff;
    background: none;
    -webkit-text-fill-color: currentColor;
}
.hero-band p.lead { color: rgba(255, 255, 255, .76); font-size: 18px; max-width: 600px; }
.hero-band .badge-pill,
.page-hero .badge-pill,
.lp-hero .badge-pill {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    border-radius: 0;
    box-shadow: none;
}
.hero-band .search-note { color: rgba(255, 255, 255, .55); }
.hero-band .domain-search {
    max-width: 660px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
    overflow: hidden;
}
.hero-band .domain-search input { height: 62px; padding: 0 22px; font-size: 16px; }
.hero-band .domain-search button { height: 62px; padding: 0 30px; border-radius: 0; }
.hero-band .domain-results { max-width: 660px; }
.hero-actions .btn.ghost,
.page-hero .btn.ghost,
.lp-hero .btn.ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, .45);
    background: transparent;
}
.hero-actions .btn.ghost:hover,
.page-hero .btn.ghost:hover,
.lp-hero .btn.ghost:hover {
    color: var(--navy);
    background: #fff;
    border-color: #fff;
}
.hero-bg .hero-orb { opacity: .5; }
.hero-bg .hero-grid { opacity: .12; }
.hv-panel {
    background: rgba(10, 31, 60, .72);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 0;
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7);
    backdrop-filter: blur(16px);
}
.hv-panel-top { border-bottom-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
.hv-panel-top .mono { color: rgba(255, 255, 255, .5); }
.hv-dots i { background: rgba(255, 255, 255, .3); }
.hv-dots i:first-child { background: #fca5a5; }
.hv-dots i:nth-child(2) { background: #fcd34d; }
.hv-dots i:nth-child(3) { background: #86efac; }
.hv-over { color: rgba(255, 255, 255, .55); }
.hv-row {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .1);
    border-radius: 0;
}
.hv-row-name { color: #fff; }
.hv-tag { border-radius: 0; }
.hv-chart {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .1);
    border-radius: 0;
}
.hv-chart span { border-radius: 0; background: linear-gradient(180deg, #63a0ff, #1a74fa); }
.hv-float { border-radius: 0; }
.hv-ico { border-radius: 0; }

/* ---------- 内页横幅 ---------- */
.page-hero {
    padding: 92px 0 88px;
    background:
        linear-gradient(90deg, rgba(0, 17, 38, .94) 0%, rgba(0, 27, 59, .78) 60%, rgba(0, 27, 59, .58) 100%),
        url("theme/page-bg.jpg") center / cover no-repeat;
    border-bottom: 0;
}
.page-hero-sm { padding: 64px 0 62px; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 4vw, 54px); }
.page-hero h1 .accent {
    color: #6aa6ff;
    background: none;
    -webkit-text-fill-color: currentColor;
}
.page-hero p.lead { color: rgba(255, 255, 255, .74); }

.lp-hero {
    padding: 56px 0 60px;
    background:
        linear-gradient(90deg, rgba(0, 17, 38, .94) 0%, rgba(0, 27, 59, .8) 58%, rgba(0, 27, 59, .58) 100%),
        url("theme/page-bg.jpg") center / cover no-repeat;
    border-bottom: 0;
}
.lp-crumb, .lp-crumb a, .lp-crumb span { color: rgba(255, 255, 255, .6); }
.lp-crumb strong { color: #fff; }
.lp-crumb a:hover { color: #fff; }
.lp-hero-copy h1 { color: #fff; }
.lp-hero-copy .lead { color: rgba(255, 255, 255, .75); }
.lp-stat strong { color: #fff; }
.lp-stat span { color: rgba(255, 255, 255, .62); }

/* 通用页头（云产品、SSL、应用等营销页） */
body:not(.admin-page):not(.console-page) .page-head {
    margin: 0 0 28px;
    padding: 40px 40px 30px;
    background: var(--bg-tint);
    border-top: 3px solid var(--blue);
    border-bottom: 1px solid var(--line);
    align-items: flex-end;
}
body:not(.admin-page):not(.console-page) .page-head h1 {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.03em;
}
.page-head .sub { font-size: 15px; }

/* ---------- 信任条 / 指标条 ---------- */
.logo-strip { background: #fff; border-bottom: 1px solid var(--line); }
.logo-strip-inner { padding: 24px 0; }
.logo-label { color: var(--muted); }
.logo-set span { color: #8792a4; }
.metric-band { background: var(--blue); border-bottom: 0; }
.metric-grid { padding: 34px 0; }
.metric-grid > div { border-inline-start-color: rgba(255, 255, 255, .22); }
.metric-grid strong { color: #fff; font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.metric-grid span { color: rgba(255, 255, 255, .72); font-size: 13px; }

/* ---------- 区块 ---------- */
.main .section { margin-top: 0; padding: 92px 0; }
.main .section.alt { background: var(--bg-soft); }
#how {
    padding: 92px 0;
    background: var(--bg-soft);
    border-block: 1px solid var(--line);
}
#pricing { background: var(--bg-soft); }
.section-head { align-items: flex-end; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.section-head p { font-size: 16px; }
.kicker { font-size: 12.5px; letter-spacing: .16em; margin-bottom: 10px; }

/* ---------- 卡片 ---------- */
.pcard,
.product-card,
.step,
.card,
.plan-card,
.visual-card,
.pricing-card,
.faq-item,
.panel-mock,
.contact-form-card,
.detail-grid .card {
    border-radius: 0;
}
.pcard { padding: 30px; box-shadow: none; }
.pcard:hover { box-shadow: 0 34px 64px -34px rgba(0, 27, 59, .3); }
.pcard-icon,
.pcard-badge,
.pcard-feats li::before { border-radius: 0; }
.pcard-icon { width: 52px; height: 52px; font-size: 22px; }
.pcard h3 { font-size: 21px; }
.pcard--solutions { border-radius: 0; }
.pcard--solutions .btn.primary { border-radius: 0; }
.tld-card { border-radius: 0; }
.puzzle-stage, .puzzle-refresh, .puzzle-handle { border-radius: 0; }
.product-card { padding: 28px; box-shadow: none; }
.product-card .product-icon { border-radius: 0; }
.step { padding: 30px; }
.step-no { border-radius: 0; }
.card { border-color: var(--line); box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: var(--blue); }
.input,
select.input,
textarea.input,
.filter-input,
.check,
.ssl-plan,
.cert-file,
.dcv-choice,
.dcv-method,
.install-box,
.cert-cert,
.cert-content-box { border-radius: 0; }

/* ---------- 表单 ---------- */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select,
textarea {
    border-radius: 0;
    border-color: var(--line-strong);
}
input:focus, select:focus, textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 116, 250, .12);
    outline: none;
}
.field > span { font-weight: 600; color: var(--navy); font-size: 13.5px; }

/* ---------- 方案与 CTA ---------- */
.solutions-band {
    border-radius: 0;
    background:
        linear-gradient(110deg, rgba(0, 17, 38, .96) 0%, rgba(0, 27, 59, .9) 50%, rgba(10, 58, 122, .86) 100%),
        url("theme/cta-bg.jpg") center / cover no-repeat;
    padding: 64px 64px;
}
.cta-band {
    border-radius: 0;
    background:
        linear-gradient(120deg, rgba(0, 17, 38, .96), rgba(10, 58, 122, .9)),
        url("theme/cta-bg.jpg") center / cover no-repeat;
    padding: 80px 32px;
}
.cta-band .btn.primary,
.solutions-band .btn.primary { border-radius: 0; }

/* ---------- 页脚 ---------- */
.footer {
    background: var(--navy);
    border-top: 0;
    padding: 72px 0 30px;
    margin-top: 96px;
    color: rgba(255, 255, 255, .65);
}
.footer .brand-mark { background: var(--blue); }
.footer-desc { color: rgba(255, 255, 255, .58); font-size: 14px; max-width: 330px; }
.footer-contact {
    list-style: none; padding: 0; margin: 18px 0 0;
    display: grid; gap: 9px; font-size: 13.5px;
}
.footer-contact li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .55); }
.footer-contact a { color: rgba(255, 255, 255, .72); }
.footer-contact a:hover { color: #fff; }
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 16px;
}
.footer-col a { color: rgba(255, 255, 255, .64); font-size: 14.5px; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .45);
}
.footer-bottom .muted { color: rgba(255, 255, 255, .4); }

/* ---------- Buyhost 主题响应式 ---------- */
@media (max-width: 1080px) {
    .hero-shell { gap: 40px; }
}
@media (max-width: 960px) {
    .hero-band { padding: 88px 0 84px; }
    .page-hero { padding: 64px 0; }
    .lp-hero { padding: 44px 0 48px; }
    .main .section { padding: 72px 0; }
    #how { padding: 72px 0; }
    .solutions-band { padding: 48px 40px; }
}
@media (max-width: 760px) {
    .topbar { display: none; }
    .topnav-inner { height: var(--nav-h); }
    .main .section { padding: 60px 0; }
    #how { padding: 60px 0; }
    .section-head { margin-bottom: 32px; }
    .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
    .metric-grid > div:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
    .footer { padding-top: 56px; }
}
@media (max-width: 560px) {
    .container { width: calc(100% - 32px); }
    .hero-band { padding: 56px 0 60px; }
    .hero-band h1 { font-size: 38px; }
    .page-hero h1, .lp-hero-copy h1 { font-size: 34px; }
    .hero-band .domain-search { padding: 8px; }
    .metric-grid strong { font-size: 28px; }
    .footer { margin-top: 64px; }
    body:not(.admin-page):not(.console-page) .page-head {
        padding: 28px 20px 22px;
    }
}

/* ---------------- 回到顶部 ---------------- */
.back-top {
    position: fixed;
    bottom: 26px;
    z-index: 900;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .18);
    background: var(--navy, #001b3b);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 20, 45, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .22s ease, transform .22s ease, background .2s ease;
}
.back-top--right { inset-inline-end: 24px; }
.back-top--left { inset-inline-start: 24px; }
.back-top--circle { border-radius: 50%; }
.back-top--square { border-radius: 0; }
.back-top--pill { border-radius: 999px; width: 64px; }
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--blue, #1a74fa); }

/* ---------------- Cookie 合规横幅 ---------------- */
.cookie-banner {
    position: fixed;
    inset-inline: 18px;
    bottom: 18px;
    z-index: 1100;
    background: #fff;
    border: 1px solid var(--line, #e3e9f2);
    box-shadow: 0 24px 60px rgba(0, 20, 45, .18);
    padding: 18px 22px;
    border-radius: 0;
    animation: cookie-rise .24s ease;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: space-between;
}
.cookie-copy strong { display: block; font-size: 15px; color: var(--navy, #001b3b); margin-bottom: 4px; }
.cookie-copy p { margin: 0; font-size: 13.5px; color: #4c5c74; line-height: 1.6; max-width: 760px; }
.cookie-links { display: flex; gap: 16px; margin-top: 6px; font-size: 13px; }
.cookie-links a { color: var(--blue, #1a74fa); text-decoration: none; }
.cookie-links a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
@keyframes cookie-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; }
    .cookie-actions { justify-content: flex-end; }
}

/* ---------------- 价格弹窗 ---------------- */
.price-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.price-modal[hidden] { display: none; }
.price-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 17, 38, .55);
    backdrop-filter: blur(2px);
}
.price-modal-panel {
    position: relative;
    width: min(440px, 100%);
    background: #fff;
    border-radius: 0;
    padding: 26px 26px 22px;
    box-shadow: 0 30px 70px rgba(0, 17, 38, .35);
    animation: price-pop .2s ease;
}
.price-modal-close {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line, #e3e9f2);
    background: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}
.price-modal-kicker {
    display: inline-block;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue, #1a74fa);
    margin-bottom: 6px;
}
.price-modal-panel h3 { margin: 0 0 10px; font-size: 21px; color: var(--navy, #001b3b); }
.price-modal-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.price-modal-amount strong { font-size: 30px; color: var(--navy, #001b3b); }
.price-modal-amount small { color: #64748b; }
.price-modal-panel .check-list { margin: 14px 0 16px; }
.price-modal-panel .btn.block { width: 100%; justify-content: center; }
body.price-modal-open { overflow: hidden; }
@keyframes price-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* 价格触发行 */
.price-detail-btn {
    border: 0;
    background: transparent;
    color: var(--blue, #1a74fa);
    font-size: 12.5px;
    cursor: pointer;
    padding: 0;
    margin-inline-start: 8px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.price-detail-btn:hover { color: var(--navy, #001b3b); }

/* ---------------- 可视化编辑模式 ---------------- */
body.ve-mode { padding-top: 54px; }
.ve-bar {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 99999;
    height: 54px;
    background: #001b3b;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 17, 38, .28);
}
.ve-bar-inner {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.ve-bar-title { font-weight: 600; font-size: 14px; }
.ve-bar-tip { font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.ve-bar-status { margin-inline-start: auto; font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.ve-bar-status.ok { color: #62e6a8; }
.ve-bar-status.error { color: #ff8f8f; }
.ve-bar-actions { display: flex; align-items: center; gap: 8px; }
.ve-bar-actions select {
    height: 32px;
    background: #0b2a4d;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: 12.5px;
    padding: 0 6px;
}
.ve-btn {
    height: 32px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .28);
    background: transparent;
    color: #fff;
    font-size: 12.5px;
    cursor: pointer;
}
.ve-btn:hover { background: rgba(255, 255, 255, .12); }
.ve-btn.primary { background: #1a74fa; border-color: #1a74fa; }
.ve-btn.primary:hover { background: #3b8bff; }
.ve-btn:disabled { opacity: .6; cursor: default; }

.ve-text {
    outline: 1px dashed rgba(26, 116, 250, .45);
    outline-offset: 3px;
    min-width: 12px;
    display: inline-block;
    cursor: text;
    transition: background .15s ease, outline-color .15s ease;
}
.ve-text:hover { background: rgba(26, 116, 250, .08); outline-color: #1a74fa; }
.ve-text:focus { background: rgba(26, 116, 250, .1); outline: 2px solid #1a74fa; }
.ve-text.is-dirty { background: rgba(255, 193, 7, .16); outline-color: #d69e00; }
@media (max-width: 720px) {
    .ve-bar-tip { display: none; }
    .ve-bar-status { display: none; }
}

/* 新闻中心 */
.news-grid { align-items: stretch; }
.news-card { display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.news-card .news-cover { display: block; margin: -18px -18px 6px; }
.news-card .news-cover img { width: 100%; height: 168px; object-fit: cover; display: block; }
.news-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.news-dot { opacity: .6; }
.news-title { margin: 0; font-size: 18px; line-height: 1.4; }
.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover { color: var(--brand); }
.news-excerpt { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.news-more { margin-top: auto; font-size: 14px; font-weight: 600; }
.news-article { max-width: 860px; margin: 0 auto; }
.news-article-title { margin: 8px 0 12px; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.25; }
.news-lead { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0 0 18px; }
.news-article-cover img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.news-body { font-size: 16px; line-height: 1.85; }
.news-body p { margin: 0 0 18px; }
.news-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.news-tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); }

/* ==========================================================================
   管理后台 2026 升级：布局 / 统计卡 / 数据表 / 详情面板
   仅在 body.admin-page 下生效，不影响官网前台
   ========================================================================== */
body.admin-page {
    --adm-bg: #f3f5fa;
    --adm-surface: #fff;
    --adm-line: #e5e9f2;
    --adm-line-soft: #eef1f7;
    --adm-ink: #0b1220;
    --adm-ink-soft: #334155;
    --adm-muted: #64748b;
    --adm-accent: #1d4ed8;
    --adm-accent-soft: #eef4ff;
    --adm-ok: #0f9d58;
    --adm-warn: #b45309;
    --adm-danger: #b42318;
    background: var(--adm-bg);
    color: var(--adm-ink);
}

/* 布局与侧边栏 */
body.admin-page .admin-shell { grid-template-columns: 248px minmax(0, 1fr); }
body.admin-page .admin-side {
    background: linear-gradient(180deg, #0b1220 0%, #0a1730 100%);
    padding: 16px 12px 14px;
    gap: 16px;
    border-right: 1px solid rgba(255, 255, 255, .04);
}
body.admin-page .admin-brand { padding: 4px 8px 14px; gap: 11px; border-bottom: 1px solid rgba(148, 163, 184, .14); }
body.admin-page .admin-brand .brand-mark {
    width: 38px; height: 38px; border-radius: 11px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    font-size: 17px; box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .8);
}
body.admin-page .admin-brand strong { font-size: 14.5px; letter-spacing: -.01em; }
body.admin-page .admin-brand small { color: #7c8ba3; font-size: 11.5px; }
body.admin-page .admin-nav { gap: 2px; }
body.admin-page .admin-nav a {
    position: relative; padding: 9px 12px; border-radius: 9px;
    font-size: 13.5px; color: #9aa8bd; transition: background .14s ease, color .14s ease;
}
body.admin-page .admin-nav a:hover { background: rgba(148, 163, 184, .1); color: #fff; }
body.admin-page .admin-nav a.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, .26), rgba(59, 130, 246, .05));
    color: #fff; font-weight: 600;
}
body.admin-page .admin-nav a.active::before {
    content: ''; position: absolute; inset-inline-start: 0; top: 8px; bottom: 8px;
    width: 3px; border-radius: 0 3px 3px 0; background: #60a5fa;
}
body.admin-page .admin-nav-group summary {
    padding: 8px 12px; font-size: 11px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; color: #6b7c93;
}
body.admin-page .admin-nav-group summary:hover { background: rgba(148, 163, 184, .07); color: #cbd5e1; }
body.admin-page .admin-nav-children { margin: 2px 0 8px 14px; padding-left: 10px; border-left: 1px solid rgba(148, 163, 184, .16); gap: 1px; }
body.admin-page .admin-nav-children a { padding: 7px 10px; font-size: 13px; }
body.admin-page .admin-side-foot { border-top-color: rgba(148, 163, 184, .16); }

/* 顶栏 */
body.admin-page .admin-top {
    height: 64px; padding: 0 28px;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--adm-line);
    z-index: 30;
}
body.admin-page .admin-top-title { min-width: 0; }
body.admin-page .admin-crumbs { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #94a3b8; letter-spacing: .02em; }
body.admin-page .admin-crumbs a { color: #94a3b8; text-decoration: none; }
body.admin-page .admin-crumbs a:hover { color: var(--adm-accent); }
body.admin-page .admin-crumbs .sep { opacity: .55; }
body.admin-page .admin-top-title > strong { display: block; font-size: 15px; font-weight: 600; color: var(--adm-ink); margin-top: 1px; }
body.admin-page .admin-top-user { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--adm-muted); }
body.admin-page .admin-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1e40af;
    font-size: 12px; font-weight: 700; border: 1px solid #c7d7fe;
}
body.admin-page .admin-body { padding: 26px 28px 56px; max-width: 1560px; width: 100%; }
body.admin-page .alert { border-radius: 10px; }

/* 页头 */
body.admin-page .page-head { align-items: flex-end; margin: 0 0 20px; gap: 18px; }
body.admin-page .page-head h1 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--adm-ink); margin: 0; }
body.admin-page .page-head .sub { color: var(--adm-muted); font-size: 13.5px; margin-top: 6px; }
body.admin-page .page-head .btn { flex: none; }

/* 按钮在后台恢复紧凑圆角 */
body.admin-page .btn {
    height: 38px; padding: 0 16px; border-radius: 9px;
    font-size: 13px; font-weight: 600; letter-spacing: 0; box-shadow: none;
}
body.admin-page .btn.sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 8px; }
body.admin-page .btn.primary { box-shadow: 0 8px 18px -10px rgba(29, 78, 216, .7); }
body.admin-page .btn.primary:hover { background: #163ea8; transform: none; }
body.admin-page .btn.ghost:hover { background: #f6f8fc; border-color: #cbd5e1; }
body.admin-page .row-actions { gap: 6px; }
body.admin-page .row-actions form { display: inline-flex; }
body.admin-page .row-actions .btn.sm { height: 29px; padding: 0 10px; font-size: 12px; border-radius: 7px; }

/* 统计卡 */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat {
    position: relative; background: var(--adm-surface); border: 1px solid var(--adm-line);
    border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: box-shadow .16s ease, transform .16s ease;
}
.stat:hover { box-shadow: 0 14px 30px -18px rgba(15, 23, 42, .28); transform: translateY(-1px); }
.stat-label { font-size: 12.5px; color: var(--adm-muted); }
.stat-value { font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--adm-ink); line-height: 1.2; }
.stat-value small { font-size: 13px; font-weight: 500; color: var(--adm-muted); margin-left: 4px; }
.stat-foot { font-size: 12px; color: #94a3b8; display: flex; align-items: center; gap: 6px; }
.stat-ico {
    position: absolute; top: 14px; inset-inline-end: 14px;
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--adm-accent-soft); color: var(--adm-accent); font-size: 15px;
}
.stat.tone-ok .stat-ico { background: #e8f7ef; color: var(--adm-ok); }
.stat.tone-warn .stat-ico { background: #fef6e7; color: var(--adm-warn); }
.stat.tone-danger .stat-ico { background: #fef3f2; color: var(--adm-danger); }
.stat.tone-ok .stat-value { color: #0b7d46; }

/* 筛选条 */
body.admin-page .admin-filter {
    display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap;
    background: var(--adm-surface); border: 1px solid var(--adm-line);
    border-radius: 13px; padding: 14px 16px; margin-bottom: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}
body.admin-page .admin-filter .field { margin: 0; gap: 5px; }
body.admin-page .admin-filter .field > span { font-size: 12px; color: var(--adm-muted); font-weight: 600; }
body.admin-page .field input, body.admin-page .field select, body.admin-page .field textarea { border-color: #d7deea; border-radius: 9px; }
body.admin-page .field input, body.admin-page .field select { height: 38px; }
body.admin-page .field input:focus, body.admin-page .field select:focus, body.admin-page .field textarea:focus {
    border-color: #93b4f8; box-shadow: 0 0 0 3px rgba(29, 78, 216, .1);
}

/* 标签页 */
body.admin-page .admin-tabs { gap: 6px; margin-bottom: 16px; padding: 4px; background: #e9edf5; border-radius: 11px; width: fit-content; max-width: 100%; }
body.admin-page .admin-tabs a, body.admin-page .admin-tabs button {
    padding: 7px 13px; border: 0; border-radius: 8px; background: transparent;
    color: #52627a; font-size: 12.5px; font-weight: 500; line-height: 1.5;
}
body.admin-page .admin-tabs a:hover, body.admin-page .admin-tabs button:hover { background: rgba(255, 255, 255, .7); color: var(--adm-ink); }
body.admin-page .admin-tabs a.active, body.admin-page .admin-tabs button.active {
    background: #fff; color: var(--adm-accent); font-weight: 600;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
}
body.admin-page .filter-count { font-size: 11px; color: #8494ab; }
body.admin-page .admin-tabs a.active .filter-count { color: var(--adm-accent); }

/* 面板与数据表 */
body.admin-page .admin-panel {
    background: var(--adm-surface); border: 1px solid var(--adm-line);
    border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
body.admin-page .admin-panel-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 13px 18px; border-bottom: 1px solid var(--adm-line-soft); background: #fcfdff;
}
body.admin-page .admin-panel-title { font-size: 13.5px; font-weight: 600; color: var(--adm-ink); display: flex; align-items: center; gap: 8px; }
body.admin-page .admin-panel-title .dot { width: 7px; height: 7px; }
body.admin-page .admin-panel-body { padding: 18px; }
body.admin-page .admin-table-wrap { overflow: auto; }
body.admin-page .admin-table { border: 0; border-radius: 0; background: transparent; border-collapse: separate; border-spacing: 0; }
body.admin-page .admin-table th {
    background: #f8fafc; padding: 11px 14px; font-size: 11px; font-weight: 600;
    letter-spacing: .06em; color: #75859c; text-transform: uppercase;
    border-bottom: 1px solid var(--adm-line-soft); white-space: nowrap; position: sticky; top: 0; z-index: 2;
}
body.admin-page .admin-table td { padding: 13px 14px; border-bottom: 1px solid #f1f4f9; font-size: 13px; color: var(--adm-ink-soft); }
body.admin-page .admin-table tbody tr { transition: background .12s ease; }
body.admin-page .admin-table tbody tr:hover { background: #f8fbff; }
body.admin-page .admin-table tbody tr:last-child td { border-bottom: 0; }
body.admin-page .admin-table strong { color: var(--adm-ink); font-weight: 600; }
body.admin-page .admin-meta { color: #8494ab; font-size: 11.5px; margin-top: 3px; line-height: 1.55; }

.cell-main { font-weight: 600; color: var(--adm-ink, #0b1220); }
.cell-sub { font-size: 11.5px; color: #8494ab; margin-top: 3px; }
.cust { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cust-body { min-width: 0; }
.cust-avatar {
    flex: none; width: 30px; height: 30px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #eef2ff; color: #3b5bdb; font-size: 11.5px; font-weight: 700; border: 1px solid #e0e7ff;
}
.chip {
    display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px;
    border-radius: 999px; background: #f2f5fa; color: #52627a;
    font-size: 11.5px; border: 1px solid #e6ebf3; white-space: nowrap;
}
.chip.accent { background: var(--adm-accent-soft, #eef4ff); color: #1d4ed8; border-color: #dbe6ff; }
.mono-chip { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; }

/* 状态点 */
.dot { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; display: inline-block; flex: none; }
.dot.ok { background: #12b76a; box-shadow: 0 0 0 3px rgba(18, 183, 106, .14); }
.dot.warn { background: #f79009; box-shadow: 0 0 0 3px rgba(247, 144, 9, .14); }
.dot.bad { background: #f04438; box-shadow: 0 0 0 3px rgba(240, 68, 56, .14); }
.dot.info { background: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, .14); }
body.admin-page .badge { padding: 4px 10px; font-size: 11.5px; display: inline-flex; align-items: center; gap: 6px; }

/* 详情页布局 */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 16px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.detail-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; }
.admin-card { background: var(--adm-surface, #fff); border: 1px solid var(--adm-line, #e5e9f2); border-radius: 14px; padding: 18px; }
.admin-card h3 { margin: 0 0 4px; font-size: 15px; }
.admin-card .card-sub { color: var(--adm-muted, #64748b); font-size: 12.5px; margin-bottom: 12px; }
.kv { display: flex; flex-direction: column; }
.kv-row {
    display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px;
    padding: 9px 0; border-bottom: 1px dashed var(--adm-line-soft, #eef1f7);
    font-size: 13px; align-items: baseline;
}
.kv-row:last-child { border-bottom: 0; padding-bottom: 0; }
.kv-row:first-child { padding-top: 0; }
.kv-label { color: #8494ab; font-size: 12.5px; }
.kv-value { color: var(--adm-ink, #0b1220); word-break: break-all; min-width: 0; }
.kv-value .muted { color: #8494ab; font-size: 11.5px; }

/* 详情页顶部概览 */
.server-hero {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    background: linear-gradient(120deg, #0b1220 0%, #10264a 100%);
    color: #fff; border-radius: 16px; padding: 20px 22px;
    box-shadow: 0 22px 44px -30px rgba(11, 18, 32, .75);
}
.server-hero .hero-main { min-width: 0; flex: 1; }
.server-hero h2 { color: #fff; font-size: 20px; margin: 0 0 5px; letter-spacing: -.02em; }
.server-hero .hero-sub { color: rgba(255, 255, 255, .62); font-size: 12.5px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.server-hero .hero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.server-hero .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .82); }
.server-hero .hero-state {
    display: flex; align-items: center; gap: 8px; padding: 8px 14px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
.server-hero .hero-state .dot { width: 8px; height: 8px; }

/* 资源用量 */
.meter { height: 6px; border-radius: 99px; background: #e9edf5; overflow: hidden; margin-top: 8px; }
.meter > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #60a5fa, #1d4ed8); }
.meter.warn > i { background: linear-gradient(90deg, #fbbf24, #f79009); }
.meter-legend { display: flex; justify-content: space-between; font-size: 11.5px; color: #8494ab; margin-top: 6px; }

/* 操作区 */
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.action-grid form { display: flex; }
.action-grid .btn { width: 100%; justify-content: center; }
.action-tile {
    display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
    border: 1px solid var(--adm-line, #e5e9f2); border-radius: 10px;
    padding: 11px 13px; background: #fbfcff; cursor: pointer; text-align: start;
    font-family: inherit; width: 100%;
}
.action-tile:hover { border-color: #b9c9ea; background: #f6f9ff; }
.action-tile strong { font-size: 12.5px; color: var(--adm-ink, #0b1220); font-weight: 600; }
.action-tile span { font-size: 11px; color: #8494ab; line-height: 1.45; }
.action-tile.danger:hover { border-color: #fda29b; background: #fff7f6; }
.action-tile.danger strong { color: #b42318; }
.action-note { font-size: 11.5px; color: #8494ab; line-height: 1.6; margin: 10px 0 0; }

/* 空状态 */
body.admin-page .admin-empty {
    background: #fff; border: 1px dashed #d7deea; border-radius: 14px;
    padding: 46px 24px; text-align: center; color: #8494ab; font-size: 13.5px;
}
body.admin-page .admin-empty::before {
    content: '◌'; display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%;
    background: #f1f5fb; color: #a8b6c9; font-size: 20px;
}

/* 分页 / 批量条 */
body.admin-page .pager { padding: 12px 16px; margin-top: 0; border-top: 1px solid var(--adm-line-soft); }
body.admin-page .pager-links a, body.admin-page .pager-links span { border-radius: 8px; }
body.admin-page .bulk-bar { padding: 10px 16px; margin-top: 0; border-top: 1px solid var(--adm-line-soft); background: #fcfdff; }

/* 行操作菜单 */
.admin-menu { position: relative; display: inline-block; }
.admin-menu > summary {
    list-style: none; cursor: pointer; height: 29px; padding: 0 10px;
    display: inline-flex; align-items: center; gap: 4px;
    border: 1px solid #d7deea; border-radius: 7px; background: #fff;
    font-size: 12px; color: #52627a;
}
.admin-menu > summary::-webkit-details-marker { display: none; }
.admin-menu > summary:hover { border-color: #b9c9ea; color: var(--adm-accent, #1d4ed8); }
.admin-menu-list {
    position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 30;
    min-width: 168px; background: #fff; border: 1px solid var(--adm-line, #e5e9f2);
    border-radius: 11px; padding: 6px; box-shadow: 0 20px 40px -18px rgba(15, 23, 42, .3);
    display: flex; flex-direction: column; gap: 2px;
}
.admin-menu-list form { display: block; }
.admin-menu-list a, .admin-menu-list button {
    display: block; width: 100%; text-align: start; padding: 7px 10px;
    border: 0; border-radius: 7px; background: transparent; color: #334155;
    font-size: 12.5px; font-family: inherit; text-decoration: none; cursor: pointer;
}
.admin-menu-list a:hover, .admin-menu-list button:hover { background: #f4f7fc; color: #0b1220; }
.admin-menu-list .danger { color: #b42318; }
.admin-menu-list .danger:hover { background: #fef3f2; }
.admin-menu-sep { height: 1px; background: #eef1f7; margin: 4px 2px; }

/* 凭据显示 */
.secret {
    display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
    background: #f6f8fc; border: 1px dashed #d7deea; border-radius: 8px;
    padding: 3px 9px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px; color: #0b1220; word-break: break-all;
}
.secret button {
    border: 0; background: transparent; color: #64748b; cursor: pointer;
    font-size: 11px; padding: 0 2px; font-family: inherit;
}
.secret button:hover { color: var(--adm-accent, #1d4ed8); }

@media (max-width: 1180px) {
    .detail-grid { grid-template-columns: minmax(0, 1fr); }
    .detail-side { position: static; }
}
.admin-nav-toggle { display: none; }
.admin-scrim { display: none; }

@media (max-width: 900px) {
    body.admin-page .admin-shell { grid-template-columns: minmax(0, 1fr); }
    body.admin-page .admin-side {
        position: fixed; inset: 0 auto 0 0; width: 268px; height: 100vh;
        z-index: 70; transform: translateX(-104%);
        transition: transform .22s ease; box-shadow: 24px 0 48px -28px rgba(2, 6, 23, .8);
    }
    body.admin-page.nav-open .admin-side { transform: none; }
    body.admin-page .admin-scrim {
        display: block; position: fixed; inset: 0; z-index: 65;
        background: rgba(8, 15, 30, .45); opacity: 0; pointer-events: none;
        transition: opacity .2s ease;
    }
    body.admin-page.nav-open .admin-scrim { opacity: 1; pointer-events: auto; }
    body.admin-page .admin-nav-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 36px; height: 36px; flex: none; margin-inline-end: 10px;
        border: 1px solid var(--adm-line); border-radius: 9px;
        background: #fff; color: var(--adm-ink); font-size: 15px; cursor: pointer;
    }
    body.admin-page .admin-top { padding: 0 16px; justify-content: flex-start; }
    body.admin-page .admin-top-user { margin-inline-start: auto; }
    body.admin-page .admin-top-user > span:last-child { display: none; }
    body.admin-page .admin-body { padding: 18px 16px 44px; }
    .action-grid { grid-template-columns: 1fr; }
    body.admin-page .page-head { flex-wrap: wrap; align-items: flex-start; }
    body.admin-page .page-head h1 { font-size: 21px; }
}

/* ==========================================================================
   管理后台 2026 可读性升级：字号 / 密度 / 图表
   仅在 body.admin-page 下生效，不影响官网前台
   ========================================================================== */
body.admin-page { font-size: 15px; }
body.admin-page .admin-nav a { font-size: 14.5px; min-height: 40px; }
body.admin-page .admin-nav-children a { min-height: 34px; }
body.admin-page .admin-nav-icon { width: 18px; display: inline-flex; align-items: center; justify-content: center; }
body.admin-page .admin-nav-icon .ico { display: block; }
body.admin-page .admin-crumbs { font-size: 12.5px; }
body.admin-page .admin-crumbs .crumb-ico { flex: none; color: #94a3b8; }
body.admin-page .admin-top-title > strong { font-size: 16px; }
body.admin-page .admin-table th { font-size: 13px; }
body.admin-page .admin-table td { font-size: 14.5px; }
body.admin-page .cell-main { font-size: 15px; }
body.admin-page .cell-sub { font-size: 12.5px; }
body.admin-page .stat-label { font-size: 13px; }
body.admin-page .stat-value { font-size: 32px; line-height: 1.15; }
body.admin-page .stat-foot { font-size: 12.5px; }
body.admin-page .stat-ico .ico { display: block; }
body.admin-page .admin-tabs a,
body.admin-page .admin-tabs button { font-size: 14px; }
body.admin-page .field > span,
body.admin-page .admin-filter .field > span { font-size: 13.5px; }
body.admin-page .btn.sm { height: 33px; }
body.admin-page .admin-panel-title { font-size: 15px; }
body.admin-page .kv-label { font-size: 13.5px; }
body.admin-page .kv-value { font-size: 14.5px; }
body.admin-page .badge { font-size: 12.5px; }

/* 蓝色统计卡 */
body.admin-page .stat.tone-info { border-inline-start: 3px solid #dbe6ff; }
body.admin-page .stat.tone-info .stat-ico { background: #e8f0fe; color: #1a56db; }
body.admin-page .stat.tone-info .stat-value { color: #1a56db; }

/* 仪表盘图表 */
body.admin-page .admin-chart-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px; margin-bottom: 18px;
}
body.admin-page .admin-chart {
    min-width: 0; display: flex; flex-direction: column;
    background: var(--adm-surface); border: 1px solid var(--adm-line);
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
body.admin-page .admin-chart.wide { grid-column: 1 / -1; }
body.admin-page .admin-chart-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 13px 18px; border-bottom: 1px solid var(--adm-line-soft); background: #fcfdff;
}
body.admin-page .admin-chart-head h2 { margin: 0; font-size: 15px; font-weight: 600; color: var(--adm-ink); }
body.admin-page .chart-note { font-size: 12.5px; color: #8494ab; }
body.admin-page .admin-chart-body { padding: 16px 18px 18px; min-width: 0; }
body.admin-page .chart-svg { width: 100%; height: auto; display: block; overflow: visible; }
body.admin-page .chart-empty {
    display: flex; align-items: center; justify-content: center;
    min-height: 180px; padding: 18px; border: 1px dashed #d7deea; border-radius: 11px;
    background: #fbfcff; color: #8494ab; font-size: 13.5px; text-align: center;
}
body.admin-page .donut-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
body.admin-page .donut-svg { flex: none; width: 180px; max-width: 100%; height: auto; }
body.admin-page .admin-chart-legend { display: flex; flex-direction: column; gap: 9px; flex: 1 1 132px; min-width: 132px; }
body.admin-page .chart-legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--adm-ink-soft); }
body.admin-page .chart-legend-dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }
body.admin-page .chart-legend-label { min-width: 0; }
body.admin-page .chart-legend-value { margin-inline-start: auto; font-weight: 600; color: var(--adm-ink); font-variant-numeric: tabular-nums; }
body.admin-page .chart-bars { display: flex; flex-direction: column; gap: 13px; padding: 6px 0 2px; }
body.admin-page .chart-bar-row { display: flex; align-items: center; gap: 10px; }
body.admin-page .chart-bar-label { flex: none; width: 64px; font-size: 13px; color: #64748b; }
body.admin-page .chart-bar-track { flex: 1; min-width: 0; height: 10px; border-radius: 99px; background: #eef1f7; overflow: hidden; }
body.admin-page .chart-bar-fill { display: block; height: 100%; border-radius: inherit; }
body.admin-page .chart-bar-value { flex: none; width: 36px; text-align: end; font-size: 13px; font-weight: 600; color: var(--adm-ink); font-variant-numeric: tabular-nums; }

@media (max-width: 1180px) {
    body.admin-page .admin-chart-grid { grid-template-columns: minmax(0, 1fr); }
    body.admin-page .admin-chart.wide { grid-column: auto; }
}
@media (max-width: 900px) {
    body.admin-page .admin-chart-body { padding: 14px; }
    body.admin-page .donut-wrap { justify-content: center; }
    body.admin-page .chart-bar-label { width: 56px; }
}

/* ==========================================================================
   管理后台 Vultr 风：深海军蓝侧栏 / 细边框白卡 / 大留白
   仅在 body.admin-page 下生效，覆盖上面两层后台样式
   ========================================================================== */
body.admin-page {
    --adm-bg: #f7f8fa;
    --adm-line: #e4e7ec;
    --adm-line-soft: #f0f1f3;
    --adm-ink: #101828;
    --adm-ink-soft: #344054;
    --adm-muted: #667085;
    --adm-accent: #1a5cff;
    --adm-accent-soft: #eef3ff;
    --adm-curve: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='460' height='460' viewBox='0 0 460 460'%3E%3Cg fill='none' stroke='%232f4899' stroke-opacity='.45' stroke-width='1'%3E%3Ccircle cx='460' cy='0' r='140'/%3E%3Ccircle cx='460' cy='0' r='200'/%3E%3Ccircle cx='460' cy='0' r='260'/%3E%3Ccircle cx='460' cy='0' r='320'/%3E%3Ccircle cx='460' cy='0' r='380'/%3E%3Ccircle cx='460' cy='0' r='440'/%3E%3C/g%3E%3C/svg%3E");
    background: var(--adm-bg);
    color: var(--adm-ink);
}

/* 侧边栏 */
body.admin-page .admin-shell { grid-template-columns: 256px minmax(0, 1fr); }
body.admin-page .admin-side {
    background-color: #0a0f2b;
    background-image: var(--adm-curve);
    background-repeat: no-repeat;
    background-position: right top;
    padding: 18px 14px 16px;
    gap: 14px;
    border-right: 0;
}
body.admin-page .admin-brand { padding: 4px 6px 16px; gap: 11px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
body.admin-page .admin-brand .brand-mark {
    width: 36px; height: 36px; border-radius: 8px;
    background: #2563ff; box-shadow: none; font-size: 16px; font-weight: 700;
}
body.admin-page .admin-brand strong { font-size: 15px; font-weight: 600; }
body.admin-page .admin-brand small { color: #7a83a8; font-size: 11.5px; letter-spacing: .04em; }
body.admin-page .admin-nav { gap: 2px; }
body.admin-page .admin-nav a {
    min-height: 42px; padding: 0 12px; border-radius: 6px; gap: 10px;
    font-size: 14px; color: #a8afcc;
}
body.admin-page .admin-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
body.admin-page .admin-nav a.active { background: #1b2350; color: #fff; font-weight: 600; }
body.admin-page .admin-nav a.active::before { content: none; }
body.admin-page .admin-nav-group summary {
    min-height: 34px; padding: 0 12px; border-radius: 6px;
    font-size: 11.5px; font-weight: 600; letter-spacing: .09em;
    text-transform: uppercase; color: #6c7599;
}
body.admin-page .admin-nav-group summary:hover { background: rgba(255, 255, 255, .04); color: #c9cfe6; }
body.admin-page .admin-nav-chevron { font-size: 9px; opacity: .5; }
body.admin-page .admin-nav-children { margin: 1px 0 8px; padding-left: 0; border-left: 0; gap: 2px; }
body.admin-page .admin-nav-children a { min-height: 34px; padding: 0 12px; font-size: 13.5px; }
body.admin-page .admin-side-foot { padding: 14px 8px 0; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .07); }
body.admin-page .admin-side-foot a,
body.admin-page .admin-side-foot .logout-link { color: #8a93b5; font-size: 13px; }
body.admin-page .admin-side-foot a:hover,
body.admin-page .admin-side-foot .logout-link:hover { color: #fff; }

/* 顶栏 */
body.admin-page .admin-top {
    height: 64px; padding: 0 32px;
    background: #fff;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--adm-line);
}
body.admin-page .admin-crumbs { font-size: 12px; color: #98a2b3; }
body.admin-page .admin-top-title > strong { font-size: 15.5px; font-weight: 600; }
body.admin-page .admin-top-user { font-size: 13px; color: #475467; }
body.admin-page .admin-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: #eef3ff; color: var(--adm-accent); border: 1px solid #dbe6ff;
}
body.admin-page .admin-body { padding: 30px 32px 64px; max-width: 1640px; }
body.admin-page .alert { border-radius: 6px; }

/* 页头 */
body.admin-page .page-head { margin: 0 0 22px; align-items: center; }
body.admin-page .page-head h1 { font-size: 24px; font-weight: 650; letter-spacing: -.015em; color: var(--adm-ink); }
body.admin-page .page-head .sub { font-size: 14px; color: var(--adm-muted); margin-top: 5px; }

/* 按钮 */
body.admin-page .btn {
    height: 38px; padding: 0 16px; border-radius: 6px;
    border-color: #d0d5dd; color: var(--adm-ink-soft);
    font-size: 14px; font-weight: 500; box-shadow: none;
}
body.admin-page .btn:hover { background: #f9fafb; border-color: #98a2b3; color: var(--adm-ink); }
body.admin-page .btn.primary { background: var(--adm-accent); border-color: var(--adm-accent); color: #fff; box-shadow: none; }
body.admin-page .btn.primary:hover { background: #0f4be0; border-color: #0f4be0; color: #fff; }
body.admin-page .btn.ghost { background: #fff; }
body.admin-page .btn.ghost:hover { background: #f9fafb; }
body.admin-page .btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 6px; }
body.admin-page .row-actions .btn.sm { height: 30px; padding: 0 10px; font-size: 12.5px; }

/* 统计面板：一整块白卡 + 内部细边框小格 */
body.admin-page .admin-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px; padding: 12px; margin-bottom: 18px;
    background: #fff; border: 1px solid var(--adm-line); border-radius: 8px;
}
body.admin-page .admin-stats .stat {
    border: 1px solid var(--adm-line); border-radius: 6px;
    padding: 16px 18px; padding-inline-end: 48px; gap: 6px; background: #fff;
    box-shadow: none; transform: none;
}
body.admin-page .admin-stats .stat:hover { box-shadow: none; transform: none; border-color: #d0d5dd; }
body.admin-page .stat-label { font-size: 13px; font-weight: 500; color: var(--adm-muted); }
body.admin-page .stat-value { font-size: 27px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
body.admin-page .stat-foot { font-size: 12.5px; color: #98a2b3; }
body.admin-page .stat-ico {
    top: 16px; inset-inline-end: 16px;
    width: auto; height: auto; border-radius: 0;
    background: transparent; color: #b0b8c9;
}
body.admin-page .stat.tone-info { border-inline-start: 1px solid var(--adm-line); }
body.admin-page .stat.tone-info .stat-value { color: var(--adm-ink); }
body.admin-page .stat.tone-ok .stat-value { color: #067647; }

/* 筛选条与表单 */
body.admin-page .admin-filter {
    padding: 16px 18px; border-radius: 8px; margin-bottom: 16px; box-shadow: none;
}
body.admin-page .admin-filter .field > span { font-size: 13px; font-weight: 500; color: var(--adm-muted); }
body.admin-page .field input, body.admin-page .field select { height: 38px; border-radius: 6px; border-color: #d0d5dd; }
body.admin-page .field textarea { border-radius: 6px; border-color: #d0d5dd; }
body.admin-page .field input:focus, body.admin-page .field select:focus, body.admin-page .field textarea:focus {
    border-color: #9db9ff; box-shadow: 0 0 0 3px rgba(26, 92, 255, .12);
}

/* 标签页：下划线式 */
body.admin-page .admin-tabs {
    gap: 24px; padding: 0; width: 100%; max-width: 100%;
    background: transparent; border-radius: 0;
    border-bottom: 1px solid var(--adm-line); margin-bottom: 18px;
}
body.admin-page .admin-tabs a,
body.admin-page .admin-tabs button {
    padding: 10px 0; margin-bottom: -1px; border: 0; border-radius: 0;
    border-bottom: 2px solid transparent; background: transparent;
    color: var(--adm-muted); font-size: 14px; font-weight: 500; line-height: 1.5;
}
body.admin-page .admin-tabs a:hover,
body.admin-page .admin-tabs button:hover { background: transparent; color: var(--adm-ink); }
body.admin-page .admin-tabs a.active,
body.admin-page .admin-tabs button.active {
    background: transparent; color: var(--adm-accent);
    font-weight: 600; border-bottom-color: var(--adm-accent); box-shadow: none;
}
body.admin-page .filter-count { font-size: 11.5px; color: #98a2b3; }

/* 面板与表格 */
body.admin-page .admin-panel { border-radius: 8px; box-shadow: none; }
body.admin-page .admin-panel-head { padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--adm-line); }
body.admin-page .admin-panel-title { font-size: 15.5px; font-weight: 600; }
body.admin-page .admin-panel-body { padding: 20px 22px; }
body.admin-page .admin-table th {
    background: #fff; padding: 12px 18px;
    font-size: 12.5px; font-weight: 600; letter-spacing: 0;
    text-transform: none; color: var(--adm-muted);
    border-bottom: 1px solid var(--adm-line);
}
body.admin-page .admin-table td {
    padding: 15px 18px; vertical-align: middle;
    font-size: 14px; color: var(--adm-ink-soft);
    border-bottom: 1px solid var(--adm-line-soft);
}
body.admin-page .admin-table tbody tr:hover { background: #fafbfc; }
body.admin-page .cell-main { font-size: 14.5px; font-weight: 500; color: var(--adm-ink); }
body.admin-page .cell-sub { font-size: 12.5px; color: var(--adm-muted); margin-top: 2px; }
body.admin-page .admin-meta { font-size: 12.5px; color: var(--adm-muted); }
body.admin-page .cust-avatar { border-radius: 6px; background: #f2f4f7; color: #475467; border-color: #eaecf0; }
body.admin-page .chip { border-radius: 6px; background: #f9fafb; border-color: #eaecf0; color: #475467; }
body.admin-page .chip.accent { background: var(--adm-accent-soft); color: var(--adm-accent); border-color: #dbe6ff; }
body.admin-page .dot.ok, body.admin-page .dot.warn,
body.admin-page .dot.bad, body.admin-page .dot.info { box-shadow: none; }

/* 详情页 */
body.admin-page .detail-grid { gap: 18px; }
body.admin-page .detail-main, body.admin-page .detail-side { gap: 18px; }
body.admin-page .admin-card { border-radius: 8px; padding: 20px 22px; }
body.admin-page .admin-card h3 { font-size: 15.5px; font-weight: 600; }
body.admin-page .admin-card .card-sub { font-size: 13px; }
body.admin-page .kv-row { padding: 11px 0; font-size: 14px; border-bottom: 1px solid var(--adm-line-soft); }
body.admin-page .kv-label { font-size: 13px; color: var(--adm-muted); }
body.admin-page .kv-value { font-size: 14px; }
body.admin-page .server-hero {
    border-radius: 8px; padding: 22px 24px; box-shadow: none;
    background-color: #0a0f2b; background-image: var(--adm-curve);
    background-repeat: no-repeat; background-position: right top;
    background-size: 420px 420px;
}
body.admin-page .action-tile { border-radius: 6px; background: #fff; }
body.admin-page .secret { border-radius: 6px; background: #f9fafb; border-color: #e4e7ec; }

/* 图表卡片 */
body.admin-page .admin-chart { border-radius: 8px; box-shadow: none; }
body.admin-page .admin-chart-head { padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--adm-line); }
body.admin-page .admin-chart-head h2 { font-size: 15.5px; font-weight: 600; }
body.admin-page .admin-chart-body { padding: 18px 20px 20px; }
body.admin-page .chart-empty { border-radius: 6px; background: #fff; border-color: #e4e7ec; }
body.admin-page .chart-bar-track { background: #f0f1f3; }
body.admin-page .chart-bar-label { width: 86px; }
body.admin-page .chart-bar-value { width: 42px; }

/* 空状态 / 分页 / 行菜单 */
body.admin-page .admin-empty {
    border: 1px solid var(--adm-line); border-radius: 8px; padding: 44px 24px;
    background: #fff; color: var(--adm-muted);
}
body.admin-page .pager { padding: 14px 18px; }
body.admin-page .pager-links a, body.admin-page .pager-links span { border-radius: 6px; }
body.admin-page .bulk-bar { padding: 12px 18px; background: #fff; }
body.admin-page .admin-menu > summary { height: 30px; border-radius: 6px; border-color: #d0d5dd; }
body.admin-page .admin-menu-list { border-radius: 8px; min-width: 208px; }
body.admin-page .admin-menu-list .menu-recharge { display: flex; gap: 6px; padding: 6px 4px; }
body.admin-page .admin-menu-list .menu-recharge input {
    flex: 1; min-width: 0; height: 30px; padding: 0 8px;
    border: 1px solid #d0d5dd; border-radius: 6px; background: #fff;
    font: inherit; font-size: 12.5px; color: #101828;
}
body.admin-page .admin-menu-list .menu-recharge input:focus { outline: none; border-color: #1a5cff; box-shadow: 0 0 0 3px rgba(26, 92, 255, .12); }
body.admin-page .admin-menu-list .menu-recharge button {
    width: auto; height: 30px; padding: 0 10px; border: 1px solid #d0d5dd;
    border-radius: 6px; background: #fff; color: #101828; font-size: 12.5px; white-space: nowrap;
}
body.admin-page .admin-menu-list .menu-recharge button:hover { border-color: #1a5cff; color: #1a5cff; background: #fff; }

@media (max-width: 900px) {
    body.admin-page .admin-body { padding: 20px 16px 48px; }
    body.admin-page .admin-top { padding: 0 16px; }
    body.admin-page .admin-stats { padding: 10px; }
    body.admin-page .page-head h1 { font-size: 21px; }
    body.admin-page .admin-tabs { gap: 18px; }
    body.admin-page .chart-bar-label { width: 74px; }
}

/* ---------- 服务器密码遮蔽与二次验证 ---------- */
.pw-dots {
    letter-spacing: 2px; font-size: 15px; color: var(--text-soft);
    user-select: none; vertical-align: middle;
}
.pw-window { font-size: 11.5px; color: var(--muted); margin-left: 4px; }
.pw-reveal { display: inline-block; margin-left: 6px; vertical-align: middle; }
.pw-reveal > summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center;
    height: 30px; padding: 0 12px; border: 1px solid var(--line-strong);
    border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--blue);
    background: #fff;
}
.pw-reveal > summary::-webkit-details-marker { display: none; }
.pw-reveal > summary:hover,
.pw-reveal[open] > summary { border-color: var(--blue); background: var(--bg-soft); }
.pw-reveal form { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.pw-reveal input {
    height: 32px; min-width: 160px; padding: 0 10px;
    border: 1px solid var(--line-strong); border-radius: 8px;
    font: inherit; font-size: 13px; background: #fff; color: var(--text);
}
.pw-reveal input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }

@media (max-width: 640px) {
    .pw-reveal { display: block; margin: 6px 0 0; }
    .pw-reveal form { width: 100%; }
    .pw-reveal input { flex: 1; min-width: 0; }
}

/* ---------- 客户控制台：内容字号提升 ---------- */
body.console-page .console-body { font-size: 16px; line-height: 1.72; }
body.console-page .console-body .page-head h1 { font-size: 27px; }
body.console-page .console-body .page-head .sub { font-size: 14.5px; }
body.console-page .console-body .card > h3 { font-size: 17.5px; }
body.console-page .console-body p { font-size: 15.5px; }
body.console-page .console-body small,
body.console-page .console-body .small,
body.console-page .console-body .muted.small { font-size: 13.5px; }
body.console-page .console-body .table th { font-size: 12.5px; }
body.console-page .console-body .table td { font-size: 14.5px; }
body.console-page .console-body .admin-table th { font-size: 12.5px; }
body.console-page .console-body .admin-table td { font-size: 14.5px; }
body.console-page .console-body .field > span { font-size: 13.5px; }
body.console-page .console-body .btn { font-size: 14.5px; }
body.console-page .console-body .btn.sm { font-size: 13px; }
body.console-page .console-body .badge { font-size: 12.5px; }
body.console-page .console-body .mono { font-size: 14.5px; }
body.console-page .console-body input,
body.console-page .console-body select,
body.console-page .console-body textarea { font-size: 15px; }

/* ---------- 语言切换国旗 ---------- */
.flag {
    width: 20px; height: 14px; object-fit: cover; flex: none;
    border-radius: 2px; box-shadow: 0 0 0 1px rgba(16, 24, 40, .10);
    vertical-align: -2px; background: #f2f4f7;
}
.lang-switch > summary .flag { margin-inline-end: 2px; }
.lang-switch .dropdown-menu a { display: flex; align-items: center; gap: 8px; }
.lang-switch .dropdown-menu a span { flex: 1; min-width: 0; }
body.console-page .console-lang > summary {
    height: 34px; padding: 0 10px; background: #fff; font-size: 13px;
}
body.console-page .console-lang .dropdown-menu {
    inset-inline-start: auto; inset-inline-end: 0; min-width: 190px;
}

/* ---------- 查看服务器密码弹窗 ---------- */
.pw-modal { position: fixed; inset: 0; z-index: 220; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pw-modal[hidden] { display: none; }
.pw-modal-backdrop { position: absolute; inset: 0; background: rgba(16, 24, 40, .46); }
.pw-modal-card {
    position: relative; width: min(420px, 100%); background: #fff;
    border-radius: 14px; padding: 22px 22px 18px; box-shadow: 0 24px 64px rgba(16, 24, 40, .24);
}
.pw-modal-card h3 { font-size: 18px; margin: 0 0 6px; color: var(--navy); }
.pw-modal-card form, .pw-modal-result { margin-top: 12px; }
.pw-modal-card input[type="password"] {
    width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-strong);
    border-radius: 8px; font: inherit; font-size: 15px; color: var(--text);
}
.pw-modal-card input[type="password"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.pw-modal-error { color: var(--danger); font-size: 13px; margin: 8px 0 0; }
.pw-modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.pw-modal-value { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; word-break: break-all; }
.pw-modal-value .mono { font-size: 15px; color: var(--navy); }

/* ---------- 自定义确认 / 提示弹窗（替代浏览器原生 confirm / alert） ---------- */
.cf-modal { position: fixed; inset: 0; z-index: 260; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cf-modal[hidden] { display: none; }
.cf-modal-backdrop { position: absolute; inset: 0; background: rgba(16, 24, 40, .46); }
.cf-modal-card {
    position: relative; width: min(420px, 100%); background: #fff;
    border-radius: 14px; padding: 22px 22px 18px; box-shadow: 0 24px 64px rgba(16, 24, 40, .24);
}
.cf-modal-card h3 { font-size: 18px; margin: 0 0 8px; color: var(--navy); }
.cf-modal-message { margin: 0; color: var(--text); font-size: 14px; line-height: 1.75; word-break: break-word; }
.cf-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.cf-modal-actions .btn { min-width: 82px; justify-content: center; }
body.cf-modal-open { overflow: hidden; }


