:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --accent: #14b8a6;
    --accent-dark: #0d9488;
    --surface: #ffffff;
    --surface-muted: #f1f5f9;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 12px 32px rgba(79, 70, 229, 0.12);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1140px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: var(--surface);
    margin: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
}

/* 导航 */
.zb8eednavbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.zb8eednavbar-brand img {
    height: 42px;
    width: auto;
}

.zb8eednav-link {
    color: var(--text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}

.zb8eednav-link:hover {
    color: var(--primary) !important;
    background: rgba(79, 70, 229, 0.08);
}

.navbar-toggler {
    border: 1px solid var(--border);
    padding: 0.4rem 0.55rem;
}

.navbar-collapse {
    background: var(--surface);
}

/* 通用区块 */
.zb8eedsection {
    padding: 4rem 0;
}

.zb8eedsection-head {
    margin-bottom: 2rem;
    max-width: 640px;
}

.zb8eedsection-head h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.zb8eedsection-head p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1rem;
}

/* 英雄区 */
.zb8eedhero-section {
    position: relative;
    padding: 4.5rem 0 4rem;
    color: #fff;
    overflow: hidden;
}

.zb8eedhero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #312e81 0%, #4f46e5 45%, #0d9488 100%);
    z-index: 0;
}

.zb8eedhero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(20, 184, 166, 0.35), transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 40%);
}

.zb8eedhero-section .container {
    position: relative;
    z-index: 1;
}

.zb8eedhero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 1rem;
}

.zb8eedhero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.zb8eedhero-subtitle {
    font-size: 1.05rem;
    opacity: 0.92;
    max-width: 540px;
    margin-bottom: 1.25rem;
}

.zb8eedhero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.zb8eedhero-tags span {
    font-size: 0.8rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.15);
}

.zb8eedhero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.zb8eedbtn {
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.zb8eedbtn-accent {
    background: var(--accent);
    color: #fff;
}

.zb8eedbtn-accent:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
}

.zb8eedbtn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.zb8eedbtn-outline-light:hover {
    background: #fff;
    color: var(--primary-dark);
}

.zb8eedbtn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.zb8eedbtn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.zb8eedbtn-primary {
    background: var(--primary);
    color: #fff;
}

.zb8eedbtn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.zb8eedbtn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.zb8eedbtn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.zb8eedhero-panel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    backdrop-filter: blur(8px);
}

.zb8eedhero-image {
    max-width: 260px;
    margin: 0 auto;
    border-radius: var(--radius);
}

.zb8eedhero-panel-caption {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0.75rem 0 0;
}

.zb8eedhero-image-shadow {
    display: none;
}

/* Bento 优势卡片 */
.zb8eedfeatures-section {
    background: var(--surface-muted);
}

.zb8eedbento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    transition: box-shadow var(--transition), border-color var(--transition);
    overflow: hidden;
}

.zb8eedbento-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(79, 70, 229, 0.25);
}

.zb8eedbento-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.zb8eedbento-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.zb8eedbento-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
}

/* 关于 */
.zb8eedabout-section {
    background: var(--surface);
}

.zb8eedabout-title {
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0;
}

.zb8eedabout-body {
    border-left: 3px solid var(--accent);
    padding-left: 1.25rem;
}

.zb8eedabout-body p {
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.zb8eedabout-body p:last-child {
    margin-bottom: 0;
}

/* 统计 */
.zb8eedstats-section {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 2.5rem 0;
}

.zb8eedstats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.zb8eedstat-item {
    text-align: center;
    padding: 0.75rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.zb8eedstat-number {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
}

.zb8eedstat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

/* 下载 */
.zb8eeddownload-section {
    background: var(--surface-muted);
}

.zb8eeddownload-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.zb8eeddownload-card:hover {
    box-shadow: var(--shadow);
}

.zb8eeddownload-card-featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.15);
}

.zb8eedplatform-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.zb8eedpc-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.zb8eedandroid-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.zb8eedios-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.zb8eeddownload-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.zb8eedcard-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    flex-grow: 0;
}

.zb8eeddownload-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    flex-grow: 1;
}

.zb8eeddownload-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.35rem 0;
    padding-left: 1.1rem;
    position: relative;
}

.zb8eeddownload-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.75rem;
}

.zb8eeddownload-subtitle {
    color: var(--text-muted);
}

/* 安全 */
.zb8eedsecurity-section {
    background: var(--surface);
}

.zb8eedsecurity-card {
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.zb8eedsecurity-card:hover {
    box-shadow: var(--shadow);
}

.zb8eedsecurity-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.zb8eedsecurity-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.zb8eedsecurity-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.zb8eedcertificate-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    overflow: hidden;
}

.zb8eedcertificate-card i {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.65rem;
}

.zb8eedcertificate-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.zb8eedcertificate-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* FAQ */
.zb8eedfaq-section {
    background: var(--surface-muted);
}

.zb8eedfaq-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem 1.25rem;
    height: 100%;
    overflow: hidden;
}

