/* 欧易下载官网 — 潮流深色主题 · 单文件响应式 */
:root {
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --primary-dark: #5b21b6;
    --accent: #22d3ee;
    --accent-2: #f472b6;
    --bg: #07070d;
    --bg-elevated: #12121c;
    --bg-card: #18182a;
    --bg-soft: #f4f4fb;
    --text: #e8e8f4;
    --text-dark: #1a1a2e;
    --text-muted: #9494b8;
    --text-muted-dark: #5c5c7a;
    --border: rgba(124, 58, 237, 0.22);
    --border-light: #e4e4f0;
    --gradient-hero: linear-gradient(135deg, #07070d 0%, #1a1035 45%, #0c1a2e 100%);
    --gradient-btn: linear-gradient(135deg, var(--primary) 0%, #4f46e5 50%, var(--accent) 100%);
    --gradient-glow: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(124, 58, 237, 0.35), transparent);
    --shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 6px 24px rgba(124, 58, 237, 0.1);
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --container: 1120px;
    --nav-h: 60px;
    --section-y: 3.25rem;
    --gap: 1rem;
    --card-pad: 1.2rem;
    --border-w: 1px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.28s var(--ease);
    --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 10px);
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--text-dark);
    line-height: 1.65;
    background: var(--bg-soft);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition), opacity var(--transition);
}

a:hover { color: var(--primary-dark); }

ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.15rem;
}

/* —— 按钮 —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    max-width: 100%;
    line-height: 1.35;
}

.btn:hover {
    filter: brightness(1.06);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
}

.btn-primary {
    background: var(--gradient-btn);
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover { color: #fff; }

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-lg { padding: 0.85rem 1.6rem; font-size: 0.95rem; }

/* —— 导航 —— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 7, 13, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: var(--border-w) solid rgba(255, 255, 255, 0.06);
}

body.page-inner .site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--border-light);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: var(--nav-h);
    padding-top: max(0.4rem, env(safe-area-inset-top));
    padding-bottom: 0.4rem;
}

.brand { flex-shrink: 0; min-width: 0; }

.brand img {
    height: 36px;
    width: auto;
    max-width: min(150px, 40vw);
    object-fit: contain;
}

body.page-inner .brand img { filter: none; }

body:not(.page-inner) .brand img { filter: brightness(0) invert(1); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
}

body.page-inner .nav-toggle {
    background: var(--bg-soft);
    border-color: var(--border-light);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

body.page-inner .nav-toggle span { background: var(--text-dark); }

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { min-width: 0; }

.site-nav > .container { padding-top: 0; padding-bottom: 0; }

.site-nav ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.15rem;
}

.site-nav a {
    display: block;
    padding: 0.45rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    line-height: 1.3;
}

body.page-inner .site-nav a { color: var(--text-dark); }

.site-nav a:hover,
.site-nav .current > a {
    color: #fff;
    background: rgba(124, 58, 237, 0.35);
}

body.page-inner .site-nav a:hover,
body.page-inner .site-nav .current > a {
    color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

@media (min-width: 769px) {
    .site-header {
        display: flex;
        align-items: center;
    }

    .header-bar {
        flex: 0 0 auto;
        min-height: var(--nav-h);
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
    }

    .nav-toggle { display: none !important; }

    .site-nav {
        flex: 1;
        position: static !important;
        max-height: none !important;
        overflow: visible !important;
        border: none !important;
        box-shadow: none !important;
    }

    .site-nav > .container {
        display: flex;
        justify-content: flex-end;
        max-width: none;
        width: 100%;
        padding-right: 1.15rem;
        padding-left: 0.5rem;
    }
}

/* —— 区块通用 —— */
.section {
    padding: var(--section-y) 0;
    overflow: hidden;
}

.section--dark {
    background: var(--bg);
    color: var(--text);
}

.section--light {
    background: var(--bg-soft);
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.section--light .section-label { color: var(--primary); }

.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 1.75rem;
    padding: 0 0.25rem;
}

