/* 欧易下载官网 — 全新视觉（深青 + 琥珀强调色） */
:root {
    --primary: #0f766e;
    --primary-dark: #0d5c56;
    --primary-light: #14b8a6;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --bg: #f8fafc;
    --bg-alt: #f0fdfa;
    --surface: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 2px 12px rgba(15, 118, 110, 0.06);
    --shadow-hover: 0 6px 20px rgba(15, 118, 110, 0.1);
    --radius-sm: 8px;
    --radius: 10px;
    --radius-lg: 14px;
    --card-border: 1px solid var(--border);
    --card-padding: 1.25rem;
    --section-py: 3.5rem;
    --grid-gap: 1.25rem;
    --container: 1140px;
    --nav-h: 68px;
    --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: var(--bg);
    overflow-x: hidden;
}

/* 统一卡片外框，防止网格子项撑破布局 */
.zd8e08feature-card,
.zd8e08download-card,
.zd8e08security-card,
.zd8e08certificate-card,
.zd8e08step-card,
.zd8e08faq-item,
.zd8e08article-card,
.zd8e08card,
.zd8e08hero-grid > *,
.zd8e08intro-grid > *,
[class*="-grid"] > * {
    min-width: 0;
    max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

.zd8e08container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

/* —— 导航 —— */
.zd8e08navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--nav-h);
}

.zd8e08navbar .zd8e08container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.zd8e08navbar-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.zd8e08navbar-brand img { height: 40px; width: auto; }

.zd8e08nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

body.zd8e08nav-open {
    overflow: hidden;
    touch-action: none;
}

.zd8e08nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.zd8e08navbar-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 0;
}

.zd8e08nav-link {
    display: block;
    padding: 0.4rem 0.65rem;
    color: var(--text) !important;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    line-height: 1.3;
}

.zd8e08nav-link:hover,
.zd8e08nav-item.active .zd8e08nav-link {
    color: var(--primary) !important;
    background: var(--bg-alt);
}

/* —— 按钮 —— */
.zd8e08btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    text-decoration: none;
    line-height: 1.3;
    text-align: center;
}

.zd8e08btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
}

.zd8e08btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.4);
    color: #fff !important;
}

.zd8e08btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #1e293b !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.zd8e08btn-accent:hover { transform: translateY(-2px); color: #1e293b !important; }

.zd8e08btn-outline {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

.zd8e08btn-outline:hover {
    background: var(--primary);
    color: #fff !important;
}

.zd8e08btn-light {
    background: #fff;
    color: var(--primary) !important;
    box-shadow: var(--shadow);
}

.zd8e08btn-light:hover { transform: translateY(-2px); color: var(--primary-dark) !important; }

.zd8e08btn-hero-outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.75);
}

.zd8e08btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
}

.zd8e08btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

.zd8e08section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.25rem;
    padding: 0 0.5rem;
}

.zd8e08section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.75rem;
}

.zd8e08section-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.zd8e08section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--bg-alt);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

/* —— Hero —— */
.zd8e08hero-section {
    position: relative;
    padding: 3rem 0 3.5rem;
    background: linear-gradient(160deg, #0f766e 0%, #134e4a 55%, #042f2e 100%);
    color: #fff;
    overflow: hidden;
}

.zd8e08hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(20, 184, 166, 0.25), transparent 60%);
    pointer-events: none;
}

.zd8e08hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.zd8e08hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.zd8e08hero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.zd8e08hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.92;
    margin: 0 0 1.75rem;
    max-width: 520px;
}

.zd8e08hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.zd8e08hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.85rem;
    opacity: 0.85;
}

.zd8e08hero-meta span::before {
    content: "✓ ";
    color: var(--accent);
    font-weight: 700;
}

.zd8e08hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.zd8e08hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.zd8e08hero-image {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    border-radius: var(--radius-sm);
}

/* —— 简介条 —— */
.zd8e08intro-strip {
    padding: var(--section-py) 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.zd8e08intro-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--grid-gap);
    align-items: start;
}

