/* 欧易下载官网 — 暗夜霓虹 · 珊瑚橙 */
:root {
    --bg: #070b12;
    --bg-elevated: #0f1623;
    --bg-card: rgba(18, 26, 40, 0.72);
    --bg-card-solid: #121a28;
    --surface-light: #f8fafc;
    --surface-muted: #eef2f7;
    --primary: #ff6b4a;
    --primary-hover: #ff8566;
    --primary-dim: rgba(255, 107, 74, 0.15);
    --accent: #2dd4bf;
    --accent-dim: rgba(45, 212, 191, 0.12);
    --text: #e8edf5;
    --text-muted: #94a3b8;
    --text-dark: #1e293b;
    --text-dark-muted: #64748b;
    --border: rgba(148, 163, 184, 0.18);
    --border-light: #e2e8f0;
    --glow: 0 0 40px rgba(255, 107, 74, 0.25);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --card-border: 1px solid var(--border);
    --card-pad: 1.15rem;
    --card-pad-lg: 1.35rem;
    --section-pad-y: 4rem;
    --container: 1160px;
    --nav-h: 68px;
    --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    --ease: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.page-inner {
    color: var(--text-dark);
    background: linear-gradient(180deg, #f0f4f8 0%, #e8eef5 100%);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--primary); }

body.page-inner a { color: #0d9488; }
body.page-inner a:hover { color: var(--primary); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* —— 导航 —— */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(7, 11, 18, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

body.page-inner .site-nav {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--border-light);
}

.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 12px;
}

.nav-brand { flex-shrink: 0; }
.nav-brand img { height: 40px; width: auto; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    cursor: pointer;
}

body.page-inner .nav-toggle {
    background: #fff;
    border-color: var(--border-light);
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

body.page-inner .nav-toggle span { background: var(--text-dark); }

.nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: calc(100% - 150px);
}

.nav-menu a {
    display: block;
    padding: 7px 10px;
    font-size: 0.84rem;
    max-width: 10em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: background var(--ease), color var(--ease);
}

body.page-inner .nav-menu a { color: var(--text-dark-muted); }

.nav-menu a:hover {
    color: var(--text);
    background: var(--primary-dim);
}

body.page-inner .nav-menu a:hover {
    color: var(--primary);
    background: var(--primary-dim);
}

body.nav-open { overflow: hidden; touch-action: none; }

/* —— 按钮 —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.3;
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #e85d3a);
    color: #fff;
    box-shadow: var(--glow);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(255, 107, 74, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

body.page-inner .btn-outline {
    color: var(--primary);
}

.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
}

.btn-group .btn {
    flex: 1 1 auto;
    min-width: min(100%, 9.5rem);
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

/* —— Hero Bento —— */
.hero {
    position: relative;
    padding: 40px 0 52px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 100%, rgba(255, 107, 74, 0.18), transparent),
        radial-gradient(ellipse 60% 50% at 90% 0%, rgba(45, 212, 191, 0.12), transparent);
    pointer-events: none;
}

.hero-bento {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    grid-template-rows: auto auto;
    gap: 12px;
}

.hero-bento > * { min-width: 0; }

.hero-main {
    grid-row: span 2;
    padding: var(--card-pad-lg) 1.5rem;
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
}

.hero-tag {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-dim);
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.3);
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 4.5vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    margin: 0 0 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 100%;
    word-break: break-word;
}

.hero-visual-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--card-pad-lg);
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius-lg);
    min-height: 180px;
}

.hero-visual-card img {
    width: 100%;
    max-width: 240px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.hero-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--card-pad-lg);
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.2), rgba(45, 212, 191, 0.1));
    border: 1px solid rgba(255, 107, 74, 0.28);
    border-radius: var(--radius-lg);
}

.hero-stat-card strong {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.hero-stat-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.hero-chips span {
    padding: 6px 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
}

/* —— 通用区块 —— */
.section {
    padding: var(--section-pad-y) 0;
}

.section-light {
    background: var(--surface-light);
    color: var(--text-dark);
}

.section-light .section-head p,
.section-light .prose { color: var(--text-dark-muted); }

.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 2.25rem;
    padding: 0 0.25rem;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.section-light .section-eyebrow { color: #e85d3a; }

.section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-head p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-muted);
}