.section-head h2 {
    font-size: clamp(1.45rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.section--dark .section-head h2 { color: #fff; }
.section--light .section-head h2 { color: var(--text-dark); }

.section-head p {
    font-size: 0.98rem;
    line-height: 1.65;
}

.section--dark .section-head p { color: var(--text-muted); }
.section--light .section-head p { color: var(--text-muted-dark); }

/* —— Hero —— */
.hero {
    position: relative;
    padding: 2.75rem 0 3rem;
    background: var(--gradient-hero);
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-copy { min-width: 0; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem 0.35rem 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: clamp(1.9rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: break-word;
}

.hero-lead {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 100%;
    line-height: 1.65;
    word-break: break-word;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-chip {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 8px;
    color: var(--accent);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.hero-glass {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: var(--border-w) solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.hero-glass img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.hero-float {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    left: auto;
    max-width: calc(100% - 1.5rem);
    padding: 0.4rem 0.7rem;
    background: var(--gradient-btn);
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* —— 信任条 —— */
.trust-bar {
    padding: 1rem 0;
    background: var(--bg-elevated);
    border-top: var(--border-w) solid rgba(255, 255, 255, 0.05);
    border-bottom: var(--border-w) solid rgba(255, 255, 255, 0.05);
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1.5rem;
}

.trust-items span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.trust-items strong { color: #fff; font-weight: 600; }

/* —— Bento 亮点 —— */
#features { background: var(--bg-soft); }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
    align-items: stretch;
}

.bento-card {
    background: #fff;
    border: var(--border-w) solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--card-pad);
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.bento-card:hover {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: var(--shadow-card);
}

.bento-card--wide,
.bento-card--tall,
.bento-card--full { grid-column: auto; }

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.bento-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.bento-card p {
    font-size: 0.88rem;
    color: var(--text-muted-dark);
    line-height: 1.55;
    flex: 1;
    word-break: break-word;
}

/* —— 交易品类 —— */
#products { background: var(--bg); color: var(--text); }

.product-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap);
}

.product-pill {
    padding: var(--card-pad);
    background: var(--bg-card);
    border: var(--border-w) solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    min-width: 0;
    height: 100%;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.product-pill:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-card);
}

.product-pill .icon { font-size: 1.75rem; margin-bottom: 0.65rem; }

.product-pill h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #fff;
}

.product-pill p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    word-break: break-word;
}

/* —— 数据 —— */
#stats {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
    color: var(--text);
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap);
}

.metric-box {
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-w) solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    min-width: 0;
}

.metric-num {
    font-size: clamp(1.45rem, 3.5vw, 2rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    margin-bottom: 0.35rem;
    word-break: break-word;
}

.metric-label {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* —— 下载 —— */
#download { background: var(--bg-soft); }

.download-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
    align-items: stretch;
}

.dl-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--card-pad);
    padding-top: calc(var(--card-pad) + 6px);
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: var(--border-w) solid var(--border-light);
    transition: box-shadow var(--transition), border-color var(--transition);
}

.dl-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-btn);
}

.dl-card:hover { box-shadow: var(--shadow-card); }

.dl-card--ios::before { background: linear-gradient(90deg, #a78bfa, #6366f1); }
.dl-card--android::before { background: linear-gradient(90deg, #34d399, #10b981); }
.dl-card--win::before { background: linear-gradient(90deg, #38bdf8, #2563eb); }

.dl-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.dl-head > div { min-width: 0; flex: 1; }

.dl-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    background: var(--bg-soft);
}

.dl-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    word-break: break-word;
    line-height: 1.35;
}

.dl-card .sub {
    font-size: 0.82rem;
    color: var(--text-muted-dark);
}

.dl-list {
    flex: 1;
    margin-bottom: 1.15rem;
}

.dl-list li {
    font-size: 0.88rem;
    color: var(--text-muted-dark);
    padding: 0.35rem 0 0.35rem 1.2rem;
    position: relative;
}

.dl-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.dl-card .btn { width: 100%; white-space: normal; text-align: center; }

/* —— 开户流程 —— */
#guide { background: var(--bg); color: var(--text); }

.guide-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.guide-intro h2 {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.guide-intro p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.timeline { display: flex; flex-direction: column; gap: 0; }

.timeline-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 1rem;
    padding-bottom: 1.5rem;
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), transparent);
}

.timeline-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-btn);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-body {
    padding: 0.9rem 1rem;
    background: var(--bg-card);
    border: var(--border-w) solid var(--border);
    border-radius: var(--radius);
    min-width: 0;
}

.timeline-body h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
}

.timeline-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
    word-break: break-word;
}