.zd8e08intro-grid h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: var(--primary-dark);
}

.zd8e08intro-grid p {
    margin: 0 0 1rem;
    color: var(--text-muted);
    overflow-wrap: break-word;
}

.zd8e08intro-grid > div {
    padding: 0.25rem 0;
}

.zd8e08intro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.zd8e08intro-tags span {
    font-size: 0.8rem;
    padding: 0.3rem 0.65rem;
    background: var(--bg-alt);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(15, 118, 110, 0.12);
    font-weight: 500;
}

/* —— 特点 —— */
.zd8e08features-section {
    padding: var(--section-py) 0;
    background: var(--bg);
}

.zd8e08features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--grid-gap);
}

.zd8e08feature-card {
    background: var(--surface);
    border: var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    transition: box-shadow var(--transition), border-color var(--transition);
    height: 100%;
    overflow-wrap: break-word;
}

.zd8e08feature-card:hover {
    border-color: rgba(15, 118, 110, 0.25);
    box-shadow: var(--shadow-hover);
}

.zd8e08feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: linear-gradient(135deg, var(--bg-alt), #ccfbf1);
    color: var(--primary);
    border-radius: var(--radius);
    margin-bottom: 0.85rem;
}

.zd8e08feature-card h3 {
    font-size: 1.1rem;
    margin: 0 0 0.6rem;
}

.zd8e08feature-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* —— 统计 —— */
.zd8e08stats-section {
    padding: 2.75rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.zd8e08stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--grid-gap);
    text-align: center;
}

.zd8e08stat-item {
    padding: 0.5rem;
}

.zd8e08stat-number {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.zd8e08stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* —— 下载 —— */
.zd8e08download-section {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}

.zd8e08download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--grid-gap);
}

.zd8e08download-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    border: var(--card-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-wrap: break-word;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.zd8e08download-card:hover {
    border-color: rgba(15, 118, 110, 0.25);
    box-shadow: var(--shadow-hover);
}

.zd8e08download-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}

.zd8e08download-card .platform-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0 0 1.25rem;
}

.zd8e08platform-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #fff;
}

.zd8e08platform-icon.win { background: #0078d4; }
.zd8e08platform-icon.android { background: #3ddc84; color: #1a1a1a; }
.zd8e08platform-icon.ios {
    background: #1d1d1f;
    font-size: 1.1rem;
}
.zd8e08platform-icon.ios::before {
    content: "\F8FF";
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.zd8e08download-info {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.zd8e08download-info li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.zd8e08download-info li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.zd8e08download-action { margin-top: auto; }
.zd8e08download-action .zd8e08btn { width: 100%; }

/* —— 注册引导 —— */
.zd8e08register-section {
    padding: var(--section-py) 0;
    background: var(--surface);
}

.zd8e08register-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--grid-gap);
}

.zd8e08step-card {
    text-align: center;
    padding: var(--card-padding) 0.85rem;
    border: var(--card-border);
    border-radius: var(--radius-lg);
    background: var(--bg);
    height: 100%;
    overflow-wrap: break-word;
}

.zd8e08step-num {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.75rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.zd8e08step-card h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.zd8e08step-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* —— 安全 —— */
.zd8e08security-section {
    padding: var(--section-py) 0;
    background: var(--bg);
}

.zd8e08security-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--grid-gap);
}

.zd8e08security-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    border: var(--card-border);
    text-align: center;
    height: 100%;
    overflow-wrap: break-word;
}

.zd8e08security-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.zd8e08security-card h3 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
    color: var(--primary-dark);
}

.zd8e08security-features {
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    padding: 0.65rem 0.75rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.zd8e08security-features div {
    padding: 0.2rem 0;
    line-height: 1.45;
}

.zd8e08cert-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--grid-gap);
    margin-top: 2rem;
}

.zd8e08certificate-card {
    background: var(--surface);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    border: var(--card-border);
    text-align: center;
    overflow-wrap: break-word;
}

