/* ==========================================================================
   东源百千万工程运动健身馆场管理系统 · 门户落地页
   配色与 admin-web 保持一致：主色 #1E429F / #1A56DB，强调色 #F59E0B / #D97706
   ========================================================================== */

:root {
    --primary: #1E429F;
    --primary-2: #1A56DB;
    --accent: #F59E0B;
    --accent-2: #D97706;

    --ink: #1E293B;
    --ink-body: #1E429F;
    --muted: #475569;
    --line: #E2E8F0;
    --line-soft: #F1F5F9;
    --bg-top: #F8FAFC;
    --bg-bottom: #E2E8F0;
    --white: #FFFFFF;

    --ok: #047857;
    --ok-dot: #10B981;
    --bad: #B91C1C;
    --bad-dot: #EF4444;
    --idle: #64748B;
    --idle-dot: #94A3B8;

    --radius-lg: 18px;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 34px rgba(30, 66, 159, 0.14);
    --shadow-lg: 0 18px 50px rgba(30, 66, 159, 0.20);

    --shell: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
    background-attachment: fixed;
    color: var(--ink-body);
    line-height: 1.7;
    font-size: 15px;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--primary-2);
    text-decoration: none;
}

ul {
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 6px;
}

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 24px;
}

.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;
}

/* ============================ 顶栏 ============================ */

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    box-shadow: 0 2px 10px rgba(30, 66, 159, 0.18);
    transition: box-shadow 0.25s ease;
}

.topbar.is-scrolled {
    box-shadow: 0 6px 26px rgba(30, 66, 159, 0.28);
}

.topbar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    padding: 10px 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    flex: 1 1 auto;
    color: #fff;
}

.brand-mark {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.42);
    display: block;
}

.brand-text {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-right {
    margin-left: auto;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.domain-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.4px;
    white-space: nowrap;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.domain-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.domain-badge svg {
    flex: 0 0 auto;
}

.lock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: #422006;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.topbar-link:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

/* ============================ Hero ============================ */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 88% -12%, rgba(59, 130, 246, 0.42) 0%, transparent 62%),
        radial-gradient(620px 320px at 4% 118%, rgba(245, 158, 11, 0.24) 0%, transparent 64%),
        linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 55%, #2563EB 100%);
    color: #fff;
    padding: 74px 0 82px;
}

.hero-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 48px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 40px;
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 16px;
}

.hero-title em {
    font-style: normal;
    color: #FDE68A;
}

.hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.88);
    max-width: 640px;
    margin-bottom: 28px;
}

.hero-sub strong {
    color: #fff;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn svg {
    flex: 0 0 auto;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #422006;
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.34);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.46);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fact {
    padding: 12px 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 118px;
}

.fact-value {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.fact-label {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.76);
    letter-spacing: 0.5px;
}

.hero-panel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 22px;
    backdrop-filter: blur(3px);
}

.hero-panel-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-module-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hero-module {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.09);
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-module:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(2px);
}

.hero-module svg {
    flex: 0 0 auto;
    color: #FCD34D;
}

.hero-panel-foot {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px dashed rgba(255, 255, 255, 0.24);
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

/* ============================ 通用分区 ============================ */

.section {
    padding: 64px 0;
    scroll-margin-top: 88px;
}

.section-alt {
    background: rgba(255, 255, 255, 0.62);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.section-head {
    margin-bottom: 32px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-2);
    margin-bottom: 10px;
}

.section-title {
    font-size: 27px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 1px;
    line-height: 1.35;
    margin-bottom: 8px;
}

.section-desc {
    color: var(--muted);
    font-size: 14.5px;
    max-width: 820px;
}

/* ============================ 入口卡片 ============================ */

.entry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.entry-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    box-shadow: var(--shadow-sm);
    color: var(--ink-body);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.entry-card::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-2) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.entry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

.entry-card:hover::after {
    opacity: 1;
}

.entry-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 66, 159, 0.1) 0%, rgba(26, 86, 219, 0.1) 100%);
    color: var(--primary);
}

.entry-card:nth-child(2) .entry-icon,
.entry-card:nth-child(4) .entry-icon {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.12) 0%, rgba(245, 158, 11, 0.12) 100%);
    color: var(--accent-2);
}

.entry-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.entry-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
    flex: 1 1 auto;
}

.entry-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    word-break: break-all;
}