/* —— 品牌叙事 —— */
.split-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.75rem 2rem;
    align-items: start;
}

.split-panel > * { min-width: 0; }

.prose p {
    margin: 0 0 16px;
    color: var(--text-dark-muted);
    font-size: 0.95rem;
}

.prose p:last-child { margin-bottom: 0; }

.pillar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pillar-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: var(--card-pad);
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    min-width: 0;
    transition: border-color var(--ease), box-shadow var(--ease);
}

.pillar-item > div:last-child {
    min-width: 0;
    flex: 1;
}

.pillar-item:hover {
    border-color: rgba(255, 107, 74, 0.4);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.pillar-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #e85d3a);
    border-radius: 10px;
}

.pillar-item h3 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.pillar-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-dark-muted);
}

/* —— 产品线 Bento —— */
.bento-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.bento-tile {
    padding: var(--card-pad-lg);
    background: var(--bg-card-solid);
    border: var(--card-border);
    border-radius: var(--radius);
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform var(--ease), border-color var(--ease);
}

.bento-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 212, 191, 0.4);
}

.bento-tile.featured {
    grid-column: span 1;
    background: linear-gradient(160deg, rgba(255, 107, 74, 0.12), var(--bg-card-solid));
    border-color: rgba(255, 107, 74, 0.3);
}

.tile-icon {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.bento-tile h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.bento-tile p {
    margin: 0;
    flex: 1;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    word-break: break-word;
}

/* —— 亮点网格 —— */
.feature-mosaic {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
}

.mosaic-card {
    padding: var(--card-pad-lg);
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    min-width: 0;
    height: 100%;
}

.mosaic-card p { word-break: break-word; }

.mosaic-card.span-4 { grid-column: span 4; }
.mosaic-card.span-6 { grid-column: span 6; }
.mosaic-card.span-8 { grid-column: span 8; }
.mosaic-card.span-12 { grid-column: span 12; }

.mosaic-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--text-dark);
}

.mosaic-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-dark-muted);
}

.mosaic-card .tile-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 1.25rem;
    background: var(--primary-dim);
    border-radius: 12px;
}

/* —— 数据条 —— */
.metrics-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.metric-cell {
    text-align: center;
    padding: 1.25rem 0.85rem;
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius);
    min-width: 0;
}

.metric-value {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    margin-top: 6px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* —— 下载区 —— */
.download-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dl-card {
    display: flex;
    flex-direction: column;
    padding: var(--card-pad-lg);
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    min-width: 0;
    height: 100%;
}

.dl-card-head > div:last-child { min-width: 0; }

.dl-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.dl-os {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    border-radius: 14px;
    flex-shrink: 0;
}

.dl-os.win { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.dl-os.android { background: linear-gradient(135deg, #22c55e, #15803d); }

.dl-card h3 { margin: 0 0 4px; font-size: 1.1rem; color: var(--text-dark); }
.dl-card .dl-sub { margin: 0; font-size: 0.82rem; color: var(--text-dark-muted); }

.dl-features {
    list-style: none;
    margin: 0 0 16px;
    padding: 12px 14px;
    background: var(--surface-muted);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    flex: 1;
}

.dl-features li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: var(--text-dark-muted);
}

.dl-features li:last-child { margin-bottom: 0; }

.dl-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.dl-card .btn { width: 100%; }

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.flow-step {
    padding: 1rem 0.85rem;
    text-align: center;
    background: var(--bg-card-solid);
    border: var(--card-border);
    border-radius: var(--radius);
    min-width: 0;
}

.flow-step p { word-break: break-word; }

.flow-step .num {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--bg);
    background: var(--accent);
    border-radius: 50%;
}

.flow-step h4 {
    margin: 0 0 6px;
    font-size: 0.9rem;
}

.flow-step p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* —— 注册 CTA —— */
.cta-register {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem 2rem;
    align-items: center;
    padding: 1.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.15), rgba(45, 212, 191, 0.08));
    border: 1px solid rgba(255, 107, 74, 0.28);
    border-radius: var(--radius-lg);
}