.zd8e08certificate-card h4 {
    margin: 0.5rem 0 0.35rem;
    font-size: 0.95rem;
}

.zd8e08certificate-card p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* —— FAQ —— */
.zd8e08faq-section {
    padding: var(--section-py) 0;
    background: var(--surface);
}

.zd8e08faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--grid-gap);
    max-width: 920px;
    margin: 0 auto;
}

.zd8e08faq-item {
    border: var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg);
}

.zd8e08faq-item summary {
    padding: 0.9rem 1rem;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.45;
    word-break: break-word;
}

.zd8e08faq-item summary::-webkit-details-marker { display: none; }

.zd8e08faq-item summary::after {
    content: "+";
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 400;
    flex-shrink: 0;
    line-height: 1.2;
    margin-top: 0.1rem;
}

.zd8e08faq-item[open] summary::after { content: "−"; }

.zd8e08faq-item p {
    margin: 0;
    padding: 0 1rem 0.9rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    overflow-wrap: break-word;
}

/* —— 文章 —— */
.zd8e08article-section {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}

.zd8e08article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.zd8e08article-header h2 { margin: 0; font-size: 1.5rem; }

.zd8e08articles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--grid-gap);
}

.zd8e08article-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--card-border);
    transition: border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.zd8e08article-card:hover {
    border-color: rgba(15, 118, 110, 0.25);
    box-shadow: var(--shadow-hover);
}

.zd8e08thumb-home {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.zd8e08article-card .card-body {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.zd8e08article-card .meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.zd8e08article-card h3 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.zd8e08article-card h3 a {
    color: var(--text);
    text-decoration: none;
}

.zd8e08article-card h3 a:hover { color: var(--primary); }

/* —— 页脚 —— */
.zd8e08footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3.5rem 0 1.5rem;
}

.zd8e08footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--grid-gap);
    margin-bottom: 1.75rem;
}

.zd8e08footer-brand p {
    font-size: 0.9rem;
    margin: 1rem 0 0;
    line-height: 1.6;
}

.zd8e08footer-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.zd8e08footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zd8e08footer-links li { margin-bottom: 0.5rem; }

.zd8e08footer-link {
    color: #94a3b8;
    font-size: 0.9rem;
}

.zd8e08footer-link:hover { color: var(--primary-light); }

.zd8e08friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.zd8e08friend-links a {
    color: #94a3b8;
    font-size: 0.85rem;
}

.zd8e08footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

.zd8e08footer-bottom p { margin: 0.35rem 0; }
.zd8e08footer-bottom a { color: #cbd5e1; }

/* —— 列表页 / 内页 —— */
.zd8e08page-main {
    padding: 2.5rem 0 4rem;
    background: var(--bg);
}

.zd8e08page-title {
    margin-bottom: 2rem;
}

.zd8e08page-title h1 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.zd8e08page-title p {
    margin: 0;
    color: var(--text-muted);
}

.zd8e08layout-2col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: var(--grid-gap);
    align-items: start;
}