.entry-link svg {
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

.entry-card:hover .entry-link svg {
    transform: translateX(3px);
}

/* ============================ 服务状态 ============================ */

.status-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.status-hint {
    font-size: 13.5px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-hint.is-warn {
    color: #92400E;
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
}

.btn-ghost-dark {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid #CBD5E1;
    background: var(--white);
    color: var(--primary);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-ghost-dark:hover {
    background: #EFF6FF;
    border-color: var(--primary-2);
    transform: translateY(-1px);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.status-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.status-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.status-card-head {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 16px;
}

.status-card-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F1F5F9;
    color: var(--primary);
}

.status-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
}

.status-card-endpoint {
    font-size: 12.5px;
    color: var(--muted);
    word-break: break-all;
    font-family: Consolas, "Courier New", monospace;
}

.status-state {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    background: #F1F5F9;
    color: var(--idle);
    flex: 0 0 auto;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--idle-dot);
    flex: 0 0 auto;
    position: relative;
}

.status-state[data-state="ok"] {
    background: rgba(16, 185, 129, 0.12);
    color: var(--ok);
}

.status-state[data-state="ok"] .dot {
    background: var(--ok-dot);
}

.status-state[data-state="bad"] {
    background: rgba(239, 68, 68, 0.12);
    color: var(--bad);
}

.status-state[data-state="bad"] .dot {
    background: var(--bad-dot);
}

.status-state[data-state="pending"] .dot {
    background: var(--idle-dot);
    animation: pulse 1.4s ease-in-out infinite;
}

.status-state[data-state="ok"] .dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(16, 185, 129, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.78); }
}

.status-rows {
    border-top: 1px dashed var(--line);
}

.status-row {
    display: flex;
    gap: 12px;
    padding: 9px 0;
    font-size: 13.5px;
    border-bottom: 1px dashed var(--line-soft);
}

.status-row:last-child {
    border-bottom: none;
}

.status-row-label {
    flex: 0 0 84px;
    color: var(--muted);
    font-weight: 700;
}

.status-row-value {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--ink);
    word-break: break-word;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
}

.status-row-value.is-plain {
    font-family: inherit;
    font-size: 13.5px;
}

/* ============================ 业务能力九宫格 ============================ */

.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.cap-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cap-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

.cap-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cap-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: linear-gradient(135deg, rgba(30, 66, 159, 0.1) 0%, rgba(26, 86, 219, 0.1) 100%);
    color: var(--primary);
}

.cap-index {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: #64748B;
    letter-spacing: 1px;
}

.cap-name {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
}

.cap-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.68;
    margin-bottom: 13px;
}

.cap-guide {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--accent-2);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.28);
    padding: 5px 12px;
    border-radius: 999px;
}

/* ============================ 读头速查表 ============================ */

.reader-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 13.5px;
    color: #78350F;
    line-height: 1.7;
}

.reader-note svg {
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--accent-2);
}

.table-wrap {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.param-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.param-table th,
.param-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: top;
}

.param-table thead th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: none;
}

.param-table tbody tr:nth-child(even) {
    background: #FBFDFF;
}

.param-table tbody tr:hover {
    background: #F5F9FF;
}

.param-table tbody tr:last-child td {
    border-bottom: none;
}

.param-table td.row-key {
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}

.param-table td.code {
    font-family: Consolas, "Courier New", monospace;
    font-size: 12.8px;
    color: var(--primary);
    word-break: break-all;
}

.param-table td.mono {
    font-family: Consolas, "Courier New", monospace;
    font-size: 12.8px;
    color: var(--ink);
    word-break: break-all;
}

.param-table caption {
    caption-side: top;
    text-align: left;
    padding: 16px 16px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.reader-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.sub-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 20px 22px;
}

.sub-card-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.sub-card-title svg {
    color: var(--primary);
    flex: 0 0 auto;
}

.sub-card-desc {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 13px;
    line-height: 1.7;
}

.pem-block {
    background: #0F172A;
    color: #E2E8F0;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    line-height: 1.65;
    white-space: pre;
    overflow-x: auto;
    word-break: break-all;
}

details.pem-details {
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #F8FAFC;
    padding: 10px 14px;
}

details.pem-details summary {
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

details.pem-details summary::-webkit-details-marker {
    display: none;
}

details.pem-details summary::before {
    content: '▸';
    font-size: 12px;
    transition: transform 0.2s ease;
    display: inline-block;
}

details.pem-details[open] summary::before {
    transform: rotate(90deg);
}

details.pem-details .pem-block {
    margin-top: 12px;
}

.mini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.mini-table th,
.mini-table td {
    padding: 9px 10px;
    border-bottom: 1px solid var(--line-soft);
    text-align: left;
}

.mini-table thead th {
    background: #F1F5F9;
    color: var(--ink);
    font-weight: 700;
    font-size: 12.5px;
}

.mini-table tbody tr:last-child td {
    border-bottom: none;
}

.mini-table td {
    font-family: Consolas, "Courier New", monospace;
    color: var(--primary);
    word-break: break-all;
}

.mini-table td.plain {
    font-family: inherit;
    color: var(--ink);
}

.tag-ok {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    color: var(--ok);
    font-size: 12px;
    font-weight: 700;
}

.tag-bad {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.12);
    color: var(--bad);
    font-size: 12px;
    font-weight: 700;
}

/* ============================ 页脚 ============================ */