.zb8eedfaq-card h5 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.zb8eedfaq-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

/* 文章区 */
.zb8eedarticle-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.zb8eedarticle-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none;
    transition: box-shadow var(--transition);
}

.zb8eedarticle-card:hover {
    box-shadow: var(--shadow);
}

.zb8eedthumb-home {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.zb8eedarticle-card .card-body {
    padding: 0.85rem;
}

.zb8eedarticle-card h3,
.zb8eedarticle-card .h6 {
    font-size: 0.92rem;
    line-height: 1.4;
    margin: 0;
}

.zb8eedarticle-card a {
    color: var(--text);
}

.zb8eedarticle-card a:hover {
    color: var(--primary);
}

/* 页脚 */
.zb8eedfooter {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
}

.zb8eedfooter-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 280px;
}

.zb8eedfooter-title {
    color: #f1f5f9;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.zb8eedfooter-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zb8eedfooter-links li {
    margin-bottom: 0.5rem;
}

.zb8eedfooter-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transition);
}

.zb8eedfooter-link:hover {
    color: var(--accent);
}

.zb8eedfriend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.zb8eedfriend-links a {
    color: #94a3b8;
    font-size: 0.85rem;
    text-decoration: none;
}

.zb8eedfriend-links a:hover {
    color: var(--accent);
}

.zb8eedfooter-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 1.25rem;
    margin-top: 2rem;
    font-size: 0.85rem;
}

.zb8eedfooter-bottom a {
    color: #cbd5e1;
    text-decoration: none;
}

.zb8eedfooter-bottom a:hover {
    color: var(--accent);
}

/* 列表 / 内页 */
.listbox .e2 li {
    overflow: hidden;
}

.zb8eedarticle-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.zb8eedarticle-content img {
    max-width: 100%;
    height: auto;
}

.pagebar .pagelist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.pagebar .pagelist li {
    display: inline-flex;
    margin: 0;
}

/* 卡片统一边框修复 */
.card {
    border: 1px solid var(--border);
    overflow: hidden;
}

.card-body {
    overflow: hidden;
}

/* 响应式 */
@media (max-width: 991px) {
    .zb8eedstats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zb8eedabout-body {
        border-left: none;
        padding-left: 0;
        margin-top: 0.5rem;
    }

    .zb8eedsection {
        padding: 3rem 0;
    }
}

@media (max-width: 767px) {
    .zb8eednavbar {
        padding: 0.5rem 0;
    }

    .zb8eednavbar-brand img {
        height: 36px;
    }

    .zb8eednavbar .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.75rem;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        max-height: 70vh;
        overflow-y: auto;
    }

    .zb8eednavbar .nav-link {
        padding: 0.5rem 0.35rem !important;
    }

    .zb8eedhero-section {
        padding: 3rem 0 2.5rem;
    }

    .zb8eedhero-buttons {
        flex-direction: column;
    }

    .zb8eedhero-buttons .zb8eedbtn {
        width: 100%;
    }

    .zb8eedhero-panel {
        margin-top: 0.5rem;
    }

    .zb8eedsection-head h2 {
        font-size: 1.45rem;
    }

    .zb8eedstats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }

    .zb8eedstat-item {
        padding: 0.65rem 0.5rem;
    }

    .zb8eeddownload-card {
        padding: 1.15rem;
    }

    .zb8eedsecurity-card,
    .zb8eedcertificate-card,
    .zb8eedfaq-card {
        padding: 1rem;
    }

    .zb8eedfooter {
        padding: 2rem 0 1rem;
        text-align: center;
    }

    .zb8eedfooter-desc {
        max-width: none;
        margin: 0 auto;
    }

    #article .zb8eedthumb-home {
        height: 96px;
    }

    #article .h6 {
        font-size: 0.9rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .listbox .e2 li h2.h5 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .zb8eedthumb-list,
    .zb8eedthumb-related {
        height: 72px !important;
    }

    .zb8eedthumb-side {
        height: 50px !important;
    }

    .zb8eedthumb-cover {
        width: 100% !important;
        max-width: 100% !important;
        height: 170px !important;
    }
}

@media (max-width: 575px) {
    .zb8eedstats-grid {
        grid-template-columns: 1fr;
    }

    .zb8eedsection {
        padding: 2.25rem 0;
    }

    #article .zb8eedthumb-home {
        height: 88px;
    }

    .zb8eedthumb-list,
    .zb8eedthumb-related {
        height: 64px !important;
    }

    .zb8eedthumb-cover {
        height: 150px !important;
    }

    .pagebar .pagelist {
        gap: 0.35rem;
    }
}

/* 兼容旧类名 */
.zb8eedfeature-card,
.zb8eeddownload-header,
.zb8eedsecurity-header,
.zb8eedsecurity-features,
.zb8eedinfo-item,
.zb8eedguide-item {
    /* 新模板不再使用，保留空避免缓存报错 */
}

.zb8eedcontainer {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