.zd8e08card {
    background: var(--surface);
    border: var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.zd8e08card-body { padding: var(--card-padding); }

.zd8e08card h3 {
    font-size: 1rem;
    margin: 0 0 1rem;
}

.listbox .e2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.listbox .e2 li {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.listbox .e2 li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.zd8e08list-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    align-items: start;
}

.zd8e08list-row h2 {
    font-size: 1.05rem;
    margin: 0 0 0.35rem;
    font-weight: 600;
}

.zd8e08list-row h2 a { color: var(--text); }
.zd8e08list-row h2 a:hover { color: var(--primary); }

.zd8e08list-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.zd8e08thumb-list,
.zd8e08thumb-related {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 8px;
}

.zd8e08thumb-side {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.zd8e08thumb-cover {
    max-width: 100%;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
}

.zd8e08sidebar-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    align-items: flex-start;
}

.zd8e08sidebar-item > a:last-child {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
}

.zd8e08sidebar-item:last-child { margin-bottom: 0; }

.zd8e08sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zd8e08sidebar-list li { margin-bottom: 0.5rem; }

.zd8e08article-content {
    line-height: 1.8;
    font-size: 1rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.zd8e08article-content img,
.zd8e08article-content table,
.zd8e08article-content iframe,
.zd8e08article-content video {
    max-width: 100%;
    height: auto;
}

.zd8e08article-content img { margin: 1rem 0; }

.zd8e08meta-tags {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.zd8e08tagitem a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-alt);
    border-radius: 6px;
    font-size: 0.85rem;
}

.zd8e08article-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.zd8e08prenext {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .zd8e08prenext { flex-direction: row; justify-content: space-between; }
}

.pagebar .pagelist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.pagebar .pagelist li { display: inline-flex; margin: 0; }

.pagebar .pagelist a,
.pagebar .pagelist span {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text);
}

.pagebar .pagelist a:hover {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
}