.footer {
    background: linear-gradient(135deg, #16307A 0%, var(--primary) 60%, #1A56DB 100%);
    color: rgba(255, 255, 255, 0.86);
    padding: 46px 0 26px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-brand-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.86);
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.footer-list li {
    font-size: 13.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.86);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-list li::before {
    content: '';
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    margin-top: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.footer-list a {
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
}

.footer-list a:hover {
    color: #FCD34D;
}

.footer-bottom {
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.66);
}

.footer-bottom span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* ============================ 入场动画 ============================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    animation: fadeInUp 0.55s ease-out forwards;
}

.entry-card:nth-child(1) { animation-delay: 0.05s; }
.entry-card:nth-child(2) { animation-delay: 0.12s; }
.entry-card:nth-child(3) { animation-delay: 0.19s; }
.entry-card:nth-child(4) { animation-delay: 0.26s; }

.cap-card:nth-child(1) { animation-delay: 0.03s; }
.cap-card:nth-child(2) { animation-delay: 0.08s; }
.cap-card:nth-child(3) { animation-delay: 0.13s; }
.cap-card:nth-child(4) { animation-delay: 0.18s; }
.cap-card:nth-child(5) { animation-delay: 0.23s; }
.cap-card:nth-child(6) { animation-delay: 0.28s; }
.cap-card:nth-child(7) { animation-delay: 0.33s; }
.cap-card:nth-child(8) { animation-delay: 0.38s; }
.cap-card:nth-child(9) { animation-delay: 0.43s; }

.status-card:nth-child(1) { animation-delay: 0.08s; }
.status-card:nth-child(2) { animation-delay: 0.16s; }

/* ============================ 响应式 ============================ */

@media (max-width: 1180px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .hero-panel {
        max-width: 560px;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 28px;
    }
}

@media (max-width: 1080px) {
    .entry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reader-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-title {
        font-size: 34px;
    }
}

@media (max-width: 900px) {
    .section {
        padding: 50px 0;
    }

    .cap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .status-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding: 56px 0 62px;
    }

    .hero-title {
        font-size: 30px;
    }

    .section-title {
        font-size: 23px;
    }
}

@media (max-width: 760px) {
    .shell {
        padding: 0 18px;
    }

    .topbar-inner {
        padding: 10px 18px;
        gap: 10px;
        min-height: 64px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .brand-title {
        font-size: 15px;
        letter-spacing: 0.5px;
    }

    .brand-sub {
        display: none;
    }

    .topbar-link {
        display: none;
    }

    .domain-badge {
        padding: 6px 11px;
        font-size: 12px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-sub {
        font-size: 14.5px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
        flex: 1 1 auto;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-module-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .fact {
        flex: 1 1 130px;
        min-width: 0;
    }

    .section {
        padding: 42px 0;
    }

    .entry-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cap-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    /* 速查表在小屏转为卡片式，避免整页横向滚动 */
    .param-table,
    .param-table tbody,
    .param-table tr,
    .param-table td {
        display: block;
        width: 100%;
    }

    .param-table thead {
        display: none;
    }

    .param-table tbody tr {
        border: 1px solid var(--line);
        border-radius: var(--radius-sm);
        margin: 0 12px 12px;
        padding: 10px 12px;
        background: #fff;
    }

    .param-table tbody tr:nth-child(even) {
        background: #fff;
    }

    .param-table tbody tr:hover {
        background: #F8FAFC;
    }

    .param-table td {
        border-bottom: none;
        padding: 5px 0;
        font-size: 13px;
    }

    .param-table td::before {
        content: attr(data-label);
        display: inline-block;
        min-width: 88px;
        color: var(--muted);
        font-weight: 700;
        font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    }

    .param-table td.row-key {
        font-size: 14.5px;
        padding-bottom: 8px;
        border-bottom: 1px dashed var(--line);
        margin-bottom: 5px;
    }

    .param-table td.row-key::before {
        content: none;
    }

    .mini-table,
    .mini-table tbody,
    .mini-table tr,
    .mini-table td {
        display: block;
        width: 100%;
    }

    .mini-table thead {
        display: none;
    }

    .mini-table tbody tr {
        border-bottom: 1px dashed var(--line);
        padding: 8px 0;
    }

    .mini-table tbody tr:last-child {
        border-bottom: none;
    }

    .mini-table td {
        border-bottom: none;
        padding: 3px 0;
    }

    .mini-table td::before {
        content: attr(data-label) '：';
        color: var(--muted);
        font-weight: 700;
        font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    }
}

@media (max-width: 460px) {
    .hero-title {
        font-size: 23px;
    }

    .brand-title {
        font-size: 14px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .domain-badge {
        padding: 6px 10px;
        font-size: 11.5px;
        gap: 6px;
    }

    .status-row {
        flex-direction: column;
        gap: 2px;
    }

    .status-row-label {
        flex: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
    }
}