/* —— 安全 —— */
#security { background: var(--bg-soft); }

.shield-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap);
    margin-bottom: 1.5rem;
    align-items: stretch;
}

.shield-card {
    background: #fff;
    border: var(--border-w) solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--card-pad);
    text-align: center;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.shield-card ul {
    flex: 1;
}

.shield-card .icon { font-size: 2rem; margin-bottom: 0.65rem; }

.shield-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.65rem;
}

.shield-card ul { text-align: left; }

.shield-card li {
    font-size: 0.82rem;
    color: var(--text-muted-dark);
    padding: 0.25rem 0 0.25rem 0.9rem;
    position: relative;
}

.shield-card li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.compliance-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
}

.compliance-item {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(34, 211, 238, 0.06));
    border: var(--border-w) solid var(--border-light);
    border-radius: var(--radius);
    text-align: center;
    min-width: 0;
    height: 100%;
}

.compliance-item h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0.4rem 0 0.25rem;
}

.compliance-item p {
    font-size: 0.8rem;
    color: var(--text-muted-dark);
}

/* —— FAQ —— */
#faq { background: var(--bg); color: var(--text); }

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.faq-item {
    background: var(--bg-card);
    border: var(--border-w) solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    min-width: 0;
}

.faq-item summary {
    padding: 1rem 1.15rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: #fff;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.45;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
    padding: 0 1rem 0.9rem;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.6;
    word-break: break-word;
}

/* —— 资讯 —— */
#article { background: var(--bg-soft); }

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.news-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap);
    align-items: stretch;
}

.news-card {
    background: #fff;
    border-radius: var(--radius);
    border: var(--border-w) solid var(--border-light);
    overflow: hidden;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-card);
    border-color: rgba(124, 58, 237, 0.25);
}

.news-card img {
    width: 100%;
    height: 118px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-card-body {
    padding: 0.9rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.news-card .meta {
    font-size: 0.72rem;
    color: var(--text-muted-dark);
    margin-bottom: 0.4rem;
}

.news-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card h3 a { color: var(--text-dark); }
.news-card h3 a:hover { color: var(--primary); }

/* —— 页脚 —— */
.site-footer {
    background: var(--bg);
    color: var(--text-muted);
    padding: 2.5rem 0 1.25rem;
    border-top: var(--border-w) solid rgba(255, 255, 255, 0.06);
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.site-footer .brand img {
    filter: brightness(0) invert(1);
    height: 36px;
    margin-bottom: 0.75rem;
}

.footer-about {
    font-size: 0.88rem;
    line-height: 1.65;
    max-width: 320px;
}

.footer-col h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.85rem;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.2rem 0;
}

.footer-col a:hover { color: var(--accent); }

.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.friend-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-links-row {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.25rem;
}

.footer-links-row h5 {
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 0.65rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.82rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p { margin-bottom: 0.3rem; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* —— 内页 —— */
body.page-inner {
    background: #f0f0f8;
}

.page-main {
    padding: 2rem 0 3.5rem;
    min-height: calc(100vh - var(--nav-h) - 100px);
}

.page-hero {
    padding: 1.35rem 1.15rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #1a1035 0%, #2d1b69 50%, #0c1a2e 100%);
    border-radius: var(--radius-lg);
    border: var(--border-w) solid rgba(124, 58, 237, 0.2);
    color: #fff;
    overflow: hidden;
}

.page-hero .page-title {
    font-size: clamp(1.25rem, 4vw, 1.6rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.page-hero .page-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 1.5rem;
    align-items: start;
}

.page-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: var(--border-w) solid var(--border-light);
    padding: var(--card-pad);
    box-shadow: var(--shadow);
    min-width: 0;
    overflow: hidden;
}

.list-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 1rem;
    padding-bottom: 1.15rem;
    margin-bottom: 1.15rem;
    border-bottom: 1px solid var(--border-light);
    min-width: 0;
}

.list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.list-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
}

.list-item .meta {
    font-size: 0.78rem;
    color: var(--text-muted-dark);
    margin-bottom: 0.3rem;
}

.list-item h2 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.list-item h2 a {
    color: var(--text-dark);
    font-weight: 600;
}

.list-item p {
    font-size: 0.88rem;
    color: var(--text-muted-dark);
}

.sidebar-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 1.15rem;
    margin-bottom: 1.15rem;
    min-width: 0;
}

.sidebar-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.sidebar-card li { margin-bottom: 0.45rem; }
.sidebar-card li a { font-size: 0.88rem; color: var(--text-dark); }
.sidebar-card li.current a { color: var(--primary); font-weight: 600; }

.hot-item {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
    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.85rem;
    color: var(--text-dark);
    line-height: 1.4;
    min-width: 0;
    word-break: break-word;
}

.article-detail h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.65rem;
    word-break: break-word;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.82rem;
    color: var(--text-muted-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.article-cover {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}

.article-content {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-dark);
    overflow-wrap: anywhere;
}

.article-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--radius);
    margin: 1rem auto;
}

.meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.meta-tags a {
    padding: 0.25rem 0.7rem;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--primary);
}

.prenext {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.88rem;
}

.pagebar { margin-top: 1.25rem; }

.pagelist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
}

.pagelist a,
.pagelist span {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-dark);
}

.pagelist a:hover,
.pagelist .thisclass span {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.page-footer {
    background: var(--bg);
    color: var(--text-muted);
    padding: 1.75rem 0;
    margin-top: 2rem;
}

.page-footer .footer-bottom { border: none; padding: 0; }

@media (max-width: 1100px) {
    .site-nav a {
        padding: 0.35rem 0.5rem;
        font-size: 0.76rem;
    }
}

/* —— 响应式 —— */
@media (max-width: 1024px) {
    :root { --section-y: 2.65rem; }

    .product-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .metrics-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .download-row { grid-template-columns: 1fr; }
    .shield-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide-wrap { grid-template-columns: 1fr; gap: 1.75rem; }
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root {
        --section-y: 2.35rem;
        --nav-h: 50px;
        --gap: 0.75rem;
        --card-pad: 0.95rem;
    }

    html {
        scroll-padding-top: calc(var(--nav-h) + 8px);
    }

    .nav-toggle { display: flex; }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 999;
        background: var(--bg);
        border-bottom: var(--border-w) solid rgba(255, 255, 255, 0.08);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s var(--ease);
        -webkit-overflow-scrolling: touch;
    }

    body.page-inner .site-nav {
        background: #fff;
        border-color: var(--border-light);
    }

    .site-nav.is-open {
        max-height: min(78vh, 560px);
        overflow-y: auto;
    }

    .site-nav > .container {
        padding: 0;
        max-width: 100%;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 0.4rem 0.65rem 0.65rem;
    }

    .site-nav li {
        border-bottom: var(--border-w) solid rgba(255, 255, 255, 0.06);
    }

    body.page-inner .site-nav li {
        border-color: var(--border-light);
    }

    .site-nav li:last-child { border-bottom: none; }

    .site-nav a {
        padding: 0.8rem 0.85rem;
        font-size: 0.9rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        word-break: break-word;
    }

    .section-head {
        margin-bottom: 1.25rem;
    }

    .section-head h2 {
        font-size: 1.28rem;
        line-height: 1.3;
    }

    .section-head p {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .section-label {
        font-size: 0.68rem;
    }

    .hero {
        padding: 1.5rem 0 1.75rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.15rem;
    }

    .hero-tag {
        max-width: 100%;
        font-size: 0.72rem;
        line-height: 1.4;
        justify-content: center;
        text-align: left;
    }

    .hero h1 {
        font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    }

    .hero-lead {
        margin: 0 auto 1.25rem;
        font-size: 0.9rem;
        text-align: left;
    }

    .hero-actions {
        justify-content: stretch;
        flex-direction: column;
        gap: 0.6rem;
        margin-bottom: 1.25rem;
    }

    .hero-actions .btn {
        width: 100%;
        white-space: normal;
        line-height: 1.35;
        padding: 0.7rem 1rem;
    }

    .hero-chips {
        justify-content: center;
        gap: 0.4rem;
    }

    .hero-chip {
        font-size: 0.72rem;
        padding: 0.3rem 0.6rem;
    }

    .hero-visual {
        order: -1;
        width: 100%;
    }

    .hero-glass {
        max-width: min(260px, 88vw);
    }

    .hero-float {
        display: none;
    }

    .trust-bar {
        padding: 0.85rem 0;
    }

    .trust-items {
        flex-direction: column;
        align-items: center;
        gap: 0.45rem;
    }

    .trust-items span {
        font-size: 0.8rem;
        justify-content: center;
        text-align: center;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card {
        text-align: left;
    }

    .product-row {
        grid-template-columns: 1fr;
    }

    .product-pill {
        text-align: left;
    }

    .metrics-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .metric-box {
        padding: 1rem 0.5rem;
    }

    .metric-num {
        font-size: 1.4rem;
    }

    .metric-label {
        font-size: 0.78rem;
    }

    .download-row {
        grid-template-columns: 1fr;
    }

    .dl-card .btn {
        padding: 0.65rem 0.85rem;
        font-size: 0.88rem;
    }

    .guide-wrap {
        gap: 1.5rem;
    }

    .guide-intro {
        text-align: center;
    }

    .guide-intro h2 {
        font-size: 1.3rem;
    }

    .guide-intro p {
        font-size: 0.88rem;
        text-align: left;
    }

    .timeline-item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 0.7rem;
        padding-bottom: 1.15rem;
    }

    .timeline-num {
        width: 40px;
        height: 40px;
        font-size: 0.88rem;
    }

    .timeline-item:not(:last-child)::before {
        left: 19px;
        top: 42px;
    }

    .timeline-body {
        padding: 0.85rem;
    }

    .shield-grid {
        grid-template-columns: 1fr;
    }

    .compliance-row {
        grid-template-columns: 1fr;
    }

    .faq-item summary {
        font-size: 0.88rem;
        padding: 0.85rem 0.95rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .news-header {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 1.25rem;
    }

    .news-header h2 {
        font-size: 1.25rem;
    }

    .news-header .btn {
        width: 100%;
    }

    .news-card img {
        height: 150px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .footer-about {
        max-width: none;
    }

    .friend-links {
        gap: 0.35rem 0.75rem;
    }

    .site-footer {
        padding: 2rem 0 1.15rem;
        padding-bottom: max(1.15rem, env(safe-area-inset-bottom));
    }

    .page-main {
        padding: 1.15rem 0 2.25rem;
    }

    .page-hero {
        padding: 1.1rem 0.95rem;
        margin-bottom: 0.85rem;
    }

    .page-title {
        font-size: 1.2rem;
    }

    .page-desc {
        font-size: 0.86rem;
    }

    .page-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .page-card {
        padding: var(--card-pad);
    }

    .list-item {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 0.7rem;
    }

    .list-item img {
        height: 72px;
    }

    .list-item h2 {
        font-size: 0.92rem;
        line-height: 1.35;
    }

    .list-item p {
        font-size: 0.84rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .article-detail h1 {
        font-size: 1.15rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.3rem;
        font-size: 0.78rem;
    }

    .article-cover {
        max-height: 190px;
        width: 100%;
    }

    .article-content {
        font-size: 0.92rem;
    }

    .article-content img {
        max-width: 100% !important;
        height: auto !important;
    }

    .hot-item img {
        width: 62px;
        height: 48px;
    }

    .hot-item a {
        font-size: 0.84rem;
    }

    .pagelist a,
    .pagelist span {
        padding: 0.35rem 0.6rem;
        font-size: 0.8rem;
    }

    .page-footer {
        margin-top: 1.25rem;
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    }

    .page-footer .footer-bottom {
        font-size: 0.78rem;
        line-height: 1.5;
    }

    .btn-lg {
        padding: 0.7rem 1rem;
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    :root {
        --section-y: 2rem;
        --nav-h: 48px;
    }

    .container {
        padding-left: max(0.85rem, env(safe-area-inset-left));
        padding-right: max(0.85rem, env(safe-area-inset-right));
    }

    .brand img {
        height: 32px;
    }

    .metrics-row {
        grid-template-columns: 1fr;
    }

    .list-item {
        grid-template-columns: 1fr;
    }

    .list-item img {
        height: 150px;
    }

    .related-list .list-item {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .related-list .list-item img {
        height: 62px;
    }

    .hero-lead,
    .guide-intro p {
        text-align: center;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.related-list .list-item {
    grid-template-columns: 96px minmax(0, 1fr);
}

.related-title {
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.3rem;
    word-break: break-word;
}

.list-item > div {
    min-width: 0;
}

.list-item h2,
.list-item p {
    word-break: break-word;
}

.news-header .btn {
    white-space: normal;
    text-align: center;
}