.cta-register > * { min-width: 0; word-break: break-word; }

.cta-register h2 {
    margin: 0 0 16px;
    font-size: 1.5rem;
}

.cta-register ul {
    margin: 0 0 20px;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.cta-aside p {
    margin: 0 0 12px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.cta-aside p:last-child { margin-bottom: 0; }

/* —— 安全 —— */
.security-deck {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.sec-tile {
    padding: var(--card-pad-lg) var(--card-pad);
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    text-align: center;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sec-tile ul { flex: 1; }

.sec-tile .sec-ico {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.sec-tile h3 {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.sec-tile ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 0.8rem;
    color: var(--text-dark-muted);
}

.sec-tile li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border-light);
}

.sec-tile li:last-child { border-bottom: none; }

.badge-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.badge-item {
    padding: 20px;
    text-align: center;
    background: var(--surface-muted);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.badge-item h4 { margin: 0 0 6px; font-size: 0.9rem; color: var(--text-dark); }
.badge-item p { margin: 0; font-size: 0.8rem; color: var(--text-dark-muted); }

/* —— FAQ —— */
.faq-deck {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.faq-card {
    padding: var(--card-pad-lg);
    background: var(--bg-card-solid);
    border: var(--card-border);
    border-radius: var(--radius);
    min-width: 0;
    height: 100%;
}

.faq-card p { word-break: break-word; }

.faq-card h3 {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: var(--accent);
}

.faq-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* —— 文章 —— */
.news-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.news-toolbar h2 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--text-dark);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    align-items: stretch;
}

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: transform var(--ease), box-shadow var(--ease);
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.news-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.news-body {
    flex: 1;
    min-width: 0;
    padding: 12px 14px 14px;
}

.news-meta {
    font-size: 0.72rem;
    color: var(--text-dark-muted);
    margin-bottom: 6px;
}

.news-body h3 {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.news-body h3 a {
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-body h3 a:hover { color: var(--primary); }

/* —— 页脚 —— */
.site-footer {
    padding: 56px 0 24px;
    background: #05080f;
    border-top: 1px solid var(--border);
}

.footer-cols {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.footer-cols > * { min-width: 0; }

.footer-logo img { height: 38px; margin-bottom: 14px; }

.footer-logo p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col h4 {
    margin: 0 0 14px;
    font-size: 0.9rem;
    color: var(--text);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li { margin-bottom: 8px; }

.footer-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-col a:hover { color: var(--primary); }

.footer-links-block {
    padding-top: 20px;
    margin-bottom: 20px;
    border-top: 1px solid var(--border);
}

.footer-links-block h4 {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: var(--text);
}

.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.friend-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-end {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-end p { margin: 6px 0; }
.footer-end a { color: var(--text-muted); }
.footer-end a:hover { color: var(--primary); }

body.page-inner .site-footer {
    background: #0f1623;
    border-top: 1px solid var(--border-light);
}

body.page-inner .footer-end {
    border-top-color: rgba(255, 255, 255, 0.1);
}

body.page-inner .footer-end,
body.page-inner .footer-end a {
    color: #94a3b8;
}

/* —— 内页 —— */
.page-hero-bar {
    padding: 28px 0;
    background: linear-gradient(135deg, #0f1623, #1a2332);
    border-bottom: 1px solid var(--border);
}

body.page-inner .page-hero-bar {
    background: linear-gradient(135deg, #fff, #f8fafc);
    border-bottom: 1px solid var(--border-light);
}

.page-hero-bar h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
}

body.page-inner .page-hero-bar h1 { color: var(--text-dark); }

.page-hero-bar p {
    margin: 8px 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

body.page-inner .page-hero-bar p { color: var(--text-dark-muted); }

.page-main { padding: 32px 0 56px; }

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 24px;
    align-items: start;
}

.page-layout > * { min-width: 0; }

.page-card {
    padding: var(--card-pad-lg);
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: none;
    overflow: hidden;
    min-width: 0;
}

.page-title {
    margin: 0 0 8px;
    font-size: 1.35rem;
    color: var(--text-dark);
}

.page-desc {
    margin: 0 0 20px;
    font-size: 0.92rem;
    color: var(--text-dark-muted);
}

.sidebar-card {
    padding: var(--card-pad);
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: none;
    overflow: hidden;
    min-width: 0;
}

.sidebar-card h3 {
    margin: 0 0 10px;
    padding-bottom: 8px;
    font-size: 0.92rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
}

.sidebar-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-card li { margin-bottom: 8px; }
.sidebar-card a { font-size: 0.88rem; color: var(--text-dark); }
.sidebar-card a:hover { color: var(--primary); }

.list-plain { list-style: none; margin: 0; padding: 0; }

.list-entry {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}

.list-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.list-entry img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.list-entry > div { min-width: 0; }

.list-entry h2 {
    margin: 0 0 6px;
    font-size: 1.02rem;
}

.list-entry h2 a {
    color: var(--text-dark);
    font-weight: 600;
}

.list-entry h2 a:hover { color: var(--primary); }

.list-meta {
    font-size: 0.78rem;
    color: var(--text-dark-muted);
    margin-bottom: 6px;
}

.list-entry-desc,
.list-entry-title {
    word-break: break-word;
}

.list-entry-desc {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-dark-muted);
}

.list-entry-title {
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.list-entry-title:hover { color: var(--primary); }

.hot-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.hot-item img {
    width: 68px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.hot-item a {
    font-size: 0.86rem;
    color: var(--text-dark);
    line-height: 1.4;
    word-break: break-word;
    min-width: 0;
}

.article-content {
    line-height: 1.8;
    color: var(--text-dark);
    overflow-wrap: break-word;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.article-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.article-cover {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    color: var(--text-dark-muted);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.tag-list a {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    color: var(--text-dark);
    background: var(--surface-muted);
    border-radius: 999px;
}

.tag-list a:hover {
    background: var(--primary-dim);
    color: var(--primary);
}

.page-card-spaced { margin-top: 16px; }

.prenext-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prenext-row > div {
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
}

.related-title {
    margin: 0 0 14px;
    font-size: 1.05rem;
}

.pagebar .pagelist {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.pagebar .pagelist a,
.pagebar .pagelist span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 6px 14px;
    font-size: 0.88rem;
    color: var(--text-dark);
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.pagebar .pagelist a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* —— 响应式 —— */
@media (min-width: 768px) {
    .prenext-row {
        flex-direction: row;
        justify-content: space-between;
    }
    .prenext-row > div { max-width: 48%; }
}

@media (max-width: 1100px) {
    .nav-menu { max-width: calc(100% - 130px); }
    .nav-menu a { padding: 6px 8px; font-size: 0.8rem; }
}

@media (max-width: 1024px) {
    .hero-bento {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-main { grid-row: auto; }

    .hero-visual-card {
        order: -1;
        min-height: 160px;
        padding: 1rem;
    }

    .hero-visual-card img { max-width: 200px; }

    .hero-stat-card {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-align: left;
    }

    .hero-stat-card strong { font-size: 1.5rem; }

    .bento-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-mosaic .mosaic-card { grid-column: span 6 !important; }
    .security-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split-panel { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
    :root { --nav-h: 60px; }

    .nav-toggle { display: flex; }

    .nav-brand { flex: 1; min-width: 0; max-width: calc(100% - 52px); }
    .nav-brand img { height: 34px; }

    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        z-index: 999;
        flex-direction: column;
        align-items: stretch;
        max-height: calc(100dvh - var(--nav-h));
        overflow-y: auto;
        padding: 8px 12px 16px;
        padding-bottom: max(16px, env(safe-area-inset-bottom));
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--ease), opacity var(--ease), visibility var(--ease);
    }

    body.page-inner .nav-menu {
        background: #fff;
    }

    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li { border-bottom: 1px solid var(--border); }
    body.page-inner .nav-menu li { border-color: var(--border-light); }
    .nav-menu li:last-child { border-bottom: none; }

    .nav-menu {
        max-width: none;
    }

    .nav-menu a {
        padding: 14px 10px;
        font-size: 0.95rem;
        max-width: none;
        white-space: normal;
    }

    .page-layout { grid-template-columns: 1fr; }
    .page-layout aside { order: 2; }

    .page-hero-bar { padding: 20px 0; }
    .page-hero-bar h1 {
        font-size: 1.2rem;
        word-break: break-word;
    }
}

@media (max-width: 767px) {
    :root {
        --section-pad-y: 2.75rem;
        --card-pad: 1rem;
        --card-pad-lg: 1.15rem;
    }

    .section { padding: var(--section-pad-y) 0; }
    .section-head { margin-bottom: 1.5rem; }
    .section-head h2 { font-size: 1.35rem; }
    .section-head p { font-size: 0.92rem; }

    .hero { padding: 24px 0 36px; }
    .hero-main {
        padding: var(--card-pad-lg) var(--card-pad);
        text-align: center;
    }
    .hero h1 { font-size: clamp(1.35rem, 5.5vw, 1.75rem); }
    .hero-tag { max-width: 100%; }
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.9rem;
    }
    .hero-chips { justify-content: center; }
    .hero-stat-card {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }

    .btn { min-height: 44px; }
    .btn-group { flex-direction: column; align-items: stretch; }
    .btn-group .btn { width: 100%; min-width: 0; }

    .pillar-item { align-items: flex-start; }

    .dl-card-head { flex-wrap: wrap; gap: 10px; }
    .dl-os { width: 46px; height: 46px; font-size: 1.15rem; }

    .news-grid { grid-template-columns: 1fr; }
    .news-card img { height: 160px; }
    .news-toolbar { flex-direction: column; align-items: stretch; }
    .news-toolbar h2 { font-size: 1.2rem; }
    .news-toolbar .btn { width: 100%; justify-content: center; }

    .metrics-band { grid-template-columns: 1fr 1fr; gap: 10px; }
    .metric-cell { padding: 1rem 0.65rem; }
    .metric-value { font-size: 1.5rem; }

    .download-showcase,
    .bento-products,
    .faq-deck,
    .cta-register,
    .badge-row { grid-template-columns: 1fr; }

    .feature-mosaic { grid-template-columns: 1fr; }
    .feature-mosaic .mosaic-card { grid-column: span 1 !important; }

    .security-deck { grid-template-columns: 1fr; }
    .flow-steps { grid-template-columns: 1fr; gap: 10px; }

    .footer-cols { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
    .footer-logo img { margin-left: auto; margin-right: auto; }
    .footer-col { text-align: center; }
    .friend-links { justify-content: center; }

    .site-footer {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .page-main { padding: 20px 0 40px; }
    .page-card { padding: var(--card-pad); }
    .page-title { font-size: 1.15rem; word-break: break-word; }

    .list-entry { grid-template-columns: 88px 1fr; gap: 10px; }
    .list-entry img { height: 68px; }

    .hot-item img { width: 60px; height: 46px; }

    .article-cover {
        max-height: 200px;
        width: 100%;
    }
    .article-meta-bar { flex-direction: column; gap: 4px; }
}

@media (max-width: 480px) {
    .container {
        padding-left: max(14px, env(safe-area-inset-left));
        padding-right: max(14px, env(safe-area-inset-right));
    }

    .hero-visual-card { min-height: 140px; }
    .hero-visual-card img { max-width: 180px; }

    .hero-chips span {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .metrics-band { grid-template-columns: 1fr; }

    .hero-stat-card strong { font-size: 1.35rem; }

    .list-entry { grid-template-columns: 1fr; }
    .list-entry > a { display: block; }
    .list-entry img {
        width: 100%;
        height: auto;
        max-height: 170px;
        aspect-ratio: 16 / 9;
    }

    .cta-register { padding: var(--card-pad-lg) var(--card-pad); }

    .pillar-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pillar-num { margin: 0 auto; }

    .page-card-spaced { margin-top: 12px; }
}

@media (max-width: 360px) {
    .hero h1 { font-size: 1.22rem; }
    .nav-menu a { font-size: 0.88rem; padding: 12px 8px; }
    .btn { font-size: 0.85rem; padding: 10px 16px; }
}