/* —— 响应式 —— */
@media (max-width: 1100px) {
    .zd8e08nav-link {
        padding: 0.35rem 0.5rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 1024px) {
    .zd8e08articles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .zd8e08features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zd8e08security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .zd8e08download-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 平板及以下 */
@media (max-width: 991px) {
    .zd8e08navbar {
        height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
        min-height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
        padding-top: env(safe-area-inset-top, 0px);
        box-sizing: border-box;
    }

    .zd8e08navbar .zd8e08container {
        min-height: var(--nav-h);
        height: var(--nav-h);
    }

    .zd8e08nav-toggle { display: flex; }

    .zd8e08navbar-nav {
        display: none;
        position: fixed;
        top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
        left: 0;
        right: 0;
        width: 100%;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        background: var(--surface);
        border: none;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
        padding: 0.5rem 12px 0.75rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0));
        box-shadow: var(--shadow-hover);
        max-height: min(75vh, calc(100dvh - var(--nav-h) - env(safe-area-inset-top, 0)));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }

    .zd8e08navbar-nav.is-open { display: flex; }

    .zd8e08nav-link {
        padding: 0.75rem 0.85rem;
        white-space: normal;
        font-size: 0.9375rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .zd8e08hero-grid,
    .zd8e08intro-grid { grid-template-columns: 1fr; }

    .zd8e08hero-visual {
        order: -1;
        margin-bottom: 0.5rem;
    }

    .zd8e08hero-content {
        text-align: center;
    }

    .zd8e08hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .zd8e08hero-subtitle {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.95rem;
    }

    .zd8e08hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .zd8e08hero-buttons .zd8e08btn {
        width: 100%;
    }

    .zd8e08hero-meta {
        justify-content: center;
        gap: 0.5rem 1rem;
    }

    .zd8e08hero-image {
        max-width: 200px;
    }

    .zd8e08hero-image-wrap {
        max-width: 260px;
        margin: 0 auto;
    }

    .zd8e08intro-grid h2 {
        font-size: 1.25rem;
    }

    .zd8e08stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zd8e08register-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zd8e08footer-grid { grid-template-columns: 1fr 1fr; }
    .zd8e08layout-2col { grid-template-columns: 1fr; }

    .zd8e08layout-2col > aside {
        margin-top: 0.5rem;
    }
}

/* 手机 */
@media (max-width: 767px) {
    :root {
        --section-py: 2.5rem;
        --card-padding: 1rem;
        --grid-gap: 0.875rem;
        --nav-h: 60px;
    }

    .zd8e08container { padding: 0 12px; }

    .zd8e08navbar-brand img { height: 34px; }

    .zd8e08hero-section { padding: 1.75rem 0 2rem; }

    .zd8e08hero-title {
        font-size: clamp(1.35rem, 6vw, 1.75rem);
        margin-bottom: 0.75rem;
    }

    .zd8e08hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
        line-height: 1.55;
    }

    .zd8e08hero-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.8rem;
    }

    .zd8e08section-head {
        margin-bottom: 1.5rem;
    }

    .zd8e08section-head h2 {
        font-size: 1.25rem;
    }

    .zd8e08section-head p {
        font-size: 0.9rem;
    }

    .zd8e08features-grid,
    .zd8e08faq-grid,
    .zd8e08cert-row,
    .zd8e08download-grid,
    .zd8e08articles-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .zd8e08stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .zd8e08stat-number {
        font-size: 1.5rem;
    }

    .zd8e08stat-label {
        font-size: 0.85rem;
    }

    .zd8e08register-grid,
    .zd8e08security-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .zd8e08footer {
        padding: 2.5rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0));
    }

    .zd8e08footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .zd8e08footer-brand img {
        margin: 0 auto;
    }

    .zd8e08friend-links { justify-content: center; }

    .zd8e08footer-bottom {
        font-size: 0.8rem;
        line-height: 1.7;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .zd8e08article-header {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 1.25rem;
    }

    .zd8e08article-header h2 {
        font-size: 1.25rem;
    }

    .zd8e08article-header .zd8e08btn {
        width: 100%;
    }

    .zd8e08thumb-home {
        height: auto;
        aspect-ratio: 16 / 9;
        max-height: 160px;
    }

    .zd8e08list-row {
        grid-template-columns: 96px 1fr;
        gap: 0.75rem;
    }

    .zd8e08list-row h2 {
        font-size: 0.95rem;
    }

    .zd8e08list-row p {
        font-size: 0.85rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .zd8e08thumb-list,
    .zd8e08thumb-related {
        height: 72px;
    }

    .zd8e08thumb-cover {
        height: auto;
        aspect-ratio: 16 / 9;
        max-height: 200px;
    }

    .zd8e08page-main {
        padding: 1.5rem 0 2.5rem;
    }

    .zd8e08page-title h1 {
        font-size: 1.25rem;
    }

    .zd8e08page-title p {
        font-size: 0.875rem;
    }

    .zd8e08card-body {
        padding: 1rem;
    }

    .zd8e08card header h1,
    .zd8e08card-body > header h1 {
        font-size: 1.15rem;
        line-height: 1.4;
        word-break: break-word;
    }

    .zd8e08article-header-meta {
        flex-direction: column;
        gap: 0.35rem;
        font-size: 0.8rem;
    }

    .zd8e08download-action .zd8e08btn,
    .zd8e08btn {
        min-height: 44px;
    }

    .zd8e08hero-image-wrap {
        max-width: 220px;
        padding: 0.65rem;
    }

    .pagebar .pagelist {
        justify-content: center;
        gap: 0.35rem;
    }

    .pagebar .pagelist a,
    .pagebar .pagelist span {
        padding: 0.35rem 0.65rem;
        font-size: 0.85rem;
    }

    /* 触屏设备减少悬停位移，避免布局跳动 */
    .zd8e08btn:hover,
    .zd8e08feature-card:hover,
    .zd8e08download-card:hover {
        transform: none;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .zd8e08container { padding: 0 10px; }

    .zd8e08navbar-nav {
        padding-left: 10px;
        padding-right: 10px;
    }

    .zd8e08stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .zd8e08stat-item {
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.08);
        border-radius: var(--radius);
    }

    .zd8e08list-row {
        grid-template-columns: 1fr;
    }

    .zd8e08list-row .thumb-wrap a {
        display: block;
    }

    .zd8e08thumb-list,
    .zd8e08thumb-related {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        max-height: 160px;
    }

    .zd8e08sidebar-item {
        flex-direction: column;
    }

    .zd8e08thumb-side {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        max-height: 120px;
    }

    .zd8e08intro-tags {
        justify-content: center;
    }
}

@media (max-width: 767px) and (hover: hover) {
    .zd8e08btn:hover,
    .zd8e08feature-card:hover,
    .zd8e08download-card:hover {
        transform: translateY(-2px);
    }
}
